/* ============================================================
   ANIMATIONS & SCROLL EFFECTS — Premium Interactions
============================================================== */

/* ===========================
   FADE IN ANIMATIONS
============================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-down {
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeInDown 0.8s ease-out forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* ===========================
   REVEAL ANIMATIONS
============================== */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}


/* ===========================
   STAGGER DELAYS
============================== */
.reveal-up:nth-child(1),
.reveal-zoom:nth-child(1) {
    transition-delay: 0.1s;
}

.reveal-up:nth-child(2),
.reveal-zoom:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal-up:nth-child(3),
.reveal-zoom:nth-child(3) {
    transition-delay: 0.3s;
}

.reveal-up:nth-child(4),
.reveal-zoom:nth-child(4) {
    transition-delay: 0.4s;
}

.reveal-up:nth-child(5),
.reveal-zoom:nth-child(5) {
    transition-delay: 0.5s;
}

.reveal-up:nth-child(6),
.reveal-zoom:nth-child(6) {
    transition-delay: 0.6s;
}


/* ===========================
   FLOATING ANIMATION
============================== */
.float {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}


/* ===========================
   PULSE ANIMATION
============================== */
.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}


/* ===========================
   SHIMMER EFFECT
============================== */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    to {
        left: 100%;
    }
}


/* ===========================
   GLOW EFFECT
============================== */
.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(244, 178, 58, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(244, 178, 58, 0.6);
    }
}


/* ===========================
   ROTATE ANIMATION
============================== */
.rotate-slow {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ===========================
   BOUNCE ANIMATION
============================== */
.bounce {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}


/* ===========================
   SLIDE IN ANIMATIONS
============================== */
.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ===========================
   SCALE ANIMATIONS
============================== */
.scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* ===========================
   REDUCE MOTION PREFERENCE
============================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}