@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');


* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins';
    overflow-x: hidden;
    /* min-height: 100vh; */
    background-color: #dddddd;
    margin: 0;
    height: 100vh;
    padding: 0;
    
}


#header {
    position: fixed;
    width: 100%;
    height: 110px;
    line-height: 110px;
    z-index: 100;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: 0.6s;
    }
.background-color {
    background-color: rgb(255, 255, 255);
}

#header-contact {
    position: fixed;
    width: 100%;
    height: 110px;
    line-height: 110px;
    z-index: 100;
    align-items: center;
    display: flex;
    justify-content: center;
    transition: 0.6s;
    background-color: rgb(255, 255, 255);
}


.logo {
    width: 150px;
    margin: 5px;
    left: 20%;
    position: fixed;
    
}

#logo-responsive {
    display: none;
    margin-bottom: 45%;
}


.nav-links {
    margin-left: 150px;
}

.navbar .nav-links ul {
    display: flex;
    margin-left: 20rem;
    justify-content: space-around;
    align-items: center;
    min-width: 600px;

  }
  .navbar .nav-links ul li a {
    position: relative;
    color: rgb(124, 124, 124);
    font-weight: 600;
    font-size: 18px;
    padding:  0px 3px;
    transition: .1s linear;
  }

  .navbar .nav-links ul li .active {
    color: black;
    border-bottom: 4px solid #0050ef;
    width: 100%;
    /* border-radius: 1px; */
  }

  .navbar .nav-links ul li a:hover {
    color: black;
    border-bottom: 4px solid #0050ef;
  }

/* Navbar mobile */

.mobile_navbar {
    width: 100%;
    display: none;
    background: rgba(255, 255, 255, 0.800);
    position: fixed;
    z-index: 200;
    height: 10%;
    top: 0;
    padding: 5px;
}

.menu-phone {
    display: none;
	justify-content: flex-end; /* Aligne les images à droite */
    align-items: center; /* Aligne les images verticalement au centre */
    width: 100%;
}

.phone, .menu {
    object-fit: contain; /* Assure que l'image conserve ses proportions */
    max-width: 100%; /* Empêche l'image de dépasser la largeur du conteneur */
    height: auto; /* Ajuste la hauteur proportionnellement */
  	width: 30px;
}

.navbar-mobile {
    display: none;
}

.number-phone {
    display: none;
}

/* Page de garde */

.page {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    overflow-y: hidden;
}

.title {
    position: absolute;
    background-color: #dddddd50;
    width: 100%;
    height: 100%;
    /* top: 320px; */
    
}
.title h1 {
    color: #323946;
    font-weight: 400;
    text-align: center;
    margin-top: 50vh;
    transform: translateY(-60%);
    font-size: 55px;
    font-family: 'Anton';
}
.titleResponsive {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    margin-top: -150px;
}

.titleResponsive h1 {
    color: #323946;
    font-weight: 400;
    text-align: center;
    font-size: 35px;
    font-family: 'Anton';
    display: none;
    padding-bottom: 40px;
}

.title h1 span {
    color: #0050ef
}

.titleResponsive h1 span {
    color: #0050ef
}

.btn1 {
    position: relative;
    background: none;
    border: none;
    display: none;
    text-decoration: none;
    z-index: 100;
}

.btn1 a {
    background-color: #0050ef;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    transition: all .2s ease-in-out;
}

.btn1 a:hover {
    color: #0050ef;
    border-color: #0050ef;
    background-color: white;
}

.logo-milieu {
    position: relative;
    font-size: 2rem;
    font-weight: 500;
    color: #d8d8d8;
    margin-bottom: 20px;
    /* font-family: 'primetime'; */
    
    
}


.froidetclim {
    position: relative;
    font-size: 3rem;
    font-weight: 600;
    color: white;
}



#mountains-bottom {
    position: absolute;
    width: 100%;
    z-index: 20;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
}

#mountains-top {
    position: absolute;
    width: 100%;
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
    z-index: -1;
    
}
/* Menu service */
.sec {
    position: relative;
    background: #323946;
    padding: 100px 100px;
    height: 100vh;
}

.services {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    padding: 20px;
    grid-gap: 50px;
}

.card {
    position: relative;
    background-color: rgba(255, 255, 255, 0.103);
    height: 100%;
    cursor: pointer;
    text-align: center;
    padding: 3rem 2rem 4rem;
    transition: transform 0.5s;
    transition: 0.1s;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
}
.card a {
    display: block;
    height: 100%;
}

.froid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/chambre-froide.jpg');
    background-size: cover;
    background-position: 55% 50%;
    opacity: 0.1;
    filter: blur(5px);
    transition: 0.5s;
    z-index: -1; /* pour mettre le pseudo-élément en arrière-plan */
}

.clim::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/clim.jpg');
    background-size: cover;
    background-position: 5% 50%;
    opacity: 0.1;
    filter: blur(5px);
    transition: 0.5s;
    z-index: -1; /* pour mettre le pseudo-élément en arrière-plan */
}
.pump::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/piscine.jpg');
    background-size: cover;
    background-position: 50% 50%;
    opacity: 0.1;
    filter: blur(5px);
    transition: 0.5s;
    z-index: -1; /* pour mettre le pseudo-élément en arrière-plan */
}

