/* ==========================================================================
   WAH FUNG NO. 1 FAST FOOD - ANIMATIONS & TRANSITIONS
   Fluid scroll effects, subtle hover lifts, glowing badges, reduced-motion
   ========================================================================== */

/* Keyframe Animations */
@keyframes floatGentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseGoldGlow {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(244, 196, 0, 0.35);
  }
  50% {
    box-shadow: 0 12px 36px rgba(255, 209, 41, 0.6);
  }
}

@keyframes waveShift {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll Animation Helper Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0, 0, 1), transform 0.7s cubic-bezier(0.2, 0, 0, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Floating Element */
.float-element {
  animation: floatGentle 4.5s ease-in-out infinite;
}

/* Glowing Accent Button */
.btn-primary.pulse-cta {
  animation: pulseGoldGlow 3s infinite;
}

/* Respect User Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
