﻿/* ====== Layout global ====== */
.TopBarContainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #295861;
    padding-right: 16px;
    padding-left: 0;     
    position: relative;
    height: 60px;
    z-index: 10;
}

.TopBarLeft {
    display: flex;
    align-items: center;
}
/* ✅ Logo à gauche, prend toute la hauteur */
.LogoContainer {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-right: 16px;
      border: 2px solid #b6cbbf;

}

.TopBarLogo {
    height: 100%;
    width: auto;
    object-fit: contain;
}
/* ====== Hamburger ====== */
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
/* ====== Menu Navigation ====== */
.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
}

/* Groupes */
.LogoGroup {
    display: flex;
    align-items: center;
}
.LeftMenuGroup, .RightMenuGroup {
    display: flex;
    align-items: center;
}

/* Garde tes styles existants */
.PageButton {
    background-color: transparent;
    border: none;
    color: #e9e6df;
    padding: 16px 8px;
    font-size: 16px;
    text-align: center;
}

.PageButton:hover{
    text-decoration: underline;
}

.CallToActionButton {
    background-color: #b6cbbf;
    border: none;
    border-radius: 16px;
    margin-right: 8px;
    color: #295861;
    padding: 8px 8px;
    font-size: 16px;
    text-decoration: none;
}

.CallToActionButton:hover{
        text-decoration: underline;

}


/* ====== Responsive (≤768px) ====== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        position: absolute;
        right: 16px;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #295861;
        display: none;
        flex-direction: column;
        padding: 16px;
        z-index: 11;
    }

    .nav-links.open {
        display: flex;
    }

    .LeftMenuGroup,
    .RightMenuGroup {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .PageButton,
    .CallToActionButton {
        width: 100%;
        text-align: left;
            margin: 8px 0px;
    }

    .CallToActionButton {
        background-color: #b6cbbf !important;
        color: #295861 !important;
    }
}