/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: #2d3748;
    background-color: #f7fafc;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Announcement Bar */
.announcement-bar {
    background: #6b46c1;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.sticky-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    font-weight: 600;
    font-size: 14px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-count {
    background: #6b46c1;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1200x400');
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin: 0;
}

.cta-button {
    background: #6b46c1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
}

/* Feature Highlights */
.feature-highlights {
    background: white;
    padding: 50px 0;
}

.feature-highlights .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: center;
    padding: 20px;
    background: #f7fafc;
    border-radius: 10px;
}

/* Flash Sale Section */
.flash-sale {
    background: #fffaf0;
    padding: 50px 0;
}

.flash-sale h2 {
    text-align: center;
}

.countdown-timer {
    font-size: 24px;
    text-align: center;
    margin: 20px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-card .price {
    color: #6b46c1;
    font-weight: bold;
}

.product-card .original-price {
    text-decoration: line-through;
    color: #666;
    font-size: 14px;
}

.product-card button {
    background: #6b46c1;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* Product Categories */
.product-categories {
    padding: 50px 0;
}

.product-categories h2 {
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-card img {
    width: 100%;
    height: auto;
    display: block;
}

.category-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.category-card .overlay h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.category-card .overlay a {
    background: #6b46c1;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 10px;
}

/* Testimonials */
.testimonials {
    background: white;
    padding: 50px 0;
}

.testimonials h2 {
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-card {
    background: #f7fafc;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.testimonial-card p {
    font-style: italic;
}

.testimonial-card h4 {
    margin: 10px 0 0;
    font-weight: bold;
}

/* Newsletter Section */
.newsletter {
    background: #6b46c1;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.newsletter form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.newsletter input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    width: 300px;
}

.newsletter button {
    background: white;
    color: #6b46c1;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 50px 0;
}

.footer-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.footer-links ul li a {
    color: white;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-icons a {
    color: white;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .feature-highlights .container, .product-grid, .category-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .sticky-header .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 36px;
    }

    .newsletter form {
        flex-direction: column;
    }

    .newsletter input {
        width: 100%;
    }
}