/**
 * Turismo MT - Design Tokens
 * Based on Google Stitch Design System
 * Version: 2.0
 */

:root {
  /* ==========================================
     COLOR TOKENS
     ========================================== */
  
  /* Primary Colors */
  --color-primary: #7CB342;
  --color-primary-hover: #689F38;
  --color-primary-dark: #5a9030;
  --color-primary-light: rgba(124, 179, 66, 0.15);

  /* Background Colors (Dark Mode) - Stitch Aligned */
  --color-bg-primary: #0F2A1E;
  --color-bg-secondary: #1A2F2A;
  --color-bg-tertiary: #21262d;
  --color-bg-elevated: #1c2128;
  --color-surface-primary: #283028;
  
  /* Border Colors */
  --color-border: #4A554A;
  --color-border-light: #484f58;
  --color-border-focus: #7CB342;
  --color-border-dark: #4A554A;
  
  /* Text Colors */
  --color-text-primary: #ffffff;
  --color-text-secondary: #8b949e;
  --color-text-muted: #6e7681;
  --color-text-link: #76b63e;
  --color-text-light: #E0E0E0;
  --color-text-placeholder: #A5A5A5;
  
  /* Semantic Colors */
  --color-success: #238636;
  --color-success-light: rgba(35, 134, 54, 0.15);
  --color-warning: #d29922;
  --color-warning-light: rgba(210, 153, 34, 0.15);
  --color-error: #f85149;
  --color-error-light: rgba(248, 81, 73, 0.15);
  --color-info: #58a6ff;
  --color-info-light: rgba(88, 166, 255, 0.15);
  
  /* Nature & Adventure Theme Colors */
  --color-terracotta: #C17F59;
  --color-sand: #D4B896;
  --color-deep-forest: #1A3D2E;
  --color-river-blue: #4A90A4;
  --color-savanna-amber: #D4A574;
  --color-earth-brown: #8B7355;
  --color-moss-green: #5D7A5D;
  --color-sky-blue: #87CEEB;
  --color-sunset-orange: #E89558;
  
  /* ==========================================
     TYPOGRAPHY TOKENS
     ========================================== */
  
  /* Font Family */
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.375rem;    /* 22px */
  --text-2xl: 1.75rem;    /* 28px */
  --text-3xl: 2.25rem;    /* 36px */
  --text-4xl: 3rem;       /* 48px */
  --text-5xl: 3.75rem;    /* 60px */
  
  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ==========================================
     SPACING TOKENS
     ========================================== */
  
  --space-0: 0;
  --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 */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  
  /* ==========================================
     BORDER RADIUS TOKENS
     ========================================== */
  
  --radius-none: 0;
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px - Default */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-3xl: 2rem;     /* 32px */
  --radius-full: 9999px;
  
  /* ==========================================
     SHADOW TOKENS
     ========================================== */
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(118, 182, 62, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(118, 182, 62, 0.4);
  --shadow-header: 0 4px 12px rgba(0, 0, 0, 0.3);
  
  /* ==========================================
     TRANSITION TOKENS
     ========================================== */
  
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;
  
  /* ==========================================
     Z-INDEX TOKENS
     ========================================== */
  
  --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;
  --z-toast: 800;
  --z-max: 9999;
  
  /* ==========================================
     LAYOUT TOKENS
     ========================================== */
  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  
  --header-height: 64px;
  --header-height-mobile: 56px;
  --sidebar-width: 256px;
  --footer-height: auto;
  
  /* ==========================================
     BREAKPOINTS (for reference in JS)
     ========================================== */
  
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* Dark mode is default */
[data-theme="dark"],
:root {
  color-scheme: dark;
}
