/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-right: 3px solid var(--background-color);
    border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
    transition: all ease-in-out 0.4s;
}

/* Ajouter un filtre noir sur l'image au survol */
.gallery .gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(50%) contrast(100%) grayscale(0); /* Ajoute un filtre noir */
}

/* Style pour le texte en haut à gauche (information) */
.gallery .overlay-text {
    position: absolute;
    top: 10px;
    left: 0; /* En haut à gauche */
    background-color: color-mix(in srgb, #28d4eb, transparent 70%); /* Fond sombre */
    color: #fff;
    padding: 10px 15px;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    opacity: 0; /* Cacher le texte par défaut */
    transition: opacity 0.4s ease;
}

/* Affichage du texte en haut à gauche au survol */
.gallery .gallery-item:hover .overlay-text {
    opacity: 1; /* Afficher au survol */
}

/* Style pour la description sur toute la longueur */
.gallery .image-description {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Utilise toute la largeur de l'image */
    color: #fff;
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    text-align: center; /* Centrer le texte horizontalement */
    opacity: 0; /* Cacher la description par défaut */
    transition: opacity 0.4s ease;
    box-sizing: border-box; /* Assurer que le padding ne dépasse pas la largeur */
}

/* Afficher la description au survol */
.gallery .gallery-item:hover .image-description {
    opacity: 1; /* Afficher au survol */
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
    font-weight: 700;
    font-size: 32px;
  }
  
  .testimonials .swiper {
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
    background-color: var(--surface-color);
  }
  
  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }
  
  .testimonials .testimonial-item {
    box-sizing: content-box;
    min-height: 200px;
    position: relative;
    margin: 30px;
  }
  
  .testimonials .testimonial-item .testimonial-img {
    width: 90px;
    height: 90px;
    border-radius: 50px;
    border: 6px solid var(--background-color);
    margin-right: 10px;
  }
  
  .testimonials .testimonial-item h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px 0;
  }
  
  .testimonials .testimonial-item h4 {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 14px;
    margin: 0;
  }
  
  .testimonials .testimonial-item .stars {
    margin: 10px 0;
  }
  
  .testimonials .testimonial-item .stars i {
    color: #ffc107;
    margin: 0 1px;
  }
  
  .testimonials .testimonial-item .quote-icon-left,
  .testimonials .testimonial-item .quote-icon-right {
    color: color-mix(in srgb, var(--accent-color), transparent 60%);
    font-size: 26px;
    line-height: 0;
  }
  
  .testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
  }
  
  .testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
    transform: scale(-1, -1);
  }
  
  .testimonials .testimonial-item p {
    font-style: italic;
    margin: 15px auto 15px auto;
  }
  
  .testimonials .swiper-wrapper {
    height: auto;
  }
  
  .testimonials .swiper-pagination {
    margin-top: 20px;
    margin-bottom: 20px;
    position: relative;
  }
  
  .testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
    border: none;
  }
  
  .testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
  }
  
  @media (max-width: 767px) {
  
    .testimonials .testimonials-carousel,
    .testimonials .testimonials-slider {
      overflow: hidden;
    }
  
    .testimonials .testimonial-item {
      margin: 15px;
    }
  }
/* Conteneur des flèches */
.swiper-navigation {
  position: absolute;
  top: 20px; /* Ajuste la position au-dessus du carrousel */
  right: 10px; /* Place les flèches à droite */
  display: flex;
  gap: 8px; /* Espacement entre les flèches */
  z-index: 10; /* Assure que les flèches restent visibles */
}

/* Styles des flèches */
.fa-arrow-right,
.fa-arrow-left {
  position: relative;
  color: #fff;
  width: 40px;
  height: 40px;
  background: #28d4eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.2s;
}

/* Effet au survol */
.fa-arrow-right:hover,
.fa-arrow-left:hover {
  background: #5d9bd8;
}

/* Ajuste les flèches pour ne pas chevaucher les slides */
.fa-arrow-right {
  right: 0;
}

.fa-arrow-left {
  left: auto;
  right: 10px;
}


    /* Style de la pagination */
    .pagination {
      display: inline-flex;
      gap: 5px;
  }
  
  .pagination .page-item {
      list-style: none;
  }
  
  .pagination .page-item .page-link {
      color: #28d4eb;
      border-radius: 5px;
      padding: 10px 15px;
      transition: 0.3s ease-in-out;
  }
  
  .pagination .page-item .page-link:hover {
      background: #28d4eb;
      color: white;
      transform: scale(1.1);
  }
  
  .pagination .page-item.active .page-link {
      background: #28d4eb;
      color: white;
      font-weight: bold;
      border: none;
  }
  
  .pagination .page-item.disabled .page-link {
      color: #ccc;
      pointer-events: none;
  }

  .carousel-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
}

/*------------------------------------------------------------------
[ Wrap Picture ]*/

.wrap-pic-s,
.wrap-pic-max-s,
.wrap-pic-w,
.wrap-pic-max-w,
.wrap-pic-h,
.wrap-pic-max-h {
	display: block;
}

.wrap-pic-w img {width: 100%;}
.wrap-pic-max-w img {max-width: 100%;}

.wrap-pic-h img {height: 100%;}
.wrap-pic-max-h img {max-height: 100%;}

.wrap-pic-s img {width: 100%; height: 100%;}
.wrap-pic-max-s img {max-width: 100%; max-height: 100%;}

