/* ===== Start - Navigation Section ===== */

/* Start - TopBar */
.TopBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    height: 80px;

    padding: 8px var(--page-pad);
}
    @media (max-width: 1000px) {
        .TopBar {
            display: none;
        }
    }


/* TopBar Font Styles */
.TopBar a,
.TopBar p {
    font-size: calc(var(--size-regular) - 3rem);
    font-weight: var(--weight-medium);
}
    .TopBar a:hover {
        color: var(--orange);
    }


/* Logo */
.TopBar .Logo {
    width: 150px;
}
    @media (max-width: 1400px) {
        .TopBar .Logo {
            width: 140px;
        }
    }


/* TopBar Left Side */
.TopBar .Left,
.TopBar .Left .Links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}
    @media (max-width: 1400px) {
        .TopBar .Left,
        .TopBar .Left .Links {
            gap: 20px;
        }
    }
    @media (max-width: 1200px) {
        .TopBar .Left {
            gap: 40px;
        }
    }
    @media (max-width: 1200px) {
        .TopBar .Left .Links a:nth-of-type(1) {
            display: none;
        }
    }
    @media (max-width: 768px) {
        .TopBar .Left .Links {
            display: none;
        }
    }

.TopBar .Left .Links img {
    width: 38px;
}
    @media (max-width: 1400px) {
        .TopBar .Left .Links img {
            width: 35px;
        }
    }



/* TopBar Right Side */
.TopBar .Right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
    @media (max-width: 1400px) {
        .TopBar .Right {
            gap: 10px;
        }
    }


@media (max-width: 1000px) {
    .TopBar .CTA-Links {
        display: none;
    }
}

@media (min-width: 1001px) {
    .TopBar .CTA-Links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
        @media (max-width: 1400px) {
            .TopBar .CTA-Links {
                gap: 10px;
            }
        }
    
    .TopBar .CTA-Links img {
        width: 47px;
    }
    
    .TopBar .CTA-Links a,
    .TopBar .CTA-Links p {
        font-size: var(--size-xs);
        font-weight: var(--weight-medium);
        color: var(--white);
    }
    
    .TopBar .Callback {
        background-color: var(--orange);
        padding: 12px 25px;
        border-radius: 100px;
        cursor: pointer;
    }
        .TopBar .Callback:hover {
            background-color: var(--red);
        }
        @media (max-width: 1400px) {
            .TopBar .Callback {
                padding: 10px 15px;
            }
        }
    
    .TopBar .Payment {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    
        background-color: var(--till-light);
        border-radius: 100px;
        padding: 0 30px 0 0;
    }
        .TopBar .Payment:hover {
            background-color: var(--till);
        }
        @media (max-width: 1400px) {
            .TopBar .Payment {
                padding: 0 20px 0 0;
            }
        }
        @media (max-width: 1200px) {
            .TopBar .Payment {
                padding: 10px 15px;
            }
        }
        @media (max-width: 1200px) {
            .TopBar .Payment img {
                display: none;
            }
        }
}


.TopBar .Right .Login {
    border: 3px solid var(--orange);
    padding: 10px 20px;
    border-radius: 100px;
}
    .TopBar .Right .Login:hover {
        color: var(--white);
        background-color: var(--orange);
    }
    @media (max-width: 768px) {
        .TopBar .Right .Login {
            padding: 8px 18px;
        }
    }
/* End - TopBar */



/* Start - NavBar */
/* Navigation Links Below TopBar */
header {
    position: absolute;
    top: 80px;
    z-index: 10;

    width: 100%;
    height: 65rem;
}
    @media (max-width: 1000px) {
        header {
            position: fixed;
            top: 0;
        }
    }


header .container {
    position: relative;

    display: flex;
    justify-content: center;

    width: 100%;
    height: 65rem;
    background-color: var(--black);
}
    @media (max-width: 1000px) {
        header .container {
            justify-content: space-between;
            background-color: var(--white);
        }
    }


.logoContainer {
    display: none;
    align-items: center;

    padding-left: 20px;
}
    @media (max-width: 1000px) {
        .logoContainer {
            display: flex;
        }
    }

.logoContainer img {
    height: 60rem;
}


.btnNav {
    display: flex;

    height: 100vh;
    overflow-y: scroll;
    pointer-events: none;
}
    @media (max-width: 1000px) {
        .btnNav {
            pointer-events: all;
        }
    }

.navLinksWrapper > ul {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;

    pointer-events: all;
}
    @media (max-width: 1400px) {
        .navLinksWrapper > ul {
            gap: 40px;
        }
    }
    @media (max-width: 1200px) {
        .navLinksWrapper > ul {
            gap: 20px;
        }
    }
    @media (max-width: 1000px) {
        .navLinksWrapper > ul {
            gap: 0;
        }
    }

.navLink > a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);
    font-size: var(--size-small);
    line-height: 65rem;

    padding: 0 20rem;
    transition: 0.2s;
}
    .navLink > a:hover {
        color: var(--till-light);
    }


