/* ── Base & Utilities ── */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: #FF6B4A;
  color: #fff;
}

/* ── Navbar ── */
#navbar {
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#navbar.scrolled {
  box-shadow: 0 1px 24px rgba(0,0,0,0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF6B4A;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-logo {
  transition: color 0.3s ease;
}

/* ── Mobile Menu ── */
.mobile-link {
  transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
  color: #FF6B4A;
  transform: scale(1.05);
}

/* ── Hero ── */
.hero-eyebrow {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-eyebrow {
  opacity: 1;
}

#hero h1 {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

#hero h1 {
  opacity: 1;
}

#hero p {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

#hero p {
  opacity: 1;
}

#hero a {
  animation: fadeSlideUp 0.8s ease forwards;
  opacity: 0;
  animation-delay: 0.8s;
}

#hero a {
  opacity: 1;
}

.hero-image-wrapper {
  animation: fadeSlideLeft 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.hero-image-wrapper {
  opacity: 1;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ── Scroll Indicator ── */
.scroll-line {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, #1A1A1A);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ── Reveal Animations (below the fold) ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .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; }
}

/* ── Menu Cards ── */
.group:hover .group-hover\:scale-105 {
  transform: scale(1.05);
}

/* ── Button Focus ── */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #FF6B4A;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Smooth scroll offset for fixed nav ── */
section[id] {
  scroll-margin-top: 80px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
  #hero h1 {
    font-size: 3rem;
  }

  #hero h1 {
    font-size: 2.75rem;
  }

  #philosophy h2,
  #menu h2,
  #story h2,
  #visit h2 {
    font-size: 2.5rem;
  }

  section[id] {
    scroll-margin-top: 70px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #hero h1 {
    font-size: 4rem;
  }
}

/* ── Print ── */
@media print {
  #navbar,
  .scroll-indicator {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}
