/* ── Shared Nav ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 2rem;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0) 100%);
  pointer-events: none;
}

nav > * {
  pointer-events: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: "Cinzel", serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: rgba(240, 236, 228, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold, #b8976a);
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(240,236,228,0.5);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  background: var(--gold, #b8976a);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  background: var(--gold, #b8976a);
}

/* ── Mobile Menu ── */

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.97);
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: "Cinzel", serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: rgba(240,236,228,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--gold, #b8976a);
}

@media (max-width: 520px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}