/* ═══════════════════════════════════════════════
   GLOBAL DESIGN SYSTEM & THEMES
   ═══════════════════════════════════════════════ */
:root {
    --flag-red: #B22234;
    --blood-red: #8B0000;
    --maroon: #6B0F1A;
    --flag-blue: #3C3B6E;
    --whisper-purple: #6B5B95;
    --cream: #F8F6F0;
    --dark-blue: #1a1a2e;
    --gold: #C9A84C;
    --transition-speed: 0.4s;
}

[data-theme="light"] {
    --bg-p: #FAF8F5; --bg-s: #F0EDE8; --bg-c: #FFF; --bg-h: #1a1a2e;
    --tx-p: #1a1a2e; --tx-s: #3d3d5c; --tx-t: #6b6b8a;
    --bd-p: rgba(26,26,46,0.12); --bd-a: rgba(178,34,52,0.3);
    --sh-m: 0 4px 16px rgba(26,26,46,0.08); --sh-l: 0 8px 32px rgba(26,26,46,0.12);
    --stripe: 0.025; --modal-bg: rgba(26,26,46,0.85);
}

[data-theme="dark"] {
    --bg-p: #0f0f1e; --bg-s: #1a1a2e; --bg-c: rgba(255,255,255,0.06); --bg-h: #0a0a16;
    --tx-p: #F8F6F0; --tx-s: #d0cec8; --tx-t: #9896a0;
    --bd-p: rgba(255,255,255,0.10); --bd-a: rgba(178,34,52,0.5);
    --sh-m: 0 4px 16px rgba(0,0,0,0.3); --sh-l: 0 8px 32px rgba(0,0,0,0.4);
    --stripe: 0.015; --modal-bg: rgba(5,5,12,0.92);
}

/* ═══ BASIC RESET & TYPOGRAPHY ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Libre Baskerville', Georgia, serif;
    background: var(--bg-p); color: var(--tx-p);
    line-height: 1.7; transition: background var(--transition-speed);
    overflow-x: hidden; min-height: 100vh;
}
body::after {
    content: ''; 
    position: fixed; 
    top: 0; left: 0; 
    width: 100%; height: 100%;
    pointer-events: none; 
    z-index: -1; /* Change from 0 to -1 */
    opacity: var(--stripe);
    background: repeating-linear-gradient(0deg, transparent, transparent 20px, var(--tx-p) 20px, var(--tx-p) 40px);
}

.content-wrap, .home-hero {
    position: relative;
    z-index: 1;
}

body.modal-open { overflow: hidden; }

/* ═══ HEADER & NAVIGATION ═══ */
.site-header {
    background: var(--bg-s);
    border-bottom: 1px solid var(--bd-p);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-logo {
  /* Set size */
  height: 40px; 
  width: auto;
  vertical-align: middle;
  margin-right: 15px; 
  image-rendering: -webkit-optimize-contrast; 
}

.header-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--tx-p);
}

.brand-seal {
    background: var(--flag-red);
    color: white;
    padding: 4px 8px;
    font-weight: bold;
    font-family: 'Space Mono', monospace;
}

.brand-highlight {
    color:var(--flag-red);
}

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

.site-nav a {
    text-decoration: none;
    color: var(--tx-s);
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.site-nav a:hover { color: var(--flag-red); }

/* Hide mobile menu button by default */
.mobile-menu-btn { display: none; }

/* ═══ DONATE BUTTONS ═══ */

/* Header: Red background, Outline on hover */
.btn-header-donate {
    background-color: var(--flag-red);
    color: white !important; /* Ensure visibility over dark header */
    border: 2px solid var(--flag-red);
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.btn-header-donate:hover {
    background-color: transparent;
    color: var(--flag-red) !important;
}

/* ═══ REVISED FOOTER LAYOUT ═══ */
.site-footer {
    background: var(--bg-h);
    border-top: 3px solid var(--flag-red);
    padding: 5rem 2rem 2rem;
    color: var(--cream);
    margin-top: 0;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 4rem;
    text-align: left;
}

.footer-column h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--flag-red);
}

.footer-tagline {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(248, 246, 240, 0.6);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(248, 246, 240, 0.7) !important;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--cream) !important;
    padding-left: 5px;
}

.contact-col p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(248, 246, 240, 0.7);
    margin-bottom: 1.5rem;
}

.footer-email a {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: var(--gold) !important;
    text-decoration: underline !important;
}

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(248, 246, 240, 0.1);
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: rgba(248, 246, 240, 0.4);
}

.footer-bottom a { color: inherit; }

/* Responsive Grid */
@media (max-width: 1024px) {
    .footer-container { grid-template-columns: 1fr 1fr; }
    .contact-col { grid-column: span 2; }
}

@media (max-width: 768px) {
    .footer-container { grid-template-columns: 1fr; gap: 3rem; }
    .contact-col { grid-column: span 1; }
    .footer-column { text-align: center; }
    .site-brand { justify-content: center; }
}
/* ═══ GLOBAL CURSOR ═══ */
* { cursor: url('./assets/trump-hair-transparent-removebg-preview.png') 15 15, auto !important; }

/* ═══ INJECTED SECTIONS: POPUP ═══ */
.site-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--modal-bg); z-index: 10001;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.site-modal-content {
    background: var(--bg-p); padding: 3rem; border: 3px solid var(--flag-red);
    border-radius: 12px; text-align: center; max-width: 500px; position: relative;
    box-shadow: var(--sh-l);
}
.site-modal-content h3 { font-family: 'Oswald', sans-serif; font-size: 2rem; margin-bottom: 1rem; color: var(--flag-red); text-transform: uppercase; }
.site-modal-content p { margin-bottom: 2rem; color: var(--tx-s); }
.close-modal {
    position: absolute; top: 1rem; right: 1rem; background: none; border: none;
    font-size: 2.5rem; color: var(--tx-t); cursor: pointer; line-height: 1;
}

/* POPUP FORM */
#lead-gen { display: flex; flex-direction: column; gap: 1rem; }
#lead-gen input {
    padding: 1rem; border-radius: 6px; border: 2px solid var(--bd-p);
    background: var(--bg-s); color: var(--tx-p); font-family: 'Space Mono', monospace;
}
#lead-gen button {
    background: var(--flag-red); color: #fff; border: none; padding: 1rem;
    font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase;
    border-radius: 6px; cursor: pointer; transition: 0.3s;
}
#lead-gen button:hover { background: var(--blood-red); }

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-text-only {
    background: none;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--tx-t);
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.3s;
}

.btn-text-only:hover {
    color: var(--flag-red);
}

/* ═══ INJECTED SECTIONS: DONATE ═══ */
.donate-cta {
    background: var(--bg-s); border-top: 3px solid var(--flag-red);
    padding: 5rem 2rem; text-align: center; margin-top: 4rem;
}
.donate-inner h2 { font-family: 'Oswald', sans-serif; font-size: 2.5rem; color: var(--flag-red); margin-bottom: 1rem; text-transform: uppercase; }
.donate-inner p { max-width: 600px; margin: 0 auto 2rem; font-style: italic; color: var(--tx-s); }

/* ═══ SHARED UI COMPONENTS (Buttons, Cards) ═══ */
.cta-btn {
    font-family: 'Oswald', sans-serif; padding: 1rem 2.5rem;
    font-weight: 700; text-transform: uppercase; border-radius: 6px;
    text-decoration: none; display: inline-block; transition: 0.3s;
}
.cta-primary { background: var(--flag-red); color: #fff; box-shadow: 0 0 20px rgba(178,34,52,0.2); }
.cta-primary:hover { background: var(--blood-red); transform: translateY(-3px); }