/* Стили для блока с фоновым видео */
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-banner video, .video-banner .image-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-banner .image-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный темный оверлей */
    z-index: 2;
}

.video-banner .content {
    position: relative;
    z-index: 3;
    height: 80%;
    display: flex;
    align-items: center;
    color: #fff;
}

/* Стили для текста в центре видео */
.video-banner .banner-inner-two-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.video-banner .banner-inner-two-content .pre-title {
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.video-banner .banner-inner-two-content .pre-title span {
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 10px;
}

.video-banner .banner-inner-two-content .title {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 700;
    color: #fff;
}

.video-banner .banner-inner-two-content .disc {
    font-size: 20px;
    line-height: 32px;
    color: #fff;
    margin-bottom: 40px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.video-banner .banner-inner-two-content .rts-btn {
    display: inline-block;
    margin: 0 auto;
    padding: 15px 35px;
    font-size: 16px;
    height: 53px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: #ffffff;
    color: #000000;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.8s ease;
}

.video-banner .banner-inner-two-content .rts-btn::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: 110%;
    left: 50%;
    background: #000000;
    transform: translateX(-50%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.8s ease;
}

.video-banner .banner-inner-two-content .rts-btn:hover {
    background: #000000;
    color: #ffffff;
}

.video-banner .banner-inner-two-content .rts-btn:hover::before {
    top: -40%;
}

/* Стрелка вниз для прокрутки */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down i {
    font-size: 24px;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Адаптивные стили */
@media only screen and (max-width: 1199px) {
    .video-banner .banner-inner-two-content .title {
        font-size: 52px;
    }
}

@media only screen and (max-width: 991px) {
    .video-banner {
        height: 100vh;
    }
    
    .video-banner .banner-inner-two-content .title {
        font-size: 42px;
    }
}

@media only screen and (max-width: 767px) {
    .video-banner {
        height: 100vh;
    }
    
    .video-banner .banner-inner-two-content .title {
        font-size: 36px;
    }
    
    .video-banner .banner-inner-two-content .disc {
        font-size: 16px;
        line-height: 26px;
    }
}

@media only screen and (max-width: 575px) {
    .video-banner {
        height: 100vh;
    }
    
    .video-banner .banner-inner-two-content .title {
        font-size: 28px;
    }
}
