/* Katalog motoru — temel stiller (yazı tipi, renk değişkenleri, butonlar, üst bar) */
/* ==========================================================
   DURU REKLAM — alternatif: tek renk füme + portakal vurgu
   ========================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  --bg: #26282c;          /* füme zemin */
  --bg-2: #2e3135;
  --ink: #e9eaec;
  --ink-2: #a3a8af;
  --line: #3b3f44;
  --orange: #e06a00;      /* portakal — beyaz yazı okunacak tonda */
  --on-orange: #ffffff;   /* portakal üstünde yazı */
  --on-orange-2: rgba(255, 255, 255, .82);
  --wa: #25d366;          /* WhatsApp yeşili */
  --paper: #e9e9e5;       /* açık sayfa zemini */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; background: var(--bg); overscroll-behavior-y: none; }   /* trackpad esnemesinde beyaz zemin görünmesin */

body {
  margin: 0;
  font-family: "Inter", "Open Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 8px;
  background: var(--orange); color: #fff; font-size: 14px; font-weight: 500;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 20px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: 999px;
  font-size: 15px; font-weight: 500;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn-solid:hover { background: var(--orange); color: var(--on-orange); }
.btn-line { border: 1px solid var(--line); }
.btn-line:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.btn-wa { background: var(--ink); color: var(--bg); }
.btn-wa:hover, .btn-wa:focus-visible { background: var(--wa); color: #0b2614; }


.viewer-page { background: #1e2023; }
.viewer-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(38, 40, 44, .94);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.viewer-bar-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 20px; }
.viewer-back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 4px; border-radius: 999px; transition: background .2s, color .2s; }
.viewer-back:hover { color: var(--orange); }   /* bant yok: ok portakal olur */
@media (hover: hover) {   /* fareyle: logo beyaz, üzerine gelince kendi rengi. Dokunmatikte hep renkli */
  .viewer-back img { filter: brightness(0) invert(1); opacity: .9; transition: filter .3s, opacity .3s; }
  .viewer-back:hover img, .viewer-back:focus-visible img { filter: none; opacity: 1; }
}
.viewer-back img { height: 30px; width: auto; display: block; }
.viewer-title { display: grid; line-height: 1.25; min-width: 0; }
.viewer-title strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.viewer-title span { font-size: 12px; color: var(--ink-2); }
.viewer-actions { margin-left: auto; display: flex; gap: 8px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }
.viewer { max-width: 900px; margin: 0 auto; padding: 28px 16px 96px; display: grid; gap: 16px; }
.viewer-page-box { width: 100%; aspect-ratio: 1 / 1.414; background: #2e3135; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.viewer-page-box canvas { width: 100%; height: auto; display: block; background: #fff; }
.viewer-frame { width: 100%; height: calc(100vh - 140px); border: 0; border-radius: 6px; background: #fff; }
.viewer-msg { padding: 80px 20px; text-align: center; color: var(--ink-2); }
.viewer-home {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 41;
  height: 44px; padding: 0 22px; display: inline-flex; align-items: center;
  border-radius: 999px; background: var(--orange); color: #fff; font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform .2s;
}
.viewer-home:hover { transform: translateX(-50%) translateY(-2px); }
@media (max-width: 640px) {
  .viewer-bar-in { padding: 0 12px; gap: 10px; }
  .viewer-back img { height: 24px; }
  .viewer-title span { display: none; }
  .viewer-actions .btn-wa { display: none; }
  .viewer { padding: 16px 8px 96px; gap: 10px; }
}
