html {
    background-image: url('image/fond6.png');
}

html, body {
    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%);
}





#bloc1 {
    margin: 125px auto 0 auto;
    width: 1300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bloc1 h2 {
    color: white;
    font-size: 60px;
    align-self: flex-start;
}

#bloc1 ul {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 0 20px 0;
    padding: 20px 0 0 0;
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.6);
}

#bloc1 #text {
    display: flex;
    flex-direction: column;
    width: 625px;
    margin: 0;
    padding: 0;
    border: none;
}

#bloc1 h3 {
    color: white;
    font-size: 30px;
    margin: 0;
    padding: 0;
}

#bloc1 p {
    color: white;
    font-size: 20px;
    margin: 20px 0 0 0;
    padding: 0;
    line-height: 1.5;
}

#bloc1 img {
    width: 600px;
    margin: 0;
    padding: 0;
    align-self: center;
}

#bloc1 #prix {
    background-color: white;
    color: black;
    text-align: center;
    margin: 20px 0 0 0;
    padding: 5px 0;
    width: 150px;
    border-radius: 5px;
}





@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;
    }
}
