/* ==========================================================================
   PrintPro — Animation Layer
   Custom keyframes that complement AOS (data-aos attributes live in HTML).
   ========================================================================== */

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

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.45); }
  100% { box-shadow: 0 0 0 18px rgba(255, 107, 0, 0); }
}

.hero-eyebrow .blink { animation: blink 1.6s infinite, pulseRing 2.4s infinite; }

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.reg-mark.spin svg { animation: rotateSlow 18s linear infinite; }

@keyframes floatIcon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.service-icon, .why-icon { will-change: transform; }

/* Counter number pop */
@keyframes numPop {
  0% { transform: scale(0.85); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}
.stat-number.counted { animation: numPop 0.4s ease; }

/* Gradient buttons shimmer */
@keyframes shimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Fade-in for lightbox */
@keyframes lightboxFade {
  from { opacity: 0; } to { opacity: 1; }
}
.lightbox-overlay.active img { animation: lightboxFade 0.3s ease; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-shapes .reg-mark { animation: none !important; }
}
