/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.cart-icon img {
    width: 24px;
    height: 24px;
}

.cart-count {
    background-color: #ff4757;
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    margin-left: 5px;
}

/* Hero Section */
.hero-section {
    background-image: url('hero.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #ff4757;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
}

/* Feature Highlights */
.feature-highlights {
    padding: 50px 0;
    background-color: #fff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #777;
}

/* Flash Sale */
.flash-sale {
    padding: 50px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.countdown-timer {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 0;
}

.sale-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sale-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.sale-item h3 {
    font-size: 18px;
    margin-top: 10px;
}

.price {
    font-size: 16px;
    color: #ff4757;
}

.old-price {
    text-decoration: line-through;
    color: #777;
    margin-left: 10px;
}

/* Product Categories */
.product-categories {
    padding: 50px 0;
    text-align: center;
}

.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%;
    height: auto;
    transition: transform 0.3s ease;
}

.category-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

/* Testimonials */
.testimonials {
    padding: 50px 0;
    background-color: #fff;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.testimonial-item {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
}

.testimonial-item p {
    font-size: 16px;
    color: #333;
}

.author {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}

/* Newsletter */
.newsletter {
    padding: 50px 0;
    background-color: #333;
    color: #fff;
    text-align: center;
}

.newsletter p {
    font-size: 16px;
    margin-bottom: 20px;
}

.newsletter form {
    display: flex;
    justify-content: center;
}

.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 300px;
}

.newsletter button {
    background-color: #ff4757;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

/* Footer */
.footer {
    padding: 50px 0;
    background-color: #222;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.footer-links h3,
.footer-social h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-links ul,
.footer-social ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li,
.footer-social ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-social ul li a {
    color: #fff;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-grid,
    .sale-grid,
    .category-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .countdown-timer {
        font-size: 20px;
    }
}