/**
 * CSS Variables
 * Color Palette: #301b28, #523634, #b6452c, #ddc5a2
 * Updated: 2026-01-23 - Using palette colors only, no white text
 */

:root {
  /* Color Palette */
  --color-primary: #301b28;        /* Dark purple-brown */
  --color-secondary: #523634;      /* Brown */
  --color-accent: #b6452c;         /* Rust red */
  --color-light: #ddc5a2;          /* Beige/tan */

  /* Color Variants */
  --color-primary-dark: #1f1119;
  --color-primary-light: #4a2a3f;
  --color-secondary-dark: #3d2726;
  --color-secondary-light: #6b4846;
  --color-accent-dark: #8e3621;
  --color-accent-light: #d65637;
  --color-light-dark: #c4a685;
  --color-light-light: #f2e8d8;

  /* RGB Values for rgba() usage */
  --color-primary-rgb: 48, 27, 40;
  --color-secondary-rgb: 82, 54, 52;
  --color-accent-rgb: 182, 69, 44;
  --color-light-rgb: 221, 197, 162;

  /* Semantic Colors */
  --color-bg: #faf8f5;
  --color-bg-alt: #f2e8d8;
  --color-text: #301b28;
  --color-text-light: #523634;
  --color-text-inverse: #ddc5a2;
  --color-border: rgba(82, 54, 52, 0.15);
  --color-border-hover: rgba(82, 54, 52, 0.3);

  /* Status Colors */
  --color-success: #2d7a3e;
  --color-warning: #c97316;
  --color-error: #c7283c;
  --color-info: #1d4ed8;

  /* Typography */
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Font Sizes (Fluid Typography) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.4vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.5rem);
  --text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Spacing Scale */
  --space-0: 0;
  --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;
  --space-24: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-padding: clamp(1rem, 3vw, 2rem);
  --section-spacing: clamp(3rem, 8vw, 6rem);

  /* Border Radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(48, 27, 40, 0.05);
  --shadow: 0 4px 6px -1px rgba(48, 27, 40, 0.1), 0 2px 4px -1px rgba(48, 27, 40, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(48, 27, 40, 0.1), 0 4px 6px -2px rgba(48, 27, 40, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(48, 27, 40, 0.1), 0 10px 10px -5px rgba(48, 27, 40, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(48, 27, 40, 0.25);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-index Scale */
  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Touch Targets */
  --touch-target: 44px;

  /* Focus Ring */
  --focus-ring: 0 0 0 3px rgba(182, 69, 44, 0.3);
}

/* Dark mode is intentionally disabled to maintain consistent #301b28 text color across all browser themes */
