/************************* Navigation *************************/
.navigation {
    position: fixed;
    padding: 25px;
    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: 96px;
    width: 100%;
}

.navigation .container ul {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

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

.navigation .container ul li a {
    color: var(--white);
    font-family: "raleway", sans-serif;
    font-weight: 700;
    font-size: 16px;
    font-style: normal;
    text-transform: uppercase;
    transition: 0.2s all ease-in-out;
}

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

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

.navigation_buttons {
    display: inline-flex;
    justify-content: end;
}

.navigation_buttons .button_2 {
    margin: 0;
}

.navigation_contact_button {
    margin-left: 25px;
}

.navigation_burger {
    padding: 12px;
}

.navigation_burger, 
.navigation_mobile_links {
    display: none;
}

.nav_drop {
    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: 25px 0 0;
    box-sizing: border-box;
    top: 20px;
    left: -135px;
    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 {
    padding: 20px;
    box-sizing: border-box;
    border-radius: 20px;
    background-color: transparent;
    border: 3px solid var(--white);
    box-shadow: none;
    display: flex;
    align-items: stretch;
    transition: background-color 0.3s ease;
}
  
.navigation.scrolled .dropdown_content .dropdown_wrapper {
    background-color: var(--dark-orange);
    box-shadow: 0px 5px 0px #00000026;
    transition: 0.3s all ease-in-out;
}
  
.dropdown_content .dropdown_wrapper a {
    position: relative;
    width: 260px;
    aspect-ratio: 1;
    background-color: var(--black);
    margin-right: 20px;
    transition: 0.3s all ease-in-out;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dropdown_content .dropdown_wrapper a .dropdown_image {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: 0.3s all ease-in-out;
}

.dropdown_content .dropdown_wrapper a .dropdown_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.dropdown_content .dropdown_wrapper a h3 {
    color: var(--white);
    z-index: 10;
    position: relative;
    text-align: center;
}
  
.dropdown_content .dropdown_wrapper a:last-child {
    margin-right: 0;
}

.dropdown_content .dropdown_wrapper a:hover {
    transition: 0.3s all ease-in-out;
}

.dropdown_content .dropdown_wrapper a:hover .dropdown_image {
    transform: scale(1.04);
    opacity: 0.8;
    transition: 0.3s all ease-in-out;
}
  
.nav_container .nav_drop:hover .dropdown_content {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

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

.navigation .logo svg {
    width: 129px;
}

.navigation .logo .main_logo_st1 {
    fill: var(--white);
}

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

.mobile_button {
    display: none;
}

.navigation_mobile_links .navigation_buttons {
    position: absolute;
    left: 25px;
    bottom: 25px;
}

.navigation_mobile_links .navigation_buttons .button_2 {
    margin-right: 25px;
}

.navigation .navigation_buttons .phone_button {
    background-color: var(--sage);
    margin-left: 20px;
}

@media (max-width: 1450px) {
    .spacer {
        height: 86px;
    }

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

    .navigation .container ul {
        display: none;
    }

    .navigation_is_open {
        position: fixed;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        width: 100%;
        height: 100%;
        align-items: center;
        flex-direction: column;
        background-color: var(--dark-orange);
        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 {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .navigation_is_open .navigation_mobile_links li a {
        margin: 0;
        margin-right: auto;
        text-align: left;
        text-decoration: none;
        color: var(--black);
        font-size: 56px;
        font-style: normal;
        font-family: 'classic_bronzeregular';
        line-height: 0.9;
        font-weight: 400;
        opacity: 1;
        transition: all .3s ease 0s;
    }

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

    .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: 7px;
    }

    .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(--dark-orange);
        box-sizing: border-box;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.2s all ease-in-out;
        z-index: 999;
        margin-left: 25px;
        box-shadow: 0px 5px 0px #00000026;
    }

    .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(--sage) !important;
        line-height: 1.6;
    }

    .selected_nav::after {
        display: none;
    }

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

    .logo {
        margin-right: 0;
    }

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

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

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

    .navigation_mobile_links .navigation_buttons .button_2 {
        margin-right: 25px;
    }

    .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_burger {
        margin-left: 20px;
    }
}

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

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

    .navigation_mobile_links .navigation_buttons {
        width: calc(100% - 40px);
        flex-direction: column;
    }

    .navigation_mobile_links .navigation_buttons .button,
    .navigation_mobile_links .navigation_buttons .button_2 {
        width: 100%;
    }

    .navigation_mobile_links .navigation_buttons .button_2 {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

.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 {
    background-color: var(--dark-orange);
    box-shadow: 0px 5px 0px #00000026;
    transition: 0.3s all ease-in-out;
}

.scrolled .navigation_burger {
    background-color: var(--black);
    transition: 0.3s all ease-in-out;
}