/* ============================================
COMPONENT: Hero Section
Описание: Стили для главной секции с фоновым изображением, заголовком и призывом к действию
Версия: 1.01
============================================ */

/* === ГЛАВНАЯ СЕКЦИЯ === */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* === ФОНОВОЕ ИЗОБРАЖЕНИЕ === */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-coffee.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 24, 16, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    z-index: -1;
}

/* === КОНТЕНТ ГЛАВНОЙ СЕКЦИИ === */
.hero-content {
    text-align: center;
    color: var(--text-light);
    padding: var(--spacing-4xl) var(--container-padding);
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.title-accent {
    color: var(--color-secondary);
    font-size: 1.2em;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.8s forwards;
}

.btn-hero {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 1s forwards;
}

/* === ИНДИКАТОР ПРОКРУТКИ === */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
}

/* === АНИМАЦИИ === */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 968px) {
    .hero-content {
        padding: var(--spacing-3xl) var(--container-padding);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-content {
        padding: var(--spacing-2xl) var(--container-padding);
    }
    
    .hero-scroll-indicator {
        bottom: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 85vh;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
        gap: var(--spacing-xs);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        padding: 0 var(--spacing-md);
    }
    
    .hero-content {
        padding: var(--spacing-xl) var(--spacing-md);
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}
