body {
    font-family: "Lato", sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

h1 {
    font-family: "Arial", sans-serif;
    font-size: 2em;
    font-weight: 500;
    color: #2e26f3;
    margin-top: 200px;
    margin-bottom: 100px;
    font-weight: bold;
}

.galerie {
    display: flex;
    grid-template-columns: 1fr 1fr;
    grid-gap: 26px;
    padding: 10px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}

.galerie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    width: 400px;
    height: 400px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.realisation-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh;
}

.modal_container {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2000;
}

.modal_container.show {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.piscineopen {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.titleclose {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.modal h1 {
    text-align: center;
    color: #2e26f3;
    font-weight: bold;
    margin: 0;

}

* {
    box-sizing: border-box;
}

.piscineopen1 {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

.piscineopen2 {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
}

button {
    border: none;
    background-color: white;
    cursor: pointer;
    margin-bottom: 20px;
}

.close {
    padding: 10px 20px;
    background-color: #2d26f338;
    color: #2e26f3;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    margin-top: 10px;

}

.close:hover {
    background-color: #1f1abf;
    color: #ffffff;
}


.titleclose {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 200px;

}

.menu-hamburger {
    display: none;
    cursor: pointer;
    height: auto;
    margin-left: auto;
    height: 40px;
}







/* nav bar */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: white;
    transition: background-color 0.3s;
    z-index: 1000;
    color: black;
}

.logonavbarblanc {
    width: 150px;
    height: auto;

}

.logonavbarbleu {
    display: none;
    width: 150px;
    height: auto;

}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar a {
    padding: 15px 25px;
    margin: 15px;
    text-decoration: none;
    color: black;
    transition: color 0.4s ease-in-out;
}

.navbar-content {
    display: grid;
    align-content: center;
    vertical-align: middle;

}

.navbar-logo {
    margin: 0;

}

nav.scrolled {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .logonavbarbleuavant {
    display: none;
}

#navbar.scrolled .logonavbarbleuapres {
    display: inline
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 200px;
}


nav ul li {
    margin: 0px;
}

nav ul li a {
    padding: 8px 12px;
    text-decoration: none;
    color: black;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    margin: 0px;
}

#navbar {
    transition: background-color 0.3s, color 0.3s;
    background-position: center;
    box-shadow: 0 2px 5px rgba(153, 147, 147, 0.1);

}

#navbar a {
    padding: 15px 25px;
    margin: 15px;
    text-decoration: none;
    color: black;
    transition: color 0.4s ease-in-out;
}

.nav-links li.active a {
    font-weight: bold;
}


/* Styles après le scroll */
#navbar.scrolled {
    background-color: white;
    color: black;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    background-position: center;
}

#navbar.scrolled a {
    color: black;
}

.logonavbarbleuavant {
    width: 150px;
    height: auto;

}

.logonavbarbleuapres {
    display: none;
    width: 150px;
    height: auto;

}

#footer {
    background-color: #1b1698;
    color: white;
    margin-top: 200px;
    padding-top: 30px;
    padding-bottom: 50px;
    width: 100%;
    min-height: 30%;
    display: flex;
    justify-content: space-between;
}

.logo-footer {
    height: 60px;
    margin-left: auto;
}

#footer h1 {
    font-family: "Arial", sans-serif;
    font-size: 25px;
    font-weight: 500;
    margin-top: 20px;
    color: white;
    font-weight: bold;
    text-align: left;
    margin-bottom: 20px;
}

footer ul {
    list-style-type: none;
    text-align: justify;
    margin: 0;
    padding: 0;
    gap: 7px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

footer li {
    gap: 20px;
}


.footer-links p {
    font-size: 16px;
    font-weight: bold;
}

.footer-links-container {
    text-align: justify;
    display: flex;
    justify-content: space-between;
    flex-direction: column
}

@media screen and (max-width: 1100px) {
    .realisation-page h1 {
        font-size: 70px;
        margin-top: 200px;
    }

    .realisation-page {
        height: auto;
    }


    #footer {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
        padding-right: 30px;
        min-height: 350px;
    }

    .footer-links-container {
        margin-top: 20px;
        width: 100%;
    }

    #footer h1 {
        margin-left: 0;
        padding-left: 0;
        text-align: left;
        height: 40px !important;
    }

    footer ul {
        padding-left: 0;
        height: 30px;
    }

    .galerie {
        display: flex;
        flex-direction: column;
    }

    .galerie img {
        width: 700px;
        height: 700px;
    }

    .piscineopen {
        width: 100%;
        max-width: 900px;
        height: auto;
        border-radius: 10px;
    }

    .menu-hamburger {
        display: block;
    }

}