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

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  background: #ffffff;
  color: #2D2D2D;
}

.font-playfair {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-inter-light {
  font-weight: 300;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* Selection */
::selection {
  background: #E8604A;
  color: #fff;
}

/* Smooth section transitions */
section {
  position: relative;
}

/* Mobile menu transitions */
.mobile-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Subtle hover lift on cards */
a[href="#menu"]:hover,
a[href="#about"]:hover,
a[href="#hours"]:hover,
a[href="#visit"]:hover {
  text-decoration: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .animate-bounce {
    animation: none;
  }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #E8604A;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Nav background on scroll handled by JS */
nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(45, 45, 45, 0.08);
}

nav.scrolled a:not(.bg-charcoal-800) {
  color: #2D2D2D;
}

/* Mobile menu open state */
body.menu-open {
  overflow: hidden;
}

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

#mobile-menu.open #bar1 {
  transform: translateY(5px) rotate(45deg);
}
#mobile-menu.open #bar2 {
  opacity: 0;
}
#mobile-menu.open #bar3 {
  transform: translateY(-5px) rotate(-45deg);
  width: 1.25rem;
}
