/* ==========================================================
   Titan Audio — Shared Navigation & Breadcrumb Styles
   Include on every page: <link rel="stylesheet" href="/css/nav.css">
   ========================================================== */

/* ── NAV BAR ─────────────────────────────────────────────── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.logo-wordmark { display: flex; align-items: baseline; gap: 0; }

.logo-wordmark-titan {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1;
}

.logo-wordmark-sep {
    width: 2px;
    height: 1.1rem;
    background: var(--red);
    margin: 0 0.55rem;
    border-radius: 1px;
    align-self: center;
    opacity: 0.9;
}

.logo-wordmark-audio {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 1.45rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--red); }

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    flex: 1;
    min-width: 0;
}

.nav-cta {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    background: var(--red);
    color: #fff;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: #cc0000;
    transform: translateY(-1px);
}

/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
    -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
    border-radius: 1px;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ─────────────────────────────────── */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    font-family: var(--font-accent);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.75rem 2rem;
    transition: color 0.2s;
}

.mobile-menu a:hover,
.mobile-menu a.active { color: var(--red); }

.mobile-menu .mobile-cta {
    margin-top: 1rem;
    padding: 0.65rem 2rem;
    background: var(--red);
    color: #fff;
    border-radius: 4px;
    font-size: 1rem;
}

.mobile-menu .mobile-cta:hover {
    background: #cc0000;
    color: #fff;
}

/* ── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumb-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0.85rem 2rem 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--red); }

.breadcrumb-sep { color: var(--text-dim); }

/* ── RESPONSIVE: MOBILE ──────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-right { display: none; }
    .nav-hamburger { display: block; }
    nav { padding: 1rem 1.25rem; }
    .breadcrumb-bar { padding: 0.65rem 1.25rem 0; }
}
