/* İyilik Çetesi · Kimlik Rehberi, Alternatif B · Gül ailesi
   Renkler: Sofra (zemin), Gül Suyu (yüzey/kart), Gül (logo/vurgu, metin değil),
   Kuşburnu (koyu vurgu/başlık), Mürdüm (metin). Başlık: Unbounded · Metin: Geist. */

@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(fonts/unbounded-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-display: swap; font-weight: 200 900;
  src: url(fonts/unbounded-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/geist-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(fonts/geist-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  color-scheme: light;
  --sofra: #FFF8F5;
  --gulsuyu: #FFE5EA;
  --gul: #FD83A4;
  --kusburnu: #AF355C;
  --murdum: #3D172B;
  --beyaz: #FFFFFF;

  --ink: var(--murdum);
  --ink-2: #6E4A5C;          /* ikincil metin (Sofra'da ~7:1) */
  --ink-3: #8C6F7D;          /* sessiz metin, etiket */
  --line: #F2D6DE;           /* ince çizgi, kart kenarı */
  --line-2: #E8C3CF;
  --focus: #AF355C;
  --ok: #2F6B4F;
  --warn: #8A5A12;

  --font-head: 'Unbounded', 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --shadow: 0 1px 0 rgba(61, 23, 43, .04), 0 8px 24px -12px rgba(175, 53, 92, .18);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sofra); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--kusburnu); text-underline-offset: 3px; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.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; }

h1, h2, h3, .head { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(22px, 3.6vw, 32px); }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }

.eyebrow {
  font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--kusburnu);
}
.muted { color: var(--ink-2); }
.subtle { color: var(--ink-3); font-size: 14px; }
.accent { color: var(--kusburnu); }

/* Gül çizgi ve mühür noktası */
.gul-cizgi { height: 2px; background: var(--gul); border: 0; margin: 0; border-radius: 2px; }
.muhur-nokta { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--kusburnu); display: inline-grid; place-items: center; flex: none; }
.muhur-nokta::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--gul); }

/* Numara rozeti (rehberdeki bölüm numarası gibi) */
.num {
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--kusburnu);
  background: var(--gulsuyu); border-radius: 999px; padding: 4px 11px; display: inline-block; line-height: 1.3; flex: none;
}

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, transform .05s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--kusburnu); color: #fff; }
.btn-primary:hover { background: #9b2d51; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--kusburnu); }
.btn-soft { background: var(--gulsuyu); color: var(--kusburnu); }
.btn-soft:hover { background: #ffd6df; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Alanlar */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: 14px; }
.input, .textarea, .select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: var(--beyaz); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--kusburnu); box-shadow: 0 0 0 4px rgba(253, 131, 164, .25); }
.input::placeholder, .textarea::placeholder { color: #b49aa7; }

.card { background: var(--beyaz); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.surface { background: var(--gulsuyu); border-radius: var(--r-lg); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  background: var(--gulsuyu); color: var(--kusburnu); font-size: 13px; font-weight: 600; line-height: 1.5;
}

/* Mühür */
.muhur { position: relative; width: 100%; max-width: 300px; aspect-ratio: 1; }
.muhur svg { width: 100%; height: 100%; display: block; overflow: visible; }
.muhur .muhur-logo { position: absolute; inset: 22%; display: grid; place-items: center; }
.muhur .muhur-logo img { width: 100%; height: auto; }

/* Onay penceresi */
.dlg-bg { position: fixed; inset: 0; z-index: 200; background: rgba(61, 23, 43, .38); display: grid; place-items: center; padding: 16px; }
.dlg { width: min(440px, 100%); background: var(--beyaz); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; box-shadow: 0 20px 60px rgba(61, 23, 43, .3); }
.dlg h3 { font-size: 18px; }
.dlg p { margin: 0; color: var(--ink-2); font-size: 15px; }
.dlg-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.btn-danger { background: #9B1C3F; }
.btn-danger:hover { background: #82162f; }
