/**
 * 22 HUES - CSS Variables
 * Master color and typography system
 * 
 * @package 22Hues
 * @version 1.0.0
 */

:root {
  /* ========================================
     BRAND COLORS
     ======================================== */
  
  /* Primary */
  --color-black: #191919;
  --color-white: #FFFFFF;
  --color-cream: #F6F1EB;
  --color-cream-light: #FAF8F5;
  --color-cream-dark: #F0EBE3;
  
  /* Neutrals */
  --color-warm-gray: #6B6B6B;
  --color-gray-light: #E8E6E3;
  --color-gray-medium: #9A9A9A;
  --color-gray-dark: #4A4A4A;
  
  /* Accent */
  --color-gold: #A37E2C;
  --color-gold-light: #B8923F;
  --color-gold-dark: #8A6A24;
  
  /* Semantic */
  --color-success: #2D7D46;
  --color-warning: #D4A017;
  --color-error: #C0392B;
  --color-info: #2980B9;
  
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  
  /* Font Families */
  --font-logo: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  
  /* Font Sizes */
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 28px;
  --font-size-3xl: 36px;
  --font-size-4xl: 48px;
  --font-size-5xl: 64px;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-wider: 0.1em;
  --letter-spacing-widest: 0.15em;
  
  /* ========================================
     SPACING
     ======================================== */
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;
  --spacing-5xl: 120px;
  
  /* ========================================
     LAYOUT
     ======================================== */
  
  --container-max-width: 1400px;
  --container-narrow: 800px;
  --container-wide: 1600px;
  --header-height: 72px;
  --header-height-mobile: 60px;
  --sidebar-width: 280px;
  
  /* ========================================
     BORDERS & RADIUS
     ======================================== */
  
  --border-width: 1px;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-color-dark: rgba(0, 0, 0, 0.15);
  
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-full: 9999px;
  
  /* ========================================
     SHADOWS
     ======================================== */
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 30px rgba(0, 0, 0, 0.15);
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ========================================
     Z-INDEX SCALE
     ======================================== */
  
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 500;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-popover: 1100;
  --z-tooltip: 1200;
  --z-chat: 9999;
}

/* ========================================
   LEGACY VARIABLE ALIASES
   For backward compatibility with existing HTML
   ======================================== */

:root {
  /* Color aliases */
  --black: var(--color-black);
  --white: var(--color-white);
  --cream: var(--color-cream);
  --cream-header: var(--color-cream-light);
  --cream-light: var(--color-cream-light);
  --cream-dark: var(--color-cream-dark);
  --charcoal: var(--color-black);
  --off-white: var(--color-cream-light);
  --warm-gray: var(--color-warm-gray);
  --gray-light: var(--color-gray-light);
  --gray-medium: var(--color-gray-medium);
  --gray-dark: var(--color-gray-dark);
  --gold: var(--color-gold);
  --gold-light: var(--color-gold-light);
  --success: var(--color-success);
  --warning: var(--color-warning);
  --error: var(--color-error);
  
  /* Font aliases */
  --font-logo: var(--font-heading);
  
  /* Transition aliases */
  --transition-smooth: var(--transition-smooth);
}
