/* ==========================================
   HOME PAGE STYLES
   Дата: 22 ноября 2025
   ========================================== */

.home-page {
    animation: fadeIn 0.4s ease-out;
}

/* === HERO SECTION === */
.home-hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to bottom, #f9f9f9, #fff);
}

.home-hero h1 {
    font-weight: 300;
    font-size: 42px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
}

.home-hero .subtitle {
    font-size: 18px;
    color: #777;
    letter-spacing: 2px;
    margin-bottom: 40px;
    font-weight: 300;
}

.home-hero-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
}

/* === FEATURED WORKS === */
.featured-section {
    padding: 80px 20px;
    background: #fff;
}

.featured-section h2 {
    text-align: center;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #333;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.featured-item:hover {
    transform: translateY(-10px);
}

.featured-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(10%);
    transition: all 0.4s ease;
}

.featured-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.featured-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 30px 20px;
    text-align: center;
}

.featured-caption h3 {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.featured-caption p {
    font-size: 13px;
    color: #ddd;
}

/* === CATEGORIES PREVIEW === */
.categories-preview {
    padding: 80px 20px;
    background: #f9f9f9;
}

.categories-preview h2 {
    text-align: center;
    font-weight: 300;
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #333;
}

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

.category-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: scale(1.02);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
    transition: all 0.4s ease;
}

.category-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 30px;
    text-align: center;
    transition: background 0.3s ease;
}

.category-card:hover .category-overlay {
    background: rgba(0,0,0,0.85);
}

.category-overlay h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* === CALL TO ACTION === */
.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, #f9f9f9, #fff);
}

.cta-section h2 {
    font-weight: 300;
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #333;
}

.cta-section p {
    font-size: 16px;
    color: #777;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #333;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
    border: 2px solid #333;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: transparent;
    color: #333;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 28px;
    }
    
    .home-hero .subtitle {
        font-size: 14px;
    }
    
    .featured-section,
    .categories-preview {
        padding: 50px 15px;
    }
    
    .featured-section h2,
    .categories-preview h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .featured-grid,
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .featured-item img {
        height: 350px;
    }
    
    .category-card {
        height: 300px;
    }
}
