/* ============================================
   NEXUS — Navigation (Win95 Style)
   ============================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-sm) 0;
  transition: none;
}

.nav.is-scrolled {
  background: #000080;
  border-bottom: 3px solid;
  border-color: #505050 #000000 #000000 #505050;
  padding: var(--space-xs) 0;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #C0C0C0;
  transition: none;
  position: relative;
  padding: var(--space-xs) var(--space-sm);
}

.nav__link::after {
  display: none;
}

.nav__link:hover,
.nav__link.is-active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.nav__link.is-active {
  background: rgba(255, 255, 255, 0.15);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: var(--space-sm);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #FFFFFF;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Nav */
.nav__mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  z-index: var(--z-overlay);
  border: 4px solid;
  border-color: #505050 #000000 #000000 #505050;
}

.nav__mobile.is-open {
  display: flex;
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #C0C0C0;
  transition: none;
  padding: var(--space-sm) var(--space-xl);
}

.nav__mobile-link:hover {
  color: #FFFFFF;
  background: var(--win95-blue);
}

/* Scroll Progress */
.nav__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #000000;
}

.nav__progress-bar {
  height: 100%;
  width: 0%;
  background: var(--primary);
  transition: width 50ms linear;
}

/* Responsive */
@media (max-width: 767px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }
}
