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******************************* */
/* *******************************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;}



  
    @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);
        }

        .active, .dot:hover {
            background-color: #4c6a68;
            
        }

        #logo img {
          max-height: 80px; /* Réduit la taille du logo sur mobile */
      }

      #section-neuf{
        padding: 20px !important;
        
}
  
#section-renovation{
  padding: 20px !important;
}
      .section-images {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 16px; /* Conservez l'espacement si nécessaire */
        max-width: 100%; /* Ajustez pour s'adapter à l'écran */
        padding: 10px; /* Ajoutez du padding pour plus d'espace */
        
    }

    .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;
    }
  }



/* **********************************PRESTATIONS******************************************* */
.appel-action {
  text-align: center; /* Centrer le contenu */
  margin: 20px 0;
  font-size: 1.1rem; /* Taille du texte légèrement augmentée */
  color: #333; /* Couleur principale du texte */
}

.appel-action strong {
  font-weight: bold;
  color: #000; /* Met en évidence le texte important */
}

.appel-action a {
  color: #4c6a64; /* Bleu pour les liens */
  text-decoration: none; /* Pas de soulignement */
  font-weight: bold;
  transition: color 0.2s ease;
}

.appel-action a:hover {
  color: #0056b3; /* Couleur légèrement plus sombre au survol */
}

.appel-action a[href^="tel:"] {
  color: #4c6a64; /* Vert pour le lien téléphonique */
  font-weight: bold;
}

.appel-action a[href^="tel:"]:hover {
  color: #218838; /* Vert plus sombre au survol */
}





                                  /* Style pour la section "Neuf" */



#section-neuf {
    background-color: #fff;
    padding: 50px;
}


/* 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 */
}

.prestations h1 {
  font-size: 2em;
  color: #D9A066;
  margin-bottom: 20px;
  text-align: center;
}

#section-neuf h2 {
  font-size: 1.5em;
  color: #424558;
  margin: 20px 0 10px;
  border-bottom: 2px solid #D9A066;
  padding-bottom: 5px;
}

 ul {
  margin: 10px 0 20px 20px;
  padding: 0;
}

 ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #424558;
}

 ul li strong {
  color: #D9A066;
}

#section-neuf p{
margin: 10px 0;
font-size: 1rem;
color: #424558;}


                               /* Style pour la section "Rénovation" */


#section-renovation {
    background-color: #eaeaea;
    padding: 50px;
}

/* 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-renovation h2 {
  font-size: 1.5em;
  color: #424558;
  margin: 20px 0 10px;
  border-bottom: 2px solid #D9A066;
  padding-bottom: 5px;
}

#section-renovation p {
  margin: 10px 0;
  font-size: 1rem;
  color: #424558;}
  
.appel-action {
  text-decoration: none;
}

/* Style pour les images */

.section-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colonnes */
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-images img {
  width: 100%; /* Images s'adaptent à leur cellule */
  aspect-ratio: 4 / 3; /* Ratio uniforme pour toutes les images */
  object-fit: cover; /* Remplit l'espace sans déformer l'image */
  border: 1px solid #ddd; /* Optionnel */
  border-radius: 4px; /* Coins arrondis (optionnel) */
}

     
    


.section-images img:hover {
    transform: scale(1.15);
    transition: 0.3s ease-in-out;
    cursor: zoom-in;
}

/************************************* Style for the modal *********************************/
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 3000;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Modern transition effect */
}


#imageModal {
  opacity: 0;
  transition: opacity 0.5s ease-in-out, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1); /* Smooth transition for opacity */
}

#imageModal.modal-show {
  opacity: 1;
}

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #000000;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}


.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 30px;
  cursor: pointer;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 16px;
  border: none;
  outline: none;
  transition: opacity 0.3s ease-in-out;
}
.prev:hover, .next:hover {
  opacity: 1;
}
.prev {
  left: 10px;
}

.next {
  right: 10px;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
background:#4c6a64;
  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;
}