/* CSS за YouTube Галерията и Слайдърите */

/* Модал (Попъп) за видео */
.video-modal .modal-content {
    background: transparent;
    border: none;
}

.video-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
}

.video-modal .btn-close {
    background-color: #fff;
    opacity: 0.8;
    border-radius: 50%;
    padding: 0.5rem;
}

.video-modal .btn-close:hover {
    opacity: 1;
}

.video-modal .modal-body {
    padding: 0;
}

/* Стил за видео картите (thumbnails) */
.video-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.15);
}

.video-card .thumbnail-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-card .thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-card:hover .thumbnail-wrapper img {
    opacity: 1;
}

.video-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background: rgba(13, 202, 240, 0.8); /* Cyan theme color */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card .video-info {
    padding: 15px;
    flex-grow: 1;
}

.video-card .video-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card .video-stats {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Swiper специфични стилове за началната страница */
.youtube-swiper-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.swiper-container {
    padding: 20px 10px 50px 10px;
    overflow: hidden;
}

.swiper-pagination-bullet-active {
    background-color: #0dcaf0 !important;
}

/* Стил за левия панел (Архив) */
.years-sidebar .year-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-align: left;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.years-sidebar .year-btn:hover {
    background: #f8f9fa;
    border-color: #0dcaf0;
    color: #0dcaf0;
}

.years-sidebar .year-btn.active {
    background: #0dcaf0;
    border-color: #0dcaf0;
    color: #fff;
}
