/* Style global */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #000000;
  color: #ffffff;
  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);
  background-color: #2BA648;
  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: #000000;
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.2rem; /* Taille pour écran large */
  transition: color 0.3s;
}

.menu a:hover {
  color: #F7E56E;
}

/*========================================================*/
/* Gestion des menu en Entête */
.T_HMenu {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1px;
    text-align: center;
}
/* Ligne du menu */
.TR_HMenu {
    background: linear-gradient(90deg, #BBF451, #D8F999); /* camaïeu de verts */
}
/* Cellules du SOUS-menu */
.TD_HMenu {
    padding: 10px 15px;
    border: 1px solid #2e4e2e;  /* encadrement noir */
}
/* Liens du menu */
.TD_HMenu a {
    text-decoration: none;
    font-size: 20px;        /* taille du texte */
    font-weight: bold;      /* texte en gras */
    color: black;           /* texte blanc pour bien ressortir */
    display: block;         /* toute la cellule est cliquable */
}
/* Effet au survol */
.TD_HMenu:hover {
    background-color: #2e4e2e; /* vert foncé au survol */
}
.TD_HMenu a:hover {
    color: #FFD700; /* texte doré au survol */
}
/*========================================================*/
/* Gestion des SOUS-menu Principalement pour les activités*/
.T_Menu {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1px;
    text-align: center;
}
/* Ligne du menu */
.TR_Menu {
    background: linear-gradient(90deg, #BBF451, #D8F999); /* camaïeu de verts */
}
/* Cellules du SOUS-menu */
.TD_Menu {
    padding: 10px 15px;
    border: 1px solid #2e4e2e;  /* encadrement noir */
}
/* Liens du menu */
.TD_Menu a {
    text-decoration: none;
    font-size: 20px;        /* taille du texte */
    font-weight: bold;      /* texte en gras */
    color: black;           /* texte blanc pour bien ressortir */
    display: block;         /* toute la cellule est cliquable */
}
/* Effet au survol */
.TD_Menu:hover {
    background-color: #2e4e2e; /* vert foncé au survol */
}
.TD_Menu a:hover {
    color: #FFD700; /* texte doré au survol */
}

/*======================================================*/
/* CSS pour la page RDV  */

/* Conteneur principal qui gère les deux colonnes */
.Center-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 2em auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Colonne de gauche (Description et Carte) */
.zone-gauche {
    flex: 1;
    min-width: 300px;
    padding: 1.5em;
    background-color: rgba(45, 140, 60, 0.15); /* Vert transparent */
    border-radius: 8px;
    box-sizing: border-box; /* Assure que padding et border sont inclus dans la taille */
}

/* Colonne de droite (Programme) */
.zone-droite {
    flex: 2;
    min-width: 450px;
    padding: 1.5em;
    background-color: rgba(45, 140, 60, 0.1); 
    border-radius: 8px;
    margin-left: 1.5em; /* Espace entre les deux colonnes */
    box-sizing: border-box;
}

/* Styles pour la carte (Doit avoir une hauteur !) */
#map-container {
    height: 350px; /* HAUTEUR CRUCIALE pour l'affichage de Leaflet */
    width: 100%;
    margin: 1.5em 0;
    border: 3px solid #F7E56E;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

/* Styles pour les titres (Assurer la lisibilité sur fond sombre) */
.Center-container h2 {
    color: #ffffff; /* S'assurer que le H2 est blanc */
    border-bottom: 2px solid #D8F999;
    padding-bottom: 0.5em;
    margin-top: 0;
    margin-bottom: 1em;
}
/* Styles pour les titres (Assurer la lisibilité sur fond sombre) */
.Center-container h3 {
    color: #61EF2E; /* S'assurer que le H2 est blanc */
    border-bottom: 2px solid #D8F999;
    padding-bottom: 0.5em;
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 22px;
}
/* Titres H4 (Horaires) - CORRECTION DE COULEUR */
.zone-droite h4 {
    color: #D8F999; /* Couleur claire pour être lisible */
    font-size: 1.1em;
    margin-bottom: 0.5em;
    text-decoration: underline;
}
/* Les autres styles pour ul, li, etc. restent valables */

/* Styles pour la liste des lieux cliquables */
.lieux-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5em;
    padding: 0;
}

.lieu-item {
    background-color: #A1EC32; 
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s;
}

.lieu-item:hover, .lieu-item.active {
    background-color: #F7E56E;
    cursor: pointer;
}
/* Nouveau style pour les liens de lieu dans le programme */
.programme-lieu {
    /* Ressemble plus à un lien normal dans le texte */
    color: #F7E56E; /* Couleur qui ressort sur le fond sombre (jaune/doré) */
    text-decoration: underline;
    font-weight: bold;
    /* Retirer les styles de bouton (padding, background) */
    padding: 0;
    background-color: transparent; 
    transition: color 0.3s;
}

.programme-lieu:hover {
    color: #D8F999; /* Changement de couleur au survol */
    cursor: pointer;
    background-color: transparent;
}

@media (max-width: 768px) {
    .Center-container {
        flex-direction: column;
    }
    .zone-droite {
        margin-left: 0;
        margin-top: 1.5em;
    }
}
/* Gestion du responsive (déjà présente mais complétée) */
@media (max-width: 768px) {
    .Center-container {
        flex-direction: column;
        padding: 0 0.5em;
    }
    .zone-droite {
        margin-left: 0; /* Suppression de la marge latérale en mode mobile */
        margin-top: 1.5em; /* Ajout d'une marge pour séparer la description et le programme */
    }
}


ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin-bottom: 0.5em;
}

@media (max-width: 768px) {
    .Center-container {
        flex-direction: column;
    }
}



/*======================================================*/
/* CSS pour les activités */
.Div_Data {
  margin: 20px;
  padding: 10px;
  background: #4FCFA8; /* fond très clair, vert pastel */
  border-radius: 8px;
}

/* Table */
.T_Activ {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 20px;
  box-shadow: 0 0 6px rgba(0,0,0,0.15);
}

/* Ligne générale */
.TR_Activ td {
  border: 1px solid #000000; /* bordures noires */
  padding: 10px;
  font-family: Arial, sans-serif;
}
/* Ligne au survol */
.TR_Activ:hover {
  background-color: #b8e6b8; /* vert clair lumineux */
}
/* Titre */
.TD_Titre {
  background: linear-gradient(90deg, #4FCF69, #4FCFA8);
  color: #0B2E13;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border: 2px solid #000000; /* bordure noire */
}
.TD_Type {
  background: linear-gradient(90deg, #4CA66B, #4FCFA8);
  color: #0B2E13;
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
  padding: 12px;
  border: 2px solid #000000; /* bordure noire */
}

/* Données */
.TD_Data {
  background-color: #dff0df; /* vert pastel */
  font-size: 1.1em;
  font-weight: bold;
  color: #111; /* texte foncé pour lisibilité */
  border: 3px solid #000000; /* bordure noire */
}

/* Ligne au survol */
.TD_Data:hover {
  background-color: #b8e6b8; /* vert clair lumineux */
}

/* Image dans les cellules */
.TD_Data img {
  height: 24px;
  vertical-align: middle;
}

/* Lien sur logo */
.TD_Data a {
  text-decoration: none;
}
/* Commentaire */
.TD_Comment  {
  background-color: #FFD230; /* vert pastel */
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  color: #111; /* texte foncé pour lisibilité */
  border: 3px solid #000000; /* bordure noire */
}










.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: 300px;
  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;
}



