/* ================================================
   Video Galeri Özel Premium Tasarım
   ================================================ */

.video-gallery-wrapper {
    padding-top: 50px;
}

/* Kategori Filtre Butonları - Sadeleştirilmiş */
.gallery-filter-wrap {
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.filter-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 5px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    letter-spacing: 1.5px;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #fff;
}

.filter-btn.active {
    color: #ffd700;
}

.filter-btn.active::after {
    width: 100%;
}

/* Video Kart Tasarımı */
.video-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #111;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
}

.video-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.1);
}

/* Oynat Butonu Overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.play-icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
}

.video-card:hover .play-icon-wrap {
    transform: scale(1.2);
    background: #ffd700;
    box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

/* Kategori Rozeti */
.cat-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Video İçerik Alt Bölüm */
.video-info {
    padding: 25px;
    background: linear-gradient(to bottom, rgba(20, 20, 20, 0), rgba(20, 20, 20, 1));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.video-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    font-family: 'ClashDisplay-Regular', sans-serif;
}

/* Filtreleme Animasyonu */
.tp-portfolio-item-single {
    transition: all 0.4s ease;
}

/* Modal (Magnific Popup) Özelleştirme */
.mfp-bg {
    background: rgba(0, 0, 0, 0.8) !important;
    /* Daha saydam arka plan */
    backdrop-filter: blur(8px);
}

.mfp-close {
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    background: #ffd700 !important;
    color: #000 !important;
    border-radius: 50% !important;
    top: 40px !important;
    right: 40px !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    font-size: 35px !important;
    z-index: 99999 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 25px rgba(255, 215, 0, 0.5) !important;
    cursor: pointer !important;
}

.mfp-close:active {
    transform: scale(0.95);
}

.mfp-close:hover {
    transform: scale(1.1) rotate(90deg);
    background: #fff !important;
}

/* Iframe içerisindeki buton konumu */
.mfp-iframe-holder .mfp-close {
    color: #000 !important;
    right: 10px !important;
    top: -55px !important;
    position: absolute !important;
}

@media (max-width: 767px) {
    .mfp-iframe-holder .mfp-close {
        right: 0 !important;
        top: -60px !important;
    }
}