/* ============================================
COMPONENT: Hero Section Styles
Описание: Стили для главной секции с призывом к действию и фоновым изображением
============================================ */

/* === ГЕРОЙ СЕКЦИЯ === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 70px;
}

/* === ФОНОВОЕ ИЗОБРАЖЕНИЕ === */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-car.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.4), rgba(118, 75, 162, 0.4));
    z-index: -1;
}

/* === СОДЕРЖИМОЕ ГЕРОЯ === */
.hero-content {
    text-align: center;
    color: var(--color-white);
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    margin-bottom: var(--spacing-lg);
    color: var(--color-white);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* === ПРИЗЫВ К ДЕЙСТВИЮ === */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* === ИНДИКАТОР ПРОКРУТКИ === */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-white);
    opacity: 0.8;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
    transform: rotate(45deg);
}

/* === АНИМАЦИИ === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-5xl);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        margin-bottom: var(--spacing-md);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
        padding: 0 var(--spacing-md);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-md);
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .hero-scroll-indicator {
        bottom: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 85vh;
        padding-top: 56px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-cta {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}
