/* ====================================================
   YAPALI - TAM GENİŞLİK VİDEO BÖLÜMÜ (FULL WIDTH CSS)
   ==================================================== */

.yapali-video-section-full {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Dilersen üst ve alt boşluk ekleyebilirsin, uçtan uca olduğu için sıfır da kalabilir */
    margin-top: 60px; 
    margin-bottom: 60px;
}

/* Kapsayıcı artık ekranı tamamen dolduruyor */
.yv-video-wrapper {
    position: relative;
    width: 100%;
    /* Sinematik yükseklik (Ekranın %75'i kadar alan kaplar) */
    height: 75vh; 
    min-height: 400px;
    background-color: #002277;
}

.yv-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Siyah boşluk bırakmadan kırparak doldurur */
    display: block;
}

/* --- SİNEMATİK PERDE (OVERLAY) --- */
.yv-overlay {
    position: absolute;
    inset: 0;
    /* #002277 ve #0cacf0 arasında lüks, yarı şeffaf geçiş */
    background: linear-gradient(135deg, rgba(0, 34, 119, 0.8) 0%, rgba(12, 172, 240, 0.45) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.yv-overlay.video-playing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --- YANIP SÖNEN (PULSE) PLAY BUTONU --- */
.yv-play-btn {
    position: relative;
    width: 100px; /* Full ekran olduğu için butonu biraz büyüttük */
    height: 100px;
    background-color: #0cacf0;
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(12, 172, 240, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.yv-play-icon svg {
    width: 40px;
    height: 40px;
    margin-left: 6px; /* İkon ortalama ayarı */
}

/* Sürekli Genişleyen Dalga Animasyonu */
.yv-play-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(12, 172, 240, 0.6);
    animation: playGlowPulse 2s infinite;
}

@keyframes playGlowPulse {
    0% { box-shadow: 0 0 0 0 rgba(12, 172, 240, 0.7); }
    70% { box-shadow: 0 0 0 45px rgba(12, 172, 240, 0); }
    100% { box-shadow: 0 0 0 0 rgba(12, 172, 240, 0); }
}

.yv-overlay:hover .yv-play-btn {
    transform: scale(1.1);
    background-color: #ffffff;
    color: #002277;
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

/* --- YAZI ALANI (EKRANIN SOL ALTINDA HİZALANIR) --- */
.yv-caption-container {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    padding: 0 40px;
    /* Yazıların ekranın en köşesine yapışmaması için sınır koyuyoruz */
    max-width: 1400px; 
    margin: 0 auto;
    pointer-events: none;
}

.yv-caption {
    text-align: left;
}

.yv-badge {
    font-size: 12px;
    font-weight: 800;
    color: #002277;
    background-color: #0cacf0;
    padding: 6px 16px;
    border-radius: 4px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.yv-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 5px 20px rgba(0, 34, 119, 0.5);
    letter-spacing: -1px;
}

/* --- SCROLL REVEAL ANİMASYONU --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* ====================================================
   MOBİL UYUM (≤768px)
   ==================================================== */
@media (max-width: 768px) {
    .yapali-video-section-full { margin-top: 40px; margin-bottom: 40px; }
    .yv-video-wrapper { height: 50vh; min-height: 350px; } /* Mobilde çok uzamaması için */
    
    .yv-play-btn { width: 75px; height: 75px; }
    .yv-play-icon svg { width: 28px; height: 28px; margin-left: 4px; }
    
    .yv-caption-container { bottom: 30px; padding: 0 20px; }
    .yv-title { font-size: 1.8rem; }
    .yv-badge { margin-bottom: 10px; font-size: 10px; }
}