/* Resets and Global Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* Sticky Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.cart-icon {
    font-size: 20px;
}

/* Hero Section */
.hero-section {
    background-image: url('https://via.placeholder.com/1200x600');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Feature Highlights */
.feature-highlights {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.feature-highlights h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.feature-card span {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Flash Sale Section */
.flash-sale {
    padding: 40px 20px;
    text-align: center;
}

.flash-sale h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b6b;
    margin-bottom: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-card h4 {
    font-size: 18px;
    margin: 10px 0;
}

.product-card p {
    font-size: 16px;
    color: #ff6b6b;
}

.product-card del {
    color: #999;
    margin-left: 10px;
}

/* Product Categories */
.product-categories {
    padding: 40px 20px;
    text-align: center;
}

.product-categories h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.overlay h4 {
    font-size: 24px;
}

/* Testimonials */
.testimonials {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.testimonials h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Newsletter Signup */
.newsletter {
    padding: 40px 20px;
    text-align: center;
}

.newsletter h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.newsletter button {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
.footer {
    padding: 40px 20px;
    background-color: #333;
    color: white;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    margin: 0 10px;
    color: white;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin: 0 10px;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-grid, .product-grid, .category-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-button {
        font-size: 14px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input, .newsletter button {
        width: 100%;
    }
}