/* ── Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }

/* ── Navigation ───────────────────────────────────── */
#nav { background: transparent; }
#nav.scrolled {
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-logo { transition: color 0.3s; }

/* ── Mobile Menu ──────────────────────────────────── */
#mobile-menu.open { opacity: 1; pointer-events: auto; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
#mobile-menu.open .mobile-link { animation: fadeUp 0.4s ease forwards; opacity: 0; }
#mobile-menu.open .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { animation-delay: 0.25s; }

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

.menu-line { transition: all 0.3s ease; }
#menu-toggle.active .menu-line:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
#menu-toggle.active .menu-line:nth-child(2) { opacity: 0; }
#menu-toggle.active .menu-line:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 6px; }

/* ── Hero ─────────────────────────────────────────── */
.hero-gradient {
  background: linear-gradient(135deg, #c4411a 0%, #e05525 25%, #e05525 40%, #f5a070 60%, #d4ad5a 80%, #e0c480 100%);
}

.hero-eyebrow { animation: fadeUp 0.8s ease 0.2s forwards; }
.hero-title { animation: fadeUp 0.8s ease 0.4s forwards; }
.hero-subtitle { animation: fadeUp 0.8s ease 0.6s forwards; }
.hero-cta { animation: fadeUp 0.8s ease 0.8s forwards; }
.hero-scroll { animation: fadeUp 0.8s ease 1.2s forwards; }

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

.hero-btn-primary {
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}
.hero-btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transform: translateY(-1px);
}
.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

/* ── Section Eyebrow ──────────────────────────────── */
.section-eyebrow { letter-spacing: 0.3em; }

/* ── Reveal on Scroll ─────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-200 { transition-delay: 0.2s; }

/* ── Menu Items ───────────────────────────────────── */
.menu-item {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 1rem;
}
.menu-item:last-child { border-bottom: none; }
.menu-item h4 { font-weight: 500; }

/* ── Contact Form ─────────────────────────────────── */
.contact-input { transition: border-color 0.3s; }
.contact-input:focus { border-color: #ed7040 !important; }
.contact-submit { position: relative; }
.contact-submit::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #c4411a;
  transition: width 0.3s ease;
}
.contact-submit:hover::after { width: 100%; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 0.95rem; }
  section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .max-w-6xl { padding-left: 0; padding-right: 0; }
}
