/* ==========================================================================
   MONANI DIGITAL SOLUTION — ANIMATIONS & REVEALS
   ========================================================================== */

/* Keyframe Animations */
@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.08); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

@keyframes lineFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

.animate-marquee {
    display: flex;
    width: 200%;
    animation: marquee 32s linear infinite;
}
.animate-marquee:hover {
    animation-play-state: paused;
}

/* Masked Text Reveal Helper Wrappers */
.reveal-text-mask {
    overflow: hidden;
    display: block;
}
.reveal-text-mask > * {
    display: block;
    transform: translateY(110%);
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-text-mask.is-revealed > * {
    transform: translateY(0%);
}

/* Fade Up Utilities */
.fade-up-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1), transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-item.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Image Clip Reveal */
.clip-reveal-img {
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1000ms cubic-bezier(0.16, 1, 0.3, 1);
}
.clip-reveal-img.is-in-view {
    clip-path: inset(0 0 0 0);
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .animate-marquee {
        animation: none !important;
        width: 100% !important;
    }
    .reveal-text-mask > * {
        transform: none !important;
    }
    .fade-up-item {
        opacity: 1 !important;
        transform: none !important;
    }
    .clip-reveal-img {
        clip-path: none !important;
    }
}
