/* === BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  overflow-x: hidden;
}

::selection {
  background: #c9a84c;
  color: #0a1628;
}

/* === NAV === */
#nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
}

#nav.scrolled {
  box-shadow: 0 4px 30px rgba(10, 22, 40, 0.06);
}

/* === MOBILE MENU === */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

/* === MENU ITEMS === */
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(10, 22, 40, 0.06);
  transition: all 0.3s ease;
}

.menu-item:first-child {
  padding-top: 0;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  padding-left: 8px;
}

.menu-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #0d1b2a;
  transition: color 0.3s ease;
}

.menu-item:hover .menu-item-name {
  color: #c9a84c;
}

.menu-item-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: #0d1b2a;
  opacity: 0.5;
  margin-top: 4px;
  line-height: 1.5;
}

.menu-item-price {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #c9a84c;
  white-space: nowrap;
  margin-left: 16px;
}

/* === SCROLL REVEAL (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* === BACK TO TOP === */
#backToTop.visible {
  opacity: 1;
  pointer-events: all;
}

/* === IMAGE HOVER === */
img {
  display: block;
  max-width: 100%;
}

/* === FOCUS === */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 2px;
  border-radius: 4px;
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .font-serif {
    word-spacing: -0.02em;
  }
}
