/* JaitraParna — Animations */

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.97); }
}

@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes floatLeaf {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.06; }
    25% { transform: translateY(-30px) rotate(90deg); opacity: 0.08; }
    50% { transform: translateY(-10px) rotate(180deg); opacity: 0.04; }
    75% { transform: translateY(-40px) rotate(270deg); opacity: 0.07; }
    100% { transform: translateY(0) rotate(360deg); opacity: 0.06; }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes leafSway {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(8deg); }
}

@keyframes catalogReveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.catalog-product-card.animated {
    animation: catalogReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.catalog-benefits-list li {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.catalog-product-card.animated .catalog-benefits-list li {
    opacity: 1;
    transform: translateX(0);
}

.catalog-product-card.animated .catalog-benefits-list li:nth-child(1) { transition-delay: 0.1s; }
.catalog-product-card.animated .catalog-benefits-list li:nth-child(2) { transition-delay: 0.15s; }
.catalog-product-card.animated .catalog-benefits-list li:nth-child(3) { transition-delay: 0.2s; }
.catalog-product-card.animated .catalog-benefits-list li:nth-child(4) { transition-delay: 0.25s; }
.catalog-product-card.animated .catalog-benefits-list li:nth-child(5) { transition-delay: 0.3s; }
.catalog-product-card.animated .catalog-benefits-list li:nth-child(6) { transition-delay: 0.35s; }

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes imageReveal {
    from {
        clip-path: inset(0 100% 0 0);
    }
    to {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes goldGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 106, 0.2); }
    50% { box-shadow: 0 0 40px rgba(201, 168, 106, 0.4); }
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transition: none;
}

.animate-on-scroll.animated {
    animation-fill-mode: both;
    animation-duration: 0.8s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.animated { animation-name: fadeUp; }
.fade-left.animated { animation-name: fadeLeft; }
.fade-right.animated { animation-name: fadeRight; }
.scale-in.animated { animation-name: scaleIn; }
.image-reveal.animated { animation-name: imageReveal; animation-duration: 1s; }
.text-reveal.animated { animation-name: textReveal; }

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Hover effects */
.hover-lift {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
}

.hover-glow:hover {
    animation: goldGlow 2s ease infinite;
}

/* Parallax */
.parallax-bg {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
    }

    .floating-leaves { display: none; }
}
