/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff6666;
    color: white;
    text-align: center;
    padding: 10px;
}

.announcement-bar a {
    color: white;
    text-decoration: underline;
}

/* Sticky Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.sticky-header .logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.sticky-header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.sticky-header nav ul li a {
    font-size: 16px;
}

.cart-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff6666;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background-image: url('https://via.placeholder.com/1200x400');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6666;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.cta-button:hover {
    background-color: #e55e5e;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.feature {
    text-align: center;
    width: 30%;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
}

/* Flash Sale Section */
.flash-sale {
    padding: 50px 20px;
    text-align: center;
}

.flash-sale h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    margin-bottom: 30px;
}

.product-grid {
    display: flex;
    justify-content: space-around;
}

.product-card {
    width: 30%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
}

.product-card img {
    width: 100%;
}

.product-card h4 {
    font-size: 20px;
    margin: 10px 0;
}

.product-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.product-card button {
    background-color: #ff6666;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.product-card button:hover {
    background-color: #e55e5e;
}

/* Product Categories */
.product-categories {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
}

.category {
    position: relative;
    width: 30%;
}

.category img {
    width: 100%;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 10px;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 18px;
}

/* Testimonials */
.testimonials {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonial {
    width: 80%;
    margin: 0 auto 20px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

/* Newsletter Signup */
.newsletter {
    padding: 50px 20px;
    text-align: center;
    background-color: #ff6666;
    color: white;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 18px;
    margin-bottom: 30px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    background-color: white;
    color: #ff6666;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.newsletter button:hover {
    background-color: #f0f0f0;
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    background-color: #333;
    color: white;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    margin: 0 10px;
}

.social-icons a {
    margin: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .feature-highlights, .product-grid, .product-categories {
        flex-direction: column;
        align-items: center;
    }

    .feature, .product-card, .category {
        width: 80%;
        margin-bottom: 20px;
    }

    .sticky-header nav ul {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .feature h3 {
        font-size: 20px;
    }

    .feature p {
        font-size: 14px;
    }

    .product-card h4 {
        font-size: 18px;
    }

    .product-card p {
        font-size: 16px;
    }

    .testimonials h2 {
        font-size: 28px;
    }

    .newsletter h2 {
        font-size: 28px;
    }

    .newsletter input {
        width: 200px;
    }
}