.cuisine::before  {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/Images/CuisinePro.jpeg');
    background-size: cover;
    background-position: 70% 50%;
    opacity: 0.1;
    filter: blur(5px);
    transition: 0.5s;
    z-index: -1; 
}

.froid:hover::before, .clim:hover::before, .pump:hover::before, .cuisine:hover::before {
    opacity: 1;
    filter: blur(0px);
    transform: scale(1.1);
    z-index: 1;
}
.card:hover {
    border: 1px solid #0050ef;
}

.card img {
    width: 25%;
    overflow: hidden;
}

.card h2 {
    font-size: 1.5rem;
    margin: 2rem 0 2rem 0;
    color: white;
}


.card p {
    color: rgb(179, 179, 179);
}


.nos-services {
    color: white;
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 50px;
    text-align: center;
}
.nos-services span {
    color: #0050ef;
}


.btn {
    position: relative;
    background: none;
    top: 50px;
    margin-left: 19px;
    text-decoration: none;
    border: none;
    margin-bottom: 50px;
    
 
}

.btn a {
    border: 2px solid white;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    transition: all .2s ease-in-out;
}

.btn a:hover {
    transform: scale(1.1);
    color: #0050ef;
    border-color: #0050ef;
}


/* section a propos */

.qui {
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem; */
    position: relative;
    background: #1f242d;
    padding: 100px 100px;
    height: 100vh;
    margin: auto;
   
}
.qui-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
    padding: 20px;
    grid-gap: 50px;
    margin-left: 5rem;
}

.apropos {
    width: 35vw;
    margin-top: 6rem;
}

.apropos h1{
    color: white;
    font-size: 50px;
    font-weight: 600;
    font-family: 'poppins';
}

.apropos h1 span {
    color: #0050ef;
}

.apropos p {
    color: rgb(179, 179, 179);
    margin-top: 2rem;
}


.miniature {
    margin-top: 6rem;
    font-size: 25px;
    font-weight: 600;
    padding: 4rem;
}


.miniature ul li{
    color: white;
    margin-top: 2rem;
    display: block;
    width: fit-content;
    padding: 0.5rem 1rem;
}

/* section Contact */

.contact {
    position: relative;
    background: #323946;
    padding: 50px 100px;
    height: 100vh;
    margin: auto;
    
}

.contact h1 {
    text-align: center;
    width: 100%;
    position: absolute;
    margin-top: 100px;
    left: 0;
    color: white;
    font-size: 50px;
    font-weight: 600;
}

.contact h1 span {
    color: #0050ef;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
    padding: 20px;
    grid-gap: 50px;
    margin-top: 50px;
}


.contact form {
    max-width: 40rem;
    margin-bottom: 3rem;
    margin-top: 10rem;
    
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.2rem;
    color: white;
    background: #1f242d;
    border-radius: 0.5rem;
    margin: 0.7rem 0;
    border: none;
}

.contact form textarea {
    resize: none;
    width: 100%;
}

.contact .btn-contact {
    position: relative;
    background: none;
    border: 2px solid #0288D1;
    border-radius: 0.5rem;
    padding: 10px 30px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    color: #0288D1;
    left: 0;
    margin-top: 0.5rem;
    text-align: left;
    float: left;
    
}

.box_valider {
    display: flex;
    align-items: center; /* Centrage vertical */
}

.request_message {
    margin-left: 10px;
}
    
.contact .btn-contact:hover {
    transform: scale(0.95);
    border-color: white;
    color: white;
    
        
}

.contact-tel {
    position: relative;
    color: white;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.contact-tel img {
    width: 50px; /* Taille fixe pour les images */
    height: 50px; /* Assurez-vous que la hauteur est également définie pour garder les images de même taille */
    max-width: 100%; /* S'assure que les images ne débordent pas dans les conteneurs plus petits */
    margin-right: 10px; /* Ajoute un espace entre l'image et le texte */
}

.tel, .mail {
    display: flex;
    align-items: center;
    width: 100%; /* Assurez-vous que ces div prennent toute la largeur disponible */
    margin-bottom: 10px; /* Optionnel, pour espacer les éléments verticalement */
    padding: 20px;
    padding-left: 200px;
}
.contact-tel p {
    font-size: 20px;
}

.contact-tel-responsive {
    display: none;
}

.footer {
    color: white;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    padding: 2rem 9%;
    background: #1f242d;
    align-content: center;
}
.footerNavbar {
    width: 100%;
    height: 110px;
    line-height: 110px;
    z-index: 100;
    align-items: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.logoFooter {
    width: 150px;
}

.footerNavLinks ul {
    display: flex;
    margin-left: 20rem;
    justify-content: space-around;
    align-items: center;
}

.footerNavLinks ul li {
    padding: 20px;
}

.footerNavLinks ul li a {
    position: relative;
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding:  0px 3px;
}

/*page froid - clim - piscine - cuisine */

.box-froid  {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px,1fr));
    grid-gap: 50px;
    background: #323946;
    height: 100vh;
    padding: 50px;
    align-content: center;
    align-items: start; /* Alignement en haut */
}

