/* ==========================================================================
   Animations & Transitions
   Smooth, purposeful, editorial micro-interactions
   ========================================================================== */

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.reveal-scale {
  transform: scale(0.97) translateY(20px);
}

.reveal.reveal-left {
  transform: translateX(-30px);
}

.reveal.reveal-right {
  transform: translateX(30px);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1) translateX(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; }
.delay-5 { transition-delay: 0.5s; }

/* --- Marquee Infinite Track Scroll --- */
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* --- Ambient Geometric Rotation --- */
@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* --- Status Indicator Glow --- */
@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #10b981;
  }
  50% {
    opacity: 0.65;
    transform: scale(1.2);
    box-shadow: 0 0 14px #10b981;
  }
}

.status-dot {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

/* --- Hero Subtle Drift / Vignette In --- */
@keyframes heroFadeIn {
  from {
    opacity: 0.7;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content-col {
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual-col {
  animation: heroFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* --- Speed Dial Expand Keyframes --- */
@keyframes popUp {
  0% {
    opacity: 0;
    transform: translateY(15px) scale(0.85);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* --- Ambient Purple Rose Breathing Glow --- */
@keyframes roseGlowPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.06);
  }
}

.rose-glow-accent {
  animation: roseGlowPulse 6s ease-in-out infinite;
}

/* --- Ambient Atmospheric Gradient Drifts (Midnight Navy & Slate) --- */
@keyframes ambientDrift1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  33% {
    transform: translate(-35px, 25px) scale(1.08);
    opacity: 0.78;
  }
  66% {
    transform: translate(25px, -20px) scale(0.95);
    opacity: 0.58;
  }
}

@keyframes ambientDrift2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.55;
  }
  50% {
    transform: translate(30px, -25px) scale(1.1);
    opacity: 0.72;
  }
}

@keyframes ambientDrift3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-25px, 20px) scale(1.05);
    opacity: 0.75;
  }
}

/* --- Accessibility: prefers-reduced-motion --- */
@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;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .marquee-track {
    animation: none !important;
  }

  .rose-glow-accent {
    animation: none !important;
  }

  .ambient-orb {
    animation: none !important;
  }
}

