/* -------------------------------------------------
 * Variables
 * ------------------------------------------------- */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;

    --header-bg: #ffffff;
    --menu-link-color: #111111;
    --menu-link-hover: #000000;

    --menu-font-size-desktop: 20px;
    --menu-font-size-tablet: 14px;
    --menu-font-size-mobile: 12px;

    --burger-menu-padding: 12px;

    --sticky-z: 999;
    --scroll-padding-top: 100px;
}

/* -------------------------------------------------
 * Body
 * ------------------------------------------------- */
body {
    background: var(--bg-color);
    color: var(--text-color);
    scroll-padding-top: var(--scroll-padding-top);
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* -------------------------------------------------
 * Sticky header
 * ------------------------------------------------- */
#ads-site-header {
    position: sticky;
    top: 0;
    z-index: var(--sticky-z);
    background: var(--header-bg);
}

/* -------------------------------------------------
 * Header layout
 * ------------------------------------------------- */
.ads-header-columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

/* -------------------------------------------------
 * Logo
 * ------------------------------------------------- */
.ads-logo img {
    max-width: 150px;
    height: auto;
    display: block;
}

/* -------------------------------------------------
 * Navigation container
 * ------------------------------------------------- */
.ads-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* -------------------------------------------------
 * Main menu (desktop)
 * ------------------------------------------------- */
.ads-main-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ads-main-menu li {
    margin: 0;
    padding: 0;
}

.ads-main-menu li a {
    font-size: var(--menu-font-size-desktop);
    font-weight: bold;
    text-decoration: none;
    color: var(--menu-link-color);
    white-space: nowrap;
}

/* -------------------------------------------------
 * CTA menu item
 * ------------------------------------------------- */
.ads-main-menu li.ads-menu-cta a {
    background: #7ab234ff;
    color: #000000ff;
    padding: 10px 18px;
    border-radius: 4px;
}

/* -------------------------------------------------
 * Language separator (desktop)
 * ------------------------------------------------- */
.ads-main-menu li:last-child::before {
    content: "|";
    margin: 0 8px;
}

/* -------------------------------------------------
 * Burger button (desktop hidden)
 * ------------------------------------------------- */
.ads-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.ads-burger span {
    width: 24px;
    height: 2px;
    background: var(--menu-link-color);
}

/* -------------------------------------------------
 * MOBILE / TABLET (BURGER MENU)
 * ------------------------------------------------- */
@media (max-width: 1024px) {
    .ads-burger {
        display: flex;
    }

    .ads-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--header-bg);
        padding: var(--burger-menu-padding);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        display: none;
        min-width: 160px;
        box-sizing: border-box;
    }

    .ads-menu-wrapper.is-open {
        display: block;
    }

    /* Remove default UL padding */
    .ads-menu-wrapper ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .ads-menu-wrapper li {
        margin: 0;
        padding: 0;
    }

    .ads-main-menu {
        width: 100%;        /* menu spans full width */
        flex-direction: column;
        gap: 12px;
    }

    .ads-main-menu li::before {
        display: none;
    }
	
	.ads-main-menu li:last-child::before {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--menu-link-color);
        margin: 8px 0;
    }

    .ads-main-menu li a {
        font-size: var(--menu-font-size-tablet);
    }

    /* Make ads-nav full width */
    .ads-nav {
        justify-content: flex-start;
        width: 100%;
    }

    /* Remove Elementor padding in header */
    #ads-site-header .elementor-column,
    #ads-site-header .elementor-widget-wrap,
    #ads-site-header .elementor-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* -------------------------------------------------
 * Mobile (<768px)
 * ------------------------------------------------- */
@media (max-width: 767px) {
    .ads-main-menu li a {
        font-size: var(--menu-font-size-mobile);
    }
}

/* -------------------------------------------------
 * Utility
 * ------------------------------------------------- */
.hidden {
    display: none !important;
}
