body{
  font-family:  'Roboto', sans-serif;
  font-size: 15px;
  margin: 0px;
  padding: 0px;
 
}



h1{
  font-size: 35px;
  font-weight: normal;
  text-align: 0;
}

header{
  height: 80px;
  background-color:   #D9A066; /* Harmonisé avec la barre de navigation */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
  color: #424558; /* Texte blanc pour contraste */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-bottom: 2px solid #424558;
}

/* Section Contact Info */
.contact-info {
display: flex;
align-items: center;
gap: 15px; /* Uniformise l'espace entre les éléments */
}

.phone-icon {
display: flex;
justify-content: center;
align-items: center;
width: 40px;
height: 40px;
border-radius: 50%;
background-color: #4c6a64; /* Couleur verte harmonisée */
color: #FFF;
font-size: 18px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.phone-number {
font-weight: bold;
font-size: 16px;
color: #424558;
display: inline-block;
transition: transform 0.3s ease, color 0.3s ease;
}

.phone-number a{text-decoration: none;
}

.phone-number:hover {
transform: scale(1.1); /* Grossissement à 110% */

}

.request-quote {
background-color: #4c6a64;
padding: 8px 16px;
border-radius: 20px;
font-size: 14px;
font-weight: bold;
transition: background-color 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.request-quote a {
color: #FFF;
text-decoration: none;
}

.request-quote:hover {
background-color: #3a7;
}

/* Réseaux Sociaux */
.icons-header {
display: flex;
gap: 20px;
color: #424558;
}

.icons-header a {
font-size: 20px;
color: #FFF;
transition: color 0.3s ease;
}

.icons-header a:hover {
color: #FFD700; /* Couleur dorée au survol */
text-shadow: 0 0 5px #FFD700; /* Effet lumineux */
}





/* *******************************FOOTER**************************** */


.footer-content > div {
margin: 10px 0; /* Espacement entre les blocs */
}

footer a {
text-decoration: none;
color: #FFF;
}


footer {
background:#4c6a64;
color: #FFF;
padding: 20px 0;
font-family: Arial, sans-serif;
border-top: 2px solid #AAA;
box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.5); 
}

.footer-content {
display: flex;
  flex-wrap: wrap; /* Les sections s'empilent sur les petits écrans */
  justify-content: space-around; /* Espacement égal sur les grands écrans */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

.contact-info-footer{
display: flex;
  flex-direction: column; /* Les éléments s'empilent verticalement */
  align-items: center;
  margin-bottom: 15px;
}

.contact-info-footer a {
margin: 5px 0; /* Ajout d'une marge entre les liens */
display: block;
}


.contact-info-footer,.follow-us,.hours{
margin: 10px;
text-align: center; /* Centrer le contenu */

}

.contact-info-footer a, .copyright a {

text-decoration: none;
transition: color 0.3s;
color: #FFF;
}

.copyright a:hover {
color:  #FFD700;
}

.phone-number {
color: #FFF; /* Blanc */
font-weight: bold;
transition: transform 0.3s ease;
}

.follow-us strong {
margin-bottom: 15px; 
display: block;
}
.footer-icons a {
color: #FFF;
font-size: 1.5rem;
margin: 0 10px;
transition: transform 0.3s ease;
}

.footer-icons a:hover {
transform: scale(1.2); /* Zoom à 120% au survol */
color:  #FFD700
}


.hours {
font-size: 0.9rem;
}

.hours strong {
display: block;
margin-bottom: 5px;
}

.copyright {
text-align: center;
font-size: 0.8rem;
border-top: 1px solid #AAA;
padding-top: 10px;
margin-top: 10px;
width: 100%; /* S'étend sur toute la largeur */
box-sizing: border-box; /* Inclut le padding dans la largeur totale */
}



/* ******************************ICONES***************************** */



.icons {
  display: flex;

}

.icons-header{
  display: flex;
  margin-right: 30px;
}



.icons-header a {
  margin-left:10px;
  text-decoration: none;
  color: #000;
  transition: transform 0.3s ease;
  font-size: 32px;
}



.icons-header a:hover {
  transform: scale(1.2);
  color: #2a034e;
}

  /* ************************BARRE DE NAVIGATION****************************** */

  #logo img {
    width: auto; /* Adjust the width as needed */
    max-height: 100px;
    position: relative;
    right: 29px;
}

nav{
    width: 100%;
    height: 100px;
    background-color: #4c6a64;
    display: flex;
    align-items: center;
}
nav ul{
    margin: 0px;
    padding: 0px;
}

nav li{
    list-style: none;
    float: left;
}

nav a{
    display: inline-block;
    text-decoration: none;
    padding: 20px 30px;
    color: #FFF;
    text-transform: uppercase;
    font-size: 15px;
}


.table{
    display: table;
    margin: 0 auto;
}

.menu-ind:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(64, 200, 130, 0.15);
}
.menu-ent:hover{
    border-top:5px solid#D9A066 ;
    background-color:RGBa(241, 211,79, 0.15) ;
}
.menu-presta:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(000, 112, 192, 0.15);
}




