/**
 * @file
 * Design tokens for Invertir Pro theme.
 *
 * "Warm Luxury Real Estate" aesthetic inspired by cristinamoriones.com
 */

:root {
  /* ========================================
   * COLOR PALETTE
   * ======================================== */

  /* Primary Colors */
  --color-black: #000000;
  --color-white: #FFFFFF;

  /* Accent Colors - Warm Peach/Salmon */
  --color-peach: #E8C4B8;
  --color-peach-light: #F5E4DD;
  --color-peach-dark: #D4A99C;
  --color-peach-muted: #EDD5CC;

  /* Background Colors */
  --color-bg-light: #F0F5F9;
  --color-bg-gray: #F5F5F5;
  --color-bg-cream: #FDFBF9;

  /* Text Colors */
  --color-text-primary: #000000;
  --color-text-secondary: #555555;
  --color-text-muted: #888888;
  --color-text-light: #AAAAAA;
  --color-heading: #223a52;

  /* Border Colors */
  --color-border: #E5E5E5;
  --color-border-light: #F0F0F0;
  --color-border-dark: #CCCCCC;

  /* Semantic Colors */
  --color-success: #2E7D32;
  --color-success-bg: #E8F5E9;
  --color-warning: #ED6C02;
  --color-warning-bg: #FFF3E0;
  --color-error: #D32F2F;
  --color-error-bg: #FFEBEE;
  --color-info: #0288D1;
  --color-info-bg: #E1F5FE;

  /* ========================================
   * TYPOGRAPHY
   * ======================================== */

  /* Font Families */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, Monaco, 'Courier New', monospace;

  /* Font Sizes - Fluid Typography */
  --font-size-xs: clamp(0.7rem, 0.66rem + 0.2vw, 0.75rem);
  --font-size-sm: clamp(0.8rem, 0.74rem + 0.3vw, 0.875rem);
  --font-size-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --font-size-lg: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-xl: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --font-size-2xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-3xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
  --font-size-4xl: clamp(2rem, 1.5rem + 2.5vw, 2.5rem);
  --font-size-5xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --font-size-6xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);

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

  /* Line Heights */
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;

  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;
  --letter-spacing-widest: 0.1em;

  /* ========================================
   * SPACING SCALE
   * ======================================== */

  --space-3xs: 0.125rem;  /* 2px */
  --space-2xs: 0.25rem;   /* 4px */
  --space-xs: 0.5rem;     /* 8px */
  --space-sm: 0.75rem;    /* 12px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */

  /* ========================================
   * BORDER RADIUS
   * ======================================== */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ========================================
   * SHADOWS
   * ======================================== */

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Colored shadows */
  --shadow-peach: 0 4px 14px rgba(232, 196, 184, 0.4);
  --shadow-peach-lg: 0 10px 30px rgba(232, 196, 184, 0.5);

  /* ========================================
   * TRANSITIONS
   * ======================================== */

  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-slower: 500ms ease;

  /* Specific transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);

  /* ========================================
   * LAYOUT
   * ======================================== */

  --container-max: 100%;
  --container-narrow: 960px;
  --container-wide: 1440px;

  --header-height: 80px;
  --header-height-scrolled: 64px;
  --utility-bar-height: 28px;

  --sidebar-width: 280px;
  --sidebar-width-wide: 320px;

  /* ========================================
   * Z-INDEX SCALE
   * ======================================== */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;

  /* ========================================
   * BREAKPOINTS (for reference)
   * ======================================== */

  /*
   * --breakpoint-sm: 576px;
   * --breakpoint-md: 768px;
   * --breakpoint-lg: 992px;
   * --breakpoint-xl: 1200px;
   * --breakpoint-2xl: 1400px;
   */
}

/* Dark mode support (future enhancement) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode colors can be defined here */
  }
}
