/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
    color: #333;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff6b6b;
    color: white;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* 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 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

.cart-count {
    background-color: #ff6b6b;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Hero Section */
.hero {
    background-image: url('https://via.placeholder.com/1200x600');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: 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: #ff6b6b;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4c4c;
}

/* Feature Highlights */
.feature-highlights {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.feature-highlights h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    padding: 20px;
    background-color: #f4f4f9;
    border-radius: 10px;
    text-align: center;
}

.feature-card span {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #666;
}

/* Flash Sale Section */
.flash-sale {
    padding: 50px 20px;
    background-color: #343a40;
    color: white;
    text-align: center;
}

.flash-sale h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
}

.product-card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    color: #ff6b6b;
}

.original-price {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

/* Product Categories */
.product-categories {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.product-categories h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.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%;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-align: center;
}

/* Testimonials */
.testimonials {
    padding: 50px 20px;
    background-color: #f4f4f9;
    text-align: center;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    font-size: 18px;
    color: #ff6b6b;
}

/* Newsletter Signup */
.newsletter {
    padding: 50px 20px;
    background-color: white;
    text-align: center;
}

.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;
    border: 1px solid #ddd;
    border-radius: 25px;
    width: 300px;
}

.newsletter button {
    background-color: #ff6b6b;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter button:hover {
    background-color: #ff4c4c;
}

/* Footer */
footer {
    background-color: #343a40;
    color: white;
    padding: 50px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.footer-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
}

.social-icons a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .grid-container, .product-grid, .category-grid, .testimonial-grid, .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter input {
        width: 100%;
    }
}