/* Terminal Layout Style - Retaining Original Aesthetics */

/* Navigation */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0e0e0e;
  z-index: 100;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  font-family: 'EB Garamond', serif;
  font-size: 0.9rem;
  color: #b8b8b8;
  position: relative;
}

.nav-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: #b8b8b8;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-label {
  font-weight: 500;
  margin-right: 2rem;
}

.nav-path {
  color: #b8b8b8;
}

.nav-path a {
  color: #b8b8b8;
  text-decoration: underline;
}

.nav-path a:hover {
  opacity: 0.8;
}

.nav-link {
  color: #b8b8b8;
  text-decoration: underline;
  font-size: 0.9rem;
}

.nav-link:hover {
  opacity: 0.8;
}

.nav-toggle-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle-label {
  color: #b8b8b8;
  font-size: 0.85rem;
  font-style: italic;
  letter-spacing: 0.05em;
}

.nav-toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-toggle-switch input {
  display: none;
}

.nav-toggle-switch input:checked ~ .nav-toggle-slider {
  transform: translateX(26px);
}

.nav-toggle-switch:has(input:checked) {
  background: rgba(220, 180, 255, 0.4);
}

.nav-toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #f5f5f5;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Canvas background */
#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: block;
}

/* Base styling - keep original colors and font */
body {
  margin: 0;
  background: #0e0e0e;
  color: #e8e8e8;
  font-family: 'EB Garamond', serif;
}

/* Main content container - left-aligned layout */
.content {
  max-width: 900px;
  margin: 0;
  padding: 2rem;
  padding-top: 4rem; /* Space for fixed navigation */
  text-align: left;
  min-height: 100vh;
  box-sizing: border-box;
}

/* Title container with logo */
.title-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

/* Logo */
.logo {
  width: 60px;
  height: auto;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
}

/* Title */
.title {
  font-size: clamp(2rem, 10vw, 3rem);
  font-weight: 400;
  letter-spacing: .02em;
  margin: 0;
  color: #f5f5f5;
}

/* Subtitle */
.subtitle {
  font-size: clamp(1rem, 3vw, 1.1rem);
  font-weight: 100;
  font-style: italic;
  margin: 0 0 1.5rem;
  color: #f5f5f5;
}

/* Horizontal rule */
hr {
  border: 0;
  border-top: 1px;
  margin: 0.5rem 0;
  width: 80%;
}

/* Team table section */
.team-table {
  width: 100%;
  max-width: 600px;
  margin: 1.5rem 0;
  border: 1px solid #3a3a3a;
}

.team-header {
  display: grid;
  grid-template-columns: 200px 1fr 150px;
  gap: 1.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(42, 42, 42, 0.7);
  border-bottom: 1px solid #ffffff;
}

.team-header-col {
  font-weight: 700;
  font-size: 0.9rem;
  color: #e8e8e8;
}

.team-header-col:last-child {
  text-align: right;
}

.team-row {
  display: grid;
  grid-template-columns: 200px 1fr 150px;
  gap: 1.5rem;
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid #3a3a3a;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}

.team-row:hover {
  background: rgba(42, 42, 42, 0.3);
}

.team-row:last-child {
  border-bottom: none;
}

.team-col-name {
  font-size: 0.9rem;
  color: #b8b8b8;
  font-weight: 400;
}

.team-col-description {
  font-size: 0.9rem;
  color: #b8b8b8;
  font-style: normal;
}

.team-col-link {
  text-align: right;
  font-size: 0.9rem;
  color: #b8b8b8;
  font-style: normal;
}

.team-link {
  color: #b8b8b8;
  text-decoration: underline;
  font-size: 0.9rem;
}

.team-link:hover {
  opacity: 0.8;
}

/* Quick links */
.quick-links {
  margin-top: 3rem;
}

.quick-links p {
  margin: 0;
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  color: #b8b8b8;
  font-style: normal;
}

/* Link styling - keep original */
a {
  color: inherit;
  text-decoration: underline;
}

a:visited {
  color: inherit;
}

a:hover {
  opacity: 0.8;
}

a:active {
  color: inherit;
}

/* Footer styling */
.footer {
  position: fixed;
  bottom: 1rem;
  left: 0;
  width: 100%;
  text-align: left;
  padding-left: 2rem;
  font-size: clamp(0.75rem, 1.8vw, 0.7rem);
  color: #b8b8b8;
  letter-spacing: .02em;
}

.footer p {
  margin: 0;
}

/* Toggle switch container */
.toggle-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-top: 2rem;
}

.toggle-label {
  color: #b8b8b8;
  font-size: 0.85rem;
  font-family: 'EB Garamond', serif;
  font-style: italic;
  letter-spacing: 0.05em;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch input {
  display: none;
}

.toggle-switch input:checked ~ .toggle-slider {
  transform: translateX(26px);
}

.toggle-switch:has(input:checked) {
  background: rgba(220, 180, 255, 0.4);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: #f5f5f5;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

/* Mobile responsive */
@media (max-width: 768px) {
  /* Navigation */
  .nav-content {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .nav-content::after {
    left: 1rem;
    right: 1rem;
  }

  .nav-path {
    font-size: 0.8rem;
  }

  .nav-right {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.8rem;
  }

  .nav-toggle-container {
    gap: 0.5rem;
  }

  .nav-toggle-label {
    font-size: 0.7rem;
  }

  .nav-toggle-switch {
    width: 46px;
    height: 26px;
  }

  .nav-toggle-slider {
    width: 20px;
    height: 20px;
  }

  .nav-toggle-switch input:checked ~ .nav-toggle-slider {
    transform: translateX(20px);
  }

  /* Content */
  .content {
    padding: 5rem 1rem 3rem;
  }

  .title-container {
    margin-top: -1rem;
    margin-bottom: 1rem;
  }

  .subtitle br {
    display: none;
  }

  /* Team table */
  .team-table {
    margin: 1rem 0;
  }

  .team-header {
    grid-template-columns: 1fr 2fr;
  }

  .team-header-col:last-child {
    display: none;
  }

  .team-row {
    grid-template-columns: 1fr 2fr;
    padding: 0.5rem;
  }

  .team-row .team-col-name,
  .team-row .team-col-description {
    text-decoration: underline;
  }

  .team-col-link {
    display: none;
  }

  /* Footer */
  .footer {
    padding-left: 1rem;
    font-size: 0.7rem;
  }
}
