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

/* ── Scroll Reveal ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal.revealed:nth-child(4) { transition-delay: 0.25s; }
.scroll-reveal.revealed:nth-child(5) { transition-delay: 0.3s; }
.scroll-reveal.revealed:nth-child(6) { transition-delay: 0.35s; }
.scroll-reveal.revealed:nth-child(7) { transition-delay: 0.4s; }

/* ── Hero Badge Animation ── */
.hero-badge {
  animation: fadeSlideDown 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Hero Content Animation ── */
.hero-content > * {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.4s; }
.hero-content > *:nth-child(2) { animation-delay: 0.55s; }
.hero-content > *:nth-child(3) { animation-delay: 0.7s; }
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Navbar ── */
#navbar {
  background: transparent;
}
#navbar.scrolled {
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  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: 2px;
  background: #F3B5AA;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Mobile Menu ── */
#mobileMenu {
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-link:last-child {
  border-bottom: none;
}

/* ── Card Hover Effects ── */
.group:hover .group-hover\:-translate-y-1 {
  transform: translateY(-4px);
}

/* ── Button Ripple ── */
button, a {
  position: relative;
  overflow: hidden;
}

/* ── Input Focus Glow ── */
input:focus, textarea:focus {
  box-shadow: 0 0 0 4px rgba(184, 84, 70, 0.1);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F0EB; }
::-webkit-scrollbar-thumb { background: #C4B396; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #B09974; }

/* ── Selection ── */
::selection { background: rgba(184, 84, 70, 0.2); color: #1A1A1A; }

/* ── Responsive Tweaks ── */
@media (max-width: 640px) {
  .font-display { line-height: 1.15; }
}
