body{
    background-image: linear-gradient(0deg, #fcf836 0%, #faee83 35%, #fbfced 100%);
}

/* Style de la barre de navigation */
header {
    display: flex;
    background-color: #333;
    padding: 5px 0;    
}
nav {
    max-width: 100%;   
    
}

.devis {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}

.devis i {
    font-size: 25px;
    color: #e2fa0a;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.devis i:hover {
    transform: scale(1.2);
    color: #c9e406;
}
.home:hover {
    transform: scale(1.2);
    color: #c9e406;
    transition: transform 0.3s ease, color 0.3s ease;
}

.form {
    background-color: #333;
    padding: 8px 12px;
    color: #ebfc07;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.form a {
    text-decoration: none;
    color: #e2fa0a;
}

.form:hover {
    background-color: #555;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .devis {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
}

/*************** menu de navigation gauche***************/
/* Styles de base du header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    padding: 10px 20px;
    box-sizing: border-box;
    z-index: 1000;
}

/* Menu hamburger */
.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    margin-top: 0.7rem;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: #f9fd07; 
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu-icon:hover {
    background-color: #555;
    transform: scale(1.1);
}

/* Styles du menu principal */
.menu {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    transition: left 0.3s ease;
    z-index: 999;
}

/* Menu UL */
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Liens du menu */
.menu ul li {
    padding: 15px;
    border-bottom: 1px solid #444;
}

.menu ul li a {
    color: #ebfc07;
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu ul li a:hover {
    background-color: #555;
    transform: scale(1.1);
}

/* Menu actif (quand il est ouvert) */
.menu.active {
    left: 0;
}

/* Navbar menu */
ul .devis a:hover {
    background-color: #555;
    border-radius: 5px;
}

.devis li a{
    color: #ebfc07;
    justify-items: end;
    list-style: none;
    text-decoration: none;
    margin-left: 80rem;
}

/* Mobile responsive (Menu hamburger) */
@media (max-width: 768px) {
    .menu {
        left: -250px; /* Cache le menu initialement */
    }

    .menu.active {
        left: 0; /* Lorsque le menu est actif, on le rend visible */
    }

    /* Menu hamburger */
    .menu-icon {
        display: flex;
        align-items: center;
        z-index: 1001;
    }

    /* Menu mobile */
    .menu ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .menu ul li {
        width: 100%;
        text-align: center;
    }

    .menu ul li a {
        padding: 15px;
        font-size: 1.2rem;
    }

    /* Rendre les liens plus accessibles */
    .menu ul li a:hover {
        background-color: #555;
        transform: scale(1.1);
    }
}

.menu {
    position: fixed;
    top: 60px;
    left: -250px;
    width: 250px;
    height: calc(100vh - 60px); /* Hauteur de l'écran moins celle du header */
    background-color: #333;
    transition: left 0.3s ease;
    z-index: 999;

    overflow-y: auto; /* Permet le scroll vertical */
    -webkit-overflow-scrolling: touch; /* Scroll fluide sur iOS */
}
/*******logo haut de page********/
.hero{
    height: 25rem;
    margin-top: 3rem;
}
.hero img{
    width: 40rem;
    height: 30rem;
    display: flex;
    justify-content: center; /* Horizontal centering */
    align-items: center;     /* Vertical centering */
    margin: auto;
}
.bandeau img{
    max-width: 90%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: auto;
}




@media screen and (max-width: 500px){
    .hero img{
        width: 20rem;
        height: auto;
     }
     .hero{
        height: 8%;
        margin-top: 8%;
    }
    .bandeau img{
        max-width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        margin: auto;
    }}

    

    

/******footer*********/
footer{
    background-color: #181818;
    color: azure;   
}
.footer{
    display: flex;
    justify-content: center;
    max-width: 100%;
}
.footer-bottom{
    background-color: #1f1f1f ;
    height: 50px;
    text-align: center;  
}
.footer i{
    font-size: 3.5rem;
    color: red;
}

footer ul li a{
    display: block;
    color: aliceblue;
    font-size: 1.2rem;
    padding: 5px 0px;
    list-style-type: none;
}
.footer img {
    position: relative;
    margin-top: 2rem;
    margin-left: auto; /* Centre l'image horizontalement */
    margin-right: auto; /* Centre l'image horizontalement */
    width: 30%; 
    height: 8%;
    border: 2px solid rgba(246, 246, 8, 0.8);
    border-radius: 3%;
    display: block; /* Assurez-vous que l'image est un élément de bloc pour que le centrage fonctionne */
}

   .social-icon ul {
    display: flex;
    height: 3.75rem;
    list-style-type: none;
    gap: 3rem; /* Ajoute de l'espace entre les icônes (ajustez la valeur selon vos besoins) */
}

.social-icon ul svg {
    width: 3rem; /* Taille des icônes SVG */
    height: 3rem; /* Taille des icônes SVG */
    background-color: #343a40; /* Couleur de fond des icônes */
    padding: 10px;
    border-radius: 25%; /* Rendre les icônes rondes */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer-social-icon {
    margin: 10px 0;
}

.social-icon ul svg:hover {
    background-color: #d5ec06; /* Changement de couleur au survol */
    transform: scale(1.1); /* Agrandissement des icônes au survol */
}


.text{
    padding-top: 2.5rem;
    display: block;
    font-size:1rem ;
    justify-items: center;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    font-style: normal;  
}

@media screen and (max-width: 1200px){
    .menu-lists-item h5{
        font-size: 1.2rem;
     }
     .ul li a{
        font-size: 1rem;
     }}

@media screen and (min-width : 953px){
    .footer-menu-lists .footer-social-icon{
        flex-direction: column;
        padding: 0;
    }
    .menu-lists-item{
        width: 100%;
    }
    .social-icon ul{
        justify-content: center;
        
    }

  
}

.footer-bottom{
    width: 100%;
    height: auto;   
}

    .menu-items {
        list-style: none;
        padding: 0;
        margin: auto;
        display: flex;
        justify-content: center;  
    }
    
    .menu-footer ul li a {
        color: #fff;
        text-decoration: none;
        padding: 10px 20px;  
        margin-left: 5rem;
    }
    @media (max-width: 1000px) {
            .menu-footer ul li a {
            display: none;
        }
      
    }

/******** texte***********/
.texte{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.2rem;
    margin: 0 5rem 0 5rem ;
    text-align: justify;
    padding: 0 10rem 0 10rem;
    margin-bottom: 4rem;

}

@media (max-width: 1300px) {
    .texte{
        flex-direction: column;
        margin: 0;
        padding: 0px;
        width: 95%;
    }
}
h1{
    font-size: 4rem;
    font-family: "Abril Fatface", serif;
    font-weight: 400;
    font-style: normal;
    color: #fffb07;
    text-shadow: #555 2px 2px;
    /* Centrage du texte */
    text-align: center;  /* Centre le texte horizontalement */
    margin: 0 auto;      /* Si nécessaire, utilise cette ligne pour centrer un bloc avec largeur définie */
    
}
.title{
    margin-top: 4rem;
      font-size: 1.5rem;
      display: flex;
      position: relative;
      justify-content: center;
      padding-top: 0.5rem;
      margin-bottom: 1rem;
      color: #fffb07;
      text-shadow: #555 2px 2px;
  
  }


}
/* Style du bouton */
#btnTop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    
    /*background-color: #64686b;*/
    background-image: url(/images/logo/fibre\ bois.jpg);
    color: rgb(46, 15, 15);
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.3s;
  }

  .fa-solid fa-circle-up{
    width: 2rem;
    height: auto;
  }



  /* Effet au survol */
  #btnTop:hover {
    background-color: #363a3f;
    transform: scale(1.1);
  }
  



   