@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  --marron: #6b5c53;
}
.roboto-regular {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.section {
  background-color: #e7d7b96e;
}

main {
  flex-grow: 1;
}
.playfair-display {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.container {
  max-width: 1200px; /* Largeur maximale du conteneur */
  margin-left: auto; /* Centrer le conteneur horizontalement */
  margin-right: auto; /* Centrer le conteneur horizontalement */
  padding-left: 15px; /* Espace à gauche à l'intérieur du conteneur */
  padding-right: 15px; /* Espace à droite à l'intérieur du conteneur */
}

.dropdown-menu ul {
  transition: all 0.3s ease-in-out;
}

p,
li {
  font-family: "Roboto", sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
a {
  font-family: "Playfair Display", serif;
  font-weight: 300; /* Vous pouvez utiliser des valeurs comme 100, 200, 300, etc. */
}
nav {
  background-color: #f8f8f8;
  padding: 10px 0;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

ul li {
  margin: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

ul li.logo {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

ul li a p {
  text-decoration: none;
  color: black;
  padding: 10px;
  transition: border-bottom 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-weight: 300;
}

ul li a:hover,
ul li a.active {
  border-bottom: 2px solid black;
}

/* Règle pour changer la couleur du texte au survol */
a:hover h3 {
  color: #9b735c; /* La couleur que vous souhaitez au survol */
}
.footer-button a {
  background-color: var(--marron); /* La couleur par défaut */
}
.footer-buttons button:hover {
  background-color: #9b735c;
}
/* Autres styles */
.hover-effect {
  transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

.group:hover .hover-effect {
  color: #9b735c;
}
.newsletterSubscribeButton {
  background-color: var(--marron); /* Couleur de fond */
}

.modalfaq,
.modalblog,
.modaletu {
  display: none;
  position: fixed; /* Permet de fixer la div en bas de l'écran */
  bottom: 0;
  left: 0;
  width: 100%; /* Prend toute la largeur de l'écran */
  z-index: 9999;
  overflow: hidden; /* Empêcher le contenu de la modal de déborder */
  overflow-x: hidden;
}

.modalfaq-active,
.modalblog-active,
.modaletu-active {
  display: block;
}

.modalfaq-enter,
.modalfaq-leave-active,
.modalblog-enter,
.modalblog-leave-active,
.modaletu-enter,
.modaletu-leave-active {
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

.modalfaq-enter-active,
.modalfaq-leave,
.modalblog-enter-active,
.modalblog-leave,
.modaletu-enter-active,
.modaletu-leave {
  transform: translateY(0);
}

.modalfaq-content,
.modalblog-content,
.modaletu-content {
  max-width: 100%;
  max-height: 80vh; /* Limiter la hauteur maximale pour permettre le défilement si nécessaire */
  background-color: white; /* Ajouter un fond blanc pour le contenu de la modal */
  position: relative;
  overflow-y: auto; /* Permettre le défilement vertical si le contenu dépasse */
  padding: 75px;
  padding-bottom: 200px;
  overflow-x: hidden;
}
.modalform {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  justify-content: center;
  align-items: center;
}

.modalform-content {
  max-height: 80vh; /* Hauteur maximale pour le contenu de la modal */

  background-color: #ffff;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 1200px;
  position: relative;
  z-index: 10000; /* Ensure content is above the backdrop */
  transform: translateY(-50px);
  transition: transform 0.3s ease-out;
  overflow: auto;
}

.modalform.show {
  display: flex; /* Show the modal */
  align-items: center;
}

.modalform.show .modalform-content {
  transform: translateY(0);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 35px;
  z-index: 10001; /* Ensure close button is above content */
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.card {
  background-color: #f3f4f6;
  border-radius: 10px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card img {
  height: 160px;
  width: auto;
  object-fit: cover;
  margin-bottom: 16px;
}
.price-container {
  background-color: var(--marron);
  color: white;
  padding: 8px;
  border-radius: 0 0 10px 10px;
  margin-top: 16px;
}

/* Styles spécifiques pour les boutons et le menu */
.menu-buttons {
  display: none; /* Cacher initialement */
  position: fixed;
  bottom: 20px;
  right: 20px; /* Ajuster selon la position souhaitée */
  z-index: 1000;
  gap: 10px; /* Espacement entre les boutons */
}

.menu-buttons.show {
  display: flex; /* Afficher en ligne */
  flex-direction: row; /* Disposer les éléments horizontalement */
  right: 112px;
  bottom: 28px;
}

.menu-buttons button {
  background-color: var(--marron); /* Couleur de fond du bouton */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px; /* Pour obtenir un bouton arrondi */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-buttons.show button:nth-child(1) {
  transition-delay: 0s;
  opacity: 1;
  transform: translateY(0);
}

.menu-buttons.show button:nth-child(2) {
  transition-delay: 0.1s;
  opacity: 1;
  transform: translateY(0);
}

.menu-buttons.show button:nth-child(3) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.fixed-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--marron); /* Couleur de fond du bouton */
  color: white;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 24px;
  text-align: center;
  line-height: 60px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.fixed-button:hover {
  background-color: #ede9e6; /* Couleur de fond du bouton au survol */
  transform: scale(1.1);
}
.arrow::before {
  content: "→";
}

/* Style pour le lien actif dans la barre de navigation */
.nav-link.active {
  border-bottom: 2px solid black;
  text-decoration: none; /* Supprime le soulignement par défaut */
}

/* styles.css ou tailwind.css */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out;
}

@keyframes slideInAnimation {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutAnimation {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.slide-in {
  animation: slideInAnimation 1s forwards;
}

.slide-out {
  animation: slideOutAnimation 1s forwards;
}
.dot {
  height: 10px;
  width: 10px;
  background-color: #bbb;
  border-radius: 50%;
  margin: 0 5px;
  transition: background-color 0.3s ease;
}

.active-dot {
  background-color: #555;
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
  }

  .card {
    margin-bottom: 20px; /* Ajoute un espacement vertical entre les cartes sur les petits écrans */
  }

  .text-lg,
  .price-container {
    font-size: 1.25rem; /* Ajuste la taille du texte pour une meilleure lisibilité */
  }

  .modal-content h1,
  .modal-content p {
    padding: 0 10px; /* Ajoute un peu de padding pour ne pas que le texte touche les bords */
  }

  .button,
  a {
    padding: 10px 20px; /* Ajuste la taille des boutons pour les rendre plus faciles à cliquer */
    font-size: 1rem; /* Ajuste la taille du texte dans les boutons */
  }
  .modal {
    padding-top: 20px; /* Réduit l'espace au-dessus de la modal sur les petits écrans */
  }
}
@media (max-width: 768px) {
  .circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Espacement entre les rangées */
  }

  .circle-row {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }

  .circle {
    width: 108px !important; /* Taille réduite sur mobile */
    height: 108px !important;
    font-size: 12px !important; /* Ajuste la taille du texte */
    padding: 5px !important;
  }

  /* Spécifique pour la ligne du milieu */
  .circle-single {
    display: flex;
    justify-content: center;
  }
}
