/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2C3E31; /* Forest Green */
    background-color: #F5F1E9; /* Cream */
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #D87A54; /* Terracotta */
    color: #FFFFFF;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
}

.logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2C3E31;
}

.nav-menu ul {
    display: flex;
    gap: 2rem;
}

.nav-menu ul li a {
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu ul li a:hover {
    color: #D87A54;
}

.cart-icon a {
    font-size: 1.5rem;
    position: relative;
}

.cart-icon span {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #D87A54;
    color: #FFFFFF;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #2C3E31;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    height: 80vh;
    background-image: url('https://via.placeholder.com/1920x1080?text=Nature+Background');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FFFFFF;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 49, 0.5); /* Forest Green Overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #D87A54;
    color: #FFFFFF;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2C3E31;
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
    background-color: #FFFFFF;
}

.feature-card {
    background-color: #F5F1E9;
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #D87A54;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Flash Sale Section */
.flash-sale {
    padding: 5rem 2rem;
    background-color: #E8E4DC; /* Lighter Cream */
    text-align: center;
}

.flash-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.flash-header h2 {
    font-size: 2.5rem;
}

.countdown {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #D87A54;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: #FFFFFF;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-img {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.product-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-card p {
    margin-bottom: 1rem;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.add-to-cart {
    display: inline-block;
    background-color: #D87A54;
    color: #FFFFFF;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #2C3E31;
}

/* Categories Section */
.categories {
    padding: 5rem 2rem;
    text-align: center;
    background-color: #FFFFFF;
}

.categories h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 49, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.category-link {
    background-color: #D87A54;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: #FFFFFF;
    font-weight: 600;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background-color: #E8E4DC;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 10px;
    font-style: italic;
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-card h4 {
    font-style: normal;
    font-size: 1.1rem;
    color: #D87A54;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 2rem;
    background-color: #FFFFFF;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 0.8rem;
    border: 1px solid #CCC;
    border-radius: 25px;
    width: 70%;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form button {
    padding: 0.8rem 2rem;
    background-color: #D87A54;
    color: #FFFFFF;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #2C3E31;
}

/* Footer */
.footer {
    background-color: #2C3E31;
    color: #FFFFFF;
    padding: 3rem 2rem 1rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col ul li a {
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #D87A54;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #D87A54;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 57px;
        left: 0;
        width: 100%;
        background-color: #FFFFFF;
        padding: 1rem;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    .nav-menu.active {
        display: block;
    }
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .hamburger {
        display: flex;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .flash-header {
        flex-direction: column;
        gap: 1rem;
    }
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    .newsletter-form input {
        width: 100%;
    }
}