/**
 * FUNDAAHE - Animations & Reveal Effects
 * Extracted from base.html
 * Scroll reveal animations and keyframes
 */

/* ===== REVEAL SYSTEM ===== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger.visible > *:nth-child(1) { 
  transition-delay: 0.0s; 
  opacity: 1; 
  transform: translateY(0); 
}

.stagger.visible > *:nth-child(2) { 
  transition-delay: 0.1s; 
  opacity: 1; 
  transform: translateY(0); 
}

.stagger.visible > *:nth-child(3) { 
  transition-delay: 0.2s; 
  opacity: 1; 
  transform: translateY(0); 
}

.stagger.visible > *:nth-child(4) { 
  transition-delay: 0.3s; 
  opacity: 1; 
  transform: translateY(0); 
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(3,136,138,0.3); }
  50% { box-shadow: 0 0 50px rgba(3,136,138,0.5); }
}

@keyframes scroll-bounce {
  0%, 100% { 
    transform: translateY(0); 
    opacity: 1; 
  }
  50% { 
    transform: translateY(10px); 
    opacity: 0.5; 
  }
}

@keyframes border-glow {
  0%, 100% { border-color: rgba(3,136,138,0.3); }
  50% { border-color: rgba(3,136,138,0.6); }
}

@keyframes text-glow {
  0%, 100% { text-shadow: 0 0 10px rgba(255,213,79,0.3); }
  50% { text-shadow: 0 0 30px rgba(255,213,79,0.6); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== ANIMATION CLASSES ===== */
.animate-float-slow {
  animation: float-slow 10s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 8s ease-in-out infinite;
}

.animate-glow-pulse {
  animation: glow-pulse 3s ease-in-out infinite;
}

.animate-scroll-bounce {
  animation: scroll-bounce 2s ease infinite;
}

.animate-border-glow {
  animation: border-glow 3s ease-in-out infinite;
}

.animate-text-glow {
  animation: text-glow 4s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* ===== 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-1000 { animation-delay: 1s; }
.delay-2000 { animation-delay: 2s; }
.delay-3000 { animation-delay: 3s; }