.menu-con:hover{
    border-top: 5px solid #D9A066;
    background-color: RGBa(228, 77,38, 0.15);
}

nav li:hover a{
    padding: 15px 30px 20px 30px;
}





/* ***************************BURGER ICON******************************* */




/* ********************************** PAGE D'ACCUEIL************************************ */




.container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Deux colonnes pour la première ligne */
  grid-template-rows: auto auto; /* Deux lignes : une pour la grille principale, une pour le contenu en bas */
  gap: 20px; /* Espace entre les éléments */
  align-items: start;
}

/* Section de droite */
.right {
  grid-column: 2 / 3; /* Colonne 2 */
  grid-row: 1 / 2; /* Ligne 1 */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  line-height: 1.25;
 
}
  
/* Initialement hors de la vue : loin et transparent */
.animate-zoom {
  opacity: 0;
  transform: translateZ(-400px) scale(0.5); /* Éloigné et légèrement réduit */
  transition: opacity 1.2s ease-out, transform 1.2s ease-out; /* Durée et style de l'animation */
  transform-origin: center center; /* Centre de transformation */
}

/* Quand visible : à sa place normale */
.animate-zoom.visible {
  opacity: 1;
  transform: translateZ(0) scale(1); /* Arrive à sa position normale */
}



/* Titres principaux */
.right h1 {
  font-size: 2em;
  color: #D9A066;
  margin-bottom: 20px;
  margin-top: -14px;
  text-align: center;
}

.right h2 {
  font-size: 1.5em;
  color: #424558;
  margin: 20px 0 10px;
  border-bottom: 2px solid #D9A066;
  padding-bottom: 5px;
}

/* Paragraphe */
.right p {
  margin: 10px 0;
  font-size: 1rem;
  color: #424558;
}

/* Listes */
.right ul {
  margin: 10px 0 20px 20px;
  padding: 0;
}

.right ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #424558;
}

.right ul li strong {
  color: #D9A066;
}

/* Texte sous le carrousel */

.text-content {
  grid-column: 1 / 3; /* Occupe les deux colonnes */
  grid-row: 2 / 3; /* Ligne 2 */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* Initial state of the text content */
.slide-in-text {
  opacity: 0;
  transform: translateX(-100%); /* Hors de l'écran à gauche */
  transition: transform 1.5s ease-out, opacity 0.6s ease-out;
}


/* When the element becomes visible */
.slide-in-text.visible {
  opacity: 1;
  transform: translateX(0); /* Revient à sa position normale */
}


.text-content h2 {
  font-size: 1.5em;
  color: #424558;
  margin: 20px 0 10px;
  border-bottom: 2px solid #D9A066;
  padding-bottom: 5px;
}

.text-content ul {
  margin: 10px 0 20px 20px;
  padding: 0;
  list-style: disc;
}

.text-content ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #424558;
}

.text-content ul li strong {
  color: #D9A066;
}


