/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: white;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: white; /* Assure que le header reste au-dessus des autres éléments */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6 );
}

/* Header Container */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin: auto; /* Centre le conteneur */
  background: linear-gradient(90deg, #FFFFFF);
  color: black;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Espace pour le futur logo (actuellement vide) */
.logo img {
  width: 300px; /* Ajuste cette valeur selon la taille de ton logo */
  height: auto;
  margin-left: 40px;
}

/* Centrer le menu */
.menu-center {
  flex-grow: 1;
  text-align: center;
  flex-direction: column;
}

.menu-center ul {
  list-style: none;
  display: inline-flex;
  margin: 0;
  padding: 0;
  margin-right: 100px;
}

.menu-center ul li {
  margin: 0 20px;
}

.menu-center ul li a {
  color: rgba(231,87,86,0.4);
  text-decoration: none;
  font-size: 2.2rem;
  font-weight: bold;
  position: relative;
  transition: color 0.3s ease;
  font-family: 'Syne';
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}


/* Animation de surlignement au survol */
.menu-center ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FDEF77; /* Couleur du surlignement */
  transition: width 0.3s ease;
}

.menu-center ul li a:hover::after {
  width: 100%; /* Le surlignement prend toute la largeur de l'élément lors du survol */
}

/* Changement de couleur au survol */
.menu-center ul li a:hover {
  color: #FDEF77;
}

/* Bouton Prendre RDV */
.cta-btn {
  transform: translateY(20px) translateX(-50px);
  background-color: rgba(231,87,86,0.4);
  color: white;
  padding: 10px 40px;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: bold;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  margin-right: 10px;
  font-family: 'Syne';
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.cta-btn:hover {
  background-color: #FDEF77;
}

/* Hero Section */
.hero {
  margin-top: 200px;
  background: url('../images/IMG_4441.jpg') center/cover no-repeat;
  color: white;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100vw; /* Assure la pleine largeur du viewport */
  padding: 0; /* Supprime les padding par défaut */
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6 );
}


.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-family: 'Syne';
  font-size: 5rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: #fff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
}

.hero h2 {
  font-family: 'Lemonada';
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}

.hero h3 {
  font-family: 'Inter';
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 3rem;
  color: #fff;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.9);
}


/* Bouton Découvrez nos services */
.cta-rdv {
  position: relative; /* Nécessaire pour le positionnement du pseudo-élément */
  background-color: rgba(231,87,86,0.4);
  color: white; /* Couleur du texte */
  padding: 20px 20px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 25px;
  transition: color 0.3s ease;
  margin-right: 30px; /* Ajuste si nécessaire */
  overflow: hidden; /* Pour cacher le pseudo-élément qui dépasse */
  z-index: 1;
  font-family: 'Syne';
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

.cta-rdv::before {
  content: ''; /* Nécessaire pour afficher le pseudo-élément */
  position: absolute; /* Positionné par rapport au bouton */
  top: 50%; /* Centré verticalement */
  left: 50%; /* Centré horizontalement */
  width: 100%; /* Prend toute la largeur du bouton */
  height: 100%; /* Prend toute la hauteur du bouton */
  background-color: white; /* Fond blanc */
  opacity: 1; /* Opacité du fond blanc */
  transform: translate(-50%, -50%); /* Centrer le pseudo-élément */
  border-radius: 25px;
  z-index: -1; /* Derrière le texte du bouton */
}

.cta-btg:hover {
  background-color: #FDEF77;
}



/* Section Services */
.services {
  position: relative; /* Nécessaire pour le positionnement de l'overlay */
  padding: 3rem 200px; /* Espacement en haut et en bas */
  overflow: hidden; /* Pour éviter tout débordement des éléments */
}

.services::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(231,87,86,0.6), rgba(253,239,119,0.1), rgba(231,87,86,0.6));
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  z-index: 1;
}


.container {
  position: relative; /* Pour s'assurer que le contenu se positionne au-dessus de l'overlay */
  z-index: 2; /* Assurez-vous que le contenu est visible */
}



.services h4 {
  text-align: center; /* Centre le titre */
  margin-bottom: 2rem; /* Espacement sous le titre */
  font-family: 'Syne'; /* Police pour le titre */
  font-size: 3rem;
  color: #FDEF77;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
}

.service-bubbles {
  display: flex;
  flex-wrap: wrap; /* Permet d'enrouler les bulles sur plusieurs lignes */
  justify-content: space-between; /* Espace entre les bulles */
  gap: 2px; /* Espace entre les bulles */
}


.bubble {
  width: 260px;
  height: 260px;
  perspective: 1000px;
  margin: 30px;
}

.bubble-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.bubble:hover .bubble-inner {
  transform: rotateY(180deg);
}

.bubble-front,
.bubble-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 1.3rem;
  font-family: 'Syne';
  font-weight: bold;
  text-align: center;
  box-sizing: border-box;
}

.bubble-front {
  background-color: rgba(253, 239, 119, 0.7);
  color: #000;
}

.bubble-back {
  background-color: rgba(231, 87, 86, 0.6);
  color: #000;
  font-family: 'lemonada';
  transform: rotateY(180deg);
  font-weight: normal;
  font-size: 1rem;
}

/* Testimonials */
.testimonials {
  background-color: #2c3e50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.testimonials p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonials span {
  font-weight: bold;
  font-size: 1rem;
}

/* Footer */
footer {
  background-color: white;
  color: white;
  padding: 20px 10px;
  text-align: center;
  font-family: 'Syne', sans-serif;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
  min-height: 100px; /* Hauteur de base souhaitée */
  overflow: hidden; /* Cache tout débordement */
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Logo à gauche */
.footer-left .footer-logo {
  height: 150px;
  object-fit: contain;
  margin-top: -20px;
}

/* Réseaux au centre */
.footer-center .footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: inline-block;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-socials a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* Infos à droite */
.footer-right {
  text-align: right;
  font-size: 1.2rem;
  line-height: 1.5;
  color: #000;
  margin-top: -20px;
}

.footer-right p {
  margin: 2px 0;
}
