/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff4081;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.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 {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.sticky-header .cart-icon {
    font-size: 24px;
    position: relative;
}

.sticky-header .cart-icon .cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff4081;
    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;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff4081;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e91e63;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: white;
    margin: 20px 0;
}

.feature {
    text-align: center;
    max-width: 300px;
}

.feature h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.feature p {
    font-size: 16px;
    color: #666;
}

/* Flash Sale Section */
.flash-sale {
    background-color: #e3f2fd;
    padding: 50px 20px;
    text-align: center;
}

.flash-sale h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.product-grid {
    display: flex;
    justify-content: space-around;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 200px;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
}

.product-card h4 {
    font-size: 18px;
    margin-top: 10px;
}

.product-card p {
    font-size: 16px;
    color: #ff4081;
}

.product-card button {
    background-color: #ff4081;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.product-card button:hover {
    background-color: #e91e63;
}

/* Product Categories */
.product-categories {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
}

.category {
    background-size: cover;
    background-position: center;
    width: 30%;
    height: 300px;
    border-radius: 10px;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.overlay p {
    font-size: 16px;
}

/* Testimonials */
.testimonials {
    background-color: white;
    padding: 50px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.testimonial-grid {
    display: flex;
    justify-content: space-around;
}

.testimonial {
    max-width: 300px;
    text-align: center;
}

.testimonial p {
    font-size: 16px;
    color: #666;
}

.testimonial span {
    font-size: 14px;
    color: #ff4081;
}

/* Newsletter */
.newsletter {
    background-color: #e3f2fd;
    padding: 50px 20px;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
}

.newsletter button {
    background-color: #ff4081;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter button:hover {
    background-color: #e91e63;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links ul li a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    margin: 0 10px;
}

footer p {
    font-size: 14px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-highlights, .product-grid, .product-categories, .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }

    .category {
        width: 80%;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter input {
        width: 80%;
        margin-bottom: 10px;
    }
}