/* ---------- HEADER STRUCTURE ---------- */
header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-bottom: 1px solid;
    z-index: 100;
    transition: transform 0.4s ease-in-out;
}

.logo-ca-log-container {
    max-width: 260px;
}

.logo-ca-log {
    width: 100%;
    height: 100%;
    aspect-ratio: 300/60;
}

.burger-icon-container {
    height: fit-content;
    display: none;
    cursor: pointer;
}

.nav-bar {
    height: 100%;
    align-items: center;
    column-gap: 55px;
}

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width:900px) {
    .logo-ca-log-container {
        min-height: 40px;
        max-width: 260px;
    }

    .burger-icon-container {
        display: unset;
    }

    .close-icon {
        display: none;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 100%;
        width: 100%;
        border-top: 1px solid var(--black);
    }

    .mobile-menu.opened .menu-item {
        transform: translateX(-100%);
    }

    .nav-bar {
        flex-direction: column;
        align-items: start;
    }

    header .menu-item {
        padding: 12px 6.25%;
        width: 100%;
        border-bottom: 1px solid var(--black);
        background-color: var(--white);
    }

    .menu-item.last-item {
        border: none;
    }

    .header-groupe-logs {
        display: none; /* Masquée sur mobile pour un rendu clair */
    }
}

@media screen and (max-width:560px) {
    .logo-ca-log-container {
        max-width: 240px;
    }
}
