/* ===== HERO BANNER STYLES ===== */

/* Основная секция */
.hero-banner {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* margin-top: 189px; */
    /* Убираем отступ, так как шапка fixed */
    padding-top: 120px;
    margin-bottom: 0;
    padding-bottom: 80px;
    max-width: unset;
}

/* Фоновое изображение */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)),
        url('../img/hero-bg.jpg');
    /* Фон по умолчанию */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Затемнение фона */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(20, 20, 30, 0.4), rgba(30, 30, 40, 0.6));
    z-index: 2;
}

/* Контейнер содержимого */
.hero-container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

/* Содержимое */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Акцентная строка */
.hero-accent {
    margin-bottom: 20px;
}

.accent-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #f0f0f0;
    padding: 8px 20px;
    border: 1px solid rgba(200, 144, 36, 0.4);
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

/* Основной заголовок */
.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
    margin-bottom: 10px;
}

/* Градиент для текста заголовка */
.title-line {
    background: linear-gradient(90deg, #EEC982 0%, #C89024 100%);
    /* background: linear-gradient(90deg, #EEC982 0.02%, #C89024 100.01%); */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

/* Декоративная линия */
.hero-divider {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #EEC982 0%, #C89024 100%);
    margin: 30px auto;
    border-radius: 2px;
}

/* Подзаголовок */
.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 300;
    letter-spacing: 0.03em;
}

/* Кнопка CTA */
.hero-cta {
    margin-top: 40px;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(90deg, #EEC982 0%, #C89024 100%);
    background-size: 200% auto;
    color: #000000;
    border: none;
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(200, 144, 36, 0.3);
}

.hero-btn:hover {
    background-position: right center;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(200, 144, 36, 0.5);
}

.hero-btn:active {
    transform: translateY(-2px);
}

/* Декоративные элементы */
.hero-decor {
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid rgba(200, 144, 36, 0.3);
    z-index: 2;
}

.decor-left-top {
    top: 20%;
    left: 5%;
    border-right: none;
    border-bottom: none;
}

.decor-right-top {
    top: 20%;
    right: 5%;
    border-left: none;
    border-bottom: none;
}

.decor-left-bottom {
    bottom: 20%;
    left: 5%;
    border-right: none;
    border-top: none;
}

.decor-right-bottom {
    bottom: 20%;
    right: 5%;
    border-left: none;
    border-top: none;
}

/* Анимационные стили (добавляются скриптом) */
[data-animate] {
    opacity: 0;
    visibility: hidden;
}

[data-animate].animated {
    opacity: 1;
    visibility: visible;
}

/* Анимации через animate.css */
[data-animate="fadeInDown"].animated {
    animation: fadeInDown 0.8s ease forwards;
}

[data-animate="fadeInUp"].animated {
    animation: fadeInUp 0.8s ease forwards;
}

[data-animate="zoomIn"].animated {
    animation: zoomIn 0.8s ease forwards;
}

[data-animate="fadeIn"].animated {
    animation: fadeIn 1s ease forwards;
}

/* Keyframes для анимаций (на случай, если animate.css не подключен) */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===== АДАПТИВНАЯ ВЕРСИЯ ===== */
@media (max-width: 992px) {
    .hero-banner {
        min-height: 80vh;
        padding-top: 100px;
    }

    .title-line {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .hero-btn {
        padding: 16px 35px;
        font-size: 15px;
    }

    .hero-decor {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 70vh;
        padding-top: 80px;
    }

    .title-line {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 30px;
    }

    .hero-divider {
        width: 80px;
        margin: 20px auto;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 14px;
    }

    .hero-decor {
        display: none;
        /* На мобильных скрываем декоративные элементы */
    }
}

@media (max-width: 576px) {
    .hero-banner {
        min-height: 60vh;
        padding-top: 70px;
    }

    .title-line {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 20px;
    }

    .accent-text {
        font-size: 12px;
        padding: 6px 15px;
        letter-spacing: 0.2em;
    }

    .hero-btn {
        padding: 12px 25px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }
}