/**
 * SBC Theme — Design Tokens
 *
 * Central source of truth for all design variables. Loaded first so all
 * theme CSS can reference these vars via var(--sbc-xxx).
 *
 * These defaults are overridden at runtime by inc/enqueue.php which outputs
 * values from the sbc_theme_control option (set via SBC Theme admin).
 *
 * Palette: Sea Blue (default)
 */

:root {
    /* ── Colors ─────────────────────────────────────────────────── */
    --sbc-primary: #0077B6;           /* Main blue */
    --sbc-accent: #00B4D8;            /* Light accent blue */
    --sbc-navy: #023E8A;              /* Deep navy */
    --sbc-cream: #F8F6F2;             /* Off-white background */

    --sbc-text: #0A1628;              /* Main text */
    --sbc-text-muted: #64748B;        /* Secondary text */
    --sbc-text-light: #94A3B8;        /* Tertiary text */

    --sbc-bg: #FFFFFF;                /* Main background */
    --sbc-bg-alt: #F8FAFC;            /* Alternate background */

    --sbc-border: #E5E7EB;            /* Default border */
    --sbc-border-dark: #CBD5E1;       /* Darker border */

    --sbc-success: #10B981;
    --sbc-warning: #F59E0B;
    --sbc-danger: #EF4444;
    --sbc-info: #3B82F6;

    /* ── Typography ─────────────────────────────────────────────── */
    --sbc-font-heading: 'Cormorant Garamond', Georgia, serif;
    --sbc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --sbc-font-mono: 'SF Mono', Monaco, 'Courier New', monospace;

    --sbc-text-xs: 12px;
    --sbc-text-sm: 14px;
    --sbc-text-base: 16px;
    --sbc-text-lg: 18px;
    --sbc-text-xl: 20px;
    --sbc-text-2xl: 24px;
    --sbc-text-3xl: 30px;
    --sbc-text-4xl: 36px;
    --sbc-text-5xl: 48px;

    --sbc-leading-tight: 1.2;
    --sbc-leading-normal: 1.5;
    --sbc-leading-loose: 1.8;

    /* ── Spacing ────────────────────────────────────────────────── */
    --sbc-space-1: 4px;
    --sbc-space-2: 8px;
    --sbc-space-3: 12px;
    --sbc-space-4: 16px;
    --sbc-space-5: 20px;
    --sbc-space-6: 24px;
    --sbc-space-8: 32px;
    --sbc-space-10: 40px;
    --sbc-space-12: 48px;
    --sbc-space-16: 64px;
    --sbc-space-20: 80px;
    --sbc-space-24: 96px;

    /* ── Layout ─────────────────────────────────────────────────── */
    --sbc-container: 1200px;
    --sbc-container-sm: 640px;
    --sbc-container-md: 768px;
    --sbc-container-lg: 1024px;
    --sbc-container-xl: 1280px;

    /* ── Borders & Radius ───────────────────────────────────────── */
    --sbc-radius: 12px;
    --sbc-radius-sm: 8px;
    --sbc-radius-lg: 20px;
    --sbc-radius-pill: 999px;

    /* ── Shadows ────────────────────────────────────────────────── */
    --sbc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --sbc-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --sbc-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --sbc-shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

    /* ── Transitions ────────────────────────────────────────────── */
    --sbc-transition: 0.2s ease;
    --sbc-transition-slow: 0.3s ease;
    --sbc-transition-fast: 0.15s ease;

    /* ── Z-index layers ─────────────────────────────────────────── */
    --sbc-z-dropdown: 100;
    --sbc-z-sticky: 200;
    --sbc-z-fixed: 300;
    --sbc-z-modal: 1000;
    --sbc-z-popover: 1100;
    --sbc-z-tooltip: 1200;
}