.text-content p {
  font-size: 1rem;
  color: #424558;
  margin: 10px 0;
}
/* Bouton d'appel à l'action */
.cta-button {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 20px;
  background-color: #D9A066;
  color: #FFF;
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #B88050;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}


/* Styles pour le carrousel */
.slideshow-container {
  grid-column: 1 / 2; /* Colonne 1 */
  grid-row: 1 / 2; /* Ligne 1 */
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto
}


/* Images réactives */
.left img {
  max-width: 100%;
  height: auto;
}

.mySlides {
    display: none;
    width: 100%;
    height: auto;
}

.mySlides img{
    width: 100%;
    height: auto;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes slideRightToLeft {
    from { transform: translateX(100%); }
    to { transform: translateX(0%); }
}


/* Styles pour les indicateurs de position */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}

.presentation{
 
  padding: 20px;
}

/* *****************************prestations********************************************* */




/* Initial state of the text content */
.slide-in-text-1{
  opacity: 0;
  transform: translateX(100%); /* Hors de l'écran à gauche */
  transition: transform 1.5s ease-out, opacity 0.6s ease-out;
}


/* When the element becomes visible */
.slide-in-text-1.visible {
  opacity: 1;
  transform: translateX(0); /* Revient à sa position normale */
}


/* Section principale */
.prestations {
  background-color: #f5f5f5;
  padding: 40px 20px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.prestations h2 {
  text-align: center;
  color: #D9A066;
  margin-bottom: 30px;
  font-size: 1.9rem;
}

/* Section générale des services */
.service {
  background: #f9f9f9; /* Couleur d'arrière-plan douce */
  border: 1px solid #e0e0e0; /* Bordure subtile */
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Effet au survol */
.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Titres */
.service h3 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 10px;
}

.service h3 a {
  text-decoration: none;
  color: #000; /* Couleur des liens */
  transition: color 0.2s;
}

.service h3 a:hover {
  color: #003d7a; /* Couleur au survol */
}

/* Paragraphes */
.service p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 10px 0;
}

/* Lien englobant */
.service a {
  text-decoration: none;
}

/* Lignes de séparation */
.service hr {
  border: none;
  height: 1px;
  background-color: #D9A066;
  margin: 15px 0;
}

/* Styles des colonnes */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.column {
  flex: 1 1 calc(33.33% - 10px); /* 3 colonnes par ligne */
  max-width: calc(33.33% - 10px);
  padding: 5px;
  box-sizing: border-box;
}

.column img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile: colonnes empilées */
@media (max-width: 768px) {
  .column {
      flex: 1 1 100%; /* 1 colonne par ligne */
      max-width: 100%;
  }

  .prestations {
      padding: 20px 10px;
  }

  .service {
    padding: 15px;
    margin: 15px 0;
}

.service h2 {
    font-size: 1.3rem;
}

.service p {
    font-size: 0.95rem;
}
}


/* *******************************BOUTON RESPONSIVE MENU**************************** */

#menu-btn {
    display: none;
}

