/* ═══════════════════════════════════════════
   Castle of Midnight — Navigation
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 50px;
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

.nav.scrolled {
  background: rgba(255, 251, 250, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0, 16, 11, 0.06);
}

.nav-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 1;
}

@media (max-width: 700px) {
  .nav {
    padding: 20px 24px;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }
  .nav-logo-img {
    height: 24px;
  }
}
