/*encart présent au dessus (normalement) du bandeau de navigation*/

/* Style de l'encart (au-dessus du menu au départ) */
.encart-container .header-accueil {
    position: relative; /* L'encart est au-dessus du menu */
    width: 100%;
    background-color: #0EB062; /* Vert pâle */
    text-align: center;
    padding: 50px 15px;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    border-radius: 0px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease-out;
    z-index: 2; /* Assure qu'il est au-dessus du menu */
    margin-top: 70px;
    
}

.blanc {
  color: white !important;
}
/* L'encart devient invisible quand il atteint le haut */
.header-accueil.hidden {
    opacity: 0;
    pointer-events: none; /* Empêche toute interaction */
}

/* Ajout d’un espace pour éviter que le contenu ne soit masqué */
.content {
    margin-top: 140px; /* Ajuste selon la hauteur de l'encart */
}

/* Barre esthétique sous le nom */
.encart-container .header-separator {
    width: 50%; /* Ajustez selon le design souhaité */
    margin: 10px auto;
    border: none;
    border-top: 2px solid #000; /* Couleur verte */
}

/* Texte de localisation en plus petit */
.localisation {
    font-size: 14px !important;
    color: #black !important; 
}

/* Protéger les paragraphes de l'encart */
.encart-container .header-accueil p {
    font-family: Arial, sans-serif !important;
    font-size: 18px !important;
    margin: 0;
}

/* Lightbox (fenêtre d'image) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Image agrandie */
.lightbox-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Bouton fermer (X) */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}


#countdown {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background-color: #ffd226;
  color: #0EB062;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#countdown h2 {
  display: inline;
  margin-right: 10px;
  font-size: 1.1em;
  font-weight: 500;
}

.timer {
  display: inline;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 1px;
}

.timer span {
  margin: 0 4px;
}

