/* Inter, sitenin kendi dosyalarından yüklenir (Google'a istek gitmez). Lisans: /fonts/Inter-LICENSE.txt */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/inter-latin-ext-400-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-weight: 400; font-display: swap;
  src: url(/fonts/inter-latin-400-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; }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/inter-latin-ext-600-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-weight: 600; font-display: swap;
  src: url(/fonts/inter-latin-600-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 {
  --ink: #0E1B2E;
  --muted: #5A6577;
  --line: #E4E7EB;
  --soft: #F3F4F6;
  --accent: #13294B;
  --accent-fg: #FFFFFF;
  --on-ink: #FFFFFF;
  --bg: #FFFFFF;
  --pad: 16px;
  --maxw: 1200px;
  color-scheme: light;
}

/* Koyu mod: siyah değil, koyu lacivert. Sistem ayarını izler; alttaki düğme ayarı geçersiz kılar. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #E6ECF5; --muted: #9DABC2; --line: #233A63; --soft: #132A4D;
    --accent: #E6ECF5; --accent-fg: #0B1A33; --on-ink: #0B1A33; --bg: #0B1A33;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #E6ECF5; --muted: #9DABC2; --line: #233A63; --soft: #132A4D;
  --accent: #E6ECF5; --accent-fg: #0B1A33; --on-ink: #0B1A33; --bg: #0B1A33;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 24px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
.muted { color: var(--muted); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--pad); top: var(--pad); background: var(--bg); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header {
  padding: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  position: relative;
  z-index: 2;
}
.logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.nav { display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; }

.on-dark .logo, .on-dark .nav a, .on-dark .menu-toggle summary { color: #fff; }
.header-right { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 24px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 12px; }
.site-header .tools .theme-toggle { min-height: 28px; padding: 0 10px; }
.on-dark .tools .lang-switch, .on-dark .tools .lang-switch a, .on-dark .tools .theme-toggle { color: #fff; }
.on-dark .tools .theme-toggle { border-color: rgba(255,255,255,.55); }
.on-dark .tools .theme-toggle:hover { border-color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 9999px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn:hover { background: var(--ink); color: var(--on-ink); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--accent-fg); }
.btn-solid:hover { background: var(--muted); border-color: var(--muted); color: var(--accent-fg); }
.btn-light { border-color: #fff; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-small { min-height: 32px; padding: 0 12px; font-size: 12px; }
.btn-block { display: flex; width: 100%; }

/* Hero */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: #050B1A;
  color: #fff;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(5,11,26,.45), rgba(5,11,26,0) 180px),
    linear-gradient(to top, rgba(5,11,26,.35), rgba(5,11,26,0) 140px);
  pointer-events: none;
}
.hero .site-header, .hero-foot { text-shadow: 0 1px 8px rgba(5,11,26,.35); }
.hero-foot {
  position: absolute;
  left: max(var(--pad), calc((100% - var(--maxw)) / 2));
  right: max(var(--pad), calc((100% - var(--maxw)) / 2));
  bottom: var(--pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  font-size: 13px;
  z-index: 1;
}

/* Sections */
.section { padding: 80px var(--pad) 0; }
.intro { padding: 32px var(--pad) 56px; }
.intro p {
  margin: 0;
  max-width: 1100px;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.025em;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
h1, h2, h3 { font-weight: 400; letter-spacing: -0.025em; margin: 0; }
.h-upper { font-size: 24px; text-transform: uppercase; }
.label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; }

/* Product grid */
/* Ürün ızgarası: --cols kart genişliğini belirler, eksik kalan satır ortalanır */
.grid {
  --gap: 8px;
  --c: var(--cols, 4);
  display: grid;
  gap: var(--gap);
  justify-content: center;
  grid-template-columns: repeat(auto-fit, calc((100% - (var(--c) - 1) * var(--gap)) / var(--c) - 0.1px));
}
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--soft); }
.card .label { line-height: 1.35; }

