/* ═══════════════════════════════════════════════════════
   Salatvakti — Rehber / İçerik Sayfaları Stili
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #f5f8f6;
  --surface: #ffffff;
  --surface-2: #eef5f0;
  --border: rgba(12, 154, 97, 0.16);
  --text: #14201b;
  --text-soft: #3a5249;
  --muted: #5e736b;
  --brand: #0c9a61;
  --brand-hover: #0b8051;
  --brand-dark: #1a3a2a;
  --shadow-sm: 0 4px 14px rgba(10, 31, 23, 0.06);
  --shadow: 0 18px 42px rgba(10, 31, 23, 0.10);
  --radius: 16px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse at 12% -5%, rgba(12, 154, 97, 0.08), transparent 45%),
    radial-gradient(ellipse at 100% 0%, rgba(216, 150, 0, 0.06), transparent 40%);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand-hover); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

.container { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }

/* ── HEADER ─────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 66px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "Marhey", "Manrope", cursive; font-weight: 700;
  font-size: 1.25rem; color: var(--brand-dark); white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.site-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.site-nav a {
  color: var(--text-soft); font-weight: 600; font-size: 0.9rem;
  padding: 0.45rem 0.85rem; border-radius: 999px; transition: all 0.2s;
}
.site-nav a:hover { background: rgba(12, 154, 97, 0.1); color: var(--brand-hover); text-decoration: none; }
.site-nav a.cta { background: var(--brand); color: #fff; }
.site-nav a.cta:hover { background: var(--brand-hover); color: #fff; }

/* ── BREADCRUMB ─────────────────────────── */
.breadcrumb {
  font-size: 0.82rem; color: var(--muted);
  padding: 1.2rem 0 0;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand-hover); }
.breadcrumb span { margin: 0 0.35rem; }

/* ── ARTICLE ────────────────────────────── */
.article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
  margin: 1.4rem 0 2.5rem;
}
.article-header { margin-bottom: 1.8rem; }
.article-kicker {
  display: inline-block;
  background: rgba(12, 154, 97, 0.1);
  color: var(--brand-hover);
  font-weight: 700; font-size: 0.78rem;
  padding: 0.35rem 0.85rem; border-radius: 999px;
  letter-spacing: 0.02em; margin-bottom: 1rem;
}
.article h1 {
  font-family: "Marhey", "Manrope", sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  line-height: 1.2; color: var(--brand-dark);
  letter-spacing: -0.02em; margin-bottom: 0.8rem;
}
.article-lead {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  color: var(--text-soft); font-weight: 500;
}
.article-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem;
  font-size: 0.82rem; color: var(--muted);
  margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 1px solid var(--border);
}

.article-body { font-size: 1.03rem; color: var(--text); }
.article-body h2 {
  font-family: "Marhey", "Manrope", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--brand-dark);
  margin: 2.2rem 0 0.9rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--surface-2);
}
.article-body h3 {
  font-size: 1.18rem; color: var(--brand-hover);
  margin: 1.6rem 0 0.6rem;
}
.article-body p { margin: 0 0 1.1rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.3rem; }
.article-body li { margin-bottom: 0.5rem; }
.article-body strong { color: var(--brand-dark); }

.callout {
  background: var(--surface-2);
  border-left: 4px solid var(--brand);
  border-radius: 12px;
  padding: 1rem 1.3rem; margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }

.table-wrap { overflow-x: auto; margin: 1.4rem 0; }
table {
  width: 100%; border-collapse: collapse; font-size: 0.94rem;
  min-width: 420px;
}
th, td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--border); }
thead th { background: var(--surface-2); color: var(--brand-dark); font-weight: 700; }
tbody tr:hover { background: rgba(12, 154, 97, 0.04); }

/* ── FAQ ────────────────────────────────── */
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: 0.8rem; background: var(--surface);
}
.faq-item h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--brand-dark); }
.faq-item p { margin: 0; color: var(--text-soft); }

/* ── RELATED / CARDS ────────────────────── */
.section-title {
  font-family: "Marhey", "Manrope", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: var(--brand-dark); margin-bottom: 0.4rem;
}
.section-desc { color: var(--muted); margin-bottom: 1.6rem; }

.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem; margin-bottom: 2.5rem;
}
.guide-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.guide-card .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 154, 97, 0.1); color: var(--brand-hover);
  margin-bottom: 0.9rem;
}
.guide-card .ic svg { width: 24px; height: 24px; }
.guide-card h3 { color: var(--brand-dark); font-size: 1.12rem; margin-bottom: 0.4rem; }
.guide-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.guide-card .more { margin-top: auto; padding-top: 0.9rem; color: var(--brand-hover); font-weight: 700; font-size: 0.9rem; }

/* ── CTA ────────────────────────────────── */
.cta-box {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  border-radius: var(--radius-lg); color: #fff;
  padding: clamp(1.6rem, 4vw, 2.6rem); text-align: center;
  margin: 2rem 0 2.5rem;
}
.cta-box h2 { font-family: "Marhey", "Manrope", sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.6rem; color: #fff; border: 0; }
.cta-box p { color: rgba(255, 255, 255, 0.9); margin-bottom: 1.4rem; }
.store-row { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.store-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; color: var(--brand-dark);
  font-weight: 700; padding: 0.7rem 1.3rem; border-radius: 12px;
  transition: transform 0.2s;
}
.store-link:hover { transform: translateY(-3px); text-decoration: none; }
.store-link svg { width: 20px; height: 20px; }

/* ── FOOTER ─────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.2rem 0; margin-top: 1rem;
}
.site-footer .container {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center;
}
.site-footer .foot-links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer .copy { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 560px) {
  .site-header .container { height: auto; padding-top: 0.6rem; padding-bottom: 0.6rem; flex-wrap: wrap; }
  .brand { font-size: 1.1rem; }
  .site-nav a { padding: 0.4rem 0.6rem; font-size: 0.82rem; }
}
