/* ═══════════════════════════════════════════════════════════
   DOPE — shared stylesheet
   Every page links this file. Page-specific styles stay inline.
═══════════════════════════════════════════════════════════ */

/* === Variables === */
:root {
    --black: #0A0A0A;
    --dark: #141414;
    --gunmetal: #1C1F22;
    --od-green: #4A5A2B;
    --od-green-light: #5C6F36;
    --fde: #B8A88A;
    --fde-light: #D4C5A9;
    --hot-red: #C41E1E;
    --brass: #C5A855;
    --steel: #6B7280;
    --white: #F5F5F0;
    --off-white: #E8E6DF;
    --green-positive: #4A7A3B;
    --yellow-caution: #B89B2B;
    --red-warning: #A63C3C;
    --coyote: #8B7355;
}

/* === Reset & base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--black); color: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* === Navigation === */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark);
    display: flex;
    align-items: center;
    padding: 0 40px;
    height: 64px;
    border-bottom: 1px solid #222;
}
.nav-logo { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; display: flex; align-items: center; }
.nav-logo .logo-img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 32px; margin-left: 60px; }
.nav-links li { list-style: none; }
.nav-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--steel);
    position: relative;
    padding: 4px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--fde); }
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hot-red);
}
.nav-cta {
    margin-left: auto;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--hot-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 4px;
    transition: background 0.2s;
    cursor: pointer;
    border: none;
}
.nav-cta:hover { background: #D92828; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: auto;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--white); }

@media (max-width: 768px) {
    .nav { padding: 0 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid #333;
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .nav-toggle { display: flex; }
}

/* === Hero (interior pages) === */
.hero { background: var(--dark); padding: 60px 20px; text-align: center; }
.hero h1 { font-family: 'Oswald', sans-serif; font-size: 48px; margin-bottom: 10px; }
.hero p { color: var(--steel); font-size: 16px; }

/* === Loading / empty states === */
.loading, .no-results, .error, .initial-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--steel);
}
.loading .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gunmetal);
    border-top-color: var(--hot-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === Footer (interior pages) === */
footer { background: #050505; border-top: 1px solid #1a1a1a; padding: 36px 20px 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.footer-links {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.footer-links a {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--steel);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--fde); }
.footer-legal {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.footer-legal a { font-size: 12px; color: #444; transition: color 0.2s; }
.footer-legal a:hover { color: var(--steel); }
.footer-copy { font-size: 12px; color: #444; line-height: 1.6; }