.navLink .arrow {
    width: 10px;
    margin-left: 10px;
}
    @media (min-width: 1000px) {
        .navLink .dropdown .arrow {
            transform: rotate(-90deg);
        }
    }


.btnNav .Active {
    background-color: var(--red);
}
    .btnNav .Active:hover {
        color: var(--white);
    }


.dropdown {
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
}
    @media (min-width: 1001px) {
        .dropdown  {
            position: absolute !important;
            top: 100% !important;
            width: 150rem !important;
        }
    }
    .navLink:hover > .dropdown,
    .dropdownLink:hover > .dropdown {
        opacity: 1;
        pointer-events: auto;
    }

.dropdown ul {
    position: relative;
}


.dropdownLink {
    position: relative;
}

.dropdownLink:not(:nth-last-child(1)) {
    border-bottom: 2px solid hsla(0, 100%, 100%, 0.1);
}

.dropdown ul {
    background-color: var(--black);
}

.dropdownLink > a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    color: var(--white);
    font-size: var(--size-xs);

    padding: 12rem 15rem;
    transition: 0.1s;
}
    .dropdownLink:hover > a {
        color: var(--white);
        background-color: var(--till-light);
    }
    @media (min-width: 1001px) {
        .dropdownLink > a  {
            padding: 15rem 25rem !important;
        }
    }



.dropdown.second {
    cursor: pointer;
}
    @media (min-width: 1001px) {
        .dropdown.second  {
            position: absolute !important;
            top: 0 !important;
            left: 100% !important;

            width: 150rem !important;
        }
    }
 

.btnMenuWrapper {
    position: sticky;
    right: 20px;

    display: none;
    align-items: center;
    justify-content: flex-end;
}

.btnMenu {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
}

.btnMenu div {
    position: relative;
    z-index: 19;

    width: 22px;
    height: 4px;
    border-radius: 5px;
    background-color: var(--black);
    transition: 0.2s;
}

.btnMenu div:before,
.btnMenu div:after {
    position: absolute;

    width: inherit;
    height: inherit;
    background-color: var(--black);
    border-radius: 5px;
    content: '';
    transition: 0.2s;
}

.btnMenu div:before {
    transform: translateY(-8px);
}

.btnMenu div:after {
    transform: translateY(8px);
}

#check {
    position: absolute;
    top: 50%;
    right: 20px;
    z-index: 20;

    display: none;

    width: 50px;
    height: 50px;
    opacity: 0;
    cursor: pointer;
    transform: translateY(-50%);
}

#check:checked ~ .btnMenuWrapper .btnMenu div {
    background-color: transparent;
}

#check:checked ~ .btnMenuWrapper .btnMenu div:before {
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .btnMenuWrapper .btnMenu div:after {
    transform: translateY(0) rotate(45deg);
}


@media (max-width: 1000px) {
    .btnMenuWrapper {
        display: flex;
    }


    #check {
        display: block;
    }
    #check:checked ~ .btnNav {
        transform: translateY(0);
    }


    .btnNav {
        position: fixed;
        top: 65rem;
        left: 0;
        z-index: -1;

        flex-direction: column;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: calc(100vh) - 65rem;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateY(-150%);
        transition: 0.2s;
    }


    .navLinksWrapper {
        flex: initial;

        width: 75%;
        background-color: var(--black);
        border-radius: 0 0 5px 5px;
    }
        @media (max-width: 768px) {
            .navLinksWrapper {
                width: 60%;
            }
        }
        @media (max-width: 500px) {
            .navLinksWrapper {
                width: 90%;
            }
        }

    .navLinksWrapper > ul {
        flex-direction: column;
    }


    .navLink {
        width: 100%;
    }

    .navLink > a {
        line-height: 1;
        padding: 20rem 30rem;
    }
        .navLink:hover > a {
            color: var(--white);

            transform: scale(1);
            background-color: var(--till-light);
        }
    }


    .dropdown,
    .dropdown.second {
        position: initial;
        top: initial;
        left: initial;

        display: none;

        width: 100%;
        opacity: 1;
        padding: 0;
        transform: initial;
        pointer-events: auto;
        background-color: #3183ac;
    }
        .navLink:hover > .dropdown,
        .dropdownLink:hover > .dropdown {
            display: block;
        }

    .dropdownLink > a {
        color: var(--white);
        line-height: 1;

        padding: 16px 60px;
        background-color: transparent;
    }
        .dropdown.second .dropdownLink > a {
            padding: 16px 30px 16px 90px;
        }
        .dropdown.second .dropdown.second .dropdownLink > a {
            padding: 16px 30px 16px 120px;
        }




/* Mobile Only Links */
.navLink.googleReview,
.navLink.socialLink {
    display: none;
}

.navLink.googleReview a {
    width: 100%;
}

    @media (max-width: 1000px) {
        .navLink.googleReview,
        .navLink.socialLink {
            display: flex;
        }
    }


.navLink.socialLink {
    align-items: center;
    justify-content: center;
}
.navLink.socialLink:hover {
    background-color: var(--black);
}
.navLink.socialLink:hover a {
    background-color: var(--black);
}
/* End - NavBar */
/* ===== End - Navigation Section ===== */