
:root{
    --bgc-header-green:#123a30;
    --bgc-header-green-dark:#0b2a23;
    --bgc-header-cream:#f5f2ea;
    --bgc-header-gold:#b89558;
    --bgc-header-gold-light:#d9c49a;
    --bgc-header-line:rgba(18,58,48,.15);
    --bgc-header-height:146px;
}

/* Hide existing theme / Elementor headers */
body.bgc-custom-header-active #masthead,
body.bgc-custom-header-active .site-header:not(.bgc-global-header),
body.bgc-custom-header-active .elementor-location-header,
body.bgc-custom-header-active header.header:not(.bgc-global-header),
body.bgc-custom-header-active .header-wrapper,
body.bgc-custom-header-active .main-header,
body.bgc-custom-header-active .theme-header{
    display:none !important;
}

/* ============================================================
   HEADER — DEFAULT
   ============================================================ */

.bgc-global-header{
    position:relative;
    z-index:99999;
    width:100%;
    height:var(--bgc-header-height);

    display:flex;
    align-items:center;

    background:rgba(245,242,234,.97);
    border-bottom:1px solid var(--bgc-header-line);

    transition:
        height .28s ease,
        background .28s ease,
        border-color .28s ease,
        box-shadow .28s ease,
        backdrop-filter .28s ease;
}

/* Transparent over redesigned hero */
body.bgc-header-overlay-page .bgc-global-header{
    position:absolute;
    top:0;
    left:0;
    right:0;

    background:
        linear-gradient(
            180deg,
            rgba(7,33,27,.34) 0%,
            rgba(7,33,27,.13) 62%,
            rgba(7,33,27,0) 100%
        );

    border-bottom:1px solid rgba(255,255,255,.10);
}

/* When logged in, keep header below WordPress admin bar */
body.admin-bar.bgc-header-overlay-page .bgc-global-header{
    top:32px;
}

/* ============================================================
   SCROLLED — SINGLE SEMI-TRANSPARENT CREAM BAR
   ============================================================ */

.bgc-global-header.bgc-is-scrolled{
    position:fixed !important;
    top:0;
    left:0;
    right:0;

    height:94px;

    background:rgba(245,242,234,.88) !important;
    border-bottom:1px solid rgba(18,58,48,.13) !important;

    box-shadow:0 8px 28px rgba(11,42,35,.08);

    -webkit-backdrop-filter:blur(16px) saturate(120%);
    backdrop-filter:blur(16px) saturate(120%);
}

body.admin-bar .bgc-global-header.bgc-is-scrolled{
    top:32px;
}

/* ============================================================
   LAYOUT
   ============================================================ */

