/* Civita — web sitesi. Antik kent teması: mermer, kiremit, altın. */

:root {
  --bg: #f6f1e7;
  --bg-alt: #efe7d8;
  --card: #fffdf8;
  --ink: #2b2622;
  --ink-soft: #5e554c;
  --line: #e2d7c4;
  --terracotta: #b25c3e;
  --terracotta-dark: #8c442e;
  --gold: #c9982f;
  --sea: #2e6f8e;
  --olive: #6f8250;
  --shadow: 0 10px 30px rgba(60, 40, 20, 0.12);
  --radius: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12151f;
    --bg-alt: #181c28;
    --card: #1e2331;
    --ink: #efe9dd;
    --ink-soft: #b9b2a6;
    --line: #2d3345;
    --terracotta: #d9774f;
    --terracotta-dark: #b8603d;
    --gold: #e2b95a;
    --sea: #6fb0cf;
    --olive: #9db27a;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

a { color: var(--terracotta); }

h1, h2, h3 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- Üst çubuk --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.04em;
  margin-right: auto;
}
.nav a.link { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.nav a.link:hover { color: var(--ink); }
.lang {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}

/* --- Düğmeler --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--card); }

/* --- Giriş --- */
.hero { padding: 64px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: 0.03em; }
.hero .tagline { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--ink-soft); max-width: 680px; margin: 0 auto 28px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero figure { margin: 44px auto 0; }
.shot {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  width: 100%;
  height: auto;
}
.caption { color: var(--ink-soft); font-size: 0.9rem; margin-top: 10px; }

/* --- Bölümler --- */
section { padding: 64px 0; }
section.alt { background: var(--bg-alt); }
.section-title { text-align: center; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.section-lead { text-align: center; color: var(--ink-soft); max-width: 640px; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.step, .feature, .faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step .icon, .feature .icon { font-size: 2rem; line-height: 1; margin-bottom: 12px; }
.step h3, .feature h3 { font-size: 1.15rem; }
.step p, .feature p { margin: 0; color: var(--ink-soft); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.gallery figure { margin: 0; }

.commands { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.commands h3 { font-size: 1.1rem; }
.commands ul { list-style: none; padding: 0; margin: 0; }
.commands li { padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.commands code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  background: var(--bg-alt);
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.92em;
}

.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item h3 { font-family: "Inter", system-ui, sans-serif; font-size: 1.05rem; margin-bottom: 6px; }
.faq-item p { margin: 0; color: var(--ink-soft); }

.cta { text-align: center; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--ink-soft); font-size: 0.92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
footer .links { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer a { color: var(--ink-soft); }

/* --- Hukuki belgeler --- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.doc h2 { font-size: 1.25rem; margin-top: 2em; }
.doc .updated { color: var(--ink-soft); font-size: 0.92rem; }
.doc li { margin: 6px 0; }
.doc .note { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }

.hidden { display: none !important; }

@media (max-width: 640px) {
  .nav a.link { display: none; }
  .hero { padding-top: 40px; }
  section { padding: 48px 0; }
}
