/* Homepage-matching header + footer chrome.
   Load AFTER /shared/theme.css so the light retro overrides lose. */

nav {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background: rgba(11, 11, 15, 0.85) !important;
    border-bottom: 1px solid rgba(246, 242, 236, 0.12) !important;
}
nav.scrolled { box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5) !important; }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-family: 'Oswald', sans-serif !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: #f6f2ec !important;
    color: #f6f2ec !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap !important;
    gap: 2px !important;
}
.nav-links a {
    color: #b6b0a8 !important;
    -webkit-text-fill-color: #b6b0a8 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    border-radius: 0 !important;
    padding: 8px 8px !important;
    white-space: nowrap !important;
}
.nav-links a:hover {
    background: transparent !important;
    color: #f6f2ec !important;
    -webkit-text-fill-color: #f6f2ec !important;
}
.nav-links a.nav-new {
    color: #c0392b !important;
    -webkit-text-fill-color: #c0392b !important;
}
.nav-cta {
    background: #c0392b !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
}
.nav-cta:hover {
    background: #c0392b !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger span {
    width: 22px;
    height: 2px;
    background: #f6f2ec !important;
    border-radius: 2px;
}

footer {
    border-top: 1px solid rgba(246, 242, 236, 0.12) !important;
    background: #0b0b0f !important;
    color: #a89c8e !important;
    padding: 40px 24px !important;
    text-align: center;
}
.footer-inner {
    max-width: 900px;
    margin: 0 auto;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #a89c8e !important;
    text-decoration: none !important;
    font-size: 0.88rem;
}
.footer-links a:hover { color: #f6f2ec !important; }
.footer-copy {
    font-size: 0.82rem;
    color: #7a756e !important;
    line-height: 1.7;
}
.footer-copy a { color: #a89c8e !important; text-decoration: none; }

.lang-switcher {
    max-width: 960px !important;
    border-top-color: rgba(246, 242, 236, 0.08) !important;
}
.lang-item { color: #a89c8e !important; border-color: rgba(246, 242, 236, 0.12) !important; }
.lang-item:hover { color: #f6f2ec !important; border-color: #f6f2ec !important; }
.lang-item--active { color: #0b0b0f !important; background: #f6f2ec !important; border-color: #f6f2ec !important; }

@media (max-width: 1200px) {
    .nav-links > a[href*="/about/"],
    .nav-links > a[href*="/blog/"] { display: none !important; }
}
@media (max-width: 1100px) {
    .nav-links { display: none !important; }
    .hamburger { display: flex !important; }
    .nav-links.open {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #0b0b0f !important;
        border-bottom: 1px solid rgba(246, 242, 236, 0.12) !important;
        padding: 16px 24px;
        gap: 4px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    }
    .nav-links.open > a {
        display: flex !important;
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }
}
@media (max-width: 480px) {
    .nav-inner { height: 56px; padding: 0 16px; }
    .nav-logo { font-size: 1.15rem !important; }
    .nav-links.open { top: 56px; }
    footer { padding: 32px 16px !important; }
    .footer-links { gap: 12px; }
}
