/* GÖKTÜRK web sitesi ve yönetim paneli ortak stili — bozkır gecesi, altın ve kurt grisi. */
:root {
  --bg: #0f1114;
  --bg2: #171a1f;
  --panel: #1d2128;
  --panel2: #242a33;
  --line: #343b46;
  --text: #e7e2d6;
  --muted: #a39d90;
  --gold: #d4a64a;
  --gold2: #f0c873;
  --red: #c8483c;
  --green: #5fb36a;
  --blue: #4e8fd1;
  --yellow: #e0b740;
  --radius: 10px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", sans-serif;
  --title: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); }
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--title); letter-spacing: .5px; margin: 0 0 .6em; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.6rem; color: var(--gold2); }
h3 { font-size: 1.15rem; }
img { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hidden { display: none !important; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.spacer { flex: 1; }

/* Üst menü */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(15,17,20,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.topbar .container { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--title); font-size: 1.35rem; color: var(--gold2); font-weight: bold; letter-spacing: 2px; }
.brand img { height: 40px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--text); padding: 8px 12px; border-radius: 8px; }
.nav a.active, .nav a:hover { background: var(--panel); color: var(--gold2); text-decoration: none; }
.banner { background: linear-gradient(90deg, #5a3d10, #8a5d17); color: #fff3d6; text-align: center; padding: 8px 12px; font-size: .92rem; }

/* Kahraman alanı */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 70% 20%, rgba(212,166,74,.18), transparent 55%), linear-gradient(180deg, #1b2330 0%, #12161c 60%, var(--bg) 100%); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px;
  background: linear-gradient(180deg, transparent, var(--bg)),
  url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'><path d='M0 160 L120 90 L210 140 L330 40 L450 130 L560 70 L690 150 L820 60 L930 120 L1060 50 L1200 130 L1200 220 L0 220Z' fill='%23181d24'/><path d='M0 190 L160 140 L300 180 L470 120 L620 175 L780 130 L960 170 L1200 140 L1200 220 L0 220Z' fill='%23121519'/></svg>") bottom/100% 100% no-repeat; }
.hero .container { position: relative; z-index: 1; padding: 70px 20px; }
.hero h1 { font-size: 3.4rem; color: var(--gold2); text-shadow: 0 4px 24px rgba(0,0,0,.6); margin-bottom: .2em; }
.hero .slogan { font-size: 1.4rem; font-family: var(--title); color: #efe6cf; margin-bottom: 1em; }
.hero p { max-width: 620px; color: #d6cfbf; }
.hero-logo { max-height: 180px; margin-bottom: 10px; }

/* Düğmeler ve formlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--panel2);
  color: var(--text); padding: 10px 18px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600; }
.btn:hover { border-color: var(--gold); text-decoration: none; }
.btn.primary { background: linear-gradient(180deg, var(--gold2), var(--gold)); color: #24190a; border-color: #b78a30; }
.btn.danger { background: #4a1f1b; border-color: var(--red); color: #ffd6d1; }
.btn.small { padding: 6px 10px; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.big { padding: 14px 26px; font-size: 1.1rem; }
label { display: block; margin: 10px 0 4px; color: var(--muted); font-size: .9rem; }
input, select, textarea { width: 100%; background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); }
input[type=checkbox] { width: auto; }
input[type=range] { padding: 0; accent-color: var(--gold); }
.check { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-size: .92rem; margin: 8px 0; }
textarea { min-height: 120px; resize: vertical; }

/* Kartlar */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card h3 { color: var(--gold2); }
.section { padding: 48px 0; }
.feature { text-align: left; }
.feature .icon { font-size: 1.8rem; }
.price { font-size: 1.6rem; font-weight: bold; color: var(--gold2); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .78rem; background: var(--panel2); border: 1px solid var(--line); }
.tag.ok { color: #c9f2ce; border-color: var(--green); }
.tag.bad { color: #ffd0ca; border-color: var(--red); }
.tag.warn { color: #ffe9a8; border-color: var(--yellow); }
.notice { padding: 10px 14px; border-radius: 8px; margin: 10px 0; border: 1px solid; }
.notice.error { background: #2b1513; border-color: var(--red); color: #ffd0ca; }
.notice.ok { background: #142616; border-color: var(--green); color: #cff3d2; }
.notice.warn { background: #2b2410; border-color: var(--yellow); color: #ffe9a8; }

/* Tablolar */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; font-size: .85rem; }
tr:hover td { background: rgba(255,255,255,.02); }
.table-wrap { overflow-x: auto; }

/* Alt bilgi */
footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: .9rem; margin-top: 40px; }
footer .container { display: flex; gap: 30px; flex-wrap: wrap; }

/* Yönetim paneli düzeni */
.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--bg2); border-right: 1px solid var(--line); padding: 16px 10px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side .brand { padding: 6px 10px 16px; font-size: 1.1rem; }
.side a { display: block; color: var(--text); padding: 8px 12px; border-radius: 8px; margin: 2px 0; }
.side a.active, .side a:hover { background: var(--panel); color: var(--gold2); text-decoration: none; }
.side .group { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; padding: 14px 12px 4px; }
.main { padding: 24px 28px; min-width: 0; }
.stat { font-size: 1.8rem; font-weight: bold; color: var(--gold2); }
.setting { display: grid; grid-template-columns: 1.2fr 1.6fr 120px 34px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.setting.changed .lbl { color: #8fd0ff; font-weight: 600; }
.setting .lbl small { display: block; color: var(--muted); font-weight: normal; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 120px; }
.bars div { flex: 1; background: linear-gradient(180deg, var(--gold2), var(--gold)); border-radius: 4px 4px 0 0; min-height: 2px; position: relative; }
.bars div span { position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: .7rem; color: var(--muted); white-space: nowrap; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { background: var(--panel); border: 1px solid var(--line); color: var(--text); padding: 7px 12px; border-radius: 8px; cursor: pointer; font: inherit; }
.tabs button.active { border-color: var(--gold); color: var(--gold2); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 99; max-width: 420px; }

@media (max-width: 860px) {
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .setting { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  .topbar .container { height: auto; padding: 10px 20px; flex-wrap: wrap; }
}
