/* NotWingyet — ortak stil dosyası
   Renkler logodan gelir: gece laciverti zemin, kanadın mavi / turkuaz / turuncu şeritleri.
   Yeni bir bölüm (ör. /forum, /booking) eklerken bu dosyayı ve aşağıdaki değişkenleri kullan. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+2190-2193, U+2212;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-tr.woff2") format("woff2");
  font-weight: 400 900;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+011E-011F, U+0130, U+015E-015F, U+20AC, U+20BA;
}

:root {
  --night: #071a2e;
  --deep: #0c2440;
  --raised: #12305a;
  --line: #24476f;
  --cloud: #eef4fa;
  --mist: #a9bdd3;
  --blue: #4a94f5;
  --teal: #2cc0a8;
  --orange: #ff8f33;
  --paper: #ffffff;
  --ink: #0b1f3a;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.3rem + 6.4vw, 6rem);
  --radius: 14px;
  --radius-s: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cloud);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cloud); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-stretch: 125%; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); font-weight: 900; letter-spacing: -0.035em; line-height: 0.95; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.num { font-variant-numeric: tabular-nums lining-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--ink); padding: 0.75rem 1rem; font-weight: 700; z-index: 20; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Üst menü ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(7, 26, 46, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: 0.625rem; text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand span span { color: var(--orange); }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.25rem; }
.nav a { display: block; padding: 0.5rem 0.75rem; text-decoration: none; font-weight: 600; font-size: var(--step--1); border-radius: var(--radius-s); color: var(--mist); }
.nav a:hover { color: var(--cloud); background: var(--deep); }
.nav a[aria-current="page"] { color: var(--cloud); box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.lang button { font: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--mist); background: none; border: 0; padding: 0.375rem 0.75rem; min-height: 2.25rem; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--cloud); color: var(--ink); }
.menu-btn { font: inherit; font-weight: 700; font-size: var(--step--1); color: var(--cloud); background: var(--deep); border: 1px solid var(--line); border-radius: 999px; padding: 0.375rem 0.875rem; min-height: 2.5rem; cursor: pointer; }
.nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--night); border-bottom: 1px solid var(--line); padding: 0.5rem var(--gutter) 1rem; }
.nav.open ul { flex-direction: column; }
.nav.open a { font-size: var(--step-0); padding: 0.75rem 0.5rem; }
@media (min-width: 56rem) {
  .nav { display: block; }
  .menu-btn { display: none; }
  .brand { margin-right: 1.5rem; }
  .nav { margin-right: auto; }
}

/* ---------- Genel bloklar ---------- */
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 0.75rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.section-head p { color: var(--mist); max-width: 34rem; margin-top: 0.75rem; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--mist); max-width: 36rem; }
.page-head { padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem); }
.page-head h1 { font-size: clamp(2.5rem, 1.4rem + 5vw, 5rem); max-width: 16ch; }
.page-head .lead { margin-top: 1.25rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.75rem 1.375rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; font-family: inherit; font-size: var(--step-0); cursor: pointer; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: #ffa65c; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--cloud); background: transparent; }
.btn-ghost:hover { border-color: var(--cloud); color: var(--cloud); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.status { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.375rem 0.875rem 0.375rem 0.625rem; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); font-weight: 600; color: var(--cloud); background: var(--deep); }
.status::before { content: ""; width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--teal); flex: none; }

.notice { margin-bottom: 1.5rem; padding: 0.75rem 1rem; border-left: 4px solid var(--orange); background: var(--deep); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: var(--step--1); color: var(--cloud); max-width: 44rem; }
.notice[hidden] { display: none; }
.empty { color: var(--mist); padding: 1.5rem 0; }

