/* =========================
   Reset & Base
   ========================= */
   html, body { 
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: #f4f8fb;
    color: #111;
  }



  
  
  /* =========================
     Navbar / Header
     ========================= */


  .logo {
    text-decoration: none;
    font-weight: bold;
    color: #0077cc;
    font-size: 1.2rem;
  }

  .subtext {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    font-style: italic;
    letter-spacing: 1px;
  }
  

  
/* NAVBAR FIXE ET CLEAN */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  display: flex;
  justify-content: space-between;
  align-items: center;

  min-height: 64px;
  padding: 1rem;
  box-sizing: border-box;

  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;

  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* BOUTON MENU */
.menu-btn {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

/* MENU MOBILE */

.nav-menu {
  position: absolute;
  top: 64px; /* Utiliser la même hauteur que ta navbar */
  left: 0;
  right: 0;
  background-color: white;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  z-index: 999;
}

.nav-menu.open {
  max-height: 300px; /* ou plus si tu veux */
}

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-menu li {
  width: 100%;
}

.nav-menu a {
  display: block; /* ← toute la zone devient cliquable */
  width: 100%;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #111;
  font-size: 1.1rem;
  transition: background 0.3s ease;
  border-radius: 6px;
}

  /* =========================
     Hero Section
     ========================= */
  #hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;

    background-image: url("images/hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 0;
    box-sizing: border-box;
}
  .hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    color: #ffffff;
    text-shadow: 
      -2px 2px 0 #363636;
  }

  .hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
  
  /* =========================
     Sections génériques
     ========================= */
  section {
    padding: 4rem 1rem;
  }
  section h2 {
    font-size: 1.5rem;
    color: #0077cc;
    margin-bottom: 1rem;
  }
  section p, section li {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  /* =========================
     Footer
     ========================= */
  footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #555;
  }
  



/* =========================
   Section Pourquoi me choisir
   ========================= */
   #about {
    text-align: center;
    padding: 4rem 1rem;
    background-color: #ffffff;
  }
  
  #about h2 {
    font-size: 2rem;
    color: #0077cc;
    margin-bottom: 1rem;
  }
  
  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .about-photo {
    width: 150px; /* Ajuste la taille de ta photo selon ton besoin */
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Pour rendre la photo ronde */
    margin-bottom: 1rem; /* Un petit espace entre la photo et le texte */
  }
  
  #about p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
  }




/* =========================
   Section Carroussel et Titre Galerie
   ========================= */


  
  .carousel {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 15px; /* Ajoute les bords arrondis à chaque image */
  }
  
  .carousel-images {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  /* Conteneur des points */
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

/* Chaque point */
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

/* Point actif */
.carousel-dots .dot.active {
  background: #0077cc;
}





/* =========================
   Sticky Footer “Appelle‑moi”
   ========================= */
   .call-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 14px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
  }
  
  /* Quand il se cache */
  .call-button.hide {
    transform: translateY(150%);
    opacity: 0;
  }
  

@media (min-width: 900px) {
  #hero {
    background-image: url("images/hero-desktop.webp");
    background-size: cover;
    background-position: center;
  }
    /* Centre la section Galerie */
  #gallery {
    max-width: 1000px;
    margin: 0 auto;
  }
  #gallery > h2 {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    text-align: center;
    color: #0077cc;
  }
  .carousel-images img {
    height: 500px;
  }
}

  /* Limite la taille du carrousel */
  .carousel {
    max-width: 750px;
    margin: 0 auto;
  }

  /* Donne une hauteur identique à toutes les images */
.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-images img {
  width: 100%;
  flex: 0 0 100%;
  object-fit: cover;
  border-radius: 15px;
}