/* ============================================================
   FONTS – ITC NOVARESE (SELF-HOSTED)
   ============================================================ */

@font-face {
    font-family: 'ITC Novarese';
    src: url('/_system/assets/fonts/itc-novarese/ITC-Novarese-Book.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Novarese';
    src: url('/_system/assets/fonts/itc-novarese/ITC-Novarese-Std-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ITC Novarese';
    src: url('/_system/assets/fonts/itc-novarese/ITC-Novarese-Ultra.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   ROOT VARIABLES
   ============================================================ */

:root {
    --chrome-white: #f9f9f9;
    --clean-white: #ffffff;
    --deep-black: #040202;
    --asphalt-grey: #3b3331;
    --steel-grey: #918f90;
    --ember-orange: #ff6400;
    --burnt-rust: #ad452e;

    --bg-dark: var(--deep-black);
    --bg-light: #f6f4f2;

    --font-main: 'Roboto', sans-serif;
    --font-headline: 'Oswald', sans-serif;
    --font-section: 'Inter', sans-serif;
    --font-serif: 'ITC Novarese', serif;

    --fs-sm: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.75rem;
    --fs-xxl: 2.6rem;

    --radius: 8px;
    --shadow-soft: 0 6px 20px rgba(0,0,0,0.35);

    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;

    --max-width: 1440px;
}

/* ============================================================
   HEADER & NAVIGATION
============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    background: var(--bg-dark);
    z-index: 9999;

    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-5);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --------------------------------------------------
   LOGO
-------------------------------------------------- */

.site-header .logo img {
    height: 206px;
    width: auto;
    margin-top: 119px; /* intentional oversized Harley drop */
}

/* --------------------------------------------------
   DESKTOP NAV
-------------------------------------------------- */

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: block;
        padding-right: 140px; /* space for lang switcher */
    }

    .desktop-nav ul {
        display: flex;
        align-items: center;
        gap: var(--space-5);
        list-style: none;
    }
}

.desktop-nav ul li a {
    font-family: var(--font-headline);
    font-size: var(--fs-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--chrome-white);
    position: relative;
    padding: 6px 0;
}

/* Hover underline */
.desktop-nav ul li a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--ember-orange);
    transition: width 0.25s ease;
}

.desktop-nav ul li a:hover::after,
.desktop-nav ul li a.active::after {
    width: 100%;
}

.desktop-nav ul li a.active {
    color: var(--ember-orange);
}

/* CTA */
.desktop-nav .nav-cta a {
    padding: 10px 18px;
    border-radius: var(--radius-soft);
}

/* --------------------------------------------------
   MOBILE MENU BUTTON
-------------------------------------------------- */

.menu-btn {
    font-size: 28px;
    cursor: pointer;
    color: var(--chrome-white);
    z-index: 10000;
}

@media (min-width: 768px) {
    .menu-btn {
        display: none;
    }
}

/* --------------------------------------------------
   MOBILE HEADER LAYOUT
-------------------------------------------------- */

@media (max-width: 767.98px) {

    .header-inner {
        justify-content: center;
    }

    .site-header .logo img {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 99999;
        height: 203px !important;
        top: -120px;
    }

    .menu-btn {
        position: absolute;
        right: 22px;
        top: 22px;
    }
}

/* --------------------------------------------------
   MOBILE NAV PANEL
-------------------------------------------------- */

.mobile-nav {
    position: fixed;
    top: 88px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 88px);
    overflow-y: auto;

    background: var(--deep-black);
    border-top: 1px solid rgba(255,255,255,0.08);
    display: none;

    z-index: 9998;
}

.mobile-nav.open {
    display: block;
    animation: fadeMenu 0.25s ease-out;
}

@keyframes fadeMenu {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
    list-style: none;
    padding: var(--space-4);
    width: 100% !important;
}

.mobile-nav ul li {
    padding: 0; /* move spacing to <a> */
}

.mobile-nav ul li a {
    display: block;
    width: 100%;
    padding: var(--space-3) 0;

    font-family: var(--font-headline);
    font-size: var(--fs-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--chrome-white);
    padding-left:10px;
}

.mobile-nav ul li a:hover {
    background-color: var(--ember-orange);
    color: #000;
}


@media (min-width: 768px) {
    .mobile-nav {
        display: none !important;
    }
}

/* --------------------------------------------------
   FLOATING LANGUAGE SWITCHER
-------------------------------------------------- */

.lang-switch {
    position: fixed;
    top: 26px;
    right: 12px;
    z-index: 10001;

    background: var(--bg-dark);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 4px 8px;

    display: flex;
    align-items: center;
}

.lang-switch select {
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--chrome-white);
    padding: 6px 20px 6px 6px;
    cursor: pointer;
    outline: none;
    appearance: none;
}

.lang-switch option {
    color: var(--deep-black);
}

/* Custom arrow */
.lang-switch::after {
    content: "▾";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--chrome-white);
    pointer-events: none;
}

/* Mobile position */
@media (max-width: 768px) {
    .lang-switch {
        top: 22px;
        left: 22px;
        right: auto;
        transform: scale(0.95);
    }
}

.btn-menu-popup{
    font-family: var(--font-headline);
    font-size: var(--fs-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--chrome-white);
    position: relative;
    padding: 13px;
    background: var(--ember-orange);
}

/* Hover underline */
.btn-menu-popup:hover {
    background: var(--burnt-rust);
    color: var(--chrome-white);
    transition: width 0.25s ease;
}