header {
    position: sticky;
    top: 0;
    margin-top: -10px;
    display: flex;
    z-index: 3;
    justify-content: center; /* center the navbar */
}

.navbar {
    display: flex;
    gap: 25px;
    background-color: #ffffff;
    height: 9vh;
    align-items: center;
    margin-bottom: 3rem;
    box-shadow: 0 .0625rem .5rem 0 rgba(0,0,0,.04),0 .0625rem .3125rem 0 rgba(0,0,0,.04);
    width: 100%;
    padding: 2vh 20vw;
}

.navbar-brand {
    margin-left: 1vw;
    width: auto !important;
    border-radius: 0.5rem;
    object-fit: contain;
    transition: transform 1s ease;
    img {
        border-radius: 0.5rem;
        width: 80px !important;
        height: 80px !important;
    }
    &:hover {
        img {
            transform: scale(1.05);
        }
    }
}

.header-button {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.redirections-link {
    font-size: 18px;
    margin-right: 1vw;
    display: flex;
    gap: 1rem;
    align-self: center;
    a {
        font-family: Speedee, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif;
        color: #292929 !important;
        text-decoration: none !important;
        &:hover {
            color: #FDBF08 !important;
        }
    }
}

/* Language Switcher - McDonald's Style */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: center;
}

.language-switcher .lang-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    text-decoration: none !important;
    background: #F5F5F5;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.language-switcher .lang-item .flag-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.language-switcher .lang-item:hover {
    background: #FFC72C;
}

.language-switcher .lang-item.active {
    background: #FFC72C;
}

@media (max-width: 900px) {
    .navbar {
        padding: 1vh 5vw;
    }

    .header-button {
        width: auto;
    }
    .redirections-link {
        display: grid;
        grid-template-columns: 3fr 3fr;
    }
}