/**
 * BE-SQUARE Modern Design System
 * CSS Custom Properties (Variables)
 * Version: 1.0.0
 */

:root {
  /* ===== Color Palette ===== */
  
  /* BE-SQUARE Brand Colors */
  --brand-gold: #F8BA13;
  --brand-black: #000000;
  --brand-white: #FFFFFF;
  
  /* Primary Colors - Golden Yellow */
  --bs-primary: #F8BA13;
  --bs-primary-rgb: 248, 186, 19;
  --bs-primary-dark: #c99410;
  --bs-primary-light: #fac84d;
  --bs-primary-lighter: #fcd680;
  
  /* Secondary Colors - Black/Gray Scale */
  --bs-secondary: #000000;
  --bs-secondary-rgb: 0, 0, 0;
  --bs-secondary-dark: #000000;
  --bs-secondary-light: #333333;
  
  /* Accent Colors - Complementary Dark */
  --bs-accent: #2c3e50;
  --bs-accent-rgb: 44, 62, 80;
  
  /* Semantic Colors */
  --bs-success: #10b981;
  --bs-success-rgb: 16, 185, 129;
  --bs-danger: #ef4444;
  --bs-danger-rgb: 239, 68, 68;
  --bs-warning: #F8BA13;
  --bs-warning-rgb: 248, 186, 19;
  --bs-info: #F8BA13;
  --bs-info-rgb: 248, 186, 19;
  
  /* Neutral Colors - Light Mode */
  --bs-gray-50: #f8fafc;
  --bs-gray-100: #f1f5f9;
  --bs-gray-200: #e2e8f0;
  --bs-gray-300: #cbd5e1;
  --bs-gray-400: #94a3b8;
  --bs-gray-500: #64748b;
  --bs-gray-600: #475569;
  --bs-gray-700: #334155;
  --bs-gray-800: #1e293b;
  --bs-gray-900: #0f172a;
  
  /* Body Colors */
  --bs-body-bg: #ffffff;
  --bs-body-bg-rgb: 255, 255, 255;
  --bs-body-color: #000000;
  --bs-body-color-rgb: 0, 0, 0;
  
  /* Surface Colors */
  --bs-surface: #ffffff;
  --bs-surface-secondary: #fafafa;
  --bs-border-color: #e5e5e5;
  
  /* ===== Typography ===== */
  
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  --font-heading: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', monospace;
  
  /* Font Sizes - Fluid Typography */
  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --fs-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --fs-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
  --fs-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 3rem);
  --fs-5xl: clamp(3rem, 2.4rem + 3vw, 4rem);
  
  /* Font Weights */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  
  /* Line Heights */
  --lh-tight: 1.25;
  --lh-snug: 1.375;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;
  --lh-loose: 2;
  
  /* Letter Spacing */
  --ls-tighter: -0.05em;
  --ls-tight: -0.025em;
  --ls-normal: 0;
  --ls-wide: 0.025em;
  --ls-wider: 0.05em;
  --ls-widest: 0.1em;
  
  /* ===== Spacing System ===== */
  --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-7: 1.75rem;   /* 28px */
  --space-8: 2rem;      /* 32px */
  --space-9: 2.25rem;   /* 36px */
  --space-10: 2.5rem;   /* 40px */
  --space-11: 2.75rem;  /* 44px */
  --space-12: 3rem;     /* 48px */
  --space-14: 3.5rem;   /* 56px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
  --space-28: 7rem;     /* 112px */
  --space-32: 8rem;     /* 128px */
  
  /* ===== Shadows & Effects ===== */
  
  /* Elevation System */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  
  /* Border Radius */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Border Width */
  --border-width: 1px;
  --border-width-2: 2px;
  --border-width-4: 4px;
  --border-width-8: 8px;
  
  /* ===== Transitions ===== */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slower: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Easing Functions */
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== Z-Index Scale ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
  
  /* ===== Layout ===== */
  --container-max-width: 1280px;
  --container-padding: var(--space-4);
  
  /* Navbar - BE-SQUARE Black with Gold accent */
  --navbar-height: 80px;
  --navbar-bg: rgba(0, 0, 0, 0.95);
  --navbar-blur: blur(10px);
  
  /* ===== Component Specific ===== */
  
  /* Buttons */
  --btn-padding-y: var(--space-3);
  --btn-padding-x: var(--space-6);
  --btn-border-radius: var(--radius-lg);
  --btn-font-weight: var(--fw-medium);
  
  /* Cards */
  --card-padding: var(--space-6);
  --card-border-radius: var(--radius-xl);
  --card-shadow: var(--shadow-md);
  --card-shadow-hover: var(--shadow-lg);
  
  /* Forms */
  --input-padding-y: var(--space-3);
  --input-padding-x: var(--space-4);
  --input-border-radius: var(--radius-lg);
  --input-border-color: var(--bs-border-color);
  --input-focus-border-color: var(--bs-primary);
  
  /* ===== Animations ===== */
  --animation-fade-in: fadeIn var(--transition-base);
  --animation-slide-up: slideUp var(--transition-base);
  --animation-slide-down: slideDown var(--transition-base);
  --animation-scale-in: scaleIn var(--transition-base);
}

/* ===== Dark Mode Theme ===== */
[data-theme="dark"] {
  /* Dark Mode Colors - BE-SQUARE Black Theme */
  --bs-body-bg: #000000;
  --bs-body-bg-rgb: 0, 0, 0;
  --bs-body-color: #ffffff;
  --bs-body-color-rgb: 255, 255, 255;
  
  /* Dark Surface Colors */
  --bs-surface: #1a1a1a;
  --bs-surface-secondary: #2a2a2a;
  --bs-border-color: #333333;
  
  /* Adjust grays for dark mode */
  --bs-gray-50: #1a1a1a;
  --bs-gray-100: #2a2a2a;
  --bs-gray-200: #3a3a3a;
  --bs-gray-300: #4a4a4a;
  --bs-gray-700: #cccccc;
  --bs-gray-800: #e5e5e5;
  --bs-gray-900: #f5f5f5;
  
  /* Navbar in dark mode - Pure Black */
  --navbar-bg: rgba(0, 0, 0, 0.98);
  
  /* Adjust shadows for dark mode */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
  
  /* Card shadows in dark mode */
  --card-shadow: var(--shadow-lg);
  --card-shadow-hover: var(--shadow-xl);
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
    --transition-slower: 0ms;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Print Styles ===== */
@media print {
  :root {
    --bs-body-bg: white;
    --bs-body-color: black;
  }
}

/* Made with Bob */
