/* ============================================================================
   SLIDER 7 - KALA FILM STİLİ TAM EKRAN SİNEMATİK VİDEO HERO (YOUTUBE / VIMEO / MP4)
   Masaüstü (100vh) ve Mobil Dikey (100dvh) %100 Ekran Kaplama (Cover) Mimarisi
   ============================================================================ */

.slider-v7-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 560px;
    background-color: #000000;
    overflow: hidden;
    z-index: 1;
    user-select: none;
}

.s7-slides-stage {
    position: relative;
    width: 100%;
    height: 100%;
}

.s7-slide-item {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.9s ease;
    overflow: hidden;
    background-color: #000000;
    z-index: 1;
}

.s7-slide-item.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Video Katmanı: Masaüstü ve Mobil Dikey Ekranı %100 Boşluksuz Kaplar */
.s7-video-viewport {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000000;
    background-size: cover;
    background-position: center;
}

/* YouTube & Vimeo Iframe için Matematiksel Object-Fit: Cover + Üst/Alt Bar Kırpma Formülü */
.s7-video-iframe-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: calc(56.25vw + 180px); /* 16:9 + Üst/Alt 90px YouTube barlarını ekran dışına taşırır */
    min-height: calc(100vh + 180px);
    min-height: calc(100dvh + 180px);
    min-width: calc((100vh + 180px) * 1.7778);
    min-width: calc((100dvh + 180px) * 1.7778);
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none !important;
}

/* Mobil Dikey Özel (9:16) Iframe varsa */
.s7-video-iframe-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: calc(177.78vw + 180px);
    min-height: calc(100vh + 180px);
    min-height: calc(100dvh + 180px);
    min-width: calc((100vh + 180px) * 0.5625);
    min-width: calc((100dvh + 180px) * 0.5625);
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: none !important;
}

/* Doğrudan MP4 / WebM Video Etiketi */
.s7-video-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* Masaüstü / Mobil Video Gösterim Geçişi */
.s7-mobile-only-media {
    display: none;
}
.s7-desktop-only-media {
    display: block;
}

@media (max-width: 767.98px) {
    .slider-v7-wrapper {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .s7-has-mobile-video .s7-desktop-only-media {
        display: none !important;
    }
    .s7-has-mobile-video .s7-mobile-only-media {
        display: block !important;
    }
}

/* Kala Film İkonik Üst Sahne Spot Işığı (Spotlight Beams) */
.s7-kala-spotlights {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: hidden;
}

.s7-spot-beam-1 {
    position: absolute;
    top: -10%;
    left: 2%;
    width: 65vw;
    height: 85vh;
    background: linear-gradient(162deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.04) 42%, rgba(255, 255, 255, 0) 75%);
    clip-path: polygon(0 0, 14% 0, 100% 100%, 28% 100%);
    filter: blur(22px);
    opacity: 0.85;
}

.s7-spot-beam-2 {
    position: absolute;
    top: -8%;
    left: 12%;
    width: 38vw;
    height: 70vh;
    background: linear-gradient(195deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    clip-path: polygon(35% 0, 52% 0, 85% 100%, 0% 100%);
    filter: blur(18px);
    opacity: 0.7;
}

/* Sinematik Karartma & Vignette Katmanı */
.s7-cinema-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

/* Opsiyonel İçerik / Başlık Katmanı */
.s7-content-layer {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 4vw 68px 4vw;
    pointer-events: none;
}

.s7-content-box {
    max-width: 680px;
    pointer-events: auto;
}

.s7-client-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 8px;
}

.s7-film-title {
    font-size: clamp(24px, 3.6vw, 52px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 12px 0;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.s7-film-desc {
    font-size: clamp(13px, 1.1vw, 16px);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
    margin: 0 0 18px 0;
    max-width: 540px;
}

.s7-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.s7-cta-btn:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Tüm Sahneye Tıklama Linki (Kala Stili) */
.s7-full-click-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    cursor: pointer;
}

/* Sol Alt SCROLL Göstergesi (Kala Film Birebir Stil) */
.s7-scroll-indicator {
    position: absolute;
    left: 28px;
    bottom: 24px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}

.s7-scroll-indicator:hover {
    color: #ffffff;
}

.s7-scroll-indicator .s7-arrow-icon {
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    animation: s7ScrollBounce 2s infinite ease-in-out;
}

@keyframes s7ScrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Sağ Alt Kontrol & Navigasyon Barı (Çoklu Video Slayt varsa) */
.s7-controls-bar {
    position: absolute;
    right: 28px;
    bottom: 22px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
}

.s7-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.s7-nav-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    color: #000000;
    border-color: #ffffff;
}

.s7-slide-counter {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 6px;
}

/* En Alt İnce Zaman/Slayt İlerleme Çizgisi (Kala Swiper Scrollbar Stili) */
.s7-bottom-progressbar {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 10;
    overflow: hidden;
}

.s7-bottom-progress-fill {
    height: 100%;
    width: 0%;
    background: rgba(255, 255, 255, 0.75);
    transition: width 0.1s linear;
}

@media (max-width: 767.98px) {
    .s7-content-layer {
        padding: 0 20px 74px 20px;
    }
    .s7-scroll-indicator {
        left: 18px;
        bottom: 18px;
        font-size: 10px;
    }
    .s7-controls-bar {
        right: 18px;
        bottom: 16px;
    }
}
