/* ==========================================================================
   Design Tokens - CSS Custom Properties
   ========================================================================== */
:root {
    /* ---------- Color System ---------- */
    --color-white: #ffffff;
    --color-black: #111111;

    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;

    /* Semantic Colors */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Alert/Status Backgrounds (light tints) */
    --alert-success-bg: #dcfce7;
    --alert-success-text: #166534;
    --alert-danger-bg: #fee2e2;
    --alert-danger-text: #991b1b;
    --alert-warning-bg: #fef3c7;
    --alert-warning-text: #92400e;
    --alert-info-bg: #dbeafe;
    --alert-info-text: #1e40af;

    /* Primary (customizable per project) */
    --color-primary: var(--color-black);
    --color-primary-hover: var(--gray-800);

    /* Surfaces */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--gray-50);
    --bg-tertiary: var(--gray-100);
    --bg-inverse: var(--gray-900);

    /* Text */
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-tertiary: var(--gray-500);
    --text-inverse: var(--gray-50);

    /* Borders */
    --border-color: var(--gray-200);
    --border-color-strong: var(--gray-300);

    /* ---------- Typography ---------- */
    --font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-serif: 'Playfair Display', Georgia, serif;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;
    --font-black: 900;

    --tracking-tight: -0.025em;

    /* ---------- Spacing ---------- */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* ---------- Border Radius ---------- */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* ---------- Shadows ---------- */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* ---------- Transitions ---------- */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* ---------- Layout ---------- */
    --container-max: 1200px;
    --content-max: 720px;
    --navbar-height: 72px;

    /* ---------- Breakpoints (Bootstrap 5 Standard) ----------
       Use these values for media queries:
       xs: 0 (default, mobile-first)
       sm: 576px  → @media (min-width: 576px) or @media (max-width: 575px)
       md: 768px  → @media (min-width: 768px) or @media (max-width: 767px)
       lg: 992px  → @media (min-width: 992px) or @media (max-width: 991px)
       xl: 1200px → @media (min-width: 1200px) or @media (max-width: 1199px)
       xxl: 1400px → @media (min-width: 1400px) or @media (max-width: 1399px)
    */
}

@media (max-width: 991px) {
    :root {
        --navbar-height: 64px;
    }
}
