/**
 * Стили для главной страницы
 */

.home-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.home-hero {
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--bg-section) 0%, var(--white) 100%);
}

.home-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.home-hero p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Популярные товары ========== */
.popular-products {
    margin-bottom: 60px;
}

.popular-products .section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* ========== Категории на главной ========== */
.home-categories {
    margin-bottom: 60px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.category-card {
    position: relative;
    background: var(--bg-section);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.category-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.category-card-content {
    padding: 20px;
    text-align: center;
}

.category-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.category-card-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== Баннеры ========== */
.home-banners {
    margin-bottom: 60px;
}

.banner-section {
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Адаптивность ========== */
@media (max-width: 768px) {
    .home-page {
        padding: 15px;
    }
    
    .home-hero {
        padding: 40px 15px;
    }
    
    .home-hero h1 {
        font-size: 32px;
    }
    
    .home-hero p {
        font-size: 16px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card-image {
        height: 150px;
    }
}

