/* ============================================
   YAPI HİZMETLERİ — Design Tokens
   Minimalist White + Black/Dark Gray
   ============================================ */

:root {
  /* ── Colors (Premium Slate & Indigo Palette) ── */
  --color-white:        #ffffff;
  --color-bg:           #f8fafc; /* Subtle, clean off-white slate background */
  --color-bg-alt:       #f1f5f9; /* Soft slate gray */
  --color-bg-dark:      #e2e8f0; 
  --color-card:         #ffffff;

  /* Primary Deep Slate / Dark Blue */
  --color-primary:      #0f172a; /* Premium Dark Navy/Slate */
  --color-primary-hover: #1e293b;
  --color-primary-light: #334155;

  /* Accent - Luxurious Slate Indigo */
  --color-accent:       #4f46e5; /* Indigo Accent for active elements/links */
  --color-accent-hover: #4338ca;
  --color-accent-light: #e0e7ff;

  /* Typography Colors */
  --color-text:         #0f172a; /* Dark Slate */
  --color-text-secondary: #475569; /* Slate Gray */
  --color-text-muted:   #94a3b8; /* Muted Slate Gray */

  /* Neutral Grays */
  --color-black:        #0f172a;
  --color-gray-900:     #0f172a;
  --color-gray-800:     #1e293b;
  --color-gray-700:     #334155;
  --color-gray-600:     #475569;
  --color-gray-500:     #64748b;
  --color-gray-400:     #94a3b8;
  --color-gray-300:     #cbd5e1;
  --color-gray-200:     #e2e8f0;
  --color-gray-100:     #f1f5f9;
  --color-gray-50:      #f8fafc;

  /* Borders */
  --color-border:       #e2e8f0;
  --color-border-dark:  #cbd5e1;

  /* UI Feedback States (Centralized) */
  --color-success:      #10b981; /* Emerald green (Escrow) */
  --color-success-bg:   #ecfdf5;
  --color-error:        #ef4444;
  --color-error-bg:     #fef2f2;
  --color-warning:      #f59e0b;
  --color-warning-bg:   #fffbeb;
  --color-info:         #3b82f6;
  --color-info-bg:      #eff6ff;

  /* Badge colors */
  --badge-bireysel:     #0f172a;
  --badge-kurumsal:     #475569;
  --badge-onayli:       #10b981;
  --badge-boya:         #64748b;
  --badge-seramik:      #64748b;
  --badge-tesisat:      #64748b;
  --badge-elektrik:     #64748b;
  --badge-kaba:         #64748b;
  --badge-tadilat:      #64748b;

  /* ── Typography ── */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Fluid Typography Scaling (responsive scaling via clamp) */
  --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:  clamp(1.5rem, 4vw, 1.875rem);  /* Scales smoothly with screen width */
  --text-4xl:  clamp(1.75rem, 5vw, 2.25rem);
  --text-5xl:  clamp(2.25rem, 6vw, 3rem);
  --text-6xl:  clamp(2.75rem, 8vw, 3.75rem);

  --font-light:    300;
  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;
  --font-extrabold: 800;

  --leading-tight:  1.2;
  --leading-snug:   1.375;
  --leading-normal: 1.6;
  --leading-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 */

  /* ── Border Radius ── */
  --radius-sm:  0.375rem;  /* 6px */
  --radius-md:  0.5rem;    /* 8px */
  --radius-lg:  0.75rem;   /* 12px */
  --radius-xl:  1rem;      /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* ── Shadows (Premium Slate Elevations) ── */
  --shadow-xs:  0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm:  0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md:  0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 10px 15px -3px rgba(15, 23, 42, 0.06), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl:  0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-premium: 0 20px 40px -15px rgba(79, 70, 229, 0.06); /* Indigo-glow shadow */

  /* ── Transitions & Animations ── */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in:      cubic-bezier(0.4, 0, 1, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out-smooth: cubic-bezier(0.16, 1, 0.3, 1); /* Custom easeOutExotic */

  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   350ms;
  --duration-default: 300ms;

  /* ── Layout ── */
  --container-max:    1200px;
  --container-narrow: 800px;
  --container-wide:   1400px;

  --navbar-height:    72px;
  --navbar-height-mobile: 64px;

  /* ── Z-Index ── */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-navbar:   300;
  --z-modal:    400;
  --z-toast:    500;
}
