/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ── Utility ─────────────────────────────────────────── */
.eyebrow { letter-spacing: 0.3em; }

/* ── Navbar ──────────────────────────────────────────── */
.nav {
  transition: background-color 0.5s ease, padding 0.5s ease, box-shadow 0.5s ease;
}
.nav.scrolled {
  background-color: rgba(42, 30, 22, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: #fff !important; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
}
.hero-bg {
  will-change: transform;
}
.hero-img {
  transition: transform 8s ease;
}
.hero:hover .hero-img {
  transform: scale(1.03);
}
.hero-scroll { pointer-events: none; }
.scroll-line {
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

/* ── Menu Items ──────────────────────────────────────── */
.menu-item {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.menu-item:last-child { border-bottom: none; padding-bottom: 0; }
.menu-item:hover h4 { color: #F3BBA8; transition: color 0.3s ease; }

/* ── Reveal Animations ───────────────────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  transform: translateX(-40px);
}
.reveal-right {
  transform: translateX(40px);
}
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Mobile Menu ─────────────────────────────────────── */
.mobile-nav-link {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}
#mobileMenu.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}
#mobileMenu.open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }

/* ── Input Focus ─────────────────────────────────────── */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(196, 97, 58, 0.1);
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 767px) {
  .hero-headline {
    font-size: 2.75rem !important;
    line-height: 1.1 !important;
  }
  .hero-headline br { display: none; }
}
