/* ====== ANIMATIONS ====== */

/* Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In Left */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Zoom In */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ====== APPLY ANIMATIONS ====== */
.hero-content {
    animation: fadeIn 1s ease;
}

.hero-title {
    animation: slideInLeft 1s ease;
}

.hero-subtitle {
    animation: fadeIn 1.2s ease;
}

.btn-hero {
    animation: fadeIn 1.4s ease;
}

.category-card {
    animation: zoomIn 0.5s ease;
}

.recipe-card {
    animation: fadeIn 0.6s ease;
}

.navbar {
    animation: slideInLeft 0.5s ease;
}

/* ====== HOVER EFFECTS ====== */
.category-card {
    transition: all 0.3s ease;
}

.recipe-card {
    transition: all 0.3s ease;
}

.btn-hero {
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.social-icons a {
    transition: all 0.3s ease;
}

/* ====== LOADING ANIMATION ====== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.nav-logo {
    animation: pulse 2s infinite;
}