.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(var(--color-black-rgb), 1), rgba(var(--color-black-rgb), 0));
}
.admin-bar {
    .site-header {
        top: 32px;

        @media screen and (max-width: 782px) {
            top: 46px;
        }
    }
}
.password-protected {
    .site-header__content {
        justify-content: center;
    }
}
.site-header__inner {
    position: relative;
}
.site-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;

    .header-buttons {
        display: flex;
        align-items: center;
        gap: var(--spacing-lg);

        .get-started-btn {
            @media screen and (max-width: 576px) {
                display: none;
            }
        }
    }
}
.site-branding__link {
    text-decoration: none;
}
.site-branding__name {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
}
.site-branding img, .custom-logo {
    max-height: 80px;
    width: auto;

    @media screen and (max-width: 576px) {
        max-height: 50px;
    }
}
.main-navigation {
    ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: var(--spacing-lg);
    }
    a {
        display: block;
        padding: var(--spacing-sm) 0;
        font-family: var(--font-primary);
        font-size: var(--font-size-base);
        font-weight: var(--font-weight-medium);
        color: var(--color-gray-800);
        text-decoration: none;
        transition: color var(--transition-fast);

        &:hover, &:focus-visible {
            color: var(--color-accent);
        }
    }
    .current-menu-item {
        > a {
            color: var(--color-accent);
        }
    }
}
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6.5px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary);
    border-radius: 8px;
    padding: 0;
    border: none;
    cursor: pointer;
    transition: .3s ease-in-out;

    @media screen and (max-width: 576px) {
        gap: 4.5px;
        width: 40px;
        height: 40px;
    }
    &:hover, &:focus-visible {
        background-color: var(--color-white);
    }
    span {
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 3px;
        background-color: var(--color-black);
        transition: all var(--transition-base);

        @media screen and (max-width: 576px) {
            width: 20px;
            height: 2px;
        }
    }
}
.nav-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(var(--color-black-rgb), .6);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-slow);

    &.is-visible {
        opacity: 1;
        visibility: visible;
    }
}
.menu-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: var(--green-black-vertical);
    z-index: 10000;
    overflow-y: auto;
    transition: right var(--transition-slow);

    @media screen and (max-width: 1024px) {
        width: 75%;
    }
    @media screen and (max-width: 768px) {
        width: 85%;
    }
    @media screen and (max-width: 576px) {
        width: 100%;
    }
    &.is-open {
        right: 0;
    }
    ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .menu-top {
        width: 100%;
        padding: 110px 75px 75px;

        @media screen and (max-width: 1024px) {
            padding: 110px 50px 50px;
        }
        @media screen and (max-width: 576px) {
            background: var(--green-black-vertical);
        }
        ul {
            li {
                display: block;
                width: 100%;
                margin-bottom: 2.5rem;

                &:last-of-type {
                    margin-bottom: 0;
                }
                a {
                    position: relative;
                    display: inline-block;
                    font-size: var(--font-size-lg);
                    line-height: 1;
                    font-weight: 800;
                    text-transform: uppercase;
                    letter-spacing: 2.5px;
                    color: var(--color-white);
                    text-decoration: none;

                    &:hover, &:focus-visible {
                        &:before {
                            opacity: 1;
                            visibility: visible;
                        }
                        &:after {
                            opacity: 1;
                            visibility: visible;
                            right: -32px;
                        }
                    }
                    &:before {
                        content: '';
                        display: block;
                        width: 100%;
                        height: 3px;
                        position: absolute;
                        bottom: -5px;
                        left: 0;
                        background-color: var(--color-white);
                        opacity: 0;
                        visibility: hidden;
                        transition: .3s ease-in-out;
                    }
                    &:after {
                        content: '';
                        display: block;
                        width: 24px;
                        height: 20px;
                        position: absolute;
                        top: 50%;
                        right: -27px;
                        transform: translateY(-50%);
                        background-image: url('../../svg/arrow-right-white.svg');
                        background-repeat: no-repeat;
                        background-size: cover;
                        opacity: 0;
                        visibility: hidden;
                        transition: .4s ease-in-out;
                    }
                }
            }
        }
    }
    .menu-bottom {
        width: 100%;
        background-color: var(--color-black);
        padding: 60px 75px;
        display: flex;
        justify-content: space-between;

        @media screen and (max-width: 1024px) {
            padding: 50px;
        }
        @media screen and (max-width: 576px) {
            display: block;
        }
        .menu-bottom-left-col {
            .menu-logo {
                width: 217px;
                margin-bottom: 3rem;

                img {
                    width: 100%;
                }
            }
            .cn-cities {
                .city {
                    font-size: 1.8rem;
                    font-weight: 800;
                    line-height: 30px;
                    text-transform: uppercase;
                    letter-spacing: 1.44px;
                    color: #A7A9AC;
                    margin-bottom: 0;

                    @media screen and (max-width: 576px) {
                        font-size: 1.6rem;
                        font-weight: 500;
                    }
                }
            }
        }
        .menu-bottom-right-col {
            .social-links {
                @media screen and (max-width: 576px) {
                    margin-top: var(--spacing-sm);
                }
                li {
                    display: inline-block;
                    margin-right: 1.5rem;

                    &:last-of-type {
                        margin-right: 0;
                    }
                    a {
                        font-size: 2.5rem;
                        color: var(--color-white);
                        transition: .2s ease-in-out;

                        &:hover, &:focus-visible {
                            color: var(--color-primary);
                        }
                    }
                }
            }
        }
    }
}
.menu-close {
    position: absolute;
    top: 60px;
    right: 75px;
    width: 30px;
    height: 30px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;

    @media screen and (max-width: 1024px) {
        right: 50px;
    }
    @media screen and (max-width: 576px) {
        top: 35px;
    }
    &:hover, &:focus-visible {
        span {
            background-color: var(--color-white);
        }
    }
    span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        border-radius: 3px;
        background-color: var(--color-black);
        top: 50%;
        left: 0;
        transition: .3s ease-in-out;

        &:first-child {
            transform: rotate(45deg);
        }
        &:last-child {
            transform: rotate(-45deg);
        }
    }
}
