/* =======================================
   VİDEOLAR SAYFASI
   Instagram video gömme kartları
   ======================================= */
.videos_section {
    padding: 100px 0 110px;
}

/* İçerik, bölümü kaplayan dekoratif çizgi katmanının üstünde kalsın;
   aksi halde kartlar hover'da katman bağlamı oluşturunca çizgiler
   butonların önüne geçip tıklamayı engelliyor. */
.videos_section > .container {
    position: relative;
    z-index: 1;
}

/* --- Üst tanıtım bloğu --- */
.videos_intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.videos_overline {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #f4b93e;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.videos_overline::before,
.videos_overline::after {
    content: '';
    width: 40px;
    height: 1px;
    background: #f4b93e;
}

.videos_intro p {
    color: #999999;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Not: Tema genelindeki ".bg-dark a" / ".bg-dark a:hover" kuralları bu
   bağlantıdan daha güçlü olduğundan, seçiciler bilerek bölüm adıyla
   birlikte yazıldı. Aksi halde buton hover'da sarı zemin üzerine sarı
   yazı veriyor ve metin okunmuyor. */
.videos_section .videos_follow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid rgba(244, 185, 62, 0.45);
    color: #f4b93e;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.35s ease;
}

.videos_section .videos_follow i {
    font-size: 1.15rem;
    color: inherit;
}

.videos_section .videos_follow:hover,
.videos_section .videos_follow:focus {
    background: #f4b93e;
    border-color: #f4b93e;
    color: #111111;
}

/* --- Video kart ızgarası --- */
.videos_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video_card {
    background: #161616;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: border-color 0.4s ease, transform 0.4s ease;
}

.video_card:hover {
    border-color: rgba(244, 185, 62, 0.4);
    transform: translateY(-4px);
}

/* Kart üst barı */
.video_card_head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video_badge {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 185, 62, 0.45);
    color: #f4b93e;
    font-size: 1rem;
    transition: all 0.35s ease;
}

.video_card:hover .video_badge {
    background: #f4b93e;
    border-color: #f4b93e;
    color: #111111;
}

.video_handle {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.video_handle strong {
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.video_handle span {
    color: #777777;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.videos_section .video_open {
    margin-left: auto;
    color: #777777;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.35s ease, transform 0.35s ease;
}

.videos_section .video_open:hover,
.videos_section .video_open:focus {
    color: #f4b93e;
    transform: translate(2px, -2px);
}

/* Gömülü video alanı */
.video_frame {
    position: relative;
    width: 100%;
    height: 640px;
    background: #101010;
}

.video_frame iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- Tıkla-yükle yüzeyi --- */
/* Gömme çerçeveleri sayfa açılışında yüklenmez; kullanıcı tıklayana
   kadar yerlerini bu hafif yüzey tutar. */
.video_play {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0;
    border: 0;
    cursor: pointer;
    background:
        radial-gradient(circle at 50% 45%, rgba(244, 185, 62, 0.10), rgba(0, 0, 0, 0) 62%),
        #131313;
    transition: background 0.4s ease;
}

.video_play_icon {
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(244, 185, 62, 0.5);
    border-radius: 50%;
    color: #f4b93e;
    font-size: 2rem;
    padding-left: 5px;
    transition: all 0.4s ease;
}

.video_play_text {
    color: #8d8d8d;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: color 0.4s ease;
}

.video_play:hover .video_play_icon {
    background: #f4b93e;
    border-color: #f4b93e;
    color: #111111;
    transform: scale(1.06);
}

.video_play:hover .video_play_text {
    color: #ffffff;
}

/* Çerçeve yüklenirken görünen bekleme göstergesi */
.video_frame.is_loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border: 2px solid rgba(244, 185, 62, 0.25);
    border-top-color: #f4b93e;
    border-radius: 50%;
    animation: videoSpin 0.9s linear infinite;
}

@keyframes videoSpin {
    to {
        transform: rotate(360deg);
    }
}

/* --- Daha fazla yükle --- */
.video_card.is_hidden {
    display: none;
}

.videos_more {
    text-align: center;
    margin-top: 55px;
}

/* --- Responsive --- */
@media (max-width: 1199px) {
    .videos_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .videos_section {
        padding: 80px 0 90px;
    }

    .video_frame {
        height: 600px;
    }
}

@media (max-width: 767px) {
    .videos_section {
        padding: 60px 0 70px;
    }

    .videos_intro {
        margin-bottom: 40px;
    }

    .videos_grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .video_frame {
        height: 560px;
    }

    .videos_more {
        margin-top: 40px;
    }
}