.box-froid img {
    width: 100%;
    border: 1px solid #0050ef;
    border-radius: 10px;
}

.text-froid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    height: 100%;
}

.text-froid p {
    color: white;
    flex-grow: 1;
    margin-bottom: 50px; /* Espace entre le paragraphe et le bouton */
    
}

.text-froid h2 {
    margin-bottom: 10px;
    color: white;
    font-size: 33px;
}

.btn-froid {
    background: none;
    border: none;
    margin-top: auto; /* Assure que le bouton se place en bas */
    align-self: flex-start; /* Place le bouton en bas à droite */

    
}

.btn-froid a {
    border: 2px solid white;
    border-radius: 5px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    color: white;
    padding: 10px 20px;
    transition: all .2s ease-in-out;
}

.btn-froid a:hover {
    transform: scale(1.1);
    color: #0050ef;
    border-color: #0050ef;
}


@media screen and (max-width: 1024px) {
    /* Réglages généraux */
    body {
    font-size: 16px; 
    padding: 0;   
    overflow-x: hidden;
 }

    /* Header */
    #header {
        height: auto;
        padding: 15px;
        display: none;
        justify-content: space-between;
        align-items: center;
    }

    #header-contact {
        display: none;
    }
    .logo {
        width: 120px;
        display: none;
    }

    .menu-phone {
        display: flex;
    }

    .mobile_navbar {
        display: flex;
        justify-content: space-between;
    }
    
    /* Menu hamburger */


    .mobile-menu {
        position: absolute;
        display: flex;
        flex-direction: column;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.800);
        backdrop-filter: blur(7px);
        padding: 10px;
        /* text-align: center; */
        z-index: 200;
    }
    .logoFooter {
        display: none;
    }
    .footerNavbar {
        width: 100%;
        /* height: 100%; */
        line-height: 100%;
        z-index: 100;
        align-items: center;
        justify-content: center;
        /* margin-bottom: 20px; */
    }

    .footerNavLinks ul {
        margin-left: 0;
        /* justify-content: space-around; */
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .footerNavLinks ul li {
        padding: 10px;
    }

    .navbar-mobile ul {
        padding-top: 0;
    }

    .navbar-mobile ul li {
        margin: 10px 0;
        text-decoration: none;
    }

    .navbar-mobile ul li a {
        font-size: 18px;
        color: #1f242d;
    }

    /* Menu phone*/

    .phone-menu {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px;
        background-color: rgba(255, 255, 255, 0.800);
        backdrop-filter: blur(7px);
        z-index: 100;
    }

    .phone-menu p {
        font-size: 18px;
        color: black;
        right: 0;
    }



    /* Page de garde */
    .page {
        height: 80vh;
        padding-top: 110px; /* Pour compenser la hauteur du header */
    }

    .txt_container_responsive {
        display: flex;
    }

    .title {
        display: none;
    }
    .title h1{
        display: none;
    
    }
    .titleResponsive h1 {
        display: block;
    }

    .btn1 {
        display: block;
    }

    #mountains-bottom {
        bottom: 0;
        width: 150%;
        
    }
    #mountains-top {
        bottom: 0;
        width: 150%;
        z-index: 0;
        
       
    }

    #milieu {
        display: none;
    }

    #logo-responsive {
        display: flex;
        width: 70%;
        position: absolute;
        position: fixed;
        }

    /* Sections */
    .sec {
        padding: 50px 20px;
        height: auto;
    }

    .btn {
        margin-bottom: 60px;
        margin-top: 0;
        text-decoration: none;
    }

    .btn a {
        text-decoration: none;
        color: white;
    }

    .services {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 50px;
    }

    .card {
        padding: 30px;
    }

    .nos-services {
        font-size: 40px;
        margin-bottom: 30px;
    }

    /*Contact*/

    .contact {
        position: relative;
        background: #323946;
        padding: 10px 10px;
        height: auto;
        margin: auto;
    }

    .contact h1 {
        font-size: 30px;
        position: relative;
    }

    .contact-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 0px;
        margin-top: 0;
    }

    .contact form {
        margin-top : 3.5rem;
    }

    .tel, .mail {
        padding-left: 0px;
    }
    

    /* A propos */

    .qui {
        padding: 50px 20px;
        height: auto;
    }

    .qui-container {
        display: block;
        grid-gap: 50px;
        margin-left: 0;
        align-items: center;
    }

    .apropos {
        width: 100%;
        margin-top: 0;
    }

    .apropos h1 {
        font-size: 30px;
    }

    .miniature {
        padding: 0;
        margin-top: 0;
    }

    .miniature ul li {
        font-size: 18px;
        margin-right: 0;
    }

    .box-froid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        grid-gap: 50px;
        height: auto;
        padding-top: 100px;
        padding-left: 30px;
        padding-right: 30px;
        

    }

   
    /* Footer */
    .footer {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
}


 