/* Navigation Bar */
.page-header {

    background: var(--light-grey-color);
    position: relative;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(29, 29, 27, 0.05);
}

/* Logo */
.logo img {
    max-height: 50px;
}

/* Navigation */
.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.nav-links li:not(:last-child) {
    margin-right: 25px;
}

.nav-links > li > a {
    text-decoration: none;
    padding: 39px 0px;
    display: flex;
    align-items: center;
    position: relative;
}

a img.menu-chevron {
    margin-left: 10px;
}

/* Active & Hover Effects */
.nav-links > li > a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--brown-color);
    transition: width 0.3s ease-in-out;
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links li a:hover::after,
.nav-links li.current-menu-item > a::after,
.nav-links li.active > a::after {
    width: 100%;
}

.nav-links li a:hover,
.nav-links li.current-menu-item > a,
.nav-links li.active > a {
    color: var(--orange-color);

}

.fixed-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000; /* Ensure it's above other elements */
    background: #fff; /* Adjust based on your design */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
}

/* Language Switcher */
/* Language Switcher */
/* Language Switcher */
.lang-switch {
    position: relative;
    display: inline-block;
}

.lang-switch span {
    display: flex;
    align-items: center;
    padding-right: 7px;
    transition: .4s;
}

.lang-switch.active span {
    background: white;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

/* White Background for Icon */
.lang-icon-wrap {
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-toggle .menu-chevron {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Full-Width Submenu */
.has-submenu .submenu-wrapper {
    display: none;
    position: absolute;
    left: 0;
    width: 100vw; /* Full screen width */
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px 0 60px 0;
    list-style: none;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    top: 101px;
}

.has-submenu .sub-menu {
    width: 1200px;
    margin: 0 auto;
    list-style: none;
}

.has-submenu .sub-menu .menu-item {
    margin-top: 10px;
}

/*!* Submenu Title *!*/
.has-submenu .sub-menu::before {
    content: attr(data-title);
    display: block;
    font-family: 'Oswald';
    font-weight: 600;
    font-size: 22px;
    padding: 15px 0;
    color: var(--brown-color);
    text-transform: uppercase;
}


/* Show submenu when hovering */
.has-submenu:hover .submenu-wrapper {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* Dropdown */
.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 66px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lang-dropdown li a {
    text-decoration: none;
    color: var(--brown-color);
    font-size: 14px;
    display: block;
    padding: 6px 10px;
    transition: transform 0.3s ease;
    text-align: left;
    opacity: 50%;
}

.lang-dropdown li a:hover {
    background: rgba(216, 100, 36, 0.1); /* Light orange hover */
    opacity: 1;
}

/* Show dropdown */
.lang-switch.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
}

.lang-switch.active .menu-chevron {
    transform: rotate(180deg);
}


/** HERO AREA **/
/** HERO AREA **/
/** HERO AREA **/

/* GRADIENT TILTED EFFECT */

.section-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    height: 630px;
}

/* Inner Content */
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

/* Hero Text Content */
.hero-content {
    flex: 1;
    text-align: left;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 20px;
    color: var(--brown-color);
    line-height: 32px;
    margin-bottom: 20px;
    max-width: 85%;
}

/* Hero Buttons */
.hero-buttons {
    margin-top: 36px;
    display: flex;
    gap: 15px;
}

/* Liver Image */
.hero-image-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image {
    max-width: 90%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-wrap {
        margin-top: 20px;
    }

    .hero-image {
        max-width: 70%;
    }
}

/*** SUB PAGE HEADERS ***/
.header-text {
    position: absolute;
    z-index: 1;
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.header-text h1 {
    color: white;
    font-size: 62px;
    max-width: 650px;
    text-align: center;
}


/* --- MOBILE HEADER --- */

body.no-scroll {
    overflow: hidden;
}

/* Hide the mobile menu overlay and toggle by default */
.mobile-nav-overlay {
    display: none; /* hidden until activated */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 9999; /* ensure it sits on top of everything */
    /* Optional: center content vertically/horizontally if needed */
}

.mobile-nav-inner-overlay {
    position: fixed;
    top: 93px; /* already correct */
    left: 0;
    right: 0;
    bottom: 0;
    background: #f6f6f6;

    /* ✅ NEW: Enable scrolling */
    /*overflow-y: auto;*/

    /* ✅ NEW: Add padding at the bottom so last item isn’t cut off */
    padding-bottom: 80px; /* adjust this as needed */
}

.mobile-nav-header {
    background: #ffffff;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    top: 0px;
}

.mobile-nav-header .mobile-nav-header-title {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Style for the close [X] button in the overlay header */

.mobile-nav-close {
    position: relative;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 10px;
}

.mobile-nav-close .line {
    position: absolute;
    width: 24px;
    height: 3px;
    background-color: #333;
    transition: transform 0.3s ease;
}

.mobile-nav-close .line1 {
    transform: rotate(45deg);
}

.mobile-nav-close .line2 {
    transform: rotate(-45deg);
}


/* Base styles for the burger icon (hidden initially, shown on mobile via media query) */
.burger-icon {
    display: none; /* show it on mobile only */
    background: none;
    border: none;
    cursor: pointer;
    /* If needed, position it absolute in header for layout
       (for example, top right corner of header) */
}

.burger-icon .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: #333; /* burger bar color */
}

/* Mobile menu list styles */
.mobile-menu-list, .mobile-menu-list ul.sub-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #F6F6F6;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.open .mobile-menu-list {
    opacity: 1;
    visibility: visible;
}

/* Submenu fade-in */
ul.sub-menu.active {
    opacity: 1;
    visibility: visible;
    position: absolute; /* to overlay on top of main menu */
    top: 0;
    left: 0;
    z-index: 1;
    background: #F6F6F6;
}

.mobile-menu-list li {
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-list a {
    display: block;
    padding: 15px 50px;
    text-decoration: none;
    font-size: 1rem;
    width: 75%;
}

.sub-menu.active a {
    width: 100%;
}

.mobile-menu-list a:hover {
    background: #f5f5f5;
}

/* Submenu toggle arrow (the span we added) styling */
.mobile-menu-list .submenu-toggle {
    content: "";
    background: url(../images/icons/orange-arrow-thick.svg);
    display: inline-block;
    height: 12px;
    width: 15px;
    pointer-events: auto;
    transform: rotate(270deg);
    margin-right: 20px;
    background-size: cover;
    position: absolute;
    right: 10px;
}

/* Initially, all sub-menus are positioned off-screen to the right */
.mobile-menu-list ul.sub-menu {
    top: 0;
    left: 100%; /* start off to the right */
    /* If multiple nested levels, they will stack to the right by default */
}


.mobile-menu-list {
    padding-bottom: 50px;
}

.menu-item.lang-switcher {
    display: flex;
    justify-content: flex-start;
    padding: 15px 15px;
}

.menu-item.lang-switcher a {
    font-weight: bold;
    text-decoration: none;
    padding: 22px;
    width: 100%;
    text-align: center;
}

.menu-item.lang-switcher a:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .section-hero {
        height: 100%;
        background-size: 50%;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 0 20px 50px 20px;
        background: #f6f6f6;
    }

    .hero-content p {
        max-width: 100%;
    }
}

/* --- 3B. Responsive rules for mobile view --- */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 25px;
    }

    .header-text h1 {
        font-size: 20px;
    }

    .nav-container {
        padding: 20px;
    }

    /* Hide the regular main navigation and language switcher on mobile */
    .main-nav, .lang-switch {
        display: none !important;
    }

    /* Show the burger icon on mobile */
    .burger-icon {
        display: block;
    }

    /* When the overlay is activated (we will add an .open class via JS), display it */
    .mobile-nav-overlay.open {
        display: block;
    }

    /* Slide-in/out transitions:
       When a submenu is active, we adjust the positions */
    .mobile-nav-overlay .mobile-menu-list.move-left {
        left: -100%; /* slide main menu panel off to left */
    }

    .mobile-nav-overlay ul.sub-menu.active {
        left: 0; /* slide the submenu panel into view from right */
    }
}

@media (max-width: 768px) {
    .section-hero {
        background-size: 70%;
    }

}
