/* ===== Animations ===== */

/* Scroll Reveal */
.reveal-fade { opacity: 0; transition: opacity 0.8s ease; }
.reveal-fade.is-visible { opacity: 1; }

.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }

/* Stagger delays for sequential reveals */
.reveal-up:nth-child(2), .reveal-left:nth-child(2), .reveal-right:nth-child(2) { transition-delay: 0.1s; }
.reveal-up:nth-child(3), .reveal-left:nth-child(3), .reveal-right:nth-child(3) { transition-delay: 0.2s; }
.reveal-up:nth-child(4), .reveal-left:nth-child(4), .reveal-right:nth-child(4) { transition-delay: 0.3s; }
.reveal-up:nth-child(5), .reveal-left:nth-child(5), .reveal-right:nth-child(5) { transition-delay: 0.4s; }
.reveal-up:nth-child(6), .reveal-left:nth-child(6), .reveal-right:nth-child(6) { transition-delay: 0.5s; }

/* Keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes glowPulse {
  0%, 100% { box-shadow: var(--glow-accent-sm); }
  50% { box-shadow: var(--glow-accent); }
}

/* Counter animation */
.stat-number { transition: color 0.3s ease; }

/* Tab panel transitions */
.tab-panel.active { animation: fadeIn 0.4s ease; }

/* Gallery track */
.gallery-track { transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

/* Hero subtle parallax on scroll */
@media (min-width: 769px) {
  .hero-bg { transition: transform 0.1s linear; }
}

/* Particle animation */
@keyframes particleFloat {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}