@keyframes topBar_open {
    0% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
    10% {
      transform: translateY(-8px) rotate(0deg);
      width: 60px;
    }
    50% {
      transform: translateY(25px) rotate(45deg);
      width: 84px;
    }
    75% {
      transform: translateY(12px) rotate(45deg);
      width: 84px;
    }
    100% {
      transform: translateY(17px) rotate(45deg);
      width: 84px;
    }
  }
  @keyframes bottomBar_open {
    0% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
    10% {
      transform: translateY(-8px) rotate(0deg);
      width: 60px;
    }
    60% {
      transform: translateY(0px) rotate(-45deg);
      width: 84px;
    }
    75% {
      transform: translateY(-10px) rotate(-45deg);
      width: 84px;
    }
    100% {
      transform: translateY(-8px) rotate(-45deg);
      width: 84px;
    }
  }
  @keyframes menuLabel_open {
    0% {
      transform: translateY(0px);
      opacity: 1;
    }
    25% {
      transform: translateY(-18px);
    }
    45% {
      transform: translateY(44px);
      opacity: 1;
    }
    48% {
      transform: translateY(50px);
      opacity: 0;
    }
    100% {
      transform: translateY(30px);
      opacity: 0;
    }
  }
  @keyframes topBar_close {
    0% {
      transform: translateY(17px) rotate(45deg);
      width: 84px;
    }
    35% {
      transform: translateY(-8px) rotate(-4deg);
      width: 60px;
    }
    53% {
      transform: translateY(10px) rotate(3deg);
      width: 60px;
    }
    70% {
      transform: translateY(-6px) rotate(0deg);
      width: 60px;
    }
    100% {
      transform: translateY(-2px) rotate(0deg);
      width: 60px;
    }
  }
  @keyframes bottomBar_close {
    0% {
      transform: translateY(-8px) rotate(-45deg);
      width: 84px;
    }
    35% {
      transform: translateY(-18px) rotate(6deg);
      width: 60px;
    }
    53% {
      transform: translateY(0px) rotate(-3deg);
      width: 60px;
    }
    68% {
      transform: translateY(-7px) rotate(0deg);
      width: 60px;
    }
    100% {
      transform: translateY(0px) rotate(0deg);
      width: 60px;
    }
  }
  @keyframes menuLabel_close {
    0% {
      transform: translateY(30px);
      opacity: 0;
    }
    5% {
      transform: translateY(25px);
      opacity: 1;
    }
    25% {
      transform: translateY(-30px);
      opacity: 1;
    }
    37% {
      transform: translateY(-22px);
      opacity: 1;
    }
    45% {
      transform: translateY(-22px);
      opacity: 1;
    }
    58% {
      transform: translateY(8px) rotate(-10deg);
      opacity: 1;
    }
    83% {
      transform: translateY(-6px) rotate(0deg);
      opacity: 1;
    }
    100% {
      transform: translateY(0px);
      opacity: 1;
    }
  }
  
  

  #menu-btn:before, #menu-btn:after {
    content: "";
    width: 100%;
    height: 8px;
    background-color: #FFF;
    display: block;
    position: absolute;
    border-radius: 20px;
     z-index: 1001; 
  }
  #menu-btn:before {
    transform-origin: left center;
    
  }
  #menu-btn:after {
    right: 0;
    top: 25px;
    transform-origin: right center;
    
  }
  #menu-btn .text {
    color: #FFF;
    font-family: "Candal", sans-serif;
    display: block;
    position: absolute;
    bottom: 0;
    font-size: 17px;
    letter-spacing: 2.5px;
  }
  #menu-btn:hover {
    cursor: pointer;
  }
  #menu-btn.open:before {
    animation: topBar_open 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.open:after {
    animation: bottomBar_open 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.open .text {
    animation: menuLabel_open 1s ease-in;
    animation-fill-mode: forwards;
  }
  #menu-btn.close:before {
    animation: topBar_close 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.close:after {
    animation: bottomBar_close 1s ease-in-out;
    animation-fill-mode: forwards;
  }
  #menu-btn.close .text {
    animation: menuLabel_close 1s ease-in;
    animation-fill-mode: forwards;}


    #back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 50px;
      height: 50px;
      background-color: #4c6a68;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 24px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  #back-to-top:hover {
      background-color: #D9A066;
      transform: scale(1.1);
  }
  
  #back-to-top i {
      pointer-events: none; /* Désactive les interactions avec l'icône */
  }
  
  /* Afficher le bouton uniquement lorsque l'utilisateur descend */
  #back-to-top.show {
      opacity: 1;
      visibility: visible;
  }
  
  
    @media screen and (max-width:780px) {
      header {
        flex-wrap: nowrap; /* Forcer l'alignement horizontal */
        justify-content: space-around; /* Espaces équilibrés */
        height: auto; min-height: 100px; /* Ajuster la hauteur automatiquement */
        padding: 0;
    }

    .contact-info {
        gap: 10px; /* Réduire l'espacement pour mobile */
        font-size: 14px; /* Taille de texte plus petite */
    }

    .phone-number {
        display: inline; /* Assurez-vous que le numéro s'affiche bien */
        font-size:  12px; 
    }
   

    .request-quote {
        padding: 6px 12px; /* Réduire les marges */
        font-size: 12px;
    }

    .icons-header  {
      font-size: 22px; /* Icônes légèrement plus petites */
      gap: 10px;
     
  }

    .icons-header a {
        font-size: 22px; /* Icônes légèrement plus petites */
        }

       /* body{
            font-size: 13px;
        }*/
        h1 {
            font-size: 28px;
            margin: 20px 0 0;
        }
    
        nav ul{
            display: flex;
            position: absolute;
            left: -100%;
            top: 5%;
            flex-direction: column;
            /* width: 100%; */
             text-align: center;
            transition: 1s ease-in-out; 
            
        }

        .menu-ind:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255, 0.05);
        }
        .menu-ent:hover{
            border-top:5px solid#FFF ;
            background-color:RGBa(255,255,255, 0.05) ;
        }
        .menu-presta:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255, 0.05);
        }
        .menu-con:hover{
            border-top: 5px solid #fff;
            background-color: RGBa(255,255,255,0.05)}
    
        nav li {
            padding: 3px 0;
        }
    
        #menu-btn {
            display: block;
            position: relative;
            margin: 20px auto 0;
            text-align: center;
            width: 60px;
            height: 65px;
            
        }
        

        #navbar.navbar.active {
            
             position: absolute; 
            left: 0;
            margin-top: 35px;
             width: 100%;  
            height: 100%;    
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 1000;
            backdrop-filter: blur(10px);
        }

