/**
 * CSS Variables - المتغيرات
 * Predefined CSS Variables for consistency
 * 
 * @package OIC_Atif_Al_Abbasi
 * @version 1.0.001
 */

:root {
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * الألوان الأساسية - Primary Colors
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --color-primary: #3498db;
  --color-secondary: #2ecc71;
  --color-text: #333333;
  --color-text-secondary: #666666;
  --color-background: #ffffff;
  --color-background-secondary: #f8f9fa;
  --color-border: #dddddd;
  --color-link: #3498db;
  --color-link-hover: #2980b9;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * أحجام الخطوط - Font Sizes
   * ═══════════════════════════════════════════════════════════════════
   */
  
  /* Headings */
  --font-size-h1: 32px;
  --font-size-h2: 28px;
  --font-size-h3: 24px;
  --font-size-h4: 20px;
  --font-size-h5: 18px;
  --font-size-h6: 16px;
  
  /* Body */
  --font-size-base: 16px;
  --font-size-large: 18px;
  --font-size-small: 14px;
  --font-size-xsmall: 12px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Line Heights
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --line-height-base: 1.6;
  --line-height-heading: 1.3;
  --line-height-tight: 1.2;
  --line-height-loose: 1.8;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Font Weights
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * المسافات - Spacing
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * الظلال - Shadows
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --shadow-1: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-2: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-3: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-4: 0 12px 24px rgba(0, 0, 0, 0.18);
  --shadow-5: 0 16px 32px rgba(0, 0, 0, 0.20);
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Border Radius
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * مقاسات الصور - Image Sizes
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --image-thumb: 150px;
  --image-small: 300px;
  --image-medium: 600px;
  --image-large: 900px;
  --image-xlarge: 1200px;
  --image-full: 1920px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Container Widths
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
  
  /* Container افتراضي */
  --container-width: 1200px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Grid & Layout
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --grid-gap: 16px;
  --grid-columns: 12;
  --sidebar-width: 320px;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Transitions & Animations
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --transition-fast: 150ms;
  --transition-base: 300ms;
  --transition-slow: 500ms;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Z-Index Scale
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  
  /**
   * ═══════════════════════════════════════════════════════════════════
   * Breakpoints (للاستخدام في JavaScript)
   * ═══════════════════════════════════════════════════════════════════
   */
  
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/**
 * ═══════════════════════════════════════════════════════════════════
 * Dark Mode Variables (اختياري - سيتم تفعيله لاحقاً)
 * ═══════════════════════════════════════════════════════════════════
 */

@media (prefers-color-scheme: dark) {
  :root {
    /* سيتم إضافة متغيرات Dark Mode لاحقاً */
  }
}

[data-theme="dark"] {
  /* سيتم إضافة متغيرات Dark Mode لاحقاً */
}

/**
 * ═══════════════════════════════════════════════════════════════════
 * Font Families (سيتم تحديثها من مكتبة الخطوط لاحقاً)
 * ═══════════════════════════════════════════════════════════════════
 */

:root {
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-family-heading: var(--font-family-base);
  --font-family-mono: "Courier New", Courier, monospace;
}

/* نهاية variables.css */
