/* ===================================
   VIDEO CAROUSEL
   =================================== */
.carousel-slide-video {
    background: #000;
}

.video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Conteneur pour grouper les boutons */
.video-controls {
    position: absolute !important;
    bottom: 2rem !important;
    right: 2rem !important;
    display: flex !important;
    gap: 20px !important;
    z-index: 30 !important;
    align-items: center !important;
}

/* Bouton plein écran */
.fullscreen-btn {
    background: rgba(0, 0, 0, 0.7) !important;
    border: none !important;
    color: white !important;
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

.fullscreen-btn:hover {
    background: #EF961B !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5) !important;
}

.fullscreen-btn svg {
    width: 28px !important;
    height: 28px !important;
}

/* Bouton pour reprendre le carousel */
.resume-carousel-btn {
    position: relative !important; /* Pas absolute */
    background: #EF961B !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    border-radius: 0.8rem !important;
    transition: all 0.3s !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4) !important;
    flex-shrink: 0 !important;
}

.resume-carousel-btn:hover {
    background: #e67e22 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.5) !important;
}

/* Mode plein écran */
.video-wrapper:-webkit-full-screen,
.video-wrapper:fullscreen {
    width: 100%;
    height: 100%;
}

.video-wrapper:-webkit-full-screen iframe,
.video-wrapper:fullscreen iframe {
    width: 100%;
    height: 100%;
}

/* Boutons de navigation carousel */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-prev,
    .carousel-next {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .video-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    
    .video-controls {
        bottom: 1rem !important;
        right: 1rem !important;
        gap: 15px !important;
    }
    
    .fullscreen-btn {
        width: 48px !important;
        height: 48px !important;
    }
    
    .fullscreen-btn svg {
        width: 24px !important;
        height: 24px !important;
    }
    
    .resume-carousel-btn {
        padding: 0.6rem 1.2rem !important;
        font-size: 0.9rem !important;
    }
}