/* Blodheim web sitesi. Kaynak: Web/kaynak/site.css, üretici Web/kaynak/build.py (çıktı Web/site/assets/site.css). */

@font-face { font-family: "Cinzel"; src: url("fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Medium.ttf") format("truetype"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("fonts/AlegreyaSans-Bold.ttf") format("truetype"); font-weight: 700 900; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0c1113;
  --bg2: #11181b;
  --card: #161f23;
  --card2: #1b262b;
  --line: #2a363b;
  --fg: #ece5d7;
  --muted: #a99f90;
  --gold: #e6bb68;
  --gold-deep: #b98a3e;
  --red: #b8392b;
  --teal: #3aa597;
  --radius: 14px;
  --wrap: 1120px;
  --title: "Cinzel", "Trajan Pro", Georgia, serif;
  --body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 500 18px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #ffd98f; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--title); font-weight: 700; line-height: 1.2; letter-spacing: .02em; margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--gold); color: #1a1408; padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 28px; } }

/* ---------- üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 17, 19, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(230, 187, 104, .16);
}
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand img { width: 36px; height: 36px; }
.brand span { font-family: var(--title); font-weight: 700; font-size: 1.15rem; letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--fg); text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .98rem; }
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a[aria-current="page"] { color: var(--gold); }
.nav .lang {
  border: 1px solid rgba(230, 187, 104, .45); color: var(--gold); font-weight: 700; font-size: .85rem;
  letter-spacing: .08em; padding: 6px 10px; margin-left: 4px;
}
@media (max-width: 620px) { .nav .wide { display: none; } }

/* ---------- giriş ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-art {
  position: absolute; inset: 0; z-index: -2;
  background: url("img/hero-1200.webp") center 30% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 17, 19, .55) 0%, rgba(12, 17, 19, 0) 26%, rgba(12, 17, 19, 0) 44%, rgba(12, 17, 19, .88) 66%, var(--bg) 100%);
}
.hero-in {
  min-height: min(calc(100svh - 60px), 860px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: 22px; padding-bottom: 40px;
}
.hero-copy { display: contents; }
.hero h1 { width: min(92%, 440px); }
.hero-logo { width: 100%; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .65)); }
.kicker {
  margin: 6px 0 0; font-family: var(--title); font-weight: 700; color: var(--gold);
  font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}
.hero-spacer { flex: 1 1 auto; min-height: 200px; }
.lead { margin: 0 0 20px; max-width: 34em; font-size: 1.08rem; color: #f3ecdf; text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.facts { margin: 16px 0 0; color: var(--muted); font-size: .92rem; letter-spacing: .02em; }
.hero-poster { display: none; }

@media (min-width: 900px) {
  .hero { background: radial-gradient(1200px 600px at 78% 30%, rgba(58, 165, 151, .20), transparent 60%),
                      radial-gradient(900px 500px at 10% 90%, rgba(184, 57, 43, .20), transparent 60%), var(--bg); }
  .hero-art { opacity: .28; filter: blur(28px) saturate(1.2); transform: scale(1.15); }
  .hero::after { background: linear-gradient(180deg, rgba(12, 17, 19, 0) 70%, var(--bg) 100%); }
  .hero-in {
    min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; text-align: left;
    gap: 56px; padding-top: 56px; padding-bottom: 72px;
  }
  .hero-copy { display: block; flex: 1 1 0; max-width: 560px; }
  .hero h1 { width: 100%; max-width: 520px; margin-left: -12px; }
  .kicker { font-size: 1.2rem; margin-top: 10px; }
  .hero-spacer { display: none; }
  .lead { margin-top: 18px; font-size: 1.2rem; }
  .hero-poster {
    display: block; flex: 0 0 auto; width: min(38vw, 420px); margin: 0; position: relative;
    border-radius: 18px; overflow: hidden; border: 1px solid rgba(230, 187, 104, .55);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 0 6px rgba(230, 187, 104, .07), 0 0 90px rgba(58, 165, 151, .18);
  }
  .hero-poster img { width: 100%; aspect-ratio: 1200 / 1500; object-fit: cover; object-position: center 20%; }
}

/* ---------- mağaza düğmeleri ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 900px) { .stores { justify-content: flex-start; } }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-width: 196px; padding: 10px 18px 10px 14px;
  border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #1d2629, #0f1517); border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
a.store:hover { border-color: var(--gold); color: #fff; transform: translateY(-1px); }
.store svg { width: 26px; height: 26px; flex: 0 0 auto; fill: currentColor; }
.store span { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.store small { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.store b { font-size: 1.12rem; font-weight: 700; }
.store.soon { color: rgba(255, 255, 255, .78); border-style: dashed; cursor: default; }
.store.soon small { color: var(--gold); }

/* ---------- bölümler ---------- */
.sec { padding: 64px 0; }
.sec-alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.eyebrow { margin: 0 0 6px; color: var(--teal); font-weight: 700; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; }
.sec-head h2, .online h2, .cta h2 { font-size: clamp(1.6rem, 4.6vw, 2.3rem); color: var(--fg); }
.sec-head p { color: var(--muted); margin: 12px 0 0; }
.rule { width: 120px; height: 10px; margin: 14px auto 0; background:
  linear-gradient(90deg, transparent, var(--gold-deep) 40%, var(--gold-deep) 60%, transparent) center / 100% 1px no-repeat; position: relative; }
.rule::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }

.cards { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid rgba(230, 187, 104, .25); }
.card-body { padding: 16px 18px 20px; }
.card h3 { font-size: 1.15rem; color: var(--gold); margin-bottom: 8px; }
.card p { margin: 0; color: #d9d1c2; font-size: 1rem; }

.shots {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 18px;
  scrollbar-width: thin; scrollbar-color: var(--gold-deep) transparent;
}
/* ortalama: sığarsa kenar boşlukları eşit, sığmazsa baştan kaydırılır (justify-content: center sol ucu kaydırılamaz yapar) */
.shots > figure:first-child { margin-left: auto; }
.shots > figure:last-child { margin-right: auto; }
.shots figure { margin: 0; flex: 0 0 auto; width: 210px; scroll-snap-align: center; }
@media (min-width: 700px) { .shots figure { width: 230px; } }
@media (min-width: 1180px) { .shots figure { width: 200px; } }
.shots img { width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; border: 1px solid rgba(230, 187, 104, .3); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); }
.hint { text-align: center; color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
@media (min-width: 1180px) { .hint { display: none; } }

.online {
  display: grid; gap: 28px; align-items: center;
  background: linear-gradient(135deg, rgba(58, 165, 151, .10), rgba(184, 57, 43, .08)), var(--card);
  border: 1px solid rgba(230, 187, 104, .25); border-radius: 20px; padding: 28px 20px;
}
@media (min-width: 860px) { .online { grid-template-columns: 1fr 240px; padding: 40px 44px; } }
.online p { color: #d9d1c2; }
.online img { width: 120px; margin: 0 auto; order: -1; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, .6)); }
@media (min-width: 860px) { .online img { width: 220px; order: 0; } }
.ticks { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; background: var(--gold);
  transform: rotate(45deg); box-shadow: 0 0 10px rgba(230, 187, 104, .6);
}
.note { color: var(--muted) !important; font-size: .95rem; margin-bottom: 0; }

.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 36em; margin: 12px auto 22px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 22px;
  border-radius: 10px; font-weight: 700; text-decoration: none; color: #22170a;
  background: linear-gradient(180deg, #f1cd83, #c8964a); border: 1px solid #f6dca4; box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.btn:hover { color: #22170a; filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--gold); border-color: rgba(230, 187, 104, .55); box-shadow: none; }
.btn.ghost:hover { background: rgba(230, 187, 104, .08); color: #ffd98f; }

.social { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 18px; }
.social a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--fg); background: var(--card); }
.social a:hover { border-color: var(--gold); }

/* ---------- belge sayfaları (gizlilik, destek) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 44px 16px 72px; }
@media (min-width: 700px) { .doc { padding: 56px 28px 88px; } }
.doc h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.doc h2 { font-size: 1.2rem; color: var(--gold); margin: 36px 0 10px; }
.doc p, .doc li { color: #ddd5c6; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.meta { color: var(--muted); font-size: .95rem; margin: 8px 0 24px; }
.summary {
  background: var(--card); border: 1px solid rgba(230, 187, 104, .3); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 14px 18px; margin: 0 0 8px;
}
.summary p { margin: 0; }
.contact { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; }
summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; position: relative; padding-right: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 18px 14px; }
details > div p { margin: 0 0 8px; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); background: #090d0f; padding: 32px 0 40px; color: var(--muted); font-size: .95rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand b { display: block; font-family: var(--title); color: var(--fg); letter-spacing: .08em; text-transform: uppercase; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--gold); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a.store:hover { transform: none; } }
