/************************* Navigation *************************/
.navigation {
    position: fixed;
    padding: 40px 80px 80px;
    width: 100%;
    box-sizing: border-box;
    z-index: 990;
    transition: 0.3s all ease-in-out;
}

.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: var(--black);
    width: 100%;
}

.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.spacer {
    height: 134px;
    width: 100%;
}

.navigation .container ul {
    display: flex;
    align-items: center;
    margin: 0;
}

.navigation .container ul li {
    margin-right: 40px;
}

.navigation .container ul li a {
    color: var(--black);
    font-family: area-normal, sans-serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    transition: 0.2s all ease-in-out;
}

.navigation .container ul li a:hover {
    color: var(--green);
    transition: 0.2s all ease-in-out;
}

.navigation .container ul li:last-child {
    margin-right: 0;
}

.navigation_buttons {
    display: inline-flex;
    justify-content: end;
    margin-left: 40px;
}

.navigation_buttons .button,
.navigation_buttons .button_2 {
    margin: 0;
}

.navigation_burger {
    padding: 12px;
}

.navigation_burger, 
.navigation_mobile_links {
    display: none;
}

.nav_drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nav_drop a {
    display: flex;
    align-items: center;
}

.nav_drop .fa-chevron-down {
    margin-top: 6px;
    margin-left: 8px;
    font-size: 14px;
    font-weight: 700;
    font-family: "Font Awesome 5 Free" !important;
    padding-bottom: 4px;
}

.selected_nav .fa-chevron-down,
.nav_container ul>li a:hover .fa-chevron-down {
    color: var(--green);
    transition: color 0.2s ease-in-out;
}

.dropdown_content {
    position: absolute;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    padding: 40px 0 0;
    box-sizing: border-box;
    width: 300px;
    top: 20px;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-out, visibility 0.3s;
}

.dropdown_content .dropdown_wrapper {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: white;
    box-shadow: none;
    transition: background-color 0.3s ease;
}
  
.navigation.scrolled .dropdown_content .dropdown_wrapper {
    background-color: var(--white);
    box-shadow: 0px 3px 5px #00000014;
    transition: 0.3s all ease-in-out;
}
  
.dropdown_content .dropdown_wrapper a {
    position: relative;
    width: 100%;
    color: var(--black);
    background-color: var(--white);
    /* margin-bottom: 20px; */
    transition: 0.3s all ease-in-out;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    height: 46px;
}

.dropdown_content .dropdown_wrapper a:hover {
    background-color: var(--grey);
}

.dropdown_content .dropdown_wrapper a:last-of-type {
    margin-bottom: 0;
}
  
.nav_container .nav_drop:hover .dropdown_content {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

/************************* Logo *************************/
.logo {
    height: 54px;
    width: 129px;
    /* margin-right: auto; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700 !important;
    background-color: transparent;
}

.logo svg {
    width: 129px;
}

.selected_nav {
    color: var(--brown) !important;
}

.mobile_button {
    display: none;
}

.navigation_mobile_links .button {
    position: absolute;
    left: 20px;
    bottom: 20px;
}

@media (max-width: 1250px) {
    .navigation {
        padding: 25px 50px;
    }

    .spacer {
        height: 86px;
    }

    .navigation .logo {
        /* top: 19px;*/
        left: 0;
        margin-left: 0;
    }

    .navigation .container ul {
        display: none;
    }

    .navigation_is_open {
        position: fixed;
        padding: 25px !important;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;
        align-items: center;
        flex-direction: column;
        background-color: var(--grey);
        opacity: 1;
        visibility: visible;
        transition: all .5s ease 0s;
        z-index: 999;
        box-shadow: none;
        margin: 0;
        border-bottom: 0;
    }
    
    .navigation_is_open .navigation_mobile_links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        margin: -60px 0 0 0;
        height: calc(100% - 10px);
    }

    .navigation_is_open .navigation_mobile_links li {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .navigation_is_open .navigation_mobile_links li .chevron_right {
        width: 46px;
        height: 46px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        cursor: pointer;
    }

    .navigation_is_open .navigation_mobile_links li .chevron_right i {
        color: var(--black);
        font-size: 22px;
        margin-top: 8px;
    }
    
    .navigation_is_open .navigation_mobile_links li a {
        margin: 5px 0;
        text-align: center;
        text-decoration: none;
        opacity: 1;
        font-size: 32px;
        font-family: area-normal, sans-serif;
        font-weight: 900;
        font-style: normal;
        color: var(--black);
        transition: all .3s ease 0s;
    }

    .navigation_is_open .navigation_mobile_links li a:hover {
        transition: all .3s ease 0s;
    }

    .navigation_mobile_links li:first-child {
        margin-top: 0;
    }

    .navigation_burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        position: relative;
        color: var(--white);
        text-decoration: none;
        background-color: var(--black);
        box-sizing: border-box;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.2s all ease-in-out;
        z-index: 999;
        margin-left: 20px;
    }

    .navigation_burger:hover {
        opacity: 0.9;
        transition: 0.15s all ease-in-out;
    }

    .navigation_is_open .navigation_burger {
        background-color: var(--black);
    }

    .navigation_buttons {
        width: max-content;
        margin-left: 0;
    }

    .selected_nav {
        color: var(--green) !important;
        line-height: 1.6;
    }

    .selected_nav::after {
        display: none;
    }

    .navigation .user_icon,
    .navigation .logged_user_icon {
        display: flex;
    }

    .navigation_burger,
    .navigation .logged_user_icon,
    .navigation .user_icon {
        margin-left: 20px;
    }

    .logo {
        margin-right: 0;
    }

    .navigation_is_open .logo .nav-cls-1 {
        stroke: var(--white);
    }
}

@media (max-width: 800px) {
    .navigation {
        padding: 20px 40px;
    }

    .desktop_button {
        display: none;
    }

    .mobile_button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 46px;
        height: 46px;
        padding: 0;
    }

    .mobile_button i {
        margin: 0;
    }

    .navigation_is_open {
        padding: 20px !important;
    }
}

@media (max-height: 630px) {
    .navigation_is_open .navigation_mobile_links li a {
        font-size: 24px;
        margin: 3px auto;
    }
}

@media (max-width: 600px) {
    .navigation_mobile_links .button {
        width: calc(100% - 40px);
    }
}

.scroll-lock {
    overflow-y: hidden; /* Prevents vertical scrolling */
    height: 100vh;      /* Sets viewport height to prevent content reflow */
    position: fixed;    /* Crucial for locking scroll position on iOS */
    width: 100%;        /* Ensures the body maintains full width when fixed */
}

.scrolled {
    margin-top: -40px;
    padding: 40px 40px 40px;
    background-color: var(--white);
    transition: 0.3s all ease-in-out;
    box-shadow: 0px 3px 5px #00000014;
}

@media (max-width: 1250px) {
    .navigation {
        padding: 25px 50px;
    }

    .scrolled {
        margin-top: -25px;
        padding: 25px;
        background-color: var(--white);
        transition: 0.3s all ease-in-out;
        box-shadow: 0px 3px 5px #00000014;
    }
}

@media (max-width: 800px) {
    .navigation {
        padding: 20px 40px;
    }

    .scrolled {
        margin-top: -20px;
        padding: 20px;
        background-color: var(--white);
        transition: 0.3s all ease-in-out;
        box-shadow: 0px 3px 5px #00000014;
    }
}