/**
 * CSS Variables - Design System
 * Dot Red Infotech Theme Configuration
 */

:root {
  /* ========================================
     COLOR PALETTE
     ======================================== */
  
  /* Primary Colors - Velvet Red */
  --color-primary: #8B0A12;        /* Velvet Red */
  --color-primary-dark: #6B080E;   /* Darker Red */
  --color-primary-light: #A50D15;  /* Lighter Red */
  
  /* Gradient Colors */
  --gradient-primary: linear-gradient(135deg, #8B0A12 0%, #A50D15 100%);
  --gradient-hero: linear-gradient(135deg, #8B0A12 0%, #A50D15 50%, #DC2626 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  --gradient-section: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  
  /* Neutral Colors */
  --color-secondary: #F8F6F3;      /* Off-White */
  --color-dark: #000000;            /* Pure Black */
  --color-white: #FFFFFF;           /* Pure White */
  
  /* Accent Colors */
  --color-accent: #DC2626;         /* Red Accent */
  --color-accent-light: #EF4444;   /* Light Red */
  --color-accent-dark: #B91C1C;    /* Dark Red */
  
  /* Grayscale */
  --color-gray-100: #F5F5F5;
  --color-gray-200: #E5E5E5;
  --color-gray-300: #D4D4D4;
  --color-gray-400: #A3A3A3;
  --color-gray-500: #737373;
  --color-gray-600: #525252;
  --color-gray-700: #404040;
  --color-gray-800: #262626;
  --color-gray-900: #171717;
  
  /* Semantic Colors */
  --color-success: #16A34A;
  --color-warning: #EA580C;
  --color-error: #DC2626;
  --color-info: #2563EB;
  
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  
  /* Font Families */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-headings: 'Poppins', 'Inter', sans-serif;
  --font-code: 'Fira Code', 'Courier New', 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
     ======================================== */
  
  --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 */
  
  /* ========================================
     BORDERS
     ======================================== */
  
  --border-radius-sm: 0.25rem;    /* 4px */
  --border-radius-md: 0.5rem;     /* 8px */
  --border-radius-lg: 0.75rem;    /* 12px */
  --border-radius-xl: 1rem;       /* 16px */
  --border-radius-2xl: 1.5rem;    /* 24px */
  --border-radius-full: 9999px;   /* Fully rounded */
  
  --border-width-thin: 1px;
  --border-width-medium: 2px;
  --border-width-thick: 4px;
  
  /* ========================================
     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);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  /* Colored Shadows */
  --shadow-primary: 0 10px 25px -5px rgba(139, 10, 18, 0.3);
  --shadow-accent: 0 10px 25px -5px rgba(220, 38, 38, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  --transition-all: all var(--transition-base);
  --transition-colors: color var(--transition-base), background-color var(--transition-base), border-color var(--transition-base);
  --transition-transform: transform var(--transition-base);
  
  /* ========================================
     Z-INDEX LAYERS
     ======================================== */
  
  --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;
  
  /* ========================================
     CONTAINER & LAYOUT
     ======================================== */
  
  --container-max-width: 1320px;
  --container-padding: var(--spacing-4);
  
  /* Breakpoints (for reference in JS) */
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;
  
  /* ========================================
     COMPONENT-SPECIFIC
     ======================================== */
  
  /* Buttons */
  --btn-padding-y: 0.75rem;
  --btn-padding-x: 1.5rem;
  --btn-font-size: var(--font-size-base);
  --btn-border-radius: var(--border-radius-md);
  
  /* Cards */
  --card-padding: var(--spacing-6);
  --card-border-radius: var(--border-radius-lg);
  --card-shadow: var(--shadow-md);
  
  /* Header */
  --header-height: 80px;
  --header-bg: var(--color-white);
  
  /* Footer */
  --footer-bg: var(--color-dark);
  --footer-color: var(--color-secondary);
}

/* ========================================
   DARK MODE SUPPORT (Optional)
   ======================================== */

@media (prefers-color-scheme: dark) {
  :root {
    /* Uncomment to enable dark mode */
    /* --color-secondary: #1a1a1a;
    --color-dark: #ffffff; */
  }
}