#logo img {
  max-height: 80px; /* Réduit la taille du logo sur mobile */
}

        .active, .dot:hover {
            background-color: #4c6a68;
            
        }
        
        .container {
          display: flex;
          flex-direction: column; /* Les éléments sont empilés verticalement */
          gap: 20px; /* Espacement vertical entre les éléments */
      }
  
      .slideshow-container,
      .right,
      .text-content {
          width: 100%; /* Chaque élément prend toute la largeur */
      }
  
  
       
   

  .right {
    padding: 15px;
    line-height: 1.7;
}

.right h1 {
    font-size: 1.8em;
}

.right h2 {
    font-size: 1.3em;
}

.right p,
.right ul li {
    font-size: 0.8rem;
}

.text-content {
  padding: 15px;
}

.text-content {
  font-size: 1.8em;
}

.text-content{
  font-size: 1.3em;
}

.text-content p,
.text-content ul li {
  font-size: 0.8rem;
}

.cta-button {
    font-size: 0.9rem;
    padding: 10px 15px;
}

.row {
  max-width: 80%;
  display: flex; /* Active Flexbox */
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
  margin: 0 auto; /* Centre la .row elle-même */
}

.footer-content {
  flex-direction: column; /* Les éléments passent en colonne */
  align-items: center; /* Centre les éléments */
  text-align: center; /* Aligne le texte au centre */
}

.footer-content > div {
  margin-bottom: 20px; /* Ajoute de l'espace entre les blocs */
  width: 100%; /* Les blocs prennent toute la largeur */
}

.footer-icons {
  margin: 10px 0; /* Ajoute de l'espace autour des icônes */
}

.follow-us, .hours, .contact-info-footer {
  margin-bottom: 20px; /* Un peu plus de marge entre les sections */
}

    }



    @media (min-width: 375px) {
      p {
        font-size: 16px  !important; 
        line-height: 1.6  !important;
        margin-bottom: 1rem  !important;
      }

      li {
        font-size: 16px  !important; 
        line-height: 1.6  !important;
        margin-bottom: 1rem  !important;
      }
    }
    
    @media (min-width: 768px) {
      p {
        font-size: 18px; 
        line-height: 1.8;
        margin-bottom: 1rem;
      }
      li {
        font-size: 16px  !important; 
        line-height: 1.6  !important;
        margin-bottom: 1rem  !important;
      }
    }






