/* Femme cyberpunk terminal aesthetic - full viewport immersion */

/* Override layout constraints for terminal pages */
.container {
  max-width: none;
  padding: 0;
  margin: 0;
}

/* Navigation in top-right corner */
header {
  position: fixed;
  top: 0;
  right: 0;
  margin: 0;
  padding: 12px 16px;
  border: none;
  z-index: 100;
  background: none;
}

header h1 {
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  line-height: 1;
}

/* Replace title text with nav text using CSS */
header h1 a {
  font-size: 0;
  color: #8b949e;
  text-decoration: none;
  transition: all 0.2s ease;
}

header h1 a::before {
  content: "< EXIT";
  font-size: 13px;
  font-weight: 500;
}

header h1 a:hover {
  color: #c9d1d9;
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.4);
}

/* Full viewport terminal window */
.terminal-window {
  background: #0d1117;
  border-radius: 0;
  margin: 0;
  min-height: 100vh;
  max-width: none;
  box-shadow: none;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.terminal-header {
  background: #161b22;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #30363d;
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-title {
  color: #8b949e;
  font-size: 13px;
  font-weight: 500;
}

.terminal-body {
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  background: #0d1117;
  color: #c9d1d9;
  line-height: 1.6;
  font-size: 15px;
  max-width: 1000px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.prompt-line {
  margin: 16px 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-line:first-child {
  margin-top: 0;
}

.prompt {
  color: #9455ff;
  font-weight: 600;
}

.output {
  margin-left: 24px;
  margin-bottom: 12px;
  color: #c9d1d9;
}

.output p + p {
  margin-top: 12px;
}

ul, ol {
  list-style-type: "> ";
  margin-left: 24px;
}

.file-list {
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0;
  padding: 8px 0;
}

.file-type {
  font-weight: 600;
  font-size: 12px;
  width: 45px;
}

.file-type.pdf {
  color: #f97316;
}

.file-type.web {
  color: #ec4899;
}

.file-type.link {
  color: #58a6ff;
}

.file-link {
  color: #58a6ff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  min-width: 120px;
}

.file-link:hover {
  color: #79c0ff;
  text-shadow: 0 0 8px rgba(88, 166, 255, 0.5);
}

.file-link.cv-link:hover {
  color: #fb923c;
  text-shadow: 0 0 8px rgba(249, 115, 22, 0.5);
}

.file-link.web-link:hover {
  color: #f472b6;
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

.file-desc {
  color: #8b949e;
  font-size: 12px;
  font-style: italic;
}

.contact-info {
  color: #ec4899;
  font-weight: 600;
  padding: 0.2em 0.5em;
  background: rgba(236, 72, 153, 0.1);
  border-radius: 3px;
  border: 1px solid rgba(236, 72, 153, 0.3);
  transition: box-shadow 0.2s ease;
}

.contact-info:hover {
  box-shadow: 0 0 12px rgba(236, 72, 153, 0.4);
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}

.highlight {
  background: rgba(88, 166, 255, 0.1);
  border-left: 3px solid #58a6ff;
  padding: 8px 12px;
  border-radius: 4px;
  margin: 4px 0;
}

.highlight .file-desc {
  color: #c9d1d9;
  font-weight: 500;
}

.status {
  color: #39d353;
  font-weight: 500;
}

.status > * {
  display: block;
  margin: 4px 0;
}

.prompt-line.active {
  margin-top: 24px;
}

.cursor {
  background: #58a6ff;
  color: #0d1117;
  padding: 0 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  header {
    top: 1rem;
    right: 1rem;
  }

  header h1 {
    font-size: 0.65rem;
  }

  .terminal-body {
    padding: 2rem 1.5rem;
    font-size: 14px;
  }

  .terminal-header {
    padding: 10px 14px;
  }

  .file-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .file-desc {
    margin-left: 57px;
  }
}

/* Subtle edge glow - punk but professional */
.terminal-window::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(135deg,
    rgba(124, 58, 237, 0.15) 0%,
    rgba(236, 72, 153, 0.15) 50%,
    rgba(124, 58, 237, 0.15) 100%
  ) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  animation: borderGlow 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes borderGlow {
  0% { opacity: 0.2; }
  100% { opacity: 0.4; }
}