/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    background-color: #f6f6f6;
    color: #555;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    font-family: 'Pacifico', cursive;
    font-size: 28px;
    color: #ff6b6b;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
}

.cart-icon {
    font-size: 24px;
    cursor: pointer;
    color: #ff6b6b;
}

/* Hero Section */
.hero-section {
    background-image: url('https://via.placeholder.com/1920x600');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Pacifico', cursive;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #ff4757;
}

/* Feature Highlights */
.feature-highlights {
    padding: 50px 0;
    background-color: #ffffff;
}

.feature-highlights .container {
    display: flex;
    justify-content: space-between;
}

.feature-card {
    background-color: #f9f9f9;
    padding: 20px;
    width: 30%;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

/* Flash Sale Section */
.flash-sale {
    padding: 50px 0;
    background-color: #ffe0e0;
}

.flash-sale h2 {
    text-align: center;
    margin-bottom: 30px;
}

.countdown-timer {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.product-grid {
    display: flex;
    justify-content: space-between;
}

.product-card {
    background-color: white;
    padding: 20px;
    width: 30%;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.product-card img {
    margin-bottom: 20px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
}

.sale-price {
    font-weight: bold;
    color: #ff6b6b;
}

.buy-button {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

/* Product Categories */
.product-categories {
    padding: 50px 0;
    background-color: white;
}

.product-categories h2 {
    text-align: center;
    margin-bottom: 30px;
}

.category-grid {
    display: flex;
    justify-content: space-between;
}

.category-card {
    position: relative;
    width: 30%;
    border-radius: 15px;
    overflow: hidden;
}

.category-card img {
    width: 100%;
    display: block;
}

.category-card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 24px;
}

/* Testimonials */
.testimonials {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 30px;
}

.testimonial-grid {
    display: flex;
    justify-content: space-between;
}

.testimonial-card {
    background-color: white;
    padding: 20px;
    width: 30%;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Newsletter */
.newsletter {
    padding: 50px 0;
    background-color: #4bcaff;
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.newsletter input {
    padding: 10px;
    width: 300px;
    border: none;
    border-radius: 50px 0 0 50px;
}

.newsletter button {
    padding: 10px 20px;
    border: none;
    background-color: #ff6b6b;
    color: white;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: #333;
    color: white;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
}

.footer-links ul li {
    margin-right: 20px;
}

.footer-links ul li a {
    text-decoration: none;
    color: white;
}

.social-icons a {
    margin-right: 10px;
    text-decoration: none;
    color: white;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-highlights .container, .product-grid, .category-grid, .testimonial-grid {
        flex-direction: column;
        align-items: center;
    }

    .feature-card, .product-card, .category-card, .testimonial-card {
        width: 80%;
        margin-bottom: 20px;
    }

    .hero-section {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .sticky-header nav ul {
        display: none;
    }

    .cart-icon {
        font-size: 20px;
    }
}