/* Ana Bölmə */
.single-video-section {
    padding: 60px 0;
    background: linear-gradient(to bottom, #ffffff, #f4f6f9);
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* --- DƏYİŞƏN HİSSƏ (Böyük Container) --- */
.single-video-card {
    width: 90%;           /* Ekranın 90 faizini tutsun */
    max-width: 1100px;    /* Maksimum genişlik (çox dartılmasın) */
    aspect-ratio: 16 / 9; /* Avtomatik Youtube/Kino ölçüsü (Enli ekran) */
    background: #000;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); /* Kölgəni biraz artırdıq */
    border: 1px solid rgba(0,0,0,0.1); /* Mavi çərçivəni incəltdik və ya sildik */
    transition: transform 0.3s ease;
}


/* Video Konteyner */
.single-video-card .video-container {
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
}

/* Play Button - Böyük ekrana görə ölçünü artırdıq */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px; /* İkonu böyütdük */
    color: #fff;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 5;
    pointer-events: none;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.video-container:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
    color: #007aff;
}

.video-container.playing .play-button-overlay {
    display: none;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Videonu ekrana tam otuzdurur */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 6;
    background: #000;
}

/* Mətn Overlay - Böyük ekranda daha oxunaqlı olsun */
.video-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0,0,0,0.6), transparent);
    padding: 60px 40px 30px; /* Padding artırıldı */
    color: #fff;
    text-align: left; /* Mətni sola çəkdik (Youtube stili) */
    z-index: 7;
    pointer-events: none;
}

.video-overlay h5 {
    margin: 0;
    font-size: 1.5rem; /* Yazı fontunu böyütdük */
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Mobil üçün uyğunlaşdırma */
@media (max-width: 768px) {
    .single-video-card {
        width: 95%;
        aspect-ratio: 4 / 3; /* Mobildə biraz daha kvadrat olsun */
        height: auto;
    }
    .video-overlay h5 {
        font-size: 1.1rem;
    }
    .play-button-overlay {
        font-size: 60px;
    }
}