/* Premium scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1c1917; }
::-webkit-scrollbar-thumb { background: #44403c; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #57534e; }

/* ---------- Scroll-reveal (replaces framer-motion <Section>) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity .8s ease-out var(--delay, 0s), transform .8s ease-out var(--delay, 0s);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Entrance animation for hero (runs on load, not on scroll) ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-in {
  opacity: 0;
  animation: fadeInUp 1s ease-out .2s forwards;
}

/* ---------- Scroll indicator bounce ---------- */
@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
.scroll-bounce { animation: bounceY 2s infinite; }

/* ---------- Hover-lift cards (replaces whileHover={{ y: -N }}) ---------- */
.lift-sm { transition: transform .25s ease; }
.lift-sm:hover { transform: translateY(-5px); }
.lift-md { transition: transform .25s ease; }
.lift-md:hover { transform: translateY(-10px); }

/* ---------- Buttons (replaces whileHover scale / whileTap scale) ---------- */
.btn-pop { transition: transform .2s ease; }
.btn-pop:hover { transform: scale(1.05); }
.btn-pop:active { transform: scale(.95); }

/* ---------- Nav underline for active route ---------- */
.nav-link { position: relative; }
.nav-link.active { color: #EAB308; }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 2px;
  background: #EAB308;
}

/* ---------- Mobile menu ---------- */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
#mobile-menu.open { max-height: 500px; }

/* ---------- Floating WhatsApp bubble ---------- */
.whatsapp-bubble {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-bubble:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .5);
}
@media (max-width: 640px) {
  .whatsapp-bubble { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}
