/* VIDEO SECTION */
.video-section {
    padding: 0;
}

.video-section .container {
    max-width: 100%;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.video-image {
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 7;
}

/* RESPONSIVE VIDEO IMAGE */
@media (max-width: 768px) {
    .video-image {
        aspect-ratio: 1 / 1;
    }
}

/* PLAY BUTTON */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.play-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid var(--color-bleu);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* RESPONSIVE PLAY BUTTON */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-icon {
        border-left: 18px solid var(--color-bleu);
        border-top: 11px solid transparent;
        border-bottom: 11px solid transparent;
    }
}

/* VIDEO MODAL */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.video-modal-body {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    height: 0;
    overflow: hidden;
}

.video-modal-body iframe,
.video-modal-body video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
    color: #000;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

/* RESPONSIVE MODAL */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
        border-radius: 4px;
    }
    
    .video-modal-close {
        width: 35px;
        height: 35px;
        font-size: 24px;
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        width: 98%;
    }
    
    .video-modal-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
    }
}
