/* Styles pour la modale vidéo */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 20px;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  line-height: 1;
}

.close-modal:hover {
  color: #7C89FF;
}

.video-container iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .video-modal-content {
    width: 95%;
    padding: 10px;
  }
  
  .video-container iframe {
    height: 300px;
  }
}
