/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */

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

@keyframes beeFly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -10px) rotate(5deg); }
    50% { transform: translate(-5px, -20px) rotate(-3deg); }
    75% { transform: translate(10px, -5px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes flicker {
    0% { transform: translateX(-50%) scale(1) rotate(-2deg); opacity: 0.8; }
    50% { transform: translateX(-50%) scale(1.1) rotate(2deg); opacity: 1; }
    100% { transform: translateX(-50%) scale(0.95) rotate(-1deg); opacity: 0.9; }
}

@keyframes sunGlow {
    0%, 100% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 60px rgba(251, 191, 36, 0.5); transform: scale(1.05); }
}

@keyframes drip {
    0%, 80% { transform: scaleY(1); opacity: 0.8; }
    90% { transform: scaleY(1.5); opacity: 0.6; }
    100% { transform: scaleY(1); opacity: 0.8; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   SCROLL ANIMATION CLASSES
   ======================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .fade-in-up {
        opacity: 1;
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }

    .bee,
    .flame,
    .about-sun,
    .hero-light-overlay,
    .comb-drip {
        animation: none !important;
    }
}