/*#region COLOR & FONT VARIABLES */
:root {
    /* Colors */
    --header-bg: #000;
    --header-text: #fff;
    --mobile-hover: #dcdcdc;
    --divider-line: #ccc;
    --accent-gold: #c8a763; /* NEW */

    /* Fonts */
    --header-font: 'Bavista Soulare', sans-serif;
    --body-font: 'Arial', sans-serif;

    /* Sizes */
    --menu-font-size: clamp(1.4rem, 1.8vw + 0.8rem, 2rem);
    --logo-font-size: 2rem;
}
/*#endregion FONT IMPORT + COLOR & FONT VARIABLES */

/*#region GLOBAL STYLES */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--body-font);
    overflow-x: hidden;
    color: #000; /* default text color */
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: normal;
    line-height: 1.2;
    margin: 0 0 1rem 0;
}
/*#endregion GLOBAL STYLES */

/*#region SITE HEADER */
.site-header {
    position: relative;
    width: 100%;
    background: var(--header-bg);
    color: var(--header-text);
    z-index: 1000;
    padding: 5rem 2rem;
    /* border-bottom removed */
    padding-bottom: 6rem; /* keeps spacing consistent */
}

/* Smaller padding on tablets/phones */
@media (max-width: 900px) {
    .site-header {
        padding: 3rem 1.5rem 3.5rem;
    }
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        to right,
        rgba(200,167,99,0),
        rgba(200,167,99,0.85),
        rgba(200,167,99,0)
    );

    opacity: 0.9;
    pointer-events: none;
    box-shadow: 0 0 12px rgba(200,167,99,0.45);
}


.header-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*#endregion SITE HEADER */

/*#region LOGO */
.logo-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.logo img {
    height: 185px;
    width: auto;
    display: block;
    transition: transform 0.25s ease; /* use transform instead of height */
    margin-bottom: 20px;
}

.logo img:hover {
    transform: scale(1.03);
}

/* Tablet */
@media (max-width: 900px) {
    .logo img {
        height: 110px;
        margin-bottom: 8px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .logo img {
        height: 110px;
        margin-bottom: 8px;
    }
}

/*#endregion LOGO */

/*#region NAV MENUS */
.menu-left,
.menu-right {
    display: flex;
    gap: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.menu-left {
    right: 52%;
    margin-right: 150px;
    margin-top: 38px;
}

.menu-right {
    left: 52%;
    margin-left: 150px;
    margin-top: 38px;
}

.menu-left .menu,
.menu-right .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
    align-items: center;
}

.menu-left .menu li a,
.menu-right .menu li a {
    color: var(--header-text);
    text-decoration: none;
    font-size: var(--menu-font-size);
    font-family: var(--header-font);
    font-weight: 500;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.menu-left .menu li a:hover,
.menu-right .menu li a:hover {
    opacity: 0.6;
}

/* ACTIVE MENU ITEM — GOLD HIGHLIGHT */
.menu-left .menu li.current-menu-item > a,
.menu-right .menu li.current-menu-item > a,
.mobile-menu-items li.current-menu-item > a {

    color: #c8a763 !important;
    opacity: 1 !important;
    position: relative;
}

/* Optional: Add a subtle underline accent */
.menu-left .menu li.current-menu-item > a::after,
.menu-right .menu li.current-menu-item > a::after,
.mobile-menu-items li.current-menu-item > a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(200,167,99,0),
        rgba(200,167,99,1),
        rgba(200,167,99,0)
    );
    border-radius: 999px;
}
/*#endregion NAV MENUS */

/*#region MOBILE MENU */
/*#region MOBILE MENU */
/* MOBILE MENU TOGGLE (Sharper Version) */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;

    width: 40px;
    height: 32px;
    cursor: pointer;
    border-radius: 4px;
    padding: 0; /* we’ll position bars inside explicitly */
    background: transparent;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease-out;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
}

.mobile-menu-toggle span {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 2px;                  /* slimmer, sharper line */
    background: var(--header-text);
    border-radius: 999px;

    transform-origin: center;
    backface-visibility: hidden;
    will-change: transform, opacity;

    transition:
        transform 0.1s cubic-bezier(0.4, 0.0, 0.2, 1),
        opacity   0.12s ease-out;
}

/* Top / middle / bottom lines */
.mobile-menu-toggle span:nth-child(1) {
    top: 9px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 9px;
}

/* ANIMATED X STATE */
.mobile-menu-toggle.open span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0; /* middle bar disappears */
}

.mobile-menu-toggle.open span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

/* MOBILE DROPDOWN */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    background: var(--header-bg);
    padding: 0.5rem 0 0.75rem;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu::after {
    content: "";
    display: block;
    margin-top: 0.5rem;
    width: 80%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(
        to right,
        rgba(200,167,99,0),
        var(--accent-gold),
        rgba(200,167,99,0)
    );
    opacity: 0.85;
    pointer-events: none;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-items li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--header-text);
    text-decoration: none;
    font-size: var(--menu-font-size);
    font-family: var(--header-font);
    text-align: center;
}

.mobile-menu-items li a:hover {
    color: var(--mobile-hover);
}
/*#endregion MOBILE MENU */

/*#region RESPONSIVE HEADER */
@media (max-width: 900px) {
    .menu-left,
    .menu-right {
        display: none;
    }

    .logo-container {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
    }

    .mobile-menu-toggle {
        display: block;
    }
}
/*#endregion RESPONSIVE HEADER */