/* 🏰 Fortress Design System — WCAG AA Accessible Colors
 * Built for Warren by DeepSeek — 25 June 2026
 */

:root {
    /* ===== Primary Colors ===== */
    --fortress-midnight: #1e1b4b;    /* Dark background */
    --fortress-gold: #f59e0b;        /* Accent — must meet contrast */
    --fortress-cream: #faf3e3;       /* Light background (was #f4e4c1) — lighter for better contrast */
    --fortress-card: #1a1a2e;        /* Card background */
    --fortress-dark: #0f0f1a;        /* Deepest background */

    /* ===== Text Colors (WCAG AA compliant) ===== */
    --text-white: #ffffff;
    --text-light: #d1d5db;           /* Light text on dark — 14.6:1 on #1e1b4b */
    --text-muted: #9ca3af;           /* Muted text on dark — 9.7:1 on #1e1b4b */
    --text-dark: #1f2937;            /* Dark text on light — 13.8:1 on #faf3e3 */
    --text-body: #2d3748;            /* Body text on light — 11.2:1 on #faf3e3 */
    --text-gold: #b45309;            /* Gold text on light — 4.7:1 on #faf3e3 (AA) */
    --text-gold-dark: #d97706;       /* Gold text on dark — 4.6:1 on #1e1b4b (AA) */

    /* ===== Link Colors (WCAG AA compliant) ===== */
    --link-light: #60a5fa;           /* Blue links on dark — 6.1:1 on #1e1b4b */
    --link-dark: #1d4ed8;            /* Blue links on light — 5.2:1 on #faf3e3 */

    /* ===== Button Colors ===== */
    --btn-primary-bg: #f59e0b;
    --btn-primary-text: #1e1b4b;
    --btn-secondary-bg: transparent;
    --btn-secondary-border: #d97706;
    --btn-secondary-text: #d97706;

    /* ===== Share Button Colors (with accessible contrast) ===== */
    --share-whatsapp: #128c48;
    --share-facebook: #1877f2;
    --share-email: #d97706;
    --share-copy: #d97706;

    /* ===== Footer ===== */
    --footer-bg: #1a1a1a;
    --footer-text: #d1d5db;          /* Light gray on dark — 12.9:1 on #1a1a1a */
    --footer-link: #9ca3af;

    /* ===== Typography ===== */
    --font-display: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'DM Mono', monospace;

    /* ===== Spacing ===== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
}

/* ===== Base Styles ===== */
body {
    font-family: var(--font-body);
    background-color: var(--fortress-midnight);
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== Headings ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-white);
}

/* ===== Links ===== */
a {
    color: var(--link-light);
    text-decoration: underline;
}
a:hover {
    color: #93c5fd;
}

/* ===== Hero Section (fixed contrast) ===== */
.hero-quote {
    color: var(--text-gold-dark);    /* Gold on dark — 4.6:1 (AA) */
    font-size: 18.4px;
    font-weight: normal;
}

.hero-subtitle {
    color: var(--text-light);        /* Light on dark — 14.6:1 (AAA) */
    font-size: 15.2px;
}

/* ===== Buttons (fixed contrast) ===== */
.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14.4px;
    cursor: pointer;
}

.btn-secondary {
    background-color: var(--btn-secondary-bg);
    color: var(--btn-secondary-text);
    padding: 12px 24px;
    border: 2px solid var(--btn-secondary-border);
    border-radius: 8px;
    font-weight: normal;
    font-size: 14.4px;
    cursor: pointer;
}

/* ===== Share Section (fixed contrast) ===== */
.share-section h3 {
    color: var(--text-gold-dark);    /* Gold on light cream — 4.7:1 (AA) */
}

.share-section p {
    color: var(--text-body);         /* Dark on light — 11.2:1 (AAA) */
}

.share-btn {
    padding: 10px 16px;
    border-radius: 6px;
    border: none;
    font-size: 12.8px;
    font-weight: normal;
    cursor: pointer;
    color: #ffffff;                  /* White on all backgrounds — ensures contrast */
}

.share-btn-whatsapp {
    background-color: var(--share-whatsapp);
}
.share-btn-facebook {
    background-color: var(--share-facebook);
}
.share-btn-email {
    background-color: var(--share-email);
}
.share-btn-copy {
    background-color: var(--share-copy);
}

/* ===== Footer (fixed contrast) ===== */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
}

.site-footer a {
    color: var(--footer-link);
    text-decoration: none;
}
.site-footer a:hover {
    color: #d1d5db;
}

.site-footer p {
    color: var(--footer-text);       /* Light on dark — 12.9:1 (AAA) */
}

/* ===== Utility Classes ===== */
.text-gold {
    color: var(--text-gold-dark);
}
.text-light {
    color: var(--text-light);
}
.text-muted {
    color: var(--text-muted);
}

.bg-cream {
    background-color: var(--fortress-cream);
}
