/* =========================================================
   HEAT CHECK - ANIMATIONS & INTERACTIONS
   ========================================================= */

/* Generic Transitions */
.transition-smooth {
  transition: all 0.6s var(--ease-cinematic);
}

.transition-spring {
  transition: all 0.6s var(--ease-spring);
}

/* Scroll Revel Defaults (triggered by JS IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: all 0.8s var(--ease-spring);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered Reveals */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* Micro-animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

.anim-float {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulseGlowRed {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

@keyframes pulseGlowBlue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Cinematic Image Zoom on Hover */
.img-cinematic-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
  position: relative;
  border: var(--border-subtle);
  background: var(--bg-dark);
}

.img-cinematic-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.img-cinematic-wrapper:hover img {
  transform: scale(1.05); /* Modern subtle zoom */
}

/* Parallax backgrounds */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
