/**
 * 헤아려봄 심리상담센터 - CSS Variables
 * 테마 컬러, 타이포그래피, 스페이싱 정의
 */

:root {
  /* ===== Brand Colors (헤아려봄 브랜드 컬러) ===== */
  --primary: #0092E5;           /* 메인 브랜드 컬러 - 파랑 */
  --primary-hover: #0077BD;     /* 호버 상태 */
  --primary-light: #DBEAFE;     /* 배경용 연한 색상 */
  --primary-glow: rgba(0, 146, 229, 0.4);  /* 글로우 효과 */

  /* ===== Brand Color Palette ===== */
  --color-sky: #8AD1F5;         /* 하늘색 - 보조 컬러 */
  --color-navy: #001976;        /* 네이비 - 강조/텍스트 */
  --color-blue: #003B8F;        /* 블루 - 중간 톤 */
  --color-yellow: #FFC400;      /* 옐로우 - 액센트 */

  /* ===== Background Colors - Light Mode ===== */
  --bg-light: #F1F5F9;
  --surface-light: #FFFFFF;

  /* ===== Background Colors - Dark Mode ===== */
  --bg-dark: #0A1628;
  --surface-dark: #1E293B;

  /* ===== Text Colors - Light Mode ===== */
  --text-primary-light: #001976;   /* 네이비 기반 */
  --text-secondary-light: #374151;
  --text-muted-light: #6B7280;

  /* ===== Text Colors - Dark Mode ===== */
  --text-primary-dark: #F3F4F6;
  --text-secondary-dark: #9CA3AF;
  --text-muted-dark: #6B7280;

  /* ===== Border Colors ===== */
  --border-light: #CBD5E1;
  --border-dark: #374151;

  /* ===== Semantic Colors ===== */
  --success: #22C55E;
  --warning: #FFC400;           /* 브랜드 옐로우 사용 */
  --error: #EF4444;
  --info: #0092E5;              /* 브랜드 프라이머리 사용 */

  /* ===== Typography ===== */
  --font-primary: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --text-xs: 0.625rem;    /* 10px */
  --text-sm: 0.75rem;     /* 12px */
  --text-base: 0.875rem;  /* 14px */
  --text-lg: 1rem;        /* 16px */
  --text-xl: 1.125rem;    /* 18px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */

  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-bold: 700;

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

  /* ===== Border Radius ===== */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* ===== Shadows ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12);
  --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 15px var(--primary-glow);
  --shadow-primary: 0 4px 6px -1px rgba(0, 146, 229, 0.25);

  /* ===== Transitions ===== */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;

  /* ===== Layout ===== */
  --app-max-width: 440px;
  --left-panel-width: 400px;
  --header-height: 64px;
  --container-max-width: 1280px;
}

/* ===== Theme Variables ===== */
:root {
  --bg: var(--bg-light);
  --surface: var(--surface-light);
  --text-primary: var(--text-primary-light);
  --text-secondary: var(--text-secondary-light);
  --text-muted: var(--text-muted-light);
  --border: var(--border-light);
}
