/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f8f8f8;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 10px;
}

/* Sticky Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    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: 700;
    color: #1a1a1a;
}

.sticky-header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.sticky-header .cart-icon {
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background-image: url('https://via.placeholder.com/1200x800');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-btn {
    background-color: #1a1a1a;
    color: #fff;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #333;
}

/* Feature Highlights */
.feature-highlights {
    padding: 50px 0;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.feature-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Flash Sale */
.flash-sale {
    padding: 50px 0;
    text-align: center;
}

.countdown-timer {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
}

/* Product Categories */
.product-categories {
    padding: 50px 0;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-card img {
    width: 100%;
    display: block;
}

.category-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    color: #fff;
    border-radius: 10px;
}

/* Testimonials */
.testimonials {
    padding: 50px 0;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.testimonial-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
}

.author {
    font-weight: bold;
    margin-top: 10px;
}

/* Newsletter */
.newsletter {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.newsletter form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.newsletter input {
    padding: 15px;
    width: 300px;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
}

.newsletter button {
    padding: 15px 30px;
    background-color: #fff;
    color: #1a1a1a;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #ccc;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    margin: 0 10px;
    color: #fff;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-grid, .product-grid, .category-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .sticky-header nav ul {
        display: none;
    }
}