/* ============================================
   6 SEEDS DESIGN TOKEN SYSTEM
   ============================================

   This file defines the core design decisions as CSS custom properties.
   These are the CONSTRAINED values that ensure consistency.

   Usage: Use these tokens throughout the site instead of hardcoded values.
   ============================================ */

:root {
  /* ==========================================
     COLOR SYSTEM
     ========================================== */

  /* Brand Colors (Primary Palette) */
  --color-dark: #363166;           /* Primary text, headers */
  --color-dark-rgb: 54, 49, 102;   /* For rgba() usage */
  --color-light: #717b9f;          /* Secondary text */
  --color-orange: #ffab40;         /* Accent, CTAs */
  --color-beige: #F9F5F1;          /* Background sections */
  --color-footer-text: #eee6dc;    /* Footer text */

  /* Neutral Grays (Extended Palette) */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #ddd;
  --color-gray-400: #717b9f;       /* Same as light */
  --color-gray-600: #4d4d4d;       /* Body text */
  --color-gray-700: #374151;
  --color-gray-800: #2d3748;
  --color-gray-900: #161625;       /* Almost black */

  /* Semantic Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-transparent: transparent;

  /* Gradients */
  --gradient-dark: linear-gradient(135deg, #171728 0%, #131321 100%);
  --gradient-beige: linear-gradient(135deg, #F9F5F1 0%, #F5F0EB 100%);
  --gradient-text-light: linear-gradient(135deg, #6da4f5 0%, #86cdeb 100%);
  --gradient-text-dark: linear-gradient(135deg, #363166 0%, #2a2757 100%);

  /* Overlay Opacities (for image overlays) */
  --overlay-light: 0.3;
  --overlay-medium: 0.6;
  --overlay-dark: 0.7;

  /* Card Heights */
  --card-height-sm: 8.75rem;   /* 140px - mobile */
  --card-height-md: 10rem;     /* 160px - tablet */
  --card-height-lg: 12.5rem;   /* 200px - desktop */


  /* ==========================================
     SPACING SCALE (rem-based)
     ==========================================
     Use these for margin, padding, gap
     ========================================== */

  --space-0: 0;
  --space-1: 0.25rem;    /* 4px */
  --space-2: 0.5rem;     /* 8px */
  --space-3: 0.75rem;    /* 12px */
  --space-4: 1rem;       /* 16px - base */
  --space-5: 1.25rem;    /* 20px */
  --space-6: 1.5rem;     /* 24px */
  --space-7: 1.75rem;    /* 28px */
  --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 */


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

  /* Font Families */
  --font-primary: 'Roboto', system-ui, -apple-system, sans-serif;
  --font-monospace: 'Courier New', monospace;

  /* Font Sizes (rem-based) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-md: 1.1rem;       /* 17.6px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.375rem;    /* 22px */
  --text-3xl: 1.5rem;      /* 24px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.5rem;      /* 56px */

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

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.1;
  --leading-snug: 1.2;
  --leading-normal: 1.3;
  --leading-relaxed: 1.4;
  --leading-loose: 1.5;
  --leading-extra-loose: 1.6;
  --leading-super-loose: 1.75;


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

  --radius-none: 0;
  --radius-sm: 0.25rem;    /* 4px */
  --radius-base: 0.375rem; /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;   /* Pill/circle */
  --radius-pill: 2rem;     /* Pill buttons */


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

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px rgba(45, 52, 54, 0.1);
  --shadow-base: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(45, 52, 54, 0.1);
  --shadow-lg: 0 4px 20px rgba(45, 52, 54, 0.15);
  --shadow-xl: 0 8px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 8px 32px rgba(45, 52, 54, 0.1);
  --shadow-card: 0 4px 6px rgba(45, 52, 54, 0.07), 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-focus-orange: 0 0 0 3px rgba(255, 171, 64, 0.1);


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

  --z-base: 0;
  --z-dropdown: 10;
  --z-sticky: 50;
  --z-header: 100;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
  --z-toast: 1100;


  /* ==========================================
     BREAKPOINTS (for reference)
     ==========================================
     Use in media queries
     ========================================== */

  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1200px;


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

  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-slower: 0.4s ease;


  /* ==========================================
     CONTAINER WIDTHS
     ========================================== */

  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;


  /* ==========================================
     LEGACY COMPATIBILITY
     ==========================================
     Keep old variable names for gradual migration
     ========================================== */

  --seeds-dark: var(--color-dark);
  --seeds-light: var(--color-light);
  --seeds-orange: var(--color-orange);
  --seeds-beige: var(--color-beige);
  --seeds-footer-text: var(--color-footer-text);
  --seeds-dark-gradient: var(--gradient-dark);
  --seeds-beige-gradient: var(--gradient-beige);
}
