/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-reveal="up"] {
  opacity: 0;
  transform: translateY(40px);
}
.reveal[data-reveal="left"] {
  opacity: 0;
  transform: translateX(-40px);
}
.reveal[data-reveal="right"] {
  opacity: 0;
  transform: translateX(40px);
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* ── Navbar ── */
#navbar {
  background: rgba(254, 253, 251, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(123, 45, 59, 0.08);
}
#navbar.scrolled {
  background: rgba(254, 253, 251, 0.95);
  box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7B2D3B, #e03048);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ── Mobile Menu ── */
.mobile-link { transition: opacity 0.3s ease; }
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #7B2D3B 0%, #b91c35 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(123, 45, 59, 0.3);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(123, 45, 59, 0.4);
  background: linear-gradient(135deg, #5c1f2b 0%, #7B2D3B 100%);
  color: #fff;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(123, 45, 59, 0.08);
  color: #7B2D3B;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(123, 45, 59, 0.2);
}
.btn-secondary:hover {
  background: rgba(123, 45, 59, 0.12);
  border-color: rgba(123, 45, 59, 0.4);
  transform: translateY(-2px);
  color: #7B2D3B;
}

/* ── Section Labels & Titles ── */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7B2D3B;
  background: linear-gradient(135deg, rgba(123,45,59,0.1) 0%, rgba(224,48,72,0.1) 100%);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(123, 45, 59, 0.15);
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: #3d131a;
}

/* ── Hero Image ── */
.hero-image-wrapper { perspective: 1000px; }
.hero-image-wrapper img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-image-wrapper:hover img {
  transform: rotate(-1deg) scale(1.01);
}

/* ── Menu Cards ── */
.menu-card {
  background: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(123, 45, 59, 0.06);
  box-shadow: 0 2px 8px rgba(123, 45, 59, 0.04);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(123, 45, 59, 0.12);
}

/* ── Menu Tabs ── */
.menu-tab {
  color: #7B2D3B;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-tab.active {
  background: #fff;
  color: #7B2D3B;
  box-shadow: 0 2px 8px rgba(123, 45, 59, 0.12);
}
.menu-tab:not(.active):hover {
  background: rgba(255,255,255,0.6);
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(123, 45, 59, 0.15);
  border-radius: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  color: #3d131a;
  background: #fefdfb;
  transition: all 0.25s ease;
  outline: none;
}
.input-field::placeholder { color: #b91c35; opacity: 0.4; }
.input-field:focus {
  border-color: #7B2D3B;
  box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
  background: #fff;
}
.input-field:hover:not(:focus) { border-color: rgba(123, 45, 59, 0.3); }

/* ── Scroll Indicator ── */
.scroll-indicator { animation: float 2.5s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ── Hero Animations ── */
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroImageIn {
  from { opacity: 0; transform: scale(0.95) translateX(20px); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}
.hero-badge { animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-image-wrapper { animation: heroImageIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both; }

h1, .hero-badge, p.lead, .hero-cta, .hero-stats {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
h1 { animation-delay: 0.15s; }
p.lead { animation-delay: 0.3s; }
.hero-cta { animation-delay: 0.45s; }
.hero-stats { animation-delay: 0.55s; }

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9f3; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #7B2D3B, #b91c35); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #5c1f2b; }

/* ── Selection ── */
::selection { background: rgba(123, 45, 59, 0.15); color: #3d131a; }

/* ── Focus Visible ── */
:focus-visible {
  outline: 2px solid #7B2D3B;
  outline-offset: 2px;
  border-radius: 4px;
}
