/* Legenda koyu tema renkleri (lib/theme/app_theme.dart) */
:root {
  --bg: #0d1f17;        /* midnightGreen */
  --bg-2: #1a2f23;      /* deepOlive */
  --fg: #e8dcc8;        /* antiqueWhite */
  --muted: #a89c8c;
  --accent: #d4a84b;    /* goldLeaf */
  --line: rgba(232, 220, 200, 0.1);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

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

html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

/* üst bar */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand img { width: 32px; height: 32px; flex: none; border-radius: 7px; }

/* dil geçişi: JS yoksa gizli, iki dil alt alta görünür */
.switch { display: none; gap: 4px; }
html.js .switch { display: flex; }
.switch a {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}
.switch a[aria-current="true"] {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

html.js[data-lang="tr"] .l[lang="en"],
html.js[data-lang="en"] .l[lang="tr"] { display: none; }
.l + .l { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
html.js .l + .l { margin-top: 0; padding-top: 0; border-top: 0; }

h1 {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 12px;
}
h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 36px 0 8px;
}
p, ul { margin-bottom: 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }
strong { color: #fff6e6; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }

.meta { color: var(--muted); font-size: 15px; margin-bottom: 20px; }

.contact {
  margin: 24px 0 8px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}

.faq h3 { font-size: 17px; margin: 22px 0 4px; }
.faq p { color: #d9cdb9; }

.nav {
  list-style: none;
  padding: 0;
  margin-top: 24px;
}
.nav a {
  display: block;
  padding: 14px 18px;
  margin-bottom: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}
.nav a:hover { border-color: var(--accent); }

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer a { color: var(--muted); margin-right: 14px; display: inline-block; margin-bottom: 6px; }
