/* assets/css/animations.css */

/* Spinner Animation */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* WhatsApp Pulse Animation */
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* Diya/Flame flicker effect — hero background decoration */
@keyframes divaFlicker {
  0%, 100% { opacity: 0.8; transform: scaleY(1) rotate(-2deg); }
  50%       { opacity: 1.0; transform: scaleY(1.05) rotate(2deg); }
}

/* Spice Floating Particles */
.particle {
  position: absolute;
  background: var(--color-saffron);
  border-radius: 50%;
  opacity: 0;
  animation: floatUp 5s ease-in infinite;
}

@keyframes floatUp {
  0%   { 
    transform: translateY(100px) rotate(0deg); 
    opacity: 0; 
  }
  10%  {
    opacity: 0.6;
  }
  90%  {
    opacity: 0;
  }
  100% { 
    transform: translateY(-200px) rotate(360deg); 
    opacity: 0; 
  }
}

/* Counter number roll-up */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll affordance bounce */
@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Special Button Animations */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 153, 51, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0); }
}

/* Rangoli spinner — decorative section dividers */
@keyframes rangolicSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Optional AOS customizations for smoother effects */
[data-aos] {
  pointer-events: none;
}
[data-aos].aos-animate {
  pointer-events: auto;
}
