/* Stonora — Animation Utilities */

/* Fade Up (used by .reveal via JS IntersectionObserver) */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

@keyframes heroScale {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

/* Utility classes */
.animate-fade-up   { animation: fadeUp 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.animate-fade-in   { animation: fadeIn 0.6s ease both; }
.animate-slide-left  { animation: slideInLeft 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.animate-slide-right { animation: slideInRight 0.7s cubic-bezier(0.16,1,0.3,1) both; }
.animate-scale-in  { animation: scaleIn 0.6s cubic-bezier(0.16,1,0.3,1) both; }

/* Delay utilities */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-800 { animation-delay: 0.8s; }

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