/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

/* Sticky Header */
.sticky-header {
    background-color: #ffffff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #4CAF50;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
}

.cart-count {
    background-color: #4CAF50;
    color: white;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 5px;
}

/* Hero Section */
.hero-section {
    background-image: url('https://via.placeholder.com/1500');
    background-size: cover;
    background-position: center;
    padding: 100px 20px;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #4CAF50;
    color: white;
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Feature Highlights */
.feature-highlights {
    padding: 50px 20px;
    text-align: center;
}

.feature-highlights h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.grid-container-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.highlight-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.highlight-card .icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.highlight-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
}

/* Flash Sale Section */
.flash-sale {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

.flash-sale h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.countdown-timer {
    font-size: 24px;
    margin-bottom: 30px;
}

.grid-container-flash {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.product-card img {
    max-width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.price {
    font-size: 16px;
    color: #4CAF50;
}

.discount {
    text-decoration: line-through;
    color: #999;
}

.add-to-cart {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

/* Product Categories */
.product-categories {
    padding: 50px 20px;
    text-align: center;
}

.product-categories h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.grid-container-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-card img {
    width: 100%;
    height: auto;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    text-align: center;
}

.overlay h3 {
    margin: 0;
    font-size: 20px;
}

/* Testimonials */
.testimonials {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

.testimonials h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    justify-content: space-between;
    overflow-x: auto;
    gap: 20px;
}

.testimonial-card {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px;
}

.testimonial-card p {
    font-size: 16px;
    margin-bottom: 10px;
}

.author {
    font-size: 14px;
    color: #666;
}

/* Newsletter Signup */
.newsletter-signup {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.newsletter-signup h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.newsletter-signup p {
    font-size: 16px;
    margin-bottom: 30px;
}

.newsletter-form input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 300px;
    max-width: 100%;
}

.newsletter-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

.social-icons {
    margin-bottom: 20px;
}

.social-icons a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 18px;
}