/* ==========================================================================
   VİDEOLAR SAYFASI STİLLERİ (videolar.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* -------------------- ORTAK KAPSAYICI -------------------- */
.videolar-container {
    max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 3;
}

/* -------------------- HERO -------------------- */
.videolar-hero {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    padding: 70px 20px 90px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.videolar-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 300px; height: 300px;
    background: var(--video-accent, #2563eb);
    opacity: 0.18;
    border-radius: 50%;
    filter: blur(40px);
}
.videolar-hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: -60px;
    width: 260px; height: 260px;
    background: var(--video-accent, #2563eb);
    opacity: 0.12;
    border-radius: 50%;
    filter: blur(50px);
}
.videolar-hero .videolar-container { max-width: 780px; }

.videolar-breadcrumb {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600;
    color: rgba(255,255,255,0.55); margin-bottom: 18px; letter-spacing: 0.2px;
}
.videolar-breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.videolar-breadcrumb a:hover { color: var(--video-accent, #2563eb); }
.videolar-breadcrumb span[aria-current] { color: #ffffff; }

.videolar-hero .hero-badge {
    display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: 700;
    color: var(--video-accent-txt, #fff); background: var(--video-accent, #2563eb);
    padding: 6px 16px; border-radius: 999px; margin-bottom: 18px; letter-spacing: 0.3px;
}

.videolar-hero h1 {
    font-family: 'Inter', sans-serif; font-size: 2.6rem; font-weight: 800;
    color: #ffffff; margin: 0 0 14px 0; letter-spacing: -0.8px;
}
.videolar-hero p {
    font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 500;
    color: rgba(255,255,255,0.72); line-height: 1.7; margin: 0;
}

/* -------------------- GRID SECTION -------------------- */
.videolar-grid-section {
    background: #f8fafc;
    padding: 60px 0 90px 0;
}
.videolar-grid-section .videolar-container {
    margin-top: -50px;
}

.videolar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

/* -------------------- VIDEO CARD -------------------- */
.video-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.15);
    border: 1px solid #eef2f7;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s;
    display: flex; flex-direction: column;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 45px -12px rgba(15, 23, 42, 0.25);
}

.video-card-thumb {
    position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000;
}
.video-card-thumb img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.92;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), opacity 0.35s;
}
.video-card:hover .video-card-thumb img { transform: scale(1.08); opacity: 0.78; }

.video-card-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9);
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--video-accent, #2563eb);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    opacity: 0.95; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
.video-card-play i { color: var(--video-accent-txt, #fff); font-size: 1.35rem; margin-left: 3px; }

.video-card-body { padding: 18px 20px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.video-card-title {
    font-family: 'Inter', sans-serif; font-size: 1.08rem; font-weight: 700; color: #0f172a;
    margin: 0 0 8px 0; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card-desc {
    font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 500; color: #64748b;
    line-height: 1.55; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* -------------------- EMPTY STATE -------------------- */
.videolar-empty {
    text-align: center; padding: 80px 20px; color: #94a3b8;
    background: #ffffff; border-radius: 18px; border: 1px dashed #e2e8f0;
}
.videolar-empty i { font-size: 2.6rem; margin-bottom: 16px; display: block; color: #cbd5e1; }
.videolar-empty p { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; margin: 0; }

/* -------------------- LIGHTBOX MODAL -------------------- */
.video-lightbox-modal {
    display: none; position: fixed; z-index: 999999; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(8px);
    align-items: center; justify-content: center; padding: 20px; box-sizing: border-box;
}
.lightbox-content {
    position: relative; width: 100%; max-width: 960px; background: #0f172a; border-radius: 16px;
    padding: 20px 20px 0 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.08);
    transition: max-width 0.3s ease;
}
.lightbox-title {
    font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 700; color: #ffffff;
    margin: 0 0 14px 0; padding-right: 40px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.lightbox-video-wrapper {
    position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 12px 12px 0 0; transition: padding-bottom 0.3s ease; margin: 0 -20px; width: calc(100% + 40px);
}
.lightbox-video-wrapper iframe, .lightbox-video-wrapper video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; display: block;
}
.lightbox-close {
    position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%;
    background: #ffffff; color: #0f172a; font-size: 1.6rem; font-weight: bold; line-height: 1;
    display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.2s;
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.lightbox-close:hover { background: var(--video-accent, #2563eb); color: var(--video-accent-txt, #fff); transform: scale(1.1); }

/* 📱 9:16 DİK VİDEO (REELS / SHORTS / IG) ÖZEL EKRAN */
.lightbox-content.vertical-mode { max-width: 420px !important; margin: 0 auto; }
.lightbox-video-wrapper.vertical-mode { padding-bottom: 177.77% !important; }

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
    .videolar-hero { padding: 50px 20px 70px 20px; }
    .videolar-hero h1 { font-size: 2rem; }
    .videolar-hero p { font-size: 0.95rem; }
    .videolar-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
}
@media (max-width: 480px) {
    .videolar-grid { grid-template-columns: 1fr; }
    .lightbox-content.vertical-mode { max-width: 92% !important; }
}