/* Renkleri tek yerden değiştirmek için: sadece aşağıdaki değişkenleri düzenleyin.
   Sitenin gerçek renkleriyle eşleştirmek için --brand ve --accent değerlerini güncelleyin. */
:root {
  --brand: #1d2a3a;
  --brand-dark: #141c27;
  --accent: #c2a24c;          /* altın */
  --accent-dark: #9c7f36;
  --header-1: #2b2a26;        /* başlık koyu zemin (üst) */
  --header-2: #15140f;        /* başlık koyu zemin (alt) */
  --bg: #f4f5f7;
  --card: #ffffff;
  --text: #1c2430;
  --muted: #5d6877;
  --line: #d9dde4;
  --error: #b3261e;
  --error-bg: #fdecea;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
.wrap { max-width: 780px; margin: 0 auto; padding: 0 16px; }

.site-header {
  background: linear-gradient(180deg, var(--header-1) 0%, var(--header-2) 100%);
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.logo { height: 60px; width: auto; max-width: 100%; display: block; }
.header-title {
  color: #fff; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  font-size: .82rem; text-align: right;
}

main.wrap { flex: 1 0 auto; width: 100%; padding-top: 32px; padding-bottom: 48px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(20,40,75,.05);
}
.card.center { text-align: center; padding: 40px 22px; }
.intro { border-top: 4px solid var(--accent); }
h1 { margin: 0 0 10px; font-size: 1.5rem; color: var(--brand); line-height: 1.25; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); font-size: .92rem; }
.center-text { text-align: center; }

fieldset.q { min-width: 0; scroll-margin: 16px; }
legend { font-weight: 600; color: var(--brand); padding: 0; display: flex; gap: 10px; align-items: flex-start; float: left; width: 100%; margin-bottom: 8px; line-height: 1.4; }
legend + * { clear: both; }
.num {
  flex: 0 0 auto; min-width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .85rem; display: inline-flex; align-items: center; justify-content: center;
}
.hint { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.counter { font-weight: 600; color: var(--brand); }

.opt {
  display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; margin: 6px 0;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff;
}
.opt:hover { border-color: var(--brand); }
.opt input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--brand); }
.opt:has(input:checked) { border-color: var(--brand); background: #eef2f9; }
.opt.disabled { opacity: .5; cursor: not-allowed; }
.consent { margin-top: 12px; }

input[type=text], textarea {
  width: 100%; padding: 10px 12px; font: inherit; color: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
}
input[type=text]:focus, textarea:focus, .btn:focus-visible, .opt input:focus-visible {
  outline: 3px solid rgba(184,147,63,.5); outline-offset: 1px; border-color: var(--brand);
}
.other-text { margin-top: 6px; }
.other-text:disabled { background: #f0f1f3; }
.field { display: block; margin: 8px 0; }
.field > span { display: block; font-weight: 600; margin-bottom: 4px; }

.has-error { border-color: var(--error); }
.err { color: var(--error); font-weight: 600; margin: 8px 0 0; font-size: .92rem; }
.alert { background: var(--error-bg); color: var(--error); border: 1px solid var(--error); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-weight: 600; }

.actions { text-align: center; margin: 20px 0 8px; }
.btn {
  display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 8px;
  padding: 13px 34px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--brand-dark); }
.btn[disabled] { opacity: .6; cursor: wait; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
a { color: var(--brand); }
.site-footer { background: var(--brand-dark); color: #c8d0de; font-size: .88rem; padding: 18px 0; text-align: center; }
.site-footer a { color: #fff; }

/* teşekkür penceresi */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(13, 28, 54, .55); animation: fade-in .2s ease-out;
}
.modal {
  background: var(--card); border-radius: 14px; border-top: 4px solid var(--accent);
  max-width: 420px; width: 100%; padding: 30px 26px 26px; text-align: center;
  box-shadow: 0 20px 50px rgba(13, 28, 54, .3); animation: pop-in .25s ease-out;
}
.modal h2 { margin: 6px 0 8px; color: var(--brand); font-size: 1.35rem; }
.modal .btn { margin-top: 8px; }
.modal-check {
  width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--brand); color: #fff;
  font-size: 28px; line-height: 56px; font-weight: 700;
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .modal, .modal-backdrop { animation: none; } }

/* admin */
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--brand); }
.bar { background: var(--accent); height: 8px; border-radius: 4px; min-width: 2px; }

@media (max-width: 520px) {
  .logo { height: 40px; }
  .header-title { display: none; }
  .header-in { justify-content: center; }
  .card { padding: 16px; }
  h1 { font-size: 1.3rem; }
}
ing: 16px; }
  h1 { font-size: 1.3rem; }
}
}
}
