:root{
    --nav-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1208 50%, #0a0a0a 100%);
    --bg-color-1: radial-gradient(circle,rgba(255, 255, 255, 1) 0%, rgba(255, 250, 237, 1) 50%, rgba(255, 248, 235, 1) 100%);
    --bg-color-2: white;
    --nav-text-default: white;
    --nav-text-hover: rgb(231, 158, 62);
    --text-color-1: #0a0a0a;
    --text-color-2: #e8a020;
    --text-color-3 : #de5d5d;
}

*{
    margin: 0;
    padding: 0;
}

html{
    scroll-behavior: smooth;
}

body{
    font-family: sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAV */

nav{
    background: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px;
    padding: 1px 30px;
    height: 75px;
    opacity: 0.9;
    position: fixed;
    right: 10%;
    left: 10%;
    z-index: 1;
    border-bottom: 2px solid var(--nav-line);
    box-shadow: 0 2px 20px var(--nav-line-shadow);
    border-radius: 50px;
    gap: 10px;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                border-radius 0.4s ease;
}

nav li a{
    text-decoration: none;
    color: var(--nav-text-default);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.3em;
    padding: 20px;
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-in;
}

nav ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-shrink: 1;
    min-width: 0;
}

nav li a::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: var(--text-color-2);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

nav li a:hover::after{
    transform: scaleX(1);
}

#acc-placeholder{
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#inbox{
    color: white;
    font-size: 1.3em;
}

#nav-btn{
    cursor: pointer;
    font-size: 1.2em;
    padding: 12px 30px;
    letter-spacing: 0.2em;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 25px;
    transition: transform 0.3s ease;
    background-color: transparent;
}

#nav-btn.disconnected{
    border: 2px solid rgba(232, 160, 32, 0.6);
    color: #e8a020;
}

#nav-btn.disconnected:hover{
    border-color: rgba(232, 160, 32, 0.9);
    background-color: rgba(232, 159, 32, 0.168);
    transform: scale(1.03);
}


#nav-btn.connected{
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}


#nav-btn.connected:hover{
    border-color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.08);
}

/* Nav réduite au scroll */

nav.scroll{
    height: 20px;
    opacity: 0.5;
    background: var(--nav-bg);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                border-radius 0.4s ease,
                background 0.4s ease;
}

nav.scroll.on-dark{
    background: linear-gradient(90deg, #7a4a0a, #c47a1e, #7a4a0a);
    opacity: 0.75;
}

nav.scroll > *{
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

nav.scroll:hover{
    height: 75px;
    padding: 1px 30px;
    opacity: 0.95;
    border-radius: 50px;
    background: var(--nav-bg);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                border-radius 0.4s ease,
                background 0s;
}

nav.on-dark, nav.scroll.on-dark:hover{
    background: linear-gradient(135deg, #1a0e00 0%, #3d2000 50%, #1a0e00 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease,
                border-radius 0.4s ease,
                background 0s;
}

nav.scroll:hover > *{
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.2s ease 0.2s;
}

nav.on-dark li a{
    color: rgba(255, 220, 160, 0.9);
}

nav.on-dark li a::after{
    background-color: #f0a030;
}

nav.on-dark #nav-btn.connected{
    border-color: rgba(255, 200, 120, 0.5);
}

nav.on-dark #nav-btn.connected{
    color: rgba(255, 220, 160, 0.9);
}

nav.on-dark #nav-btn.connected:hover{
    border-color: rgba(255, 200, 120, 0.9);
    background-color: rgba(255, 200, 120, 0.1);
}

nav.on-dark #nav-btn.disconnected{
    border-color: rgba(255, 160, 40, 0.7);
    color: #ffb347;
}

nav.on-dark #nav-btn.disconnected:hover{
    border-color: #ffb347;
    background-color: rgba(255, 160, 40, 0.12);
}


/* BVN */

#bvn{
    width: 100%;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

