.video-galeri-detay {
    padding: 2rem 0;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container.video-galeri-detay {
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.baslik-alani {
    margin-bottom: 2rem;
}

.baslik-alani h1 {
    color: #000000;
    font-family: 'Open Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: left;
    position: relative;
    display: inline-block;
}
@media (max-width: 768px) {
    .baslik-alani h1 {
        font-size: 2rem;
    }
}

.geri-don-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.video-kart {
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    margin-bottom: 1.5rem;
}

.video-kart:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.video-kart img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.video-galeri-detay .video-kart .card-body {
    padding: 1rem;
}

.video-galeri-detay .video-kart .card-text {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    aspect-ratio: 16/9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-overlay {
    opacity: 1;
}

.video-overlay i {
    color: white;
    font-size: 4rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.video-thumbnail:hover .video-overlay i {
    transform: scale(1.1);
}

.video-player {
    display: none;
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px 8px 0 0;
}

.video-player.active {
    display: block;
}

.video-thumbnail.hidden {
    display: none;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    padding: 1rem;
    color: #333;
}

/* Video Lightbox Styles */
.video-lightbox {
    position: fixed;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.video-lightbox-content {
    width: 90%;
    max-width: 1200px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-lightbox.active .video-lightbox-content {
    transform: scale(1);
}

.video-lightbox-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #000000;
    border-bottom: 1px solid #000000;
}

.video-lightbox-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
}

.video-lightbox-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: color 0.3s ease;
}

.video-lightbox-close:hover {
    color: #333;
}

.video-lightbox-body {
    padding: 1rem;
    background: #000;
}

.video-lightbox iframe {
    border: none;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .container.video-galeri-detay {
        padding: 1.5rem 1.5rem;
    }

    .baslik-alani h1 {
        font-size: 1.75rem;
    }

    .video-kart img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .container.video-galeri-detay {
        padding: 1.5rem 1.5rem;
    }

    .row {
        margin: 0 -0.75rem;
    }

    .col-md-6 {
        padding: 0 0.75rem;
    }

    .baslik-alani {
        margin-bottom: 1.5rem;
    }

    .baslik-alani h1 {
        font-size: 1.5rem;
    }

    .geri-don-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .video-kart {
        margin-bottom: 1rem;
    }

    .video-kart img {
        height: 180px;
    }
} 