/* General Styles */
:root {
    --primary-color: #72D065; /* Green */
    --primary-color-dark: #373737; /* Dark Gray */
    --secondary-color: #F2770C; /* Orange */
    --text-color: #373737; /* Dark Gray for general text */
    --light-text-color: #D4DACC; /* Light Grayish Green */
    --button-bg-color: #F2770C; /* Orange for buttons */
    --button-text-color: #f4f4f4; /* Light text for dark buttons */
    --dark-bg-color: #373737; /* Dark Gray */
    --accent-color: #D29649; /* Brownish Orange for accents */
    --success-color: #B1E7A7; /* Light Green for success */
    --warning-color: #F2770C; /* Orange for warning */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    display: inline-block;
    background: var(--button-bg-color);
    color: var(--button-text-color);
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 18px;
    transition: all 0.3s ease;
    font-weight: 600;
}

button:hover {
    background: #e06c0b; /* Darker shade of orange */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 119, 12, 0.4);
}

/* Header */
header {
    background: transparent;
    color: var(--light-text-color); /* Initial text color for transparent header */
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease-in-out, backdrop-filter 0.3s ease-in-out, color 0.3s ease-in-out;
    backdrop-filter: none;
}

header.scrolled {
    background: var(--primary-color-dark);
    color: var(--light-text-color); /* Text color when scrolled */
    backdrop-filter: blur(10px);
}

header .logo,
header ul li a {
    color: var(--light-text-color); /* Ensure logo and links are light on transparent header */
}



header nav ul li a {
    color: inherit; /* Inherit color from header */
}

header.scrolled nav ul li a {
    color: var(--light-text-color); /* Ensure links are visible on dark background */
}

header.scrolled {
    background: var(--primary-color-dark);
    color: var(--light-text-color); /* Text color when scrolled */
    backdrop-filter: blur(10px);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    font-family: 'Josefin Slab', serif;
}

header ul {
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    color: inherit; /* Inherit color from header */
    font-weight: bold;
    transition: color 0.3s ease;
}

header ul li a:hover {
    color: var(--secondary-color); /* Orange */
    text-decoration: none;
}

header ul li a.faq-button {
    background: var(--button-bg-color);
    color: var(--button-text-color);
    padding: 0.5rem 1rem;
    border-radius: 18px;
}

header ul li a.faq-button:hover {
    background: #e06c0b; /* Darker shade of secondary color */
    text-decoration: none;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6rem 5% 2rem;
    min-height: 70vh;
    text-align: left;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%), 
                linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%), 
                linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%), 
                linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
}

#hero .hero-content {
    flex: 1;
    max-width: 50%;
    z-index: 1;
}

#hero .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-text-color);
    font-family: 'Josefin Slab', serif;
    animation: fadeInUp 1s ease-out;
}

#hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

#hero .hero-image {
    flex: 1;
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

#hero .hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

.shop-now-button {
    background: var(--button-bg-color);
    color: var(--button-text-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 18px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Offers Banner Section */
#offers-banner {
    background: linear-gradient(90deg, var(--accent-color), var(--warning-color));
    padding: 1rem 0;
    overflow: hidden;
    position: relative;
}

.offers-container {
    display: flex;
    animation: slideOffers 15s infinite linear;
}

.offer-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.offer-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    text-align: center;
}

.offer-content i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

.offer-content h3 {
    font-size: 1.5rem;
    margin: 0;
    color: white;
}

.offer-content p {
    margin: 0;
    font-size: 1rem;
}

.offer-code {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Featured Products Section */
#featured-products {
    background: #f9f9f9;
    padding: 4rem 0;
}

#featured-products h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Josefin Slab', serif;
    text-align: center;
}

#featured-products p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.product-description {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--success-color);
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.product-rating i {
    color: var(--secondary-color); /* Orange for stars */
    font-size: 0.9rem;
}

.product-rating span {
    color: var(--text-color);
    font-size: 0.9rem;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: 600;
}

.add-to-cart-btn:hover {
    background: var(--primary-color-dark);
    color: var(--light-text-color);
}

.browse-all-container {
    text-align: center;
}