.facts {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  font-size: 14px;
}
.facts span { color: var(--muted); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.band {
  border-top: 1px solid var(--ink);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.band h2 { font-size: 24px; margin-bottom: 4px; }
.band p { margin: 0; font-size: 14px; color: var(--muted); }

.field-note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

.faq-wrap h2 { margin-bottom: 16px; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 0;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--muted); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq details p { margin: 0 0 16px; max-width: 640px; font-size: 14px; color: var(--muted); }
.faq-more {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-more h3 { font-size: 18px; margin-bottom: 4px; }
.faq-more p { margin: 0; font-size: 14px; color: var(--muted); }
.faq-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; font-size: 14px; }
.two-col h2 { margin-bottom: 12px; }
.two-col p { margin: 0 0 12px; max-width: 520px; }
.contact-lines { line-height: 1.7; }

/* Product page */
.product { padding: 8px var(--pad) 0; display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.product-media { flex: 999 1 560px; min-width: 0; }
.product-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: var(--soft); }
.product-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.product-info { flex: 1 1 380px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 24px; }
.product-info h1 { font-size: 32px; line-height: 1.1; margin: 8px 0 4px; }
.product-info p { margin: 0; font-size: 14px; }
.price { font-size: 15px; }
.price-note { font-size: 13px; color: var(--muted); }
.options { font-size: 14px; display: grid; gap: 4px; }
.buy { display: flex; flex-direction: column; gap: 8px; }
.block { border-top: 1px solid var(--ink); padding-top: 12px; }
.block h2 { margin-bottom: 8px; }
.specs { margin: 0; display: grid; grid-template-columns: 110px 1fr; font-size: 14px; }
.specs dt, .specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 12px; }
.crumb a { text-decoration: none; }

/* Footer */
.site-footer { padding: 96px var(--pad) 0; overflow: hidden; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-row a { text-decoration: none; }
.ai-note { margin: 12px 0 0; max-width: 520px; font-size: 11px; line-height: 1.45; color: var(--muted); }
.wordmark {
  font-size: clamp(88px, 20vw, 245px);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--accent);
  margin: 48px 0 -0.08em;
  text-align: center;
  transform: translateX(-0.03em); /* harf aralığından kalan boşluğu dengeler */
  white-space: nowrap;
  user-select: none;
}

/* Tablet */
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { --c: min(var(--cols, 4), 3); }
  .grid[style*="--cols:4"] { --c: 2; }
  .intro p { font-size: 24px; }
}

/* Phone */
@media (max-width: 640px) {
  .nav-desktop { display: none; }
  .grid { --c: 2; }
  .grid > .card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--gap)) / 2); }
  .menu-toggle { display: block; position: relative; font-size: 14px; }
  .menu-toggle summary { list-style: none; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
  .menu-toggle summary::-webkit-details-marker { display: none; }
  .menu-toggle .menu-panel {
    position: absolute;
    right: 0;
    top: 44px;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 8px 0;
    min-width: 220px;
    text-shadow: none;
  }
  .menu-toggle .nav { flex-direction: column; gap: 0; }
  .menu-toggle .nav a { color: var(--ink) !important; padding: 10px 16px; }
  .menu-toggle .tools { border-top: 1px solid var(--line); margin-top: 8px; padding: 12px 16px 6px; }
  .menu-toggle .tools a, .menu-toggle .theme-toggle { color: var(--ink) !important; border-color: var(--line) !important; }
  .menu-toggle .lang-switch { color: var(--muted) !important; }
  .menu-toggle .lang-switch a { display: inline-block; padding: 6px 2px; }

  .hero { height: min(88svh, 640px); }
  .intro p { font-size: 21px; }
  .section { padding-top: 56px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery img:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .two-col { grid-template-columns: 1fr; }
  .facts { gap: 12px; }
  .product-info { max-width: none; }
  .product-info h1 { font-size: 28px; }
  .site-footer { padding-top: 72px; }
}
.lang-switch a { text-decoration: none; }
.lang-switch a[aria-current] { text-decoration: underline; }

/* Tema düğmesi */
.footer-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.theme-toggle {
  font: inherit; font-size: 12px; color: var(--ink);
  background: transparent; border: 1px solid var(--line); border-radius: 9999px;
  min-height: 32px; padding: 0 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.theme-toggle:hover { border-color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-toggle svg { width: 14px; height: 14px; }

/* Hero: koyu modda gece fotoğrafı (yalnızca site.json'da hero_image_dark varsa) */
.hero .hero-night { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero .hero-day { display: none; }
  :root:not([data-theme="light"]) .hero .hero-night { display: block; }
}
:root[data-theme="dark"] .hero .hero-day { display: none; }
:root[data-theme="dark"] .hero .hero-night { display: block; }

/* İçerik ekranın ortasında, en fazla --maxw genişliğinde; hero fotoğrafı tam genişlik kalır */
.site-header, .intro, .products-sec, .section, .product, .site-footer {
  padding-left: max(var(--pad), calc((100% - var(--maxw)) / 2));
  padding-right: max(var(--pad), calc((100% - var(--maxw)) / 2));
}

/* Yasal sayfalar */
.legal { padding-top: 24px; }
.legal > * { max-width: 760px; }
.legal h1 { font-size: 32px; line-height: 1.15; margin-bottom: 24px; text-wrap: balance; }
.legal h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; margin: 32px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.6; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* Alt kısım: yasal linkler */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 12px; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--ink); text-decoration: underline; }
.link-btn { font: inherit; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; }
.link-btn:hover { color: var(--ink); text-decoration: underline; }

/* Çerez onayı şeridi */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 12px max(var(--pad), calc((100% - var(--maxw)) / 2)) calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  font-size: 13px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; max-width: 640px; color: var(--muted); }
.cookie-bar p a { color: var(--ink); }
.cookie-actions { display: flex; gap: 8px; }
.cookie-actions .btn { min-height: 36px; }
@media (max-width: 359px) { .wordmark { font-size: 72px; } }
.not-found { min-height: 50vh; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
