/* =============================================
   Navigation
   ============================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--sp-cream);
  border-bottom: 1px solid rgba(181, 138, 60, 0.3);
  height: var(--nav-height);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

.nav-logo img {
  width: 160px;
  height: auto;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--sp-ink);
  transition: color 200ms ease;
}

.nav-links a:hover {
  color: var(--sp-coral);
}

.nav-links a.active {
  color: var(--sp-gold);
  font-weight: 600;
}

/* — Hamburger — */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--sp-ink);
  border-radius: 1px;
  transition: transform 200ms ease, opacity 200ms ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* — Mobile overlay — */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--sp-cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay a {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--sp-ink);
  transition: color 200ms ease;
}

.nav-overlay a:hover {
  color: var(--sp-coral);
}

.nav-overlay a.active {
  color: var(--sp-gold);
}

/* — Spacer to offset fixed nav — */
.nav-spacer {
  height: var(--nav-height);
}

/* — Responsive — */
@media (max-width: 768px) {
  .nav-inner {
    padding: 0 24px;
  }

  .nav-logo img {
    content: url('../assets/logos/logo-stacked.svg');
    width: 100px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}
