/* =========================================================
   QR SAYFASI (/qr) · yönlendirme ekranı
   Siyah zemin, marka sarısı ana eylem, krem keşif kartları, koyu ziyaret kartları.
   Telefon öncelikli; masaüstünde 560 px ortalanmış sütun.
   ========================================================= */
:root {
  --bg: #0f0c0a; --card: #1e1814; --card-2: #261f1a; --line: rgba(244, 234, 217, .1);
  --yellow: #F1C040; --gold: #E2B754; --cream: #F4EAD9; --ink: #17120f; --muted: #b3a593; --brown: #6b5a4c;
  --f-display: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-serif: "Fraunces", Georgia, serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 18px; --w: 560px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: var(--f-body); font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 10px; background: var(--yellow); color: var(--ink); font-weight: 800; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---------- başlık ---------- */
.q-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: end center; min-height: 300px; padding: 28px 20px 26px; border-radius: 0 0 28px 28px; text-align: center; }
.q-hero__media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
video.q-hero__media { opacity: 0; transition: opacity .8s ease; }
video.q-hero__media.is-on { opacity: 1; }
.q-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 12, 10, .35) 0%, rgba(15, 12, 10, .55) 45%, rgba(15, 12, 10, .92) 100%); }
.q-hero__in { display: grid; justify-items: center; gap: 6px; }
.q-hero__logo { width: 78px; height: 78px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .55)); }
.q-hero__name { margin: 8px 0 0; font-family: var(--f-display); font-size: 2.2rem; line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.q-hero__tag { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 1rem; color: var(--gold); }
.q-open { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 6px 12px; border-radius: 999px; background: rgba(15, 12, 10, .55); font-size: .82rem; font-weight: 700; color: #f1e7d6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.q-open i { width: 8px; height: 8px; border-radius: 50%; background: #9a8f84; }
.q-open.is-open i { background: #4ccf6a; box-shadow: 0 0 0 4px rgba(76, 207, 106, .22); }
.q-hero__vid { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 999px; background: rgba(15, 12, 10, .55); font-size: .72rem; font-weight: 700; color: #f1e7d6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.q-hero__vid[hidden] { display: none; }
.q-hero__vid svg { width: 14px; height: 14px; }

/* ---------- gövde ---------- */
.q-main { width: min(100%, var(--w)); margin: 0 auto; padding: 18px 16px 8px; }
.q-lang { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 4px; border-radius: 999px; border: 1px solid rgba(226, 183, 84, .35); background: var(--card); overflow-x: auto; scrollbar-width: none; }
.q-lang::-webkit-scrollbar { display: none; }
.q-lang a { flex: none; min-height: 40px; display: grid; place-items: center; padding: 0 14px; border-radius: 999px; font-size: .86rem; font-weight: 700; color: #e9dfd0; }
.q-lang a.on { background: var(--gold); color: var(--ink); }
.q-title { margin: 22px 0 4px; font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.55rem, 6.6vw, 1.9rem); line-height: 1.15; text-align: center; color: #fff; }
.q-title em { display: block; font-style: italic; font-weight: 400; color: var(--gold); }

.q-group { margin-top: 24px; }
.q-label { margin: 0 0 10px; font-size: .72rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.q-stack { display: grid; gap: 10px; }

/* eylem kartları */
.q-card { position: relative; display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 16px 12px 12px; border-radius: var(--r); transition: transform .15s ease, filter .2s ease; }
.q-card:active { transform: scale(.985); }
.q-card:hover { filter: brightness(1.06); }
.q-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; }
.q-ic svg { width: 24px; height: 24px; }
.q-txt { display: grid; gap: 1px; min-width: 0; flex: 1; }
.q-txt b { font-size: 1.02rem; font-weight: 800; line-height: 1.2; }
.q-txt small { font-size: .8rem; line-height: 1.3; opacity: .78; }
.q-go { flex: none; width: 20px; height: 20px; margin-left: auto; opacity: .75; }
.q-card--primary { min-height: 84px; background: var(--yellow); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(241, 192, 64, .6); }
.q-card--primary .q-ic { background: rgba(23, 18, 15, .1); }
.q-card--primary .q-txt b { font-family: var(--f-display); font-weight: 400; font-size: 1.45rem; letter-spacing: .02em; text-transform: uppercase; }
.q-card--primary .q-txt small { opacity: .8; font-weight: 600; }
.q-card--wa { background: #25D366; color: #052e16; }
.q-card--wa .q-ic { background: rgba(5, 46, 22, .1); }
.q-card--dark { background: var(--card-2); border: 1px solid var(--line); color: var(--cream); }
.q-card--dark .q-ic { background: rgba(241, 192, 64, .12); color: var(--gold); }
.q-card--light { background: #fff; color: var(--ink); }
.q-ic--ys { background: #FA0050; color: #fff; }
.q-card--review { background: linear-gradient(120deg, #fff6e2, var(--cream)); color: var(--ink); }
.q-stars { flex: none; display: flex; gap: 1px; padding: 0 2px; color: #E8A317; }
.q-stars svg { width: 15px; height: 15px; }
.q-card--review .q-txt small { color: var(--brown); opacity: 1; }

/* keşif kutuları */
.q-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.q-card + .q-grid { margin-top: 10px; }
.q-tile { display: grid; align-content: space-between; gap: 6px; min-height: 92px; padding: 14px 14px 13px; border-radius: var(--r); background: var(--cream); color: var(--ink); transition: transform .15s ease, background .2s ease; }
.q-tile:active { transform: scale(.98); }
.q-tile:hover { background: #fbf2e3; }
.q-tile b { font-family: var(--f-serif); font-weight: 500; font-size: 1.12rem; line-height: 1.12; }
.q-tile small { font-size: .78rem; line-height: 1.3; color: var(--brown); }
.q-more { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; margin-top: 8px; font-size: .9rem; font-weight: 700; color: var(--cream); text-decoration: underline; text-decoration-color: rgba(226, 183, 84, .6); text-underline-offset: 4px; }
.q-more svg { width: 16px; height: 16px; color: var(--gold); }

/* sosyal */
.q-social { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.q-soc { display: grid; justify-items: start; gap: 2px; min-height: 84px; padding: 12px 14px; border-radius: var(--r); color: #fff; }
.q-soc svg { width: 22px; height: 22px; margin-bottom: 6px; }
.q-soc b { font-size: .9rem; font-weight: 800; }
.q-soc small { font-size: .72rem; opacity: .85; overflow-wrap: anywhere; }
.q-soc--ig { background: linear-gradient(135deg, #6d2a8c, #c13069 55%, #e2793a); }
.q-soc--ig2 { background: var(--card-2); border: 1px solid var(--line); }
.q-soc--ig2 svg { color: #e1306c; }
.q-soc--fb { background: #1877F2; }
.q-soc--tt { background: #000; border: 1px solid #333; }

/* ---------- alt bilgi ---------- */
.q-foot { width: min(100%, var(--w)); margin: 30px auto 0; padding: 22px 16px calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; font-size: .8rem; color: var(--muted); }
.q-foot p { margin: 0; }
.q-foot__hours { margin-top: 4px !important; }
.q-foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 12px !important; }
.q-foot__links a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 234, 217, .35); }
.q-sign { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.q-sign > p:first-child { max-width: 32ch; margin: 0 auto; }
.q-sign .kaya-credit-row { justify-content: center; margin-top: 10px; }

/* ---------- geniş ekran ---------- */
@media (min-width: 620px) {
  body { background: radial-gradient(70% 45% at 50% 0%, #241c17, transparent 75%), var(--bg); }
  .q-hero { width: min(calc(100% - 32px), var(--w)); margin: 24px auto 0; min-height: 320px; border-radius: 28px; }
  .q-hero__name { font-size: 2.5rem; }
}

/* sağdan sola (Arapça) */
html[dir="rtl"] .q-go, html[dir="rtl"] .q-more svg { transform: scaleX(-1); }
html[dir="rtl"] .q-go { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .q-hero__vid { right: auto; left: 12px; }
html[lang="ar"] .q-title, html[lang="ar"] .q-tile b, html[lang="ar"] .q-card--primary .q-txt b, html[lang="ar"] .q-hero__name { font-family: "Noto Kufi Arabic", var(--f-body); font-weight: 800; letter-spacing: 0; }
