@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --text-color: #2d3436;
    --background-color: #f0f0f0;
    --background: linear-gradient(135deg, #ffe4e1, #94d1a978);
    --button-color: #ff9ff3;
    --button-hover-color: #f368e0;
}

/* clip-path: ellipse(100% 85% at 50% 15%); */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    background: var(--background);
}

.flavors {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: #2d3436;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 0.8s ease forwards;
}

.flavor-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.flavor-card {
    width: 280px;
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
}

.flavor-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.flavor-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.flavor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flavor-card:hover .flavor-image img {
    transform: scale(1.050);
}

.flavor-info {
    padding: 1.5rem;
    text-align: center;
}

.flavor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.flavor-info p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.view-more {
    background-color: var(--button-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
}

.flavor-card:hover .view-more {
    opacity: 1;
    transform: translateY(0);
}

.view-more:hover {
    background-color: var(--button-hover-color);
}

.footer {
    background: linear-gradient(135deg, #ffe4e1, #8fd9a8) !important;
}






/* Animations */



@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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










/* Media Queries */



@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .flavor-card {
        width: calc(50% - 1rem);
    }
}

@media screen and (max-width: 480px) {
    .flavors {
        padding: 2rem 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .flavor-card {
        width: 100%;
    }

    .view-more {
        opacity: 1;
        transform: translateY(0);
    }
}