/**
 * CSS Variables - Design System
 *
 * Define all colors, fonts, spacing, and other design tokens here.
 * Update these values based on your Figma design specs.
 *
 * @package Ithawk_Theme
 * @version 1.0.0
 */

:root {
  /* ========================================
       COLORS
       Custom palette from Figma design
       ======================================== */

  /* Primary Colors (Sage Green) */
  --color-primary: #918e74;
  --color-primary-hover: #7a7763;
  --color-primary-light: #e8e7e0;
  --color-primary-dark: #6a6856;

  /* Secondary Colors (70% opacity of primary) */
  --color-secondary: rgba(145, 142, 116, 0.7);
  --color-secondary-solid: #b2b09e; /* Solid version for borders */
  --color-secondary-hover: rgba(145, 142, 116, 0.85);

  /* Accent Colors (Black) */
  --color-accent: #000000;
  --color-accent-hover: #1a1a1a;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;

  /* Semantic Colors (Pastel Palette) */
  --color-success: #a7c4bc;
  --color-success-light: #d9eae6;
  --color-warning: #f4d4a8;
  --color-warning-light: #faecd5;
  --color-error: #f5b5b5;
  --color-error-light: #fce0e0;
  --color-info: #b5d4f5;
  --color-info-light: #e0eefa;

  /* Text Colors */
  --color-text-primary: #000000;
  --color-text-secondary: #918e74; /* Used for titles */
  --color-text-muted: var(--color-gray-500);
  --color-text-inverse: var(--color-white);

  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: var(--color-gray-50);
  --color-bg-tertiary: var(--color-gray-100);

  /* Border Colors */
  --color-border: #918e74;
  --color-border-hover: #7a7763;

  /* ========================================
       TYPOGRAPHY
       Custom fonts from design specs
       ======================================== */

  /* Font Families */
  --font-primary: Verdana, Geneva, sans-serif;
  --font-heading: "Righteous", Impact, sans-serif;
  --font-fraunces: "Fraunces", Georgia, serif;
  --font-verdana: Verdana, Geneva, sans-serif;
  --font-mono: "Courier New", Courier, monospace;

  /* Font Sizes */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */
  --font-size-6xl: 3.75rem; /* 60px */

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

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

  /* ========================================
       SPACING
       Update spacing scale from Figma
       ======================================== */

  --spacing-0: 0;
  --spacing-1: 0.25rem; /* 4px */
  --spacing-2: 0.5rem; /* 8px */
  --spacing-3: 0.75rem; /* 12px */
  --spacing-4: 1rem; /* 16px */
  --spacing-5: 1.25rem; /* 20px */
  --spacing-6: 1.5rem; /* 24px */
  --spacing-8: 2rem; /* 32px */
  --spacing-10: 2.5rem; /* 40px */
  --spacing-12: 3rem; /* 48px */
  --spacing-16: 4rem; /* 64px */
  --spacing-20: 5rem; /* 80px */
  --spacing-24: 6rem; /* 96px */
  --spacing-32: 8rem; /* 128px */

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

  /* Container Widths */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* Max Content Width */
  --content-max-width: var(--container-xl);
  --content-padding: var(--spacing-6);

  /* ========================================
       BORDERS & RADIUS
       ======================================== */

  --border-width: 1px;
  --border-width-thick: 2px;

  --border-radius-none: 0;
  --border-radius-sm: 0.25rem; /* 4px */
  --border-radius-md: 0.375rem; /* 6px */
  --border-radius-lg: 0.5rem; /* 8px */
  --border-radius-xl: 0.75rem; /* 12px */
  --border-radius-2xl: 1rem; /* 16px */
  --border-radius-full: 9999px;

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

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

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

  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;

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

  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
}
