/* ====================================
   الشركة المصرية للأعمال والحلول
   Design System - CSS Variables
   ==================================== */

:root {
    /* === Egyptian Flag Inspired Colors === */
    --primary-red: #C8102E;
    --primary-red-hover: #A00D24;
    --primary-red-light: rgba(200, 16, 46, 0.1);

    --dark: #1A1A1A;
    --dark-light: #2D2D2D;

    --light: #FFFFFF;
    --light-gray: #F8F9FA;
    --light-gray-2: #E9ECEF;

    /* === Accent Colors === */
    --accent-gold: #D4AF37;
    --accent-gold-light: rgba(212, 175, 55, 0.15);

    /* === Gray Scale === */
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #CED4DA;
    --gray-500: #ADB5BD;
    --gray-600: #6C757D;
    --gray-700: #495057;
    --gray-800: #343A40;
    --gray-900: #212529;

    /* === Semantic Colors === */
    --success: #28A745;
    --warning: #FFC107;
    --danger: #DC3545;
    --info: #17A2B8;

    /* === Typography === */
    --font-heading: 'Cairo', sans-serif;
    --font-body: 'Tajawal', sans-serif;

    /* === Font Sizes === */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

    /* === Font Weights === */
    --font-light: 300;
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* === Line Heights === */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.75;

    /* === Spacing === */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* === Border Radius === */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* === Shadows === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-red-glow: 0 10px 30px rgba(200, 16, 46, 0.3);
    --shadow-gold-glow: 0 10px 30px rgba(212, 175, 55, 0.3);

    /* === Transitions === */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* === Z-Index === */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-tooltip: 600;
    --z-whatsapp: 999;

    /* === Container === */
    --container-max: 1200px;
    --container-padding: 1.5rem;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.5rem;
        --container-padding: 1rem;
    }
}

/* === Dark Mode Variables === */
[data-theme="dark"] {
    --dark: #F5F5F5;
    --dark-light: #E0E0E0;
    --light: #1A1A1A;
    --light-gray: #252525;
    --light-gray-2: #333333;

    --gray-100: #2D2D2D;
    --gray-200: #3D3D3D;
    --gray-300: #4D4D4D;
    --gray-400: #5D5D5D;
    --gray-500: #7D7D7D;
    --gray-600: #9D9D9D;
    --gray-700: #BDBDBD;
    --gray-800: #DDDDDD;
    --gray-900: #F5F5F5;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
}