/* ===========================
   ANIMATIONS
   =========================== */

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .animate-fade-up,
  .animate-fade-right,
  .animate-fade-left,
  .animate-fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Initial hidden states */
.animate-fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.animate-fade-in {
  opacity: 0;
  transition: opacity 800ms ease;
}

/* Visible states — added by IntersectionObserver */
.animate-fade-up.is-visible,
.animate-fade-right.is-visible,
.animate-fade-left.is-visible,
.animate-fade-in.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger delays */
.animate-delay-1 { transition-delay: 100ms; }
.animate-delay-2 { transition-delay: 220ms; }
.animate-delay-3 { transition-delay: 340ms; }
.animate-delay-4 { transition-delay: 460ms; }
.animate-delay-5 { transition-delay: 580ms; }

/* ===========================
   HERO SCROLL INDICATOR
   =========================== */

@keyframes scrollPulse {
  0%   { opacity: 1; transform: scaleY(1) translateY(0); }
  100% { opacity: 0; transform: scaleY(0.4) translateY(28px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Hero entrance animations (triggered on page load, not IntersectionObserver) */
.hero-animate-1 {
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.2s;
}
.hero-animate-2 {
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.45s;
}
.hero-animate-3 {
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.65s;
}
.hero-animate-4 {
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.85s;
}
