/**
 * VGBIKE Brand Color Scheme
 * Colors extracted and designed to match company logo
 * 
 * Usage: Include this file in your pages to use consistent brand colors
 * @import: <link rel="stylesheet" href="style/brand_colors.css">
 */

:root {
    /* ============================================
       PRIMARY BRAND COLORS (From VGBIKE Logo)
       ============================================ */
    
    /* Blue Primary - Main Brand Color (from helmet) */
    --brand-blue-50: #eff6ff;
    --brand-blue-100: #dbeafe;
    --brand-blue-200: #bfdbfe;
    --brand-blue-300: #93c5fd;
    --brand-blue-400: #60a5fa;
    --brand-blue-500: #3b82f6;  /* Primary Blue */
    --brand-blue-600: #2563eb;  /* Main Brand Blue */
    --brand-blue-700: #1d4ed8;
    --brand-blue-800: #1e40af;
    --brand-blue-900: #1e3a8a;
    
    /* Yellow Secondary - Accent Color (from VG graphic) */
    --brand-yellow-50: #fefce8;
    --brand-yellow-100: #fef9c3;
    --brand-yellow-200: #fef08a;
    --brand-yellow-300: #fde047;
    --brand-yellow-400: #facc15;  /* Primary Yellow */
    --brand-yellow-500: #eab308;
    --brand-yellow-600: #ca8a04;
    --brand-yellow-700: #a16207;
    --brand-yellow-800: #854d0e;
    --brand-yellow-900: #713f12;
    
    /* Primary Colors (Use these for main elements) */
    --primary: #2563eb;           /* Main brand color - Blue */
    --primary-light: #3b82f6;     /* Lighter variant */
    --primary-dark: #1d4ed8;      /* Darker variant */
    --primary-hover: #1e40af;     /* Hover state */
    --primary-active: #1e3a8a;    /* Active/pressed state */
    
    /* Secondary Colors (Yellow accent) */
    --secondary: #facc15;          /* Yellow accent */
    --secondary-light: #fde047;    /* Lighter yellow */
    --secondary-dark: #eab308;     /* Darker yellow */
    
    /* Primary Gradients */
    --primary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --primary-gradient-dark: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    --primary-gradient-light: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    
    /* Blue-Yellow Gradient (Brand combination) */
    --brand-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #facc15 100%);
    --brand-gradient-alt: linear-gradient(135deg, #1e40af 0%, #facc15 100%);
    
    /* Primary with Opacity (for backgrounds, overlays) */
    --primary-10: rgba(37, 99, 235, 0.1);
    --primary-20: rgba(37, 99, 235, 0.2);
    --primary-30: rgba(37, 99, 235, 0.3);
    --primary-50: rgba(37, 99, 235, 0.5);
    
    /* Secondary with Opacity */
    --secondary-10: rgba(250, 204, 21, 0.1);
    --secondary-20: rgba(250, 204, 21, 0.2);
    --secondary-30: rgba(250, 204, 21, 0.3);
    
    /* ============================================
       SECONDARY COLORS (Supporting Colors)
       ============================================ */
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-yellow: #facc15;  /* VGBIKE yellow */
    --accent-orange: #f59e0b;
    --accent-purple: #8b5cf6;
    
    /* Status Colors */
    --success: #10b981;
    --success-light: #34d399;
    --success-dark: #059669;
    --success-bg: rgba(16, 185, 129, 0.1);
    
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    --warning-bg: rgba(245, 158, 11, 0.1);
    
    --danger: #ef4444;
    --danger-light: #f87171;
    --danger-dark: #dc2626;
    --danger-bg: rgba(239, 68, 68, 0.1);
    
    --info: #3b82f6;
    --info-light: #60a5fa;
    --info-dark: #2563eb;
    --info-bg: rgba(59, 130, 246, 0.1);
    
    /* ============================================
       NEUTRAL COLORS (Grays)
       ============================================ */
    
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* ============================================
       TEXT COLORS
       ============================================ */
    
    --text-primary: #1f2937;      /* Main text */
    --text-secondary: #4b5563;     /* Secondary text */
    --text-tertiary: #6b7280;      /* Tertiary text */
    --text-muted: #9ca3af;         /* Muted text */
    --text-inverse: #ffffff;       /* White text on dark */
    --text-on-primary: #ffffff;    /* Text on primary color */
    
    /* ============================================
       BACKGROUND COLORS
       ============================================ */
    
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-overlay: rgba(0, 0, 0, 0.5);
    
    /* Background Gradients */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-gradient-light: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    
    /* ============================================
       BORDER COLORS
       ============================================ */
    
    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --border-dark: #9ca3af;
    --border-primary: #2563eb;
    --border-focus: #2563eb;
    
    /* ============================================
       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-primary: 0 10px 25px rgba(37, 99, 235, 0.3);
    --shadow-primary-lg: 0 10px 30px rgba(37, 99, 235, 0.4);
    --shadow-secondary: 0 10px 25px rgba(250, 204, 21, 0.3);
    
    /* ============================================
       BORDER RADIUS
       ============================================ */
    
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 20px;
    --radius-full: 9999px;
    
    /* ============================================
       TRANSITIONS
       ============================================ */
    
    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Background Colors */
.bg-primary { background-color: var(--primary); }
.bg-primary-light { background-color: var(--primary-light); }
.bg-primary-dark { background-color: var(--primary-dark); }
.bg-primary-gradient { background: var(--primary-gradient); }

/* Text Colors */
.text-primary { color: var(--primary); }
.text-primary-light { color: var(--primary-light); }
.text-on-primary { color: var(--text-on-primary); }

/* Border Colors */
.border-primary { border-color: var(--primary); }
.border-primary-light { border-color: var(--primary-light); }

/* Buttons */
.btn-primary {
    background: var(--primary-gradient);
    color: var(--text-on-primary);
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    background: var(--primary-gradient-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

/* Focus States */
.focus-primary:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-10);
}

/* Cards with Primary Accent */
.card-primary {
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.card-primary:hover {
    box-shadow: var(--shadow-lg);
    border-left-color: var(--primary-dark);
}
