/* Style global */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #1e1e1e;
  color: #f5f5f5;
  position: relative;
}

.fond {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  /*background: url('ImgFond.jpg') no-repeat center center fixed; */
  background-size: cover;
  z-index: -1;
  opacity: 0.2;
}

/* Zone 1 : Header */
.zone1 {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-groupe {
  height: 100px;
  width: auto;
  border-radius: 8px;
  margin-right: 2rem;
}

.menu {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.menu a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 2.0rem; /* Taille pour écran large */
  transition: color 0.3s;
}

.menu a:hover {
  color: #ffffff;
}
.facebook-icon {
  content: url('FaceBook.png');
  transition: 0.3s;
}

.facebook-icon:hover {
  content: url('FaceBook1.png');
}

/* Zone 2 et 3 */
.contenu {
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
}

.zone2 {
  flex: 3;
  padding-right: 1rem;
}

.zone2a {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
  font-size: 1.2rem; /* 👈 Taille du texte augmentée */
}

.zone2b {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes */
  gap: 1rem;
}

.zone2b video {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.zone3 {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 8px;
  color: #f5f5f5;
}

.zone3 h2 {
  color: #ffcc00;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Style pour les prestations dans la zone 3 */
.prestation {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.prestation-date,
.prestation-lieu,
.prestation-lien {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.prestation-date strong,
.prestation-lieu strong,
.prestation-lien strong {
  color: #ffcc00;
}

.prestation-lien a {
  color: #ffcc00;
  text-decoration: underline;
}

.prestation-lien a:hover {
  color: #ffffff;
}

/* Zone 4 : Footer */
.zone4 {
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 2rem 1rem;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  gap: 1rem;
}

.zone4 .footer-part {
  flex: 1;
  min-width: 200px;
}

.zone4 .footer-part img {
  max-width: 300px;
  height: auto;
}

.zone4 .footer-part a {
  color: #ffcc00;
  margin: 0.3rem;
  text-decoration: none;
  display: inline-block;
}

.zone4 .footer-part a:hover {
  color: #ffffff;
}

.zone4 .footer-contact {
  font-size: 0.95rem;
  color: #cccccc;
  line-height: 1.6;
}

/* Responsive - Adaptations pour les écrans de moins de 1000px */ 
@media (max-width: 1000px) {
  body, html {
    font-size: 14px;
  }

  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .logo-groupe {
    margin-bottom: 0.5rem;
  }

  .menu {
    flex-direction: column;
    height: auto;
  }

  .menu a {
    font-size: 1.0rem; /* Taille réduite pour petits écrans */
    margin: 0.3rem 0;
  }

  .contenu {
    flex-direction: column;
  }

  .zone2, .zone3 {
    width: 100%;
    padding-right: 0;
  }

  .zone2b {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .zone4 {
    flex-direction: column;
    text-align: center;
  }
}

/* Style global pour le lecteur audio */
#audio-player {
  background-color: #333; /* Couleur de fond sombre */
  color: white; /* Couleur du texte */
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#seek-bar {
  width: 80%;
  margin: 0 10px;
}

#audio-title {
  margin-left: 20px;
  font-size: 16px;
  color: #FFFFFF;
}

/* Style pour les boutons du lecteur */
button {
  background-color: #444;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 30px;
}

button:hover {
  background-color:   #626567 ; /* Changer la couleur de fond au survol */
}

button:focus {
  outline: none;
}

/* Pour la barre de recherche */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 5px;
  background: #777;
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 15px;
  width: 15px;
  background: #444;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  height: 15px;
  width: 15px;
  background: #444;
  border-radius: 50%;
  cursor: pointer;
}


/* Zone des images */
.zone-images {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.thumbnail {
  width: 240px;
  margin: 10px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.thumbnail:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Zone de zoom */

.zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}


#zoom-image {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 20px black;
}

/* Positionner les boutons autour de l'image */
.zoom-btn {
  position: absolute;
  background-color: rgba(50, 50, 50, 0.8);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.zoom-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.zoom-btn.prev {
  left: calc(50% - 48vw); /* ajuster au besoin */
  transform: translateY(-50%);
  top: 50%;
}

.zoom-btn.next {
  right: calc(50% - 48vw); /* ajuster au besoin */
  transform: translateY(-50%);
  top: 50%;
}

.zoom-btn.close {
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  padding: 0.3rem 0.6rem;
  background-color: #900;
}


@media (max-width: 1000px) {
  /* Adapter les éléments du lecteur audio */
  #audio-player {
    flex-wrap: nowrap;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-around;
  }

  #audio-player button,
  #seek-bar,
  #audio-title {
    flex: 1 1 auto;
    min-width: 60px;
    text-align: center;
  }
    #seek-bar {
    width: 100%;
    margin: 10px 0;
  }

  #audio-title {
    width: 100%;
    margin: 5px 0 0 0;
    font-size: 14px;
  }


  /* Ajuster les images en vignettes pour les petits écrans */
  .thumbnail {
    width: 80px;  /* Taille plus petite des vignettes sur mobile */
    height: 80px;
  }

  /* Ajuster les boutons */
  .zoom-btn {
    font-size: 1.5em;
  }
}

.fullwidth {
    width: 100%;
    height: auto;
    display: block;
}
.plein-ecran-image {
    max-width: 100%;
    max-height: 100vh;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}