body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Header */


.logo {
    
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:center ;
    width: 100vw;
    height: 20vh;
    margin-top: 20px;
}

.titre{
    color: #2c5364;
    font-size: 60px;
    text-shadow:rgb(53, 53, 53) 0px 9px 9px ;
}

.imgLogo {
    width: 300px;
    height: 100px;
}

.nav{
    
    display:flex;
    justify-content:center;
    flex-direction: row;
    align-items: center;
    align-content: center;
    background-color:black;
    width: auto;
    height:30px;
    
    
}

.nav a {
    
    color: white;
    margin-left: 0px;
    text-decoration: none;
    width: 100px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(to right, #0f2027, #2c5364);
    
}

.hero p,
.hero h1,
.hero h2{
    margin-bottom: 15px;
}



.btn {
    padding: 14px 30px;
    background: #a5b105;
    border: none;
    color: white;
    cursor: pointer;
    margin-top: 20px;
}

.btn_devis{
    padding: 14px 30px;
    background: #2c5364;
    transition: 0.3s ease-in-out;
    border: none;
    color:  aqua;
    cursor: pointer;
    margin-top: 20px;
    font-size: 20px;
    border-radius: 15px;
    

}

.btn_devis:hover{
    
    background: #ffa601;
    box-shadow: 0 10px 25px #000000;
    color: rgb(255, 255, 255);
    
    font-size:30px;
}

/* Sections */
.section {
    padding: 80px 20px;
    text-align: center;
    
    
}


/* Cards */
.box {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    
}

.Serv{
    font-size: 30px;
    color: #ffa601;
    text-shadow: #472101 0px 3px 3px;
}



.peint{
    background-image: url(peinture1.jpg);
    background-size: cover;
    background-position: center;
    
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

     transition: transform 0.3s ease, box-shadow 0.3s ease;
    

    
    
    
}







.parq{
    background-image: url(parquet.jpeg);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size:18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}







.carrel{
    background-image: url(sdb.png);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}







.elect{
    background-image: url(electicitée.jpg);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}




.plomb{
    background-image: url(plomberie.jpg);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ff5100;
    text-shadow: rgb(255, 255, 255) -1px -1px 2px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}




.toit{
    background-image: url(Demoussage-Nettoyage-Toiture-.jpg);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}






.vert{
    background-image: url(espace_vert.jpg);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}




.deb{
    background-image: url(debarras.png);
    background-size: cover;
    background-position: center;
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
    cursor: pointer;
    
    font-size: 18px;
    color: #ffffff;
    text-shadow: black 3px 3px 3px;

    
     transition: transform 0.3s ease, box-shadow 0.3s ease;
   
    
}




.peint:hover,
.parq:hover,
.carrel:hover,
.elect:hover,
.plomb:hover,
.toit:hover,
.vert:hover,
.deb:hover{
    transform: scale(1.50) ; 
    z-index: 10;

    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    filter: brightness(1.1);
    font-size: 0px;
}











.card {
    background: rgb(150, 149, 149);
    padding: 30px;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* About */
.section_about {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    background: linear-gradient(to right, #0f2027, #2c5364);
    color: blanchedalmond;
    padding: 50px;
    font-size: 30px;
    text-shadow: black 1px 3px 6px;
    height: 70vh;
}

.a_propos{
color: #ffffff;
}

/* Contact */
.contact {
    display: flex;
    justify-content: center;
    flex-direction: column;

    background-image: url(Logo.png);
    background-repeat: no-repeat;        /* empêche la répétition */
    background-position-x: left -118px;
    background-position-y:-20px;
    

    box-shadow: #636363 0px 7px 9px;
    font-size: 50px;
    color: #c300ff;
    text-shadow: #000000 1px 3px 5px;
    width: 35%;
    margin: auto;
    border-radius: 25px;
    margin-top: 20px;
}

.form {
    display: flex;
    flex-direction: column;
    max-width: 450px;
    margin: auto;
    
    
}

.form input,
.form textarea {
    margin: 12px 0;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #000000;
    color: rgb(255, 255, 255);
    text-align: center;
    align-items: center;
    align-content: center;
    width: 100%;
    height: 60px;
    margin-top: 30px;
    border-radius: 25px 25px 0px 0px;
}


.Ml {
    text-align: center;
    padding: 20px;
    color: #ffa601;
    margin-top: 40px;
}




.cont1{
    color: #a5b105;
    font-size: 40px;
}

.cont2{
    color: bisque;
}
.cont3{
    color: #ffffff;
}

.mecontacter{
    color: aqua;
}


.sous{
    color: #000000;
    font-size: 20px;
}



/* Animations */
.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   RESPONSIVE MOBILE
   ========================= */
@media screen and (max-width: 768px) {

    /* LOGO + TITRE */
    .logo {
        height: auto;
        margin-top: 10px;
    }

    .imgLogo {
        width: 180px;
        height: auto;
    }

    .titre {
        font-size: 32px;
        text-align: center;
    }

    /* NAV */
    .nav {
        flex-wrap: wrap;
        height: auto;
        gap: 10px;
        padding: 10px;
    }

    .nav a {
        width: auto;
        font-size: 14px;
    }

    /* HERO */
    .hero {
        padding: 50px 15px;
    }

    .cont1 {
        font-size: 26px;
    }

    .cont2 {
        font-size: 18px;
    }

    .cont3 {
        font-size: 14px;
    }

    .btn_devis {
        font-size: 16px;
        padding: 12px 20px;
    }

    /* BOX SERVICES */
    .box {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    /* CARDS */
    .peint,
    .parq,
    .carrel,
    .elect,
    .plomb,
    .toit,
    .vert,
    .deb {
        width: 90%;
        font-size: 16px;
    }

    
    .peint:hover,
    .parq:hover,
    .carrel:hover,
    .elect:hover,
    .plomb:hover,
    .toit:hover,
    .vert:hover,
    .deb:hover {
        transform: none;
        font-size: 16px;
        filter: none;
    }

    
    .section_about {
        font-size: 18px;
        padding: 30px 15px;
        height: auto;
    }

    
    .contact {
        width: 90%;
        font-size: 28px;
        background-position: center;
        text-align: center;
    }

    .form {
        max-width: 100%;
        padding: 10px;
    }

    
    .footer {
        font-size: 14px;
        height: auto;
        padding: 10px;
    }
}