* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ffffff;
    --accent-color: #ff6b6b;
    --accent-dark: #ee5a5a;
    --text-muted: #666666;
    --border-color: #e5e5e5;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--secondary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-nav {
    background: var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    gap: 1.5rem;
}

.nav-actions button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.nav-actions button:hover {
    color: var(--accent-color);
}

.hero-section {
    display: flex;
    min-height: 85vh;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.hero-content {
    flex: 1;
    padding-right: 4rem;
}

.badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 450px;
}

.cta-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    max-width: 550px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-section {
    padding: 4rem 0;
}

.category-section.alt-bg {
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.product-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-card {
    width: 320px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.product-card h4 {
    padding: 1rem 1.5rem 0.5rem;
    font-size: 1.1rem;
}

.product-card p {
    padding: 0 1.5rem 1rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--accent-color);
}

.add-cart {
    width: calc(100% - 2rem);
    margin: 0 1rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.add-cart:hover {
    background: var(--accent-color);
}

.trending-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.trending-card {
    position: relative;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.trending-card:hover {
    transform: translateY(-5px);
}

.trending-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trending-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
}

.trending-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.trending-overlay span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.blog-section {
    padding: 4rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.blog-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.read-more:hover {
    text-decoration: underline;
}

.promo-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    padding: 4rem;
    margin: 4rem 0;
}

.promo-content {
    text-align: center;
    color: white;
}

.promo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.promo-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.promo-section .cta-btn {
    background: white;
    color: var(--accent-color);
}

.promo-section .cta-btn:hover {
    background: var(--primary-color);
    color: white;
}

footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: #999999;
    line-height: 1.6;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image-container img {
        max-width: 100%;
    }

    .trending-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nav-menu {
        display: none;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .product-row {
        flex-direction: column;
        align-items: center;
    }

    .trending-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}