/* Styles pour les miniatures vidéo */
.video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.video-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-play-button {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-thumbnail:hover .video-play-button {
    opacity: 1;
}

.video-play-button i {
    font-size: 4rem;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Styles pour les vidéos */
.video-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.video-card .card-body {
    padding: 15px;
}

.video-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-card .card-text {
    color: #666;
    font-size: 0.9rem;
}

/* Modal vidéo */
#videoModal .modal-content {
    background-color: #222;
    border: none;
}

#videoModal .modal-header {
    border-bottom: 1px solid #444;
    color: white;
}

#videoModal .modal-body {
    padding: 0;
}

#videoModal .btn-close {
    background-color: white;
}

.embed-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
}

.embed-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px 8px 0 0;
}