/* Bengü İl public site. Palette and fonts follow the game UI (Theme.uss, docs/ui-referans/stil/STIL.md). */
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/NotoSerif-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Serif"; src: url("../fonts/NotoSerif-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #151312;
  --bg2: #1b1917;
  --row: #222120;
  --edge: #3a342c;
  --gold: #ba912a;
  --gold-light: #d9bd7a;
  --glow: #eee5af;
  --text: #ece4d0;
  --dim: #9a907e;
  --warn: #e07a3a;
  --btn: #5a3a2c;
  --btn2: #443128;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--glow); }
h1, h2, h3 { font-family: "Cinzel", "Noto Serif", Georgia, serif; font-weight: 700; line-height: 1.25; color: var(--glow); letter-spacing: .02em; }
h1 { font-size: clamp(1.9rem, 7vw, 3rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.4rem, 5vw, 1.9rem); margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; color: var(--gold-light); }
p, li { overflow-wrap: anywhere; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.top { border-bottom: 1px solid var(--edge); background: var(--bg2); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Cinzel", serif; font-weight: 700; font-size: 1.25rem; color: var(--glow); text-decoration: none; letter-spacing: .06em; }
.brand img { width: 36px; height: 36px; border-radius: 6px; }
.nav { display: flex; gap: 16px; font-size: .95rem; flex-wrap: wrap; }
.nav a { color: var(--dim); text-decoration: none; }
.nav a:hover { color: var(--glow); }

/* hero */
.hero {
  position: relative;
  background: #0d0c0b url("../img/hero.webp") center 30% / cover no-repeat;
  text-align: center;
  padding: 64px 0 56px;
  isolation: isolate;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,19,18,.55) 0%, rgba(21,19,18,.82) 70%, var(--bg) 100%); z-index: -1; }
.hero .logo { width: min(320px, 78%); margin: 0 auto 18px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.7)); }
.hero p.lead { font-size: 1.15rem; max-width: 40em; margin: 0 auto 1.2em; text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.badge { display: inline-block; padding: 12px 22px; border: 1px solid var(--gold); border-radius: 4px; background: linear-gradient(180deg, var(--btn), var(--btn2)); color: var(--glow); font-family: "Cinzel", serif; font-weight: 700; letter-spacing: .05em; box-shadow: inset 0 0 0 1px rgba(238,229,175,.15); }
.sub { color: var(--dim); font-size: .92rem; margin-top: 12px; }

/* sections */
section { padding: 8px 0; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; margin: 20px 0; }
.card { background: var(--row); border: 1px solid var(--edge); border-radius: 6px; padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--text); }
.shots { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin: 20px 0; }
.shot { background: var(--row); border: 1px solid var(--edge); border-radius: 6px; padding: 12px; text-align: center; margin: 0; }
.shot img { margin: 0 auto; max-height: 260px; width: auto; }
.shot figcaption { color: var(--dim); font-size: .88rem; margin-top: 8px; }
.wide { grid-column: 1 / -1; }
.wide img { max-height: none; width: 100%; max-width: 640px; }

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
}

/* documents */
.doc { padding: 28px 0 40px; }
.doc h1 { margin-top: .2em; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: .3em 0; }
.meta { color: var(--dim); font-size: .92rem; }
.note { border-left: 3px solid var(--gold); background: var(--row); padding: 10px 14px; margin: 1em 0; border-radius: 0 4px 4px 0; }
.todo { color: var(--warn); font-weight: 700; }
.toc { background: var(--row); border: 1px solid var(--edge); border-radius: 6px; padding: 10px 16px; margin: 1em 0; }
.toc ul { margin: .3em 0; }
.tablewrap { overflow-x: auto; margin: 1em 0; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .95rem; }
th, td { border: 1px solid var(--edge); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--row); color: var(--gold-light); }
.lang-sep { border: 0; border-top: 2px solid var(--gold); margin: 3em 0 0; }

/* footer */
.foot { border-top: 1px solid var(--edge); background: var(--bg2); margin-top: 40px; padding: 24px 0 32px; color: var(--dim); font-size: .92rem; }
.foot .links { display: flex; gap: 8px 18px; flex-wrap: wrap; margin-bottom: 8px; }
.foot p { margin: .3em 0; }
