/* Animations CSS for Protein Goblin */

/* Fade In Animation */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll-triggered animations */
.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Hover animations */
.recipe-card:hover,
.featured-card:hover,
.blog-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

/* Loading animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Gradient text animation */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-color), #16a34a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


