/* ============================================
   CSS CUSTOM PROPERTIES - DESIGN SYSTEM
   Fatih Aksoy Portfolio - Elektrik Mavisi Teması
   ============================================ */

:root {
  /* ==================== COLORS ==================== */

  /* Dark Mode (Default) - Strictly No Blue Tones */
  --bg-primary: #121212;
  /* Mat Siyah - Ana arka plan */
  --bg-secondary: #1e1e1e;
  /* Koyu Gri - Kartlar */
  --bg-tertiary: #2d2d2d;
  /* Açık Gri - Hover */

  --accent-primary: #FF6D00;
  /* Canlı Turuncu */
  --accent-secondary: #E65100;
  /* Koyu Turuncu */
  --accent-hover: #FF9E40;
  /* Açık Turuncu */

  --text-primary: #ffffff;
  /* Beyaz */
  --text-secondary: #e0e0e0;
  /* Açık Gri */
  --text-muted: #a0a0a0;
  /* Gri */

  --success: #00c853;
  --warning: #ffd600;
  --error: #d50000;

  /* Glassmorphism - Neutral Black/Gray */
  --glass-bg: rgba(18, 18, 18, 0.95);
  /* Siyah/Gri transparan - MAVİ YOK */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.5);

  /* Gradients - Neutral Grayscale */
  --gradient-hero: linear-gradient(180deg, #121212 0%, #1e1e1e 100%);
  /* Sadece siyah-gri geçişi */
  --gradient-button: linear-gradient(135deg, #FF6D00 0%, #E65100 100%);
  --gradient-card: linear-gradient(145deg, #1e1e1e 0%, #121212 100%);
  --gradient-accent: linear-gradient(90deg, #FF6D00 0%, #FF9E40 100%);

  /* ==================== TYPOGRAPHY ==================== */

  /* Font Families */
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  /* 12px */
  --fs-sm: 0.875rem;
  /* 14px */
  --fs-base: 1rem;
  /* 16px */
  --fs-lg: 1.125rem;
  /* 18px */
  --fs-xl: 1.25rem;
  /* 20px */
  --fs-2xl: 1.5rem;
  /* 24px */
  --fs-3xl: 1.875rem;
  /* 30px */
  --fs-4xl: 2.25rem;
  /* 36px */
  --fs-5xl: 3rem;
  /* 48px */
  --fs-6xl: 3.75rem;
  /* 60px */

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.75;

  /* ==================== SPACING ==================== */

  --space-1: 0.25rem;
  /* 4px */
  --space-2: 0.5rem;
  /* 8px */
  --space-3: 0.75rem;
  /* 12px */
  --space-4: 1rem;
  /* 16px */
  --space-5: 1.25rem;
  /* 20px */
  --space-6: 1.5rem;
  /* 24px */
  --space-8: 2rem;
  /* 32px */
  --space-10: 2.5rem;
  /* 40px */
  --space-12: 3rem;
  /* 48px */
  --space-16: 4rem;
  /* 64px */
  --space-20: 5rem;
  /* 80px */
  --space-24: 6rem;
  /* 96px */

  /* ==================== LAYOUT ==================== */

  --container-max: 1280px;
  --container-padding: var(--space-6);

  --nav-height: 80px;
  --footer-height: 300px;

  /* ==================== BORDERS ==================== */

  --border-radius-sm: 0.375rem;
  /* 6px */
  --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;

  --border-width: 1px;
  --border-width-thick: 2px;

  /* ==================== 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);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Glow Effects */
  --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
  --glow-secondary: 0 0 20px rgba(255, 107, 53, 0.5);
  --glow-success: 0 0 20px rgba(0, 255, 136, 0.5);

  /* ==================== TRANSITIONS ==================== */

  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* ==================== Z-INDEX ==================== */

  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ==================== BREAKPOINTS (for reference) ==================== */
  /* Mobile: 320px - 639px */
  /* Tablet: 640px - 1023px */
  /* Desktop: 1024px+ */
  /* Large Desktop: 1280px+ */
}

/* ==================== LIGHT MODE (Optional) ==================== */
[data-theme="light"] {
  /* Light Mode (Switchable with [data-theme="light"]) */
  --bg-primary: #f3f4f6;
  /* Açık gri - Göz yormayan zemin */
  --bg-secondary: #ffffff;
  /* Beyaz - Kartlar için */
  --bg-tertiary: #e5e7eb;
  /* Daha koyu gri - Hover */

  --text-primary: #111827;
  /* Koyu Antrasit - Ana metin */
  --text-secondary: #4b5563;
  /* Gri - İkincil metin */
  --text-muted: #6b7280;
  /* Soluk gri - Yardımcı metin */

  /* Light Mode Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.05);

  /* Light Mode Gradients */
  --gradient-hero: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 100%);
  --gradient-button: linear-gradient(90deg, #e65100 0%, #ff6d00 100%);
  /* Turuncu butonlar korunur */
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
}

/* ==================== UTILITY CLASSES ==================== */

/* Smooth theme transition */
* {
  transition: background-color var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base);
}

/* Remove transition for specific elements to avoid flicker */
*:focus,
*:active,
input,
textarea,
select {
  transition: none;
}