/* ===== HEADER ===== */

#theme-switch {
  border: none;
  /* Pas de bordure */
  color: white;
  /* Couleur du texte */
  padding: 0px;
  /* Espacement interne */
  text-align: center;
  /* Alignement du texte */
  text-decoration: none;
  /* Pas de soulignement */
  display: inline-block;
  /* Affichage en ligne */
  font-size: 16px;
  /* Taille de la police */
  margin: 4px 2px;
  /* Marges */
  cursor: pointer;
  /* Curseur en forme de main */
  border-radius: 50%;
  /* Bordures arrondies */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background-color: #ffe092;
  

}

/* Logo */
/* .logo {
    width: 128px;
  }*/
.logo-link {
  display: inline-block;
  /* max-width: 150px;*/
  margin-right: auto;
}

.logo-link img {
  /*width: 100%;*/
  height: auto;
  display: block;
}

.logo-header {
  /*max-width: 100%;*/
  height: auto;
}

/* Menu à droite */
.menu-header ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu-header a {
  color: #000;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu-header a:hover {
  color: #00695c;
}

/*  icone panier */
.icon-panier {
  height: 24px;
  width: auto;
}

/* bouton header */
.button-header {
  border: 2px solid black;
  border-radius: 6px;
  padding: 7px 17px;
  margin-top: -10px;
  text-decoration: none;
}

.button-header:hover {
  box-shadow: var(--box-shadow);
  transform: scale(1.2);
  /* Ajoute un effet de zoom */
  transition: transform 0.3s ease;
  /* Ajoute une transition fluide */
}

.button-connexion {
  background-color: white;
  border: 2px solid black;
  border-radius: 6px;
  padding: 7px 17px;
  margin-top: -10px;
  text-decoration: none;
}

.button-connexion:hover {
  box-shadow: var(--box-shadow);

}

.menu-header .button-inscription {
  color: white;
  background-color: rgb(0, 0, 0);
  border: 2px solid black;
  border-radius: 6px;
  padding: 7px 17px;
  margin-top: -10px;
  text-decoration: none;
}

.button-inscription:hover {
  box-shadow: var(--box-shadow);
}

/* ================ menu burger ============== */



.cacheBurger {

  display: none;
}


.menu-header.active ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

*/

/* Style pour l'icône du menu burger */
.menu-icon {
  width: 30px;
  height: auto;
  transition: transform 0.s ease;
}

.menu-icon:hover {
  transform: scale(1.2);
  /* Zoom au survol */
}

/* Afficher "menu" au survol */
/*#menuToggle:hover::after {
  content: "Menu";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  font-size: 0.9rem;
  color: #000;
  background-color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}*/


/* ======= RESPONSIVE MENU BURGER ======= */
@media (max-width: 1261px) {
  .header-container {
    align-items: flex-end;
  }

  .menu-header ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .cacheBurger {
    display: block;
  }

  .menu-header.active ul {
    gap: 1rem;
    display: flex;
    margin-top: 1rem;
    flex-direction: column;
  }
}








/*===== FOOTER ======*/
footer {
  background-color: #ffe092;
  color: var(--text-color);
  padding: 3rem 2rem;
  font-family: 'Roboto', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 calc(20% - 2rem);
  /* 5 colonnes sur une ligne */
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* alignement à gauche du contenu */
  text-align: left;
}

.footer-column h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-column a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #00695c;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 1.8rem;
}

.footer-social a {
  transition: transform 0.2s ease;
}

.footer-social a:hover {
  transform: scale(1.2);
}

footer p {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  color: var(--text-color);
}

/*====== BANNIERE =======*/
.img-banniere {
  width: 100%;
  /* La bannière occupe toute la largeur */
  height: auto;
  /* Maintient les proportions de l'image */
  max-height: 400px;
  /* Limite la hauteur maximale à 400px */
  display: block;
  /* Supprime les espaces blancs autour de l'image */
  margin: 0 auto;
  /* Centre l'image horizontalement */
  box-shadow: var(--box-shadow);
  /* Ajoute une ombre portée */
}

.banner-container {
  position: relative;
  /* positionnement pour les éléments enfants. */
  text-align: center;
  /* Centre horizontalement le contenu à l'intérieur du conteneur. */
}

.banner-text {
  position: absolute;
  /* position des élément par rapport à son conteneur parent. */
  top: 50%;
  /* Place le texte à 50% de la hauteur. */
  left: 53%;
  /* Place le texte à 53% de la largeur . */
  transform: translate(-50%, -50%);
  /* Centre le texte ajustant sa position. */
  font-size: 1.5rem;
  /* taille de police. */
  font-weight: bold;
  /* texte en gras. */
  text-shadow: var(--text-shadow);
  /* ombre au texte. */
  color: var(--hover-color);
  /* couleur du texte. */
}

/*====== RESPONSIVE BANNIERE =======*/
@media (max-width: 768px) {
  .img-banniere {
    max-height: 250px;
  }

  .banner-text {
    font-size: 0.5rem;
    /* Réduit la taille du texte */
    padding: 0 1rem;
    /* marge pour que le texte touche les bords */
  }
}

@media (max-width: 480px) {
  .img-banniere {
    max-height: 200px;
    /* hauteur maximale pour les petits écrans */
  }

  .banner-text {
    font-size: 0.5rem;
    /* Réduit la taille du texte */
  }
}