/* =====================================================
      YAS CLIM AUTO - STYLE PROFESSIONNEL
      Couleur principale : BLEU NUIT
===================================================== */


/* ================= GENERAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:'Poppins', Arial, sans-serif;
    background:#f5f7fb;
    color:#333;
}


.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}


.section{

    padding:70px 0;

}


h2{

    text-align:center;
    color:#0B1F3A;
    font-size:32px;
    margin-bottom:20px;

}


h3{

    color:#0B1F3A;

}


.subtitle{

    text-align:center;
    color:#666;
    margin-bottom:40px;

}


/* =====================================================
                    HEADER
===================================================== */


header{

    background:#0B1F3A;
    padding:20px 0;
    box-shadow:0 3px 15px rgba(0,0,0,.2);

}


.logo{

    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
}


.logo img{

    width:90px;
    height:90px;
    object-fit:contain;

}


.logo h1{

    color:white;
    font-size:32px;

}


.logo p{

    color:#ddd;
}



nav{

    margin-top:25px;

}


nav ul{

    display:flex;
    justify-content:center;
    gap:30px;
    list-style:none;
    flex-wrap:wrap;

}


nav ul li a{

    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;

}


nav ul li a:hover{

    color:#7dc8ff;

}



/* =====================================================
                    BANNIERE
===================================================== */


.hero{

    height:600px;
    position:relative;
    overflow:hidden;

}


.hero img{

    width:100%;
    height:100%;
    object-fit:cover;

}


.overlay{

    position:absolute;
    width:100%;
    height:100%;
    background:rgba(11,31,58,.75);

}



.hero-content{

    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
    width:90%;

}



.hero-content h2{

    color:white;
    font-size:45px;

}


.hero-content p{

    font-size:20px;
    margin:20px 0;

}



.btn{

    display:inline-block;
    padding:15px 35px;
    background:white;
    color:#0B1F3A;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;

}


.btn:hover{

    background:#7dc8ff;

}



/* =====================================================
                    A PROPOS
===================================================== */


.about{

    display:flex;
    align-items:center;
    gap:40px;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);

}


.about-text{

    flex:1;

}


.about-text p{

    margin-bottom:20px;
    text-align:justify;

}


.about-image{

    flex:1;

}


.about-image img{

    width:100%;
    border-radius:15px;

}



/* =====================================================
                    FORMULAIRE DEVIS
===================================================== */


.devis-section{

    background:#eef3f8;

}


.devis{

    background:white;
    padding:40px;
    max-width:750px;
    margin:auto;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.1);

}



.devis input,
.devis select,
.devis textarea{


    width:100%;
    padding:15px;
    margin-bottom:20px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:15px;

}



.devis textarea{

    resize:none;

}



.devis button{

    width:100%;
    background:#0B1F3A;
    color:white;
    padding:15px;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;

}


.devis button:hover{

    background:#163b68;

}



/* =====================================================
                    SERVICES
===================================================== */


.cards{


    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;


}



.card{


    background:white;
    border-radius:15px;
    overflow:hidden;
    text-align:center;
    box-shadow:0 5px 20px rgba(0,0,0,.1);
    transition:.3s;


}


.card:hover{

    transform:translateY(-10px);

}



.card img{

    width:100%;
    height:200px;
    object-fit:cover;

}



.card h3{

    margin:20px 0 10px;

}



.card p{

    padding:0 20px 25px;

}



/* =====================================================
                    GALERIE
===================================================== */


.gallery{


    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;


}


.gallery img{

    width:100%;
    height:250px;
    object-fit:cover;
    border-radius:12px;
    transition:.3s;

}


.gallery img:hover{

    transform:scale(1.05);

}




/* =====================================================
                    AVIS CLIENTS
===================================================== */


.avis{


    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;


}



.commentaire{


    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.1);

}



.etoiles{

    font-size:25px;
    margin-bottom:15px;

}



.commentaire h4{

    color:#0B1F3A;
    margin-top:15px;

}



/* =====================================================
                    CONTACT
===================================================== */


.contact-box{


    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;


}



.contact-box div{


    background:white;
    padding:30px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    border-top:5px solid #0B1F3A;


}




/* =====================================================
                    FOOTER
===================================================== */


footer{


    background:#0B1F3A;
    padding:25px;
    text-align:center;


}


footer p{

    color:white;

}



/* =====================================================
                    WHATSAPP
===================================================== */


.whatsapp{


    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999;
    box-shadow:0 5px 15px rgba(0,0,0,.3);


}



.whatsapp img{


    width:40px;


}




/* =====================================================
                    MOBILE
===================================================== */


@media(max-width:768px){


.logo{

    flex-direction:column;

}


.hero-content h2{

    font-size:30px;

}


.about{

    flex-direction:column;

}


nav ul{

    flex-direction:column;
    align-items:center;

}


}
/* ==========================
   Bouton WhatsApp
========================== */
.whatsapp{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    transition: 0.3s;
    z-index: 9999;
}

.whatsapp:hover{
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,.4);
}

.whatsapp img{
    width: 38px;
    height: 38px;
}
.hero{
    height:600px;
    background-image:url("../images/banniere.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
}
    height:600px;
    background-color:red;
    background-image:url("../images/banniere.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
/* ================= COULEURS ================= */

body{
    margin:0;
    font-family:'Poppins',sans-serif;
    background:#f5f7fa;
    color:#222;
}

.section{
    padding:80px 20px;
    text-align:center;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ================= TITRES ================= */

h1,h2,h3{
    color:#0A2E5D;
    text-align:center;
}

.subtitle{
    text-align:center;
    color:#555;
    margin-bottom:40px;
}

/* ================= BOUTONS ================= */

.btn{
    display:inline-block;
    background:#0A2E5D;
    color:#fff;
    padding:15px 35px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
    margin-top:20px;
}

.btn:hover{
    background:#144a8a;
}

/* ================= CARTES ================= */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:40px;
}

.card{
    background:#fff;
    border:2px solid #0A2E5D;
    border-radius:12px;
    padding:20px;
    text-align:center;
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
}

.card h3{
    color:#0A2E5D;
    margin-top:15px;
}

.card p{
    line-height:1.7;
}

/* ================= A PROPOS ================= */

.about{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    align-items:center;
}

.about img{
    width:100%;
    border-radius:12px;
}

.about-text{
    text-align:left;
    line-height:1.8;
}

/* ================= GALERIE ================= */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
}

/* ================= CONTACT ================= */

.contact-box{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:40px;
}

.contact-box div{
    background:#fff;
    border:2px solid #0A2E5D;
    border-radius:10px;
    padding:25px;
}

/* ================= FOOTER ================= */

footer{
    background:#0A2E5D;
    color:white;
    text-align:center;
    padding:25px;
}