/**
 * CSS Variables - Global Design System
 * Tüm projede kullanılacak değişkenler
 */

:root {
  /* ========================================
     TYPOGRAPHY
     ======================================== */
  --font-family-primary: "Poppins", sans-serif;
  --font-family-secondary: "Arial", sans-serif;
  
  /* Font Sizes */
  --font-size-xs: 0.7rem;      /* 11.2px */
  --font-size-sm: 0.8rem;      /* 12.8px */
  --font-size-base: 0.9rem;    /* 14.4px */
  --font-size-md: 1rem;        /* 16px */
  --font-size-lg: 1.1rem;      /* 17.6px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;

  /* ========================================
     COLORS
     ======================================== */
  /* Primary Colors */
  --color-primary: #101920;
  --color-primary-light: #1F303C;
  --color-primary-dark: #0A0F14;
  
  /* Accent Colors */
  --color-accent: #FF6B00;
  --color-accent-light: #FF8533;
  --color-accent-dark: #E65000;
  
  /* Text Colors */
  --color-text-primary: #101920;
  --color-text-secondary: #7A7A7A;
  --color-text-muted: #9CA3AF;
  --color-text-light: #6B7280;
  
  /* Background Colors */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #F9FAFB;
  --color-bg-accent: #F3F5F2;
  --color-bg-muted: #e8d9d6;
  
  /* Status Colors */
  --color-success: #3CB371;
  --color-success-light: #9DE0BC;
  --color-error: #F7494B;
  --color-warning: #FFA500;
  --color-info: #3B82F6;
  
  /* Border Colors */
  --color-border: #e0e0e0;
  --color-border-light: #E5E7EB;
  --color-border-dark: #d0d0d0;

  /* ========================================
     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 */
  
  /* ========================================
     LAYOUT
     ======================================== */
  /* Border Radius */
  --radius-sm: 3px;
  --radius-base: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-base: 0 0 15px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 2px 8px rgba(60, 179, 113, 0.3);
  
  /* 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;

  /* ========================================
     BREAKPOINTS
     ======================================== */
  --breakpoint-xs: 320px;
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1200px;
  --breakpoint-2xl: 1440px;
  
  /* ========================================
     TRANSITIONS
     ======================================== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  --transition-slower: 0.5s ease;
  
  /* ========================================
     FORM CONTROLS
     ======================================== */
  --input-height: 42px;
  --input-padding: var(--spacing-3);
  --input-border-width: 1px;
  --input-focus-ring: 0 0 0 2px rgba(255, 107, 0, 0.1);
  
  /* ========================================
     COMPONENT SPECIFIC
     ======================================== */
  /* Buttons */
  --button-height: var(--input-height);
  --button-padding-x: var(--spacing-4);
  --button-padding-y: var(--spacing-3);
  
  /* Cards */
  --card-padding: var(--spacing-6);
  --card-border-radius: var(--radius-lg);
  
  /* Gallery */
  --gallery-thumbnail-size: 60px;
  --gallery-gap: var(--spacing-3);
  --gallery-max-height: 400px;
}

/* ========================================
   RESPONSIVE VARIABLES
   ======================================== */
@media (max-width: 768px) {
  :root {
    --font-size-base: 0.85rem;
    --input-height: 40px;
    --card-padding: var(--spacing-4);
    --gallery-thumbnail-size: 50px;
  }
}

@media (max-width: 480px) {
  :root {
    --font-size-base: 0.8rem;
    --input-height: 38px;
    --card-padding: var(--spacing-3);
    --gallery-thumbnail-size: 45px;
  }
}
