:root {
    --bg-dark: #0A0B10;
    --blue-aby: #1A5BB0;
    --green-aby: #38D344;
    --text-gray: #aaa;
    --header-height: 80px;
}

#main-content {
    padding-top: 30px;
    text-align: center;
    color: white;
    flex: 1;
}

/* --- Personnalisation de la barre de scroll --- */

/* Taille de la barre (largeur pour le scroll vertical) */
::-webkit-scrollbar {
    width: 8px;
}

/* Fond de la barre (le rail) */
::-webkit-scrollbar-track {
    background: #0A0B10;
    /* Même couleur que ton fond de site */
}

/* La partie mobile (le curseur) */
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1A5BB0 0%, #38D344 100%);
    border-radius: 10px;
    border: 2px solid #0A0B10;
    /* Crée un petit espace autour pour l'élégance */
}

/* Au survol du curseur */
::-webkit-scrollbar-thumb:hover {
    background: #38D344;
    /* Devient vert vif au survol */
    box-shadow: 0 0 10px rgba(56, 211, 68, 0.5);
}

/* Support pour Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #1A5BB0 #0A0B10;
}

body,
html {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    /* Fond sombre futuriste */
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-direction: column;

}

/* Scrollbar Chrome/Edge */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--blue-aby) 0%, var(--green-aby) 100%);
    border-radius: 10px;
}

/* HEADER FIXE */
header {
    position: fixed;
    top: 0;
    /* Caché au début */
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 11, 16, 0.7);
    backdrop-filter: blur(15px);
    /* Effet flou */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    flex-direction: column;
}

.nav-links {
    align-items: center;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #38D344;
    /* Ton vert logo */
    text-shadow: 0 0 10px rgba(56, 211, 68, 0.5);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}


.header-space {
    justify-content: space-between;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 30px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.header-slogan {
    width: 100%;
    display: flex;
}

.header-left {
    display: flex;
    align-items: center;
    flex-direction: column;
}

#logo-destination {
    width: 120px;
    /* Taille du logo dans le menu */
    height: 60px;
    display: flex;
    align-items: center;
}

.btn-contact {
    border: 1px solid #1A5BB0;
    padding: 10px 20px;
    border-radius: 5px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.4s;
}

.btn-contact:hover {
    background: #1A5BB0;
    box-shadow: 0 0 20px rgba(26, 91, 176, 0.4);
}

.brand-slogan {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    background: linear-gradient(90deg, #1A5BB0, #38D344);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}


.arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    transition: transform 0.3s;
}

/* Le Sous-Menu caché par défaut */
.sub-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 11, 16, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 100;
}

/* Affichage au survol */
.nav-dropdown:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown:hover .arrow {
    transform: rotate(180deg);
    color: var(--green-aby);
}

/* Liens du sous-menu */
.sub-nav a {
    display: block;
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: 0.2s;
    text-align: left;
}

.sub-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--green-aby);
    padding-left: 25px;
    /* Petit effet de glissement au hover */
}


.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Espace entre le bouton et le burger */
}

/* Éléments communs (Boutons, Textes) */
.text-gradient {
    background: linear-gradient(90deg, var(--blue-aby), var(--green-aby));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-contact {
    border: 1px solid var(--blue-aby);
    padding: 10px 20px;
    border-radius: 5px;
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.4s;
}

/* FOOTER */
footer {
    padding: 50px 10%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin-left: 20px;
    font-size: 0.8rem;
}

#main-footer {
    width: 100vw;
    background: rgba(10, 11, 16, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 0;
    margin-top: auto;
    /* Sécurité supplémentaire pour coller au bas */
}

/* Responsive */
.burger-menu {
    display: none;
    /* Caché sur PC */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 3000;
    justify-content: center;
}

.burger-menu span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}


.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 11, 16, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 30px;
}

.mobile-link {
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    opacity: 0;
    transform: translateY(20px);
}


.btn-contact span.mobile-icon {
    display: none;
}


@media (max-width: 768px) {


    .desktop-only {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .header-right {
        gap: 15px;
    }

    .burger-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-active span:nth-child(2) {
        opacity: 0;
    }

    .burger-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .menu-open {
        opacity: 1;
        visibility: visible;
    }

    .btn-contact span.desktop-text {
        display: none;
    }

    .btn-contact {
        padding: 8px 12px;
        font-size: 1.2rem;
        border-radius: 50%;
        /* Devient un bouton rond */
        width: 40px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-contact span.mobile-icon {
        display: inline-block;
    }

    #main-header {
        padding: 0 20px;
        /* Moins d'espace sur les côtés */
        height: 70px;
    }

    .brand-slogan {
        display: none;
        /* On cache le slogan sur mobile pour gagner de la place */
    }

    .nav-links {
        display: none;
        /* Temporairement pour le mobile, on créera un menu burger plus tard */
    }

    #logo-destination {
        width: 100px;
        /* Logo un peu plus petit sur mobile */
        height: auto;
    }

}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        align-items: center !important;
    }

    .footer-brand p {
        margin: 10px auto;
    }

}