/* ==========================================
   TRIVANA HIGH-PERFORMANCE ANIMATIONS
========================================== */

/* Smooth Fade In Keyframes */
@keyframes heroFade {
    0% {
        opacity: 0;
        transform: translateY(25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotateSlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes imageFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Base Visibility Safeguards */
.hero-content {
    animation: heroFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image {
    animation: heroFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-circle {
    animation: rotateSlow 35s linear infinite;
}

.about-image img {
    animation: imageFloat 6s ease-in-out infinite;
}

/* Scroll Fade Elements - Default Visible fallback */
.fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.why-card, .ingredient-card, .testimonial-card, .featured-card {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.why-card:hover, .ingredient-card:hover, .testimonial-card:hover, .featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(139, 107, 74, 0.12);
}

/* Buttons & Links Hover */
.btn-primary, .btn-outline, .product-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover, .product-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(139, 107, 74, 0.2);
}