/* ---------- Ana sayfa girişi ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin-top: 1.5rem; font-size: clamp(2.75rem, 1.6rem + 4.6vw, 4.75rem); }
.hero .lead { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2rem; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* ---------- Kanat sayacı (fon göstergesi) ---------- */
.wing { background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); }
.wing-svg { width: 100%; aspect-ratio: 640 / 350; }
.wing-svg svg { width: 100%; height: 100%; }
.wing-cell { fill: transparent; stroke: #3d6a9e; stroke-width: 2; stroke-dasharray: 5 5; }
.wing-cell.on { stroke: var(--deep); stroke-dasharray: none; stroke-width: 3; fill: var(--c); }
.wing-line { stroke: #3d6a9e; stroke-width: 1.5; fill: none; }
.wing-pilot { fill: var(--cloud); }
.wing-figures { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1.5rem; margin-top: 1rem; }
.wing-pct { font-stretch: 125%; font-weight: 900; font-size: var(--step-3); letter-spacing: -0.03em; line-height: 1; }
.wing-sum { color: var(--mist); }
.wing-sum strong { color: var(--cloud); font-weight: 700; }
.wing-note { margin-top: 0.75rem; font-size: var(--step--1); color: var(--mist); }
@media (prefers-reduced-motion: no-preference) {
  .wing.animate .wing-cell.on { animation: cell-in 0.45s both; animation-delay: calc(var(--i) * 70ms + 200ms); }
  @keyframes cell-in { from { fill: transparent; } to { fill: var(--c); } }
}

/* ---------- Günlük ---------- */
.log { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; list-style: none; margin: 0; padding: 0; }
.log-item { background: var(--night); }
.log-item a { display: grid; gap: 0.75rem 2rem; padding: clamp(1.25rem, 3vw, 1.75rem); text-decoration: none; height: 100%; }
.log-item a:hover { background: var(--deep); color: var(--cloud); }
.log-title { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.log-item a:hover .log-title { color: var(--orange); }
.log-date { color: var(--mist); font-size: var(--step--1); font-weight: 600; }
.log-item p { color: var(--mist); margin-top: 0.5rem; }
.log-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; font-size: var(--step--1); }
.log-meta div { display: flex; gap: 0.375rem; }
.log-meta dt { color: var(--mist); }
.log-meta dd { margin: 0; font-weight: 600; }
@media (min-width: 48rem) {
  .log-item a { grid-template-columns: 9.5rem minmax(0, 1fr); }
  .log-item .log-meta { grid-column: 2; }
}
.log.cols { background: none; border: 0; border-radius: 0; gap: 1rem; }
.log.cols .log-item { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.log.cols .log-item a { grid-template-columns: 1fr; align-content: start; }
.log.cols .log-item .log-meta { grid-column: 1; }
@media (min-width: 52rem) { .log.cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Yazı sayfası */
.post { max-width: 44rem; }
.post-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.post-head h1 { font-size: clamp(2.25rem, 1.5rem + 3.5vw, 4rem); margin-top: 0.75rem; }
.post-facts { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 1.5rem 0 2.5rem; }
.post-facts div { background: var(--deep); padding: 0.875rem 1.125rem; }
.post-facts dt { color: var(--mist); font-size: var(--step--1); }
.post-facts dd { margin: 0; font-weight: 700; }
@media (min-width: 40rem) { .post-facts { grid-template-columns: 1fr 1fr; } .post-facts .wide { grid-column: 1 / -1; } }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.375rem; }
.prose blockquote { margin-inline: 0; padding-left: 1.25rem; border-left: 4px solid var(--teal); color: var(--mist); font-size: var(--step-1); }
.prose img { border-radius: var(--radius); }
.prose code { background: var(--deep); padding: 0.125rem 0.375rem; border-radius: 4px; font-size: 0.9em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5rem; }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.embed.insta { aspect-ratio: 4 / 5; max-width: 26rem; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.comments { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.comments h2 { font-size: var(--step-2); margin-bottom: 1rem; }

/* ---------- Ürünler ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filters button { font: inherit; font-size: var(--step--1); font-weight: 700; color: var(--cloud); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.5rem 1rem; min-height: 2.75rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--cloud); color: var(--ink); border-color: var(--cloud); }
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.products.scroller { grid-auto-flow: column; grid-auto-columns: min(78vw, 18rem); grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; scrollbar-color: var(--line) transparent; }
.products.scroller > li { scroll-snap-align: start; }
.product { display: flex; flex-direction: column; height: 100%; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.product-img { aspect-ratio: 4 / 3; background: var(--raised); display: grid; place-items: center; color: var(--mist); font-weight: 700; font-stretch: 125%; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img[data-cat="3d"] { box-shadow: inset 0 -5px 0 var(--orange); }
.product-img[data-cat="edc"] { box-shadow: inset 0 -5px 0 var(--teal); }
.product-img[data-cat="leather"] { box-shadow: inset 0 -5px 0 var(--blue); }
.product-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.125rem; flex: 1; }
.product-name { font-size: var(--step-1); letter-spacing: -0.01em; line-height: 1.2; }
.product-body p { color: var(--mist); font-size: var(--step--1); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.75rem; }
.product-price { font-weight: 800; font-size: var(--step-1); }
.product .btn { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: var(--step--1); }

/* ---------- Fon tablosu ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; min-width: 34rem; }
th, td { padding: 0.875rem 1.125rem; text-align: right; border-bottom: 1px solid var(--line); }
th:first-child, td:first-child { text-align: left; }
.ledger th:nth-child(2) { text-align: left; }
.ledger td:first-child { white-space: nowrap; color: var(--mist); }
thead th { font-size: var(--step--1); color: var(--mist); font-weight: 600; background: var(--deep); }
tbody th { font-weight: 700; }
tfoot td, tfoot th { font-weight: 800; border-bottom: 0; background: var(--deep); }
.bar { height: 6px; border-radius: 3px; background: var(--raised); margin-top: 0.5rem; overflow: hidden; min-width: 8rem; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal), var(--orange)); border-radius: 3px; }
.split { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.income { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.income li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.income strong { font-weight: 800; }

.income li.total { border-bottom: 0; font-size: var(--step-1); }
.income li.total strong { color: var(--teal); }
td.plus { color: var(--teal); font-weight: 700; }
td.minus { color: var(--orange); font-weight: 700; }
.tag { display: inline-block; margin-left: 0.5rem; padding: 0.0625rem 0.5rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.75rem; font-weight: 600; color: var(--mist); }

/* ---------- Rütbe rozetleri ---------- */
.badges { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); list-style: none; margin: 0; padding: 0; }
.badges.row { grid-auto-flow: column; grid-auto-columns: 11.5rem; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 0.75rem; scrollbar-color: var(--line) transparent; }
.badges.row > li { scroll-snap-align: start; }
.badge-card { display: flex; flex-direction: column; gap: 0.375rem; padding: 1.125rem; background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.badge-art { width: 100%; max-width: 10.5rem; margin: 0 auto 0.375rem; aspect-ratio: 200 / 236; }
.badge-art svg { width: 100%; height: 100%; filter: grayscale(1) brightness(0.95); opacity: 0.5; }
.badge-card.on { border-color: #b8862a; background: linear-gradient(180deg, #17304f, var(--deep)); }
.badge-card.on .badge-art svg { filter: drop-shadow(0 0 10px rgba(233, 168, 43, 0.45)); opacity: 1; }
.badge-name { font-size: var(--step-0); letter-spacing: -0.01em; line-height: 1.2; }
.badge-state { font-size: var(--step--1); color: var(--mist); }
.badge-card.on .badge-state { color: #f2be55; font-weight: 700; }
.badge-card .bar { min-width: 0; margin-top: 0.25rem; }
.badge-money { font-size: 0.8125rem; color: var(--mist); }
.badge-sponsor { display: flex; flex-direction: column; align-items: center; gap: 0.375rem; margin-top: 0.5rem; padding-top: 0.625rem; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--mist); }
.badge-sponsor img { width: auto; max-width: 6rem; height: 2rem; object-fit: contain; background: var(--paper); border-radius: 4px; padding: 2px; }
.badge-sponsor a, .badge-sponsor strong { color: var(--cloud); font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .badge-card.on .badge-art svg { animation: badge-unlock 1.4s 0.3s both; }
  .badge-card.on:hover .badge-art svg { transform: rotate(-3deg) scale(1.04); transition: transform 0.2s; }
  @keyframes badge-unlock {
    0% { filter: grayscale(1) brightness(0.95); opacity: 0.5; transform: scale(0.94); }
    55% { filter: brightness(1.6) drop-shadow(0 0 26px rgba(255, 214, 120, 0.95)); opacity: 1; transform: scale(1.06); }
    100% { filter: drop-shadow(0 0 10px rgba(233, 168, 43, 0.45)); opacity: 1; transform: scale(1); }
  }
}

/* ---------- Hikâyem ---------- */
.story { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.story-block { display: grid; gap: 0.75rem 3rem; }
.story-block h2 { font-size: var(--step-2); }
.story-block .prose { max-width: 40rem; font-size: var(--step-1); line-height: 1.55; }
@media (min-width: 56rem) { .story-block { grid-template-columns: 16rem minmax(0, 1fr); } }
.story-logo { background: var(--paper); border-radius: 50%; width: min(16rem, 60vw); }
.values { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.values li { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); border-top: 5px solid var(--c); background: var(--deep); }
.values p { color: var(--mist); margin-top: 0.5rem; font-size: var(--step--1); }
@media (min-width: 48rem) { .values { grid-template-columns: repeat(3, 1fr); } }

/* ---------- İletişim ---------- */
.form { display: grid; gap: 1.125rem; max-width: 34rem; }
.field { display: grid; gap: 0.375rem; }
.field label { font-weight: 700; font-size: var(--step--1); }
.field input, .field select, .field textarea { font: inherit; color: var(--cloud); background: var(--deep); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 0.75rem 0.875rem; min-height: 3rem; width: 100%; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); }
.hp { position: absolute; left: -9999px; }
.form-msg { font-weight: 600; min-height: 1.6em; }
.form-msg.ok { color: var(--teal); }
.form-msg.err { color: var(--orange); }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.125rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--deep); }
.links a:hover { border-color: var(--orange); }
.links span { color: var(--mist); }

/* ---------- Kapanış bandı ve alt bilgi ---------- */
.band { background: var(--paper); color: var(--ink); }
.band .wrap { display: grid; gap: 1.5rem; align-items: center; padding-block: clamp(2.5rem, 6vw, 4rem); }
.band p { max-width: 36rem; margin-top: 0.75rem; }
.band .btn-primary { background: var(--ink); color: var(--paper); }
.band .btn-primary:hover { background: #17335c; color: var(--paper); }
.band :focus-visible { outline-color: var(--ink); }
@media (min-width: 52rem) { .band .wrap { grid-template-columns: minmax(0, 1fr) auto; } }
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem; font-size: var(--step--1); color: var(--mist); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0; padding: 0; }
.site-footer a { display: inline-block; padding-block: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
/* Dar ekranlarda üst menü sığsın: yazılı marka adı gizlenir, logo kalır */
@media (max-width: 30rem) {
  .brand > span { display: none; }
  .site-header .wrap { gap: 0.625rem; }
}