.bgc-global-header-inner{
    width:100%;
    max-width:1540px;
    height:100%;

    margin:0 auto;
    padding:0 56px;

    display:grid;
    grid-template-columns:1fr 280px 1fr;
    gap:34px;
    align-items:center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.bgc-desktop-nav{
    display:flex;
    align-items:center;
    gap:36px;
}

.bgc-desktop-nav-left{
    justify-content:flex-end;
}

.bgc-desktop-nav-right{
    justify-content:flex-start;
}

.bgc-nav-link,
.bgc-nav-dropdown-toggle{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:16px 0;

    border:0;
    background:transparent;

    color:var(--bgc-header-green-dark);

    font-family:Georgia, "Times New Roman", serif;
    font-size:17px;
    line-height:1;
    font-weight:400;

    text-decoration:none;
    white-space:nowrap;

    cursor:pointer;

    transition:color .2s ease;
}

/* White navigation only while header is on hero */
body.bgc-header-overlay-page .bgc-global-header:not(.bgc-is-scrolled) .bgc-nav-link,
body.bgc-header-overlay-page .bgc-global-header:not(.bgc-is-scrolled) .bgc-nav-dropdown-toggle{
    color:#fff;
    text-shadow:0 1px 9px rgba(0,0,0,.18);
}

/* Dark green once cream scrolled header appears */
.bgc-global-header.bgc-is-scrolled .bgc-nav-link,
.bgc-global-header.bgc-is-scrolled .bgc-nav-dropdown-toggle{
    color:var(--bgc-header-green-dark);
    text-shadow:none;
}

.bgc-nav-link:hover,
.bgc-nav-dropdown-toggle:hover,
.bgc-nav-dropdown-wrap.is-open .bgc-nav-dropdown-toggle{
    color:var(--bgc-header-gold) !important;
}

/* ============================================================
   LOGO — EXACT ORIGINAL ARTWORK
   ============================================================ */

.bgc-global-logo-wrap{
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:visible;
}

.bgc-global-logo-link{
    height:100%;
    width:250px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:10px 0;

    background:transparent !important;
}

.bgc-global-logo{
    display:block;

    width:auto;
    height:auto;

    max-width:250px;
    max-height:118px;

    object-fit:contain;

    filter:none !important;

    transform:none !important;

    transition:max-height .28s ease;
}

/* Smaller but still unmodified on scroll */
.bgc-global-header.bgc-is-scrolled .bgc-global-logo{
    max-height:74px;
}

/* No logo box whatsoever */
.bgc-global-header.bgc-is-scrolled .bgc-global-logo-link{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
}

/* ============================================================
   DROPDOWN
   ============================================================ */

.bgc-nav-dropdown-wrap{
    position:relative;
}

.bgc-nav-dropdown-parent{
    display:flex;
    align-items:center;
    gap:7px;
}

.bgc-nav-club-link{
    padding-right:0;
}

.bgc-nav-dropdown-toggle{
    width:24px;
    height:48px;
    padding:0 !important;

    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.bgc-nav-caret{
    width:8px;
    height:8px;

    border-right:1.5px solid currentColor;
    border-bottom:1.5px solid currentColor;

    transform:rotate(45deg) translateY(-2px);
    transition:transform .2s ease;
}

.bgc-nav-dropdown-wrap.is-open .bgc-nav-caret{
    transform:rotate(225deg) translate(-2px,-2px);
}

.bgc-nav-dropdown{
    position:absolute;
    top:100%;
    left:50%;

    width:230px;
    padding:12px;

    background:rgba(255,255,255,.98);
    border:1px solid var(--bgc-header-line);

    box-shadow:0 22px 48px rgba(11,42,35,.14);

    opacity:0;
    visibility:hidden;

    transform:translate(-50%,8px);
    transition:.2s ease;
}

.bgc-nav-dropdown-wrap:hover .bgc-nav-dropdown,
.bgc-nav-dropdown-wrap.is-open .bgc-nav-dropdown{
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}

.bgc-nav-dropdown a{
    display:block;
    padding:12px 14px;

    color:var(--bgc-header-green-dark);

    font-family:Georgia, "Times New Roman", serif;
    font-size:15px;

    text-decoration:none;

    transition:.2s ease;
}

.bgc-nav-dropdown a:hover{
    color:var(--bgc-header-gold);
    background:var(--bgc-header-cream);
}

/* ============================================================
   MOBILE BUTTON / MENU
   ============================================================ */

.bgc-mobile-menu-toggle{
    display:none;

    width:46px;
    height:46px;

    border:1px solid rgba(18,58,48,.20);
    background:transparent;

    align-items:center;
    justify-content:center;
    flex-direction:column;

    gap:5px;

    cursor:pointer;
}

.bgc-mobile-menu-toggle span{
    width:20px;
    height:1.5px;

    background:var(--bgc-header-green-dark);
}

body.bgc-header-overlay-page .bgc-global-header:not(.bgc-is-scrolled) .bgc-mobile-menu-toggle{
    border-color:rgba(255,255,255,.32);
}

body.bgc-header-overlay-page .bgc-global-header:not(.bgc-is-scrolled) .bgc-mobile-menu-toggle span{
    background:#fff;
}

.bgc-mobile-menu{
    position:fixed;
    z-index:99998;

    top:0;
    right:0;
    bottom:0;

    width:min(400px,92vw);

    padding:120px 32px 40px;

    background:var(--bgc-header-cream);

    box-shadow:-24px 0 55px rgba(11,42,35,.16);

    transform:translateX(105%);
    transition:transform .3s ease;

    overflow-y:auto;
}

.bgc-mobile-menu.is-open{
    transform:translateX(0);
}

.bgc-mobile-close{
    position:absolute;
    top:30px;
    right:30px;

    width:44px;
    height:44px;

    border:1px solid var(--bgc-header-line);
    background:transparent;

    color:var(--bgc-header-green-dark);

    font-size:24px;

    cursor:pointer;
}

.bgc-mobile-nav{
    display:grid;
}

.bgc-mobile-nav > a,
.bgc-mobile-club-row{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:10px;
}

.bgc-mobile-club-link{
    display:flex;
    align-items:center;

    min-height:52px;

    color:var(--bgc-header-green-dark);
    text-decoration:none;

    font-family:Georgia, "Times New Roman", serif;
    font-size:26px;
    line-height:1.1;
}

.bgc-mobile-club-toggle{
    width:100%;

    padding:18px 0;

    border:0;
    border-bottom:1px solid var(--bgc-header-line);

    background:transparent;

    color:var(--bgc-header-green-dark);

    font-family:Georgia, "Times New Roman", serif;
    font-size:24px;
    line-height:1.1;

    text-align:left;
    text-decoration:none;

    cursor:pointer;
}

.bgc-mobile-club-toggle{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.bgc-mobile-club-submenu{
    display:none;
    padding:8px 0 14px 18px;
}

.bgc-mobile-club-submenu.is-open{
    display:grid;
}

.bgc-mobile-club-submenu a{
    padding:10px 0;
    color:var(--bgc-header-green-dark);
    font-size:15px;
    text-decoration:none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media(max-width:1100px){

    :root{
        --bgc-header-height:108px;
    }

    .bgc-global-header-inner{
        padding:0 30px;
        grid-template-columns:1fr auto;
    }

    .bgc-desktop-nav{
        display:none;
    }

    .bgc-global-logo-wrap{
        justify-content:flex-start;
    }

    .bgc-global-logo-link{
        width:190px;
        justify-content:flex-start;
    }

    .bgc-global-logo{
        max-width:190px;
        max-height:84px;
    }

    .bgc-global-header.bgc-is-scrolled{
        height:80px;
    }

    .bgc-global-header.bgc-is-scrolled .bgc-global-logo{
        max-height:60px;
    }

    .bgc-mobile-menu-toggle{
        display:flex;
        justify-self:end;
    }
}

@media(max-width:782px){

    body.admin-bar.bgc-header-overlay-page .bgc-global-header,
    body.admin-bar .bgc-global-header.bgc-is-scrolled{
        top:46px;
    }
}

@media(max-width:600px){

    :root{
        --bgc-header-height:92px;
    }

    .bgc-global-header-inner{
        padding:0 20px;
    }

    .bgc-global-logo-link{
        width:155px;
    }

    .bgc-global-logo{
        max-width:155px;
        max-height:68px;
    }

    .bgc-global-header.bgc-is-scrolled{
        height:72px;
    }

    .bgc-global-header.bgc-is-scrolled .bgc-global-logo{
        max-height:54px;
    }

    .bgc-mobile-menu-toggle{
        width:42px;
        height:42px;
    }

    .bgc-mobile-menu{
        padding-left:24px;
        padding-right:24px;
    }
}
