/* ── Site Header ─────────────────────────────────────────── */

.site-header {
    background: #0a0e15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 50;
}

.site-header__bar {
    height: 84px;
    gap: 1rem;
}

.site-header__mobile {
    height: 72px;
}

.site-header__logo img {
    height: 72px;
    width: auto;
    display: block;
}

/* ── Desktop nav links ───────────────────────────────────── */

.site-header__nav {
    gap: 0;
}

.site-header__nav .menu-item > a {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.875rem;
    font-weight: 400;
    font-family: "Nunito Sans", Nunito, sans-serif;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.site-header__nav .menu-item > a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.09);
}

/* Dropdown */
.site-header__nav .menu-item.has-dropdown {
    position: relative;
}

.site-header__nav .menu-item.has-dropdown .submenu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: rgba(12, 18, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.4rem 0;
    list-style: none;
    min-width: 170px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    z-index: 100;
    margin: 0;
}

/* Invisible bridge fills the 6px gap so hover isn't lost */
.site-header__nav .menu-item.has-dropdown .submenu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 0;
    right: 0;
    height: 6px;
}

.site-header__nav .menu-item.has-dropdown:hover .submenu {
    display: block;
}

.site-header__nav .menu-item.has-dropdown .submenu li a {
    display: block;
    padding: 0.55rem 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.85rem;
    font-weight: 400;
    font-family: "Nunito Sans", Nunito, sans-serif;
    text-decoration: none;
    transition: color 0.12s, background 0.12s;
    white-space: nowrap;
}

.site-header__nav .menu-item.has-dropdown .submenu li a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* ── Sign Up / Sign In buttons ───────────────────────────── */

.site-header__right {
    gap: 1rem;
}

/* Mobile: inline button row gap */
.site-header__mobile .d-flex > .site-nav-btn + .site-nav-btn {
    margin-left: 0.75rem;
}

.site-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1.5px solid transparent;
    font-family: "Nunito Sans", Nunito, sans-serif;
}

.site-nav-btn:hover {
    transform: translateY(-1px);
}

.site-nav-btn:active {
    transform: translateY(0);
}

/* Primary — amber fill */
.site-nav-btn--primary {
    background: linear-gradient(160deg, #f4d03f 0%, #f39c12 100%);
    color: #1a1000 !important;
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.site-nav-btn--primary:hover {
    filter: brightness(1.07);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Ghost — outlined */
.site-nav-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.site-nav-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.65);
}

/* ── Mobile menu button ──────────────────────────────────── */

/* ── Homepage: transparent header overlaid on hero ───────── */

.home-modern--landing .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent !important;
    border-bottom-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
