/* ==============================================
   Research Mobile Navigation
   Reusable hamburger menu for research section
   ============================================== */

/* Hamburger button - hidden on desktop */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-btn svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-ink, #2C1810);
  stroke-width: 2;
  stroke-linecap: round;
}

/* Desktop nav links */
.nav-links-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Mobile overlay - full screen beautiful menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #FFF8E7 0%, #F5EDD6 100%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close button */
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-close svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-ink, #2C1810);
  stroke-width: 2;
}

/* Mobile nav links - beautiful, spaced */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.mobile-nav-link {
  font-family: var(--font-display, 'Fredoka', system-ui, sans-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-ink, #2C1810);
  text-decoration: none;
  padding: 1rem 2rem;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-amber, #D97706);
  transform: scale(1.05);
}

.mobile-nav-link.active {
  color: var(--color-amber, #D97706);
}

/* Faded separator lines between links */
.mobile-nav-link:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-ink, #2C1810);
  opacity: 0.1;
}

/* Brand in overlay */
.mobile-nav-brand {
  position: absolute;
  top: 16px;
  left: 24px;
  font-family: var(--font-display, 'Fredoka', system-ui, sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-ink, #2C1810);
  text-decoration: none;
}

/* Decorative element */
.mobile-nav-decoration {
  position: absolute;
  bottom: 2rem;
  font-size: 0.9rem;
  color: var(--color-ink-light, #6B5344);
  opacity: 0.7;
}

/* Show hamburger, hide desktop nav on mobile */
@media (max-width: 768px) {
  .hamburger-btn {
    display: block;
  }

  .nav-links-desktop {
    display: none;
  }
}
