/* Adriyatik Ev: ortak stil */
:root {
  --bg: #f7f1e6;
  --bg-soft: #efe5d4;
  --paper: #fffcf6;
  --ink: #2b2620;
  --ink-soft: #5e554a;
  --line: #e0d3bd;
  --terra: #b4583b;
  --terra-deep: #8f4129;
  --olive: #66703f;
  --sea: #2c6a80;
  --sea-soft: #dbe9ec;
  --olive-soft: #e7e9d6;
  --terra-soft: #f4e0d6;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1a17;
    --bg-soft: #24211d;
    --paper: #2a2622;
    --ink: #efe7da;
    --ink-soft: #c2b7a6;
    --line: #3d3730;
    --terra: #e08a6a;
    --terra-deep: #f0a487;
    --olive: #b3bd84;
    --sea: #7fbcd0;
    --sea-soft: #1f3138;
    --olive-soft: #2b2f20;
    --terra-soft: #3a2820;
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; }

a { color: var(--sea); text-underline-offset: 3px; }
a:hover { color: var(--terra); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.3rem, 7vw, 3.8rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.4rem); margin: 56px 0 14px; }
h3 { font-size: clamp(1.35rem, 3.4vw, 1.6rem); margin: 32px 0 8px; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Üst bölüm */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.head-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo { flex: none; }
.lg-roof, .lg-w1, .lg-w2 { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lg-roof { stroke: var(--terra); }
.lg-w1 { stroke: var(--sea); }
.lg-w2 { stroke: var(--olive); }
.lg-sun { fill: var(--terra); opacity: .55; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-name em { font-style: italic; color: var(--terra); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 0.92rem; }
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--terra); }

/* Giriş */
.hero { padding: 56px 0 40px; }
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 700;
  margin-bottom: 14px;
}
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 680px; }
.meta { font-size: 0.88rem; color: var(--ink-soft); margin-top: 18px; }
.crumbs { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs a { color: var(--ink-soft); }

.home-hero { padding: 72px 0 56px; }
.home-hero h1 { font-size: clamp(2.6rem, 9vw, 4.8rem); max-width: 860px; }
.hero-art { margin-top: 36px; color: var(--sea); }

/* Kartlar */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 28px 0 0;
}
@media (min-width: 680px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--terra); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin: 10px 0 8px; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }
.card .tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terra); font-weight: 700; }

/* Adımlar */
.steps { list-style: none; padding: 0; margin: 24px 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 22px 64px;
  border-left: 1px dashed var(--line);
  margin-left: 22px;
}
.steps li:last-child { border-left-color: transparent; }
.steps li::before {
  content: counter(s);
  position: absolute;
  left: -22px;
  top: -4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--terra-soft);
  color: var(--terra-deep);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.steps strong { display: block; font-family: var(--serif); font-size: 1.3rem; margin-bottom: 2px; }

/* Bölümler */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-soft); }
.section h2:first-child { margin-top: 0; }

/* Makale */
.article { padding-bottom: 32px; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.45em; }

.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 8px 0 32px;
  font-size: 0.96rem;
}
.toc strong { font-family: var(--serif); font-size: 1.2rem; }
.toc ol { margin: 8px 0 0; }

.note {
  border-left: 4px solid var(--olive);
  background: var(--olive-soft);
  padding: 14px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-size: 0.97rem;
}
.note.warn { border-left-color: var(--terra); background: var(--terra-soft); }
.note.sea { border-left-color: var(--sea); background: var(--sea-soft); }

/* Tablolar */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 0; }
caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 16px 6px;
}
th, td { padding: 10px 16px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--bg-soft); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.total td { font-weight: 700; background: var(--terra-soft); }

/* SSS */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--terra); font-family: var(--sans); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Uzmana danışın */
.expert {
  margin: 48px 0 24px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--sea-soft);
  border: 1px solid var(--line);
}
.expert h2 { margin: 0 0 8px; font-size: clamp(1.6rem, 4vw, 2rem); }
.expert p { margin: 0 0 16px; }
.btn {
  display: inline-block;
  background: var(--terra);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
}
.btn:hover { background: var(--terra-deep); color: #fff; }
@media (prefers-color-scheme: dark) {
  .btn, .btn:hover { color: #1c1a17; }
}

.disclaimer { font-size: 0.88rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 24px; }

/* Reklam alanı */
.ad-slot { margin: 32px 0; }

/* Alt bilgi */
.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 32px 0 40px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.foot-grid { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: flex-start; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { color: var(--ink-soft); }
.partner { margin-top: 18px; }
