html, body {
    width: 100%;
    margin: 0;
    padding: 0;
}





header {
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 200px;
    width: 100%;
    height: 15%;
    margin: 0;
    padding: 15px 0 0 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: 0.3s ease-in-out;
}

header.sticky {
    position: fixed;
    padding: 0;
    height: 12%;
    background-color: rgba(14, 152, 206, 0.95);

}

header nav {
    width: 100%;
}

header ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 5px;
}

header img {
    width: 125px;
    height: auto;
    background-color: white;
    margin: 0;
    padding: 0;
    transition: 0.3s ease-in-out;
}

header.sticky img {
    background-color: transparent;
}

header p {
    color: white;
    font-size: 20px;
    margin: 0;
    padding: 0;
    transition: 0.3s ease-in-out;
}

header #logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0 0 0 25px;
}

header a {
    color: white;
    text-decoration: none;
    margin: 0;
    padding: 0;
    transition: 0.2s ease-in-out;
    border-bottom: 2px solid transparent;
    font-size: 22px;
}

header a:hover {
    border-bottom: 2px solid white;
}

header .page_actuelle {
    border-bottom: 2px solid white
}

header #reserver {
    background-color: white;
    color: black;
    margin: 0 0 0 100px;
    padding: 10px 25px;
    border-radius: 5px;
    display: inline-block;
    position: relative;
    z-index: 1001;
    transition: 0.2s ease-in-out;
}

header #reserver:hover {
    filter: brightness(85%);
}





main {
    margin: 0;
    padding: 0;
    width: 100%;
}

#bloc1 {
    margin: 0 0 150px 0;
    padding: 0;
    width: auto;
    height: 100vh;
    overflow: hidden;
    text-align: justify;
    position: relative;
}

#bloc1 video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(65%);
    z-index: 0;
}

#bloc1 #text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 40px 0 0 0;
    padding: 0;
    text-align: center;
}

#bloc1 h2 {
    font-size: 40px;
    margin: 0;
    padding: 0;
    color: white;
    width: 80%;
}

#bloc1 p {
    font-size: 16px;
    max-width: 750px;
    width: 80%;
    margin: 35px 0 30px 0;
    padding: 0;
    color: white;
    text-align: justify;
}

#bloc1 a {
    font-size: 20px;
    text-decoration: none;
    margin: 0;
    padding: 10px 25px;
    color: black;
    background-color: white;
    border-radius: 5px;
    transition: 0.2s ease-in-out;
}

#bloc1 a:hover {
    filter: brightness(85%);
}





#bloc2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 75px;
    margin: 0;
    padding: 0;
}

#bloc2 ul {
    list-style: none;
    padding: 0;
}

#bloc2 li {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bloc2 img {
    width: 75%;
    max-width: 600px;
    height: auto;
}

#bloc2 h3 {
    font-size: 30px;
    margin: 10px 0 15px 0;
    padding: 0;
}

#bloc2 p {
    text-align: justify;
    font-size: 15px;
    width: 75%;
    max-width: 600px;
    height: auto;
    margin: 0;
    padding: 0;
}

#bloc2 a {
    display: block;
    font-size: 20px;
    text-decoration: none;
    margin: 20px 0 0 0;
    padding: 10px 25px;
    color: white;
    background-color: rgb(14, 152, 206);
    border-radius: 5px;
    transition: 0.2s ease-in-out;
}

#bloc2 a:hover {
    filter: brightness(115%);
}



@media screen and (min-width: 768px) and (max-width: 1023px) {
    header {
        gap: 0px;
    }

    header #logo {
        margin: 0 0 0 5px;
    }

    header #reserver {
        margin: 0;
    }

    #bloc1 h2 {
        font-size: 50px;
    }

    #bloc1 p {
        font-size: 20px;
    }
}

@media screen and (min-width: 1024px) {
    header {
        gap: 20px;
    }

    header #logo {
        margin: 0 0 0 25px;
    }

    header #reserver {
        margin: 0;
    }
    
    #bloc1 h2 {
        font-size: 55px;
    }

    #bloc1 p {
        font-size: 25px;
    }
}









/* -------- MENU BURGER (MOBILE + TABLETTE) -------- */
#burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 2000;
}

#burger span {
    width: 30px;
    height: 3px;
    background: white;
    transition: 0.3s;
    display: block;
}

/* Animation croix */
#burger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
#burger.open span:nth-child(2) {
    opacity: 0;
}
#burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Menu caché en mode mobile/tablette */
nav {
    transition: 0.3s ease-in-out;
}

nav.closed {
    display: none;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 767px) {

    /* Affiche l'icône burger */
    #burger {
        display: flex;
        margin-right: 25px;
    }

    header {
        gap: 0;
        justify-content: space-between;
    }

    /* Cache le nav par défaut */
    header nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        background: rgba(14, 152, 206, 0.97);
        width: 100%;
        padding: 20px 0;
        text-align: center;
    }

    /* Quand on ouvre */
    header nav.open {
        display: block;
    }

    header nav ul {
        flex-direction: column;
        gap: 20px;
    }

    header p {
        display: none;
    }

    header #reserver {
        margin: 0;
    }
}

/* -------- VERSION ORDINATEUR -------- */
@media (min-width: 1024px) {

    #burger {
        display: none; /* caché sur PC */
    }

    header nav {
        display: block; /* menu normal visible */
        position: static;
        background: none;
    }

    header nav ul {
        flex-direction: row;
    }

    #bloc2 h3 {
        font-size: 35px;
    }

    #bloc2 p {
        font-size: 18px;
    }
}
