/* ===================================
   SCROLL REVEAL ANIMATIONS
   =================================== */

/* Initial States - Hidden */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-pop {
    opacity: 0;
    transform: scale(0.3);
}

/* Visible States - Animated */
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0);
}

.reveal-pop.visible {
    animation: popUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Pop-up Animation Keyframes */
@keyframes popUp {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05) translateY(-5px);
    }
    70% {
        transform: scale(0.95) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* ===================================
   INFINITE SCROLL CAROUSEL
   =================================== */

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.carousel-track {
    animation: scroll 30s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

/* ===================================
   FLOATING ANIMATIONS
   =================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-float.delay-100 {
    animation-delay: 0.1s;
}

.animate-float.delay-200 {
    animation-delay: 0.2s;
}

.animate-float.delay-300 {
    animation-delay: 0.3s;
}

.animate-float.delay-400 {
    animation-delay: 0.4s;
}

.animate-float.delay-500 {
    animation-delay: 0.5s;
}

/* ===================================
   GLASSMORPHISM EFFECT
   =================================== */

.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===================================
   COUNTER ANIMATION
   =================================== */

.counter {
    display: inline-block;
}

/* ===================================
   HOVER EFFECTS
   =================================== */

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

@media (max-width: 768px) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        transition-duration: 0.6s;
    }
    
    .carousel-track {
        animation-duration: 20s;
    }
}