.showreel-container{
  z-index: 50;
  position: relative;

  width: 100%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;




}

.showreel-video-background{
  position: absolute;
  top: 0;
  left: 0;
  
  width: 100%;
  height: 100%;

  z-index: -1;
  overflow: hidden;
  background-color: black;
}

.showreel-video-background video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  opacity: 1;

  object-fit: cover; 
  
  z-index: 1;
}

.showreel-button{
  position: relative;
  z-index: 40 ;
  /*background-color: rgba(0, 0, 0, 0.733);*/
}



/* --- OVERLAY FULLSCREEN VIMEO --- */

.showreel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95); /* Le voile gris foncé/noir */
  z-index: 9999; /* Toujours au-dessus de tout */
  
  display: none; /* Caché par défaut */
  justify-content: center;
  align-items: center;
  
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.showreel-overlay.active {
  display: flex; /* Devient visible via JS */
  opacity: 1;
}

/* Conteneur vidéo pour ratio 16:9 responsive */
.showreel-video-container {
  position: relative;
  width: 85%; /* Demande utilisateur : 85% de l'écran */
  max-width: 1600px; 
  aspect-ratio: 16 / 9; /* Force le format vidéo */
  background: #000;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

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

/* Bouton Fermer (X) */
.close-showreel {
  position: absolute;
  top: 30px;
  right: 50px;
  background: none;
  border: none;
  color: white;
  font-size: 50px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10000;
}

.close-showreel:hover {
  opacity: 1;
  color: var(--secondary-color, yellow); /* Utilise ta variable couleur si dispo */
}

/* Responsive pour le bouton fermer sur mobile */
@media (max-width: 768px) {
  .close-showreel {
    top: 20px;
    right: 20px;
    font-size: 40px;
  }
  .showreel-video-container {
    width: 95%; /* Plus large sur mobile */
  }
}