.browse-all-btn {
    background: var(--secondary-color); /* Mint Green */
    color: var(--button-text-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 25px;
}

.browse-all-btn:hover {
    background: #e06c0b; /* Darker Orange */
}

/* Flavors Carousel Section */
#flavors-carousel {
    background: linear-gradient(135deg, var(--primary-color-dark) 0%, var(--primary-color) 100%);
    color: var(--light-text-color);
    padding: 4rem 0;
    overflow: hidden;
}

#flavors-carousel h2 {
    font-size: 2.5rem;
    color: var(--light-text-color);
    font-family: 'Josefin Slab', serif;
    text-align: center;
}

#flavors-carousel p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.flavors-slider {
    overflow: hidden;
    position: relative;
}

.flavors-track {
    display: flex;
    animation: scrollFlavors 20s linear infinite;
    gap: 2rem;
}

.flavor-card {
    min-width: 250px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--secondary-color); /* Mint Green border */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.flavor-card:hover {
    transform: scale(1.05);
    border-color: var(--button-bg-color); /* Highlight with button color on hover */
}

.flavor-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.flavor-card h3 {
    color: var(--light-text-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.flavor-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* About Section */
#about {
    background: #f9f9f9;
    padding: 4rem 0;
}

#about h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Josefin Slab', serif;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin: 2rem auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    font-family: 'Josefin Slab', serif;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary-color); /* Mint Green */
    margin-top: 0.5rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ Section */
#faq {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-dark) 100%);
    color: var(--light-text-color);
    padding: 4rem 0;
}

#faq h2 {
    font-size: 2.5rem;
    color: var(--light-text-color);
    font-family: 'Josefin Slab', serif;
    text-align: center;
}

#faq p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
}

.faq-question h3 {
    color: var(--light-text-color);
    font-size: 1.1rem;
    margin: 0;
}

.faq-question i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Contact Us Section */
#contact-us {
    background: #f9f9f9;
    padding: 4rem 0;
}

#contact-us h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-family: 'Josefin Slab', serif;
    text-align: center;
}

#contact-us p {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 2rem auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--secondary-color); /* Mint Green */
    margin-top: 0.5rem;
}

.contact-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-details p {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.contact-details span {
    font-size: 0.9rem;
    color: var(--text-color);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    background: var(--primary-color);
    color: var(--light-text-color);
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: 600;
}

.submit-btn:hover {
    background: var(--primary-color-dark);
}

/* Footer */
footer {
    background: var(--dark-bg-color);
    color: var(--light-text-color);
    padding: 3rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    font-family: 'Josefin Slab', serif;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

footer .link-group {
    text-align: left;
}

footer .link-group h4 {
    color: var(--secondary-color); /* Mint Green */
    margin-bottom: 1rem;
}

footer .link-group ul {
    list-style: none;
}

footer .link-group ul li {
    margin-bottom: 0.5rem;
}

footer .link-group ul li a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}

footer .link-group ul li a:hover {
    color: var(--button-bg-color); /* Orange */
    text-decoration: none;
}

footer .link-group ul li a i {
    margin-right: 0.5rem;
}

footer .copyright {
    font-size: 0.9rem;
    color: #aaa;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideOffers {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-300%);
    }
}

@keyframes scrollFlavors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        padding: 1rem 0;
    }

    header ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    header ul li {
        margin: 0.5rem;
    }

    #hero {
        flex-direction: column;
        text-align: center;
        padding: 8rem 5% 2rem;
    }

    #hero .hero-content,
    #hero .hero-image {
        max-width: 100%;
        padding: 0;
    }

    #hero .hero-content h1 {
        font-size: 2.5rem;
    }

    #hero .hero-image {
        margin-top: 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .flavors-track {
        animation-duration: 15s;
    }

    .flavor-card {
        min-width: 200px;
    }

    footer .footer-links {
        flex-direction: column;
        gap: 2rem;
    }

    footer .link-group {
        text-align: center;
    }

    .offer-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .offer-content h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #hero .hero-content h1 {
        font-size: 2rem;
    }

    .flavor-card {
        min-width: 150px;
        padding: 1rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }
}

