body {
  background-color: black;
  color: #dfd085;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
} 

/*Effet page active*/
body.page-home .nav-link[href="home.php"] {
    background-color: rgba(223, 208, 133, 0.3);
    color: yellow;
    font-weight: bold;
    border-bottom: 2px solid yellow;
}
.page-home{
    margin-top: 230px;
}

/* Slider Container */
.slider {
    width: 100%;
    height: 300px; /* Ajustez selon vos besoins */
    position: relative;
    overflow: hidden;
}

/* Slides de base */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


/* Configuration de l'animation pour chaque slide */
.slide {
    animation: slideFade linear infinite;
    animation-duration: calc(10s * var(--total-slides));
    animation-delay: calc(10s * var(--delay));
}

/* Initialisation des variables CSS */
.slider {
    --total-slides: <?= $slideCount ?? 3 ?>; /* Fallback de 3 si PHP non interprété */
}


/* home_style.css */
.slide-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 1.2em;
}

.banner_terms {
  text-align: center;
  margin: 30px 0;
  font-family: 'Dancing Script', 'cursive';
  font-size: 2em;
  color: #dfd085;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}

.banner_container2 {          
  margin: 30px 0;
}

.banner_text a {
  background: #333;    
  color: #dfd085;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  width: auto;
  margin-left: 45%;
}

.banner_text a:hover {
  background: #555;
}
  :root {
      --total-slides: <?= $slideCount ?>;
      --slide-duration: 5s;
    }
    
    .slider-container {
      width: 100%;
      max-width: 600px;
      margin: 30px auto 0 auto;
      overflow: hidden;
      position: relative;
      border-radius: 12px;
      background: #222;
      height: 100%; /* Hauteur fixe pour le slider, adapte si besoin */
    }
    
    .slider {
      position: relative;
      width: 100%;
      height: 100%;
    }
    
    .slide {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }
    
    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
.products_types_container{
  display: flex;
  width: 15px;
  height: 15px;
  border-radius: 50%;


}
.tabout{
  font-weight: bold;
  display: column;
  align-items: center;

}
.img_about{
    width: 400px;
    object-fit: cover;
}
.about{
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 19px;
  padding: 20px;
  flex: 1;
  font-family: 'Times New Roman', Times, serif;
}


   
    
/* Responsive MOBILE */
@media (max-width: 768px) {
 
  .title_about {
    flex-direction: column !important;
    align-items: center !important;
  }
  .img_about {
    margin-bottom: 12px;
    width: 90vw;
    max-width: 320px;
  }
  .title_about h3 {
    text-align: center;
    font-size: 1.1em;
  }
  .slider-container{
    width: 100%;
    height: auto;
  }
  .descr_about{
    display: flex;
    flex-direction: column;
    font-family: 'arial', sans-serif;
    align-items: center;
    font-size: 21px;
    padding: 20px;
    flex: 1;
  }
  .banner_terms{
    display: flex;
    flex-direction: column;
    align-items: center;

  }
  .banner_text {
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    margin-right: 115px;
  }


}