/**
 * Стили для слайдеров
 */

/* ===== Hero Section ===== */
.hero-section {
    background: transparent;
    color: white;
    padding: 6rem 0;
    text-align: left;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease-in-out, visibility 2s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) blur(1px);
    transform: scale(1.1);
    transition: transform 20s ease-out;
}

.hero-slide.active img {
    filter: brightness(0.7) blur(0.5px);
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-section::before {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hero-news-content {
    position: relative;
    min-height: 400px;
    width: 100%;
}

.hero-news-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    text-align: left;
    z-index: 1;
}

.hero-news-item.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-content-default {
    text-align: left;
}

.hero-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-align: left;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.95;
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
}

/* Скрываем кнопки полностью */
.hero-actions {
    display: none;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
}

/* Фоновая карусель для секции новостей */
.news-section-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.news-section-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 3s ease-in-out;
}

.news-section-slide.active {
    opacity: 1;
}

.news-section-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) blur(2px);
    transform: scale(1.1);
    transition: transform 25s ease-out;
}

.news-section-slide.active img {
    filter: brightness(0.6) blur(1px);
    transform: scale(1);
}

.news-section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}


