/* ===================================================
   46HİZMET — Design System Root Variables
   2027 UI/UX — Red · Black · White
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  /* ── Brand Colors ── */
  --red-50:  #fff0f0;
  --red-100: #ffe0e0;
  --red-200: #ffc0c0;
  --red-300: #ff8f8f;
  --red-400: #ff5555;
  --red-500: #ff2222;
  --red-600: #e60000;
  --red-700: #c00000;
  --red-800: #9a0000;
  --red-900: #7a0000;

  --black-50:  #f5f5f5;
  --black-100: #e8e8e8;
  --black-200: #d0d0d0;
  --black-300: #a8a8a8;
  --black-400: #707070;
  --black-500: #484848;
  --black-600: #303030;
  --black-700: #1e1e1e;
  --black-800: #121212;
  --black-900: #080808;

  --white: #ffffff;
  --off-white: #f9f9f9;

  /* ── Semantic ── */
  --primary:        var(--red-600);
  --primary-light:  var(--red-400);
  --primary-dark:   var(--red-800);
  --primary-glow:   rgba(230, 0, 0, 0.18);

  --surface:        var(--white);
  --surface-soft:   var(--black-50);
  --surface-muted:  var(--black-100);
  --border:         var(--black-100);
  --border-dark:    var(--black-200);

  --text-primary:   var(--black-800);
  --text-secondary: var(--black-400);
  --text-muted:     var(--black-300);
  --text-inverse:   var(--white);

  --success:  #00c853;
  --warning:  #ff9800;
  --info:     #2196f3;
  --danger:   var(--red-600);

  /* ── Typography ── */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;

  --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;

  --fw-light:    300;
  --fw-regular:  400;
  --fw-medium:   500;
  --fw-semibold: 600;
  --fw-bold:     700;
  --fw-extra:    800;
  --fw-black:    900;

  /* ── Spacing ── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* ── Radius ── */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   18px;
  --r-xl:   24px;
  --r-2xl:  32px;
  --r-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs:  0 1px 3px rgba(0,0,0,.07);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.09);
  --shadow-md:  0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,.12);
  --shadow-xl:  0 16px 64px rgba(0,0,0,.15);
  --shadow-red: 0 4px 24px rgba(230,0,0,.22);

  /* ── Motion ── */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:    150ms;
  --dur-base:    250ms;
  --dur-slow:    400ms;

  /* ── Z-index ── */
  --z-base:    1;
  --z-drop:    10;
  --z-sticky:  100;
  --z-modal:   1000;
  --z-toast:   9999;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--surface);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ── Utilities ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container-sm { max-width: 720px; }
.container-lg { max-width: 1440px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }

.text-center { text-align: center; }
.text-red { color: var(--primary); }
.text-muted { color: var(--text-secondary); }

.fw-bold { font-weight: var(--fw-bold); }
.fw-semibold { font-weight: var(--fw-semibold); }
.fw-black { font-weight: var(--fw-black); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--black-200); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Selection ── */
::selection { background: var(--primary); color: var(--white); }
