/* ==========================================================================
   Yakamoz İkinci El & Spot — ana stil dosyası
   Hafif, bağımlılıksız, mobil öncelikli.
   ========================================================================== */

:root {
  --ink: #101a26;
  --ink-soft: #46566a;
  --paper: #fbf8f3;
  --card: #ffffff;
  --teal: #0d5c5c;
  --teal-dark: #07403f;
  --teal-soft: #e6f1ef;
  --amber: #e8a33d;
  --amber-soft: #fdf3e2;
  --line: #e6dfd4;
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -28px rgba(16, 26, 38, 0.45);
  --wrap: 1120px;
  --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
}

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

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.05em; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Üst bilgi ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 23px;
  line-height: 1;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18);
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-serif); font-size: 1.2rem; letter-spacing: -0.01em; }
.brand-text small { font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
}
.nav a:hover { background: var(--teal-soft); color: var(--teal-dark); }
.nav a[aria-current="page"] { background: var(--teal); color: #fff; }

.nav-toggle { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.header-phone:hover { background: var(--teal); color: #fff; }
.header-phone svg { width: 17px; height: 17px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: 0 0 auto; }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.btn-amber { background: var(--amber); color: #2a1a00; }
.btn-amber:hover { background: #d8912c; color: #2a1a00; }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--amber-soft); color: var(--teal-dark); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(232, 163, 61, 0.18), transparent 65%),
    linear-gradient(180deg, #f3efe6 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: 58px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  border: 1px solid #cfe3df;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 { margin-bottom: 16px; }
.hero .lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 40em; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }

.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trust li { margin: 0; font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; }
.trust svg { width: 15px; height: 15px; color: var(--teal); }

.hero-figure { position: relative; }
.hero-figure img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.hero-figure figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(7, 64, 63, 0.92);
  color: #eaf5f2;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}

/* ---------- Bölümler ---------- */
.section { padding: 58px 0; }
.section-tight { padding: 44px 0; }
.section-alt { background: #f4efe5; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--teal-dark); color: #e9f4f1; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark a { color: #ffe0ab; }

.section-head { max-width: 46em; margin-bottom: 30px; }
.section-head p { color: var(--ink-soft); margin-bottom: 0; }
.section-dark .section-head p { color: #c8ded9; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 1px 0 rgba(16, 26, 38, 0.03);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; }
.card-link:hover { border-color: #c9bda8; box-shadow: var(--shadow); }
.card-link:hover h3 { color: var(--teal); }

.icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-soft);
  color: var(--teal-dark);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.icon-tile svg { width: 23px; height: 23px; }

/* Bölge panelleri */
.region-panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.region-panel h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.region-panel h3 span { font-family: var(--font-sans); font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.chips li { margin: 0; }
.chips a {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}
.chips a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Adımlar */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 0;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--amber);
  margin-bottom: 6px;
}
.steps h3 { font-size: 1.05rem; }

/* Fiyat / liste kutuları */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; }
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--teal);
  border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

.note {
  background: var(--amber-soft);
  border: 1px solid #f2ddb9;
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.96rem;
}
.note p:last-child { margin-bottom: 0; }

.callout {
  background: var(--teal-soft);
  border: 1px solid #cfe3df;
  border-radius: var(--radius);
  padding: 24px;
}
.callout h3 { color: var(--teal-dark); }

/* SSS */
.faq { max-width: 860px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.4rem; line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 2px; color: var(--ink-soft); }

/* CTA bandı */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), #0f6b68 70%);
  color: #f2faf7;
  border-radius: 22px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { margin: 0; color: #d5e9e4; max-width: 42em; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Kırıntı yolu */
.crumbs { font-size: 0.84rem; color: var(--ink-soft); padding: 18px 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "›"; color: #a9a091; }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* Sayfa başlığı */
.page-head { padding: 26px 0 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 12px; max-width: 22em; }
.page-head .lead { font-size: 1.08rem; color: var(--ink-soft); max-width: 46em; margin-bottom: 0; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

.pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
}
.pill-warm { background: var(--amber-soft); color: #6d4300; }

/* Makale gövdesi */
.prose { max-width: 800px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose figure { margin: 26px 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 8px; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }

.aside-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.aside-card h2, .aside-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.aside-card .btn { width: 100%; margin-top: 6px; }
.aside-sticky { position: sticky; top: 95px; }

/* Blog */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .post-meta { font-size: 0.8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.post-card p { color: var(--ink-soft); }
.post-card .more { margin-top: auto; font-weight: 700; font-size: 0.9rem; }

/* Alt bilgi */
.site-footer { background: #0b2430; color: #c9d7dd; margin-top: 64px; padding: 54px 0 34px; font-size: 0.93rem; }
.site-footer a { color: #dfeaee; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-family: var(--font-sans); letter-spacing: 0.02em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.footer-brand .brand-mark { background: var(--amber); color: #2a1a00; }
.footer-brand .brand-text strong, .footer-brand .brand-text small { color: #fff; }
.footer-brand p { margin: 14px 0 0; color: #a9bcc4; }
.footer-districts { columns: 2; column-gap: 22px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #93a9b2;
}

/* ---------- Mobil hızlı iletişim bandı ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 -8px 24px rgba(16, 26, 38, 0.18);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 10px;
  font-weight: 800;
  font-size: 0.98rem;
  text-decoration: none;
}
.mobile-bar svg { width: 21px; height: 21px; }
.mb-wa { background: var(--wa); color: #fff; }
.mb-wa:hover { color: #fff; }
.mb-tel { background: var(--teal-dark); color: #fff; }
.mb-tel:hover { color: #fff; }

/* ---------- Duyarlı ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 780px) {
  body { font-size: 16px; padding-bottom: 62px; }
  .mobile-bar { display: grid; }
  .header-inner { min-height: 64px; gap: 10px; }
  .header-phone { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 13px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--ink);
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    box-shadow: 0 18px 30px -20px rgba(16, 26, 38, 0.4);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 12px; font-size: 1rem; }
  .hero { padding: 34px 0 36px; }
  .section { padding: 42px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-band { padding: 26px; }
  .cta-band .actions { width: 100%; }
  .cta-band .btn { flex: 1 1 auto; }
  .page-head { padding: 20px 0 26px; }
  .footer-districts { columns: 2; }
  .site-footer { margin-top: 46px; padding-bottom: 26px; }
  .brand-text small { font-size: 0.6rem; letter-spacing: 0.1em; }
}

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .region-panel { padding: 20px; }
  .card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Yazdırma */
@media print {
  .site-header, .mobile-bar, .cta-band, .hero-figure, .site-footer { display: none; }
  body { background: #fff; font-size: 12pt; }
  a { color: #000; text-decoration: none; }
}
