/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3, h4 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #ff6f61;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo h1 {
    font-size: 24px;
    color: #ff6f61;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ff6f61;
}

.cart-icon {
    position: relative;
}

.cart-icon img {
    width: 24px;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ff6f61;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Hero Section */
.hero {
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff6f61;
    color: #fff;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #ff4a3d;
}

/* Feature Highlights */
.feature-highlights {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.feature-highlights h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.grid-item {
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.grid-item img {
    width: 50px;
    margin-bottom: 15px;
}

.grid-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.grid-item p {
    font-size: 14px;
    color: #666;
}

/* Flash Sale Section */
.flash-sale {
    padding: 40px 20px;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.flash-sale h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
}

.product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 16px;
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #ff6f61;
}

.buy-button {
    background-color: #ff6f61;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.buy-button:hover {
    background-color: #ff4a3d;
}

/* Product Categories */
.product-categories {
    padding: 40px 20px;
    text-align: center;
    background-color: #fff;
}

.product-categories h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-item img {
    width: 100%;
    transition: transform 0.3s;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s;
}

.category-item:hover img {
    transform: scale(1.1);
}

.category-item:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.shop-button {
    background-color: #ff6f61;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.shop-button:hover {
    background-color: #ff4a3d;
}

/* Customer Testimonials */
.customer-testimonials {
    padding: 40px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

.customer-testimonials h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial-item p {
    font-size: 14px;
    margin-bottom: 15px;
}

.testimonial-item h4 {
    font-size: 16px;
    color: #ff6f61;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 40px 20px;
    text-align: center;
    background-color: #333;
    color: #fff;
}

.newsletter-signup h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter-signup p {
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-signup form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-signup input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 300px;
    margin-right: 10px;
}

.newsletter-signup button {
    background-color: #ff6f61;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.newsletter-signup button:hover {
    background-color: #ff4a3d;
}

/* Footer */
.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-right: 20px;
}

.footer-links ul li a {
    font-size: 14px;
    color: #fff;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #ff6f61;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    margin-right: 15px;
}

.social-icons img {
    width: 24px;
}

.footer-bottom {
    font-size: 12px;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .grid-container, .product-grid, .category-grid, .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .sticky-header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .grid-container, .product-grid, .category-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 14px;
    }
}