/* ========================================
   VIDEO SECTION - ВИДЕО ТУР
   ======================================== */

.video-section {
    padding: 80px 30px;
    background-color: #ffffff;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
}

.video-header {
    text-align: center;
    margin-bottom: 60px;
}

.video-title {
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 0 0;
    text-transform: uppercase;
    color: #1a1a1a;
    letter-spacing: 1px;
}

.video-separator {
    width: 80px;
    height: 3px;
    background-color: #856639;
    margin: 20px auto;
}

.video-subtitle {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.custom-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(133, 102, 57, 0.15);
    background: #000;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.custom-video-wrapper:hover {
    box-shadow: 0 25px 70px rgba(133, 102, 57, 0.25);
}

.custom-video-wrapper.playing {
    cursor: default;
}

/* ЗАТЕМНЯЮЩИЙ СЛОЙ */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    transition: opacity 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

/* Убираем затемнение при наведении */
.custom-video-wrapper:hover .video-overlay {
    background: rgba(0, 0, 0, 0.1);
}

/* Убираем затемнение когда видео играет */
.custom-video-wrapper.playing .video-overlay {
    opacity: 0;
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.custom-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    z-index: 5;
}

.custom-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.custom-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

.play-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 2s ease-in-out infinite;
}

@keyframes drawCircle {
    0%, 100% {
        stroke-dashoffset: 283;
    }
    50% {
        stroke-dashoffset: 0;
    }
}

.play-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}