/* ============================================================
   Kafanet Web — Tema değişkenleri (mobil app ile birebir)
   ============================================================ */

:root {
  --bg: #FDFBF6;
  --bg-alt: #F5F1E8;
  --ink: #1A1614;
  --ink-soft: #524742;
  --accent: #D4491C;
  --accent-soft: #F4E3D6;
  --gold: #B8924D;
  --green: #5A7A3A;
  --red: #C94545;
  --border: #E8DFD0;
  --card: #FFFFFF;
  --shadow-sm: 0 2px 6px rgba(26, 22, 20, 0.04);
  --shadow-md: 0 4px 12px rgba(26, 22, 20, 0.06);
  --shadow-lg: 0 8px 24px rgba(26, 22, 20, 0.08);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 20px;
  --radius-full: 9999px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-xxl: 24px;
  --space-3xl: 32px;
  --space-huge: 40px;

  --header-h: 64px;
  --container-max: 1180px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset & taban */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.4px;
  color: var(--ink);
  line-height: 1.2;
}
h1 { font-size: clamp(28px, 4vw, 36px); font-weight: 700; letter-spacing: -1px; }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; letter-spacing: -0.5px; }
h3 { font-size: clamp(18px, 2vw, 22px); font-weight: 600; }
h4 { font-size: 16px; font-weight: 600; font-family: var(--font-body); }

p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

/* Utility */
.muted { color: var(--ink-soft); }
.eyebrow { font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.caption { font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.hidden { display: none !important; }
.no-wrap { white-space: nowrap; }
.full-width { width: 100%; }
.spacer-sm { height: 8px; }
.spacer-md { height: 16px; }
.spacer-lg { height: 24px; }
.spacer-xl { height: 40px; }

/* Skeleton/loader */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}
@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.spinner {
  width: 22px; height: 22px;
  border: 2.5px solid var(--bg-alt);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
