/*
 * FULL-SCREEN NAVIGATION MENU
 */

.menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: calc(var(--z-nav) - 1); /* Just below the header */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-cinematic), visibility 0.5s;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.menu-link {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.4s, -webkit-text-stroke 0.4s, transform 0.4s;
  transform: translateY(50px);
  opacity: 0;
}

.menu-overlay.active .menu-link {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger delays for links */
.menu-overlay.active .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active .menu-link:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active .menu-link:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active .menu-link:nth-child(4) { transition-delay: 0.4s; }
.menu-overlay.active .menu-link:nth-child(5) { transition-delay: 0.5s; }

.menu-link:hover {
  color: var(--text-pure);
  -webkit-text-stroke: 1px var(--text-pure);
  transform: scale(1.05) !important;
}

/* Hamburger toggle animation */
.nav-menu-btn.active .menu-line:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.nav-menu-btn.active .menu-line:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}
