/* ============================================
   GOWILDATLAS — ANIMATIONS
   ============================================ */

/* --- Fade Up (default reveal) --- */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Fade In --- */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* --- Stagger delays for child elements --- */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.2s; }
.stagger > *:nth-child(4) { transition-delay: 0.3s; }
.stagger > *:nth-child(5) { transition-delay: 0.4s; }
.stagger > *:nth-child(6) { transition-delay: 0.5s; }

/* --- Hero text reveal --- */
.hero-reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal 1s ease forwards;
}

.hero-reveal:nth-child(1) { animation-delay: 0.2s; }
.hero-reveal:nth-child(2) { animation-delay: 0.45s; }
.hero-reveal:nth-child(3) { animation-delay: 0.65s; }
.hero-reveal:nth-child(4) { animation-delay: 0.85s; }

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Stat counter pulse --- */
@keyframes countUp {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.stat-number {
  animation: countUp 0.6s ease forwards;
  animation-play-state: paused;
  opacity: 1;
  transform: none;
}

.stat-number.counting {
  animation-play-state: running;
}

/* --- Nav scroll shrink --- */
.site-nav {
  transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.site-nav.scrolled {
  background: rgba(242,234,211,0.98);
  box-shadow: 0 2px 24px rgba(15,18,9,0.18);
}

/* --- Hover lift --- */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* --- Image zoom on hover (for cards) --- */
.img-zoom {
  overflow: hidden;
}

.img-zoom img {
  transition: transform 0.6s ease;
}

.img-zoom:hover img {
  transform: scale(1.06);
}

/* --- WhatsApp float button pulse --- */
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
  animation: waPulse 2.5s infinite;
}

/* --- Mobile menu slide --- */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}