#bvn::before{
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/assets/discover.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    filter: blur(7px);
    z-index: -1000;
}

#bvn-text{
    position: relative;
    margin-left: 10%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#decouvrez{
    font-family: "Bungee", sans-serif;
    font-size: 2.2em;
    color: white;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.05em;
}

#titre{
    font-family: "Rubik Mono One", sans-serif;
    font-size: 5em;
    color: white;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.7);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

#bvn-text a{
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2.2px solid rgba(255, 255, 255, 0.571);
    color: white;
    font-size: 1.4em;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.012);
    transition: background 0.3s ease-in-out;
}

@keyframes fly{
    0% { 
        transform: translateY(0px);
    }
    50%{
        transform: translateY(5px);
    }
    100%{ 
        transform: translateY(0px);
    }
}

#bvn-text a:hover{
    animation: fly 0.8s ease-in-out infinite;
    background-color: rgba(0, 0, 0, 0.125);
}

/* FOOTER */

footer{
    margin: 30px;
    padding: 10px;
}

#contact{
    background: var(--nav-bg);
    border-radius: 20px;
    padding: 30px 35px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

#contact-titre{
    font-family: "Bungee", sans-serif;
    color: white;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

#retour-haut{
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1em;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

#retour-haut:hover{
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
}

#contact-contenu{
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

#contact-infos{
    display: flex;
    flex-direction: column;
    gap: 1.2em;
    color: #ddd;
    font-size: 1.2em;
    line-height: 1.5em;
}

#contact-infos p{
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

#contact-infos i{
    color: #e8a020;
    font-size: 1.5em;
}

#contact-map{
    flex: 1;
    max-width: 700px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#contact-ligne{
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0px;
}

#bas-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9em;
    flex-wrap: wrap;
    gap: 10px;
}

#liens-footer{
    display: flex;
    gap: 10px;
    align-items: center;
}

#liens-footer a{
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

#liens-footer a:hover{
    color: #e8a020;
}

#liens-footer span{
    color: rgba(255, 255, 255, 0.25);
}


/* RESPONSIVE */

@media (max-width: 1280px){
    nav, nav.scroll:hover{
        right: 6%;
        left: 6%;
        padding: 1px 24px;
    }

    nav li a{
        font-size: 1.1em;
        padding: 16px;
    }

    nav ul{
        gap: 15px;
    }

    #nav-btn{
        font-size: 1em;
        padding: 10px 20px;
    }

}

@media (max-width: 992px){
    nav, nav.scroll:hover{
        right: 3%;
        left: 3%;
        padding: 1px 16px;
        gap: 8px;
    }

    nav li a{
        font-size: 0.9em;
        padding: 10px;
    }

    nav ul{
        gap: 8px;
    }

    #nav-btn{
        font-size: 0.85em;
        padding: 8px 14px;
        letter-spacing: 0.08em;
    }

    #inbox{
        margin: 12px;
        font-size: 1em;
    }

    #titre{
        font-size: 3.5em;
    }

    #decouvrez{
        font-size: 1.6em;
    }

    #contact-contenu{
        flex-direction: column;
    }

    #contact-map{
        width: 100%;
        max-width: 100%;
    }

}


@media (max-width: 768px){
    nav, nav.scroll:hover{
        right: 2%;
        left: 2%;
        padding: 1px 10px;
        gap: 5px;
    }

    nav li a{
        font-size: 0.75em;
        padding: 8px;
    }

    nav ul{
        gap: 5px;
    }

    #nav-btn{
        font-size: 0.6em;
        padding: 6px 10px;
        letter-spacing: 0.05em;
    }

    #inbox{
        margin: 8px;
        font-size: 0.9em;
    }

    #titre{
        font-size: 2.5em;
    }

    #decouvrez{
        font-size: 1.3em;
    }

    #bvn-text{
        margin-left: 5%;
    }

    footer{
        margin: 15px;
    }
}
