:root {
  --bg: #f4f1ea;
  --kart: #ffffff;
  --ink: #141a33;
  --muted: #5d6380;
  --line: #e2ddd1;
  --mavi: #2457d6;
  --gold: #f2b134;
  --gold-bg: #fdf3dc;
  --gold-ink: #6e4c07;
  --radius: 26px;
  --sarmal: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1020;
    --kart: #151b31;
    --ink: #eef1fb;
    --muted: #a3abc6;
    --line: #262e4b;
    --mavi: #6f9bff;
    --gold-bg: #2c2413;
    --gold-ink: #f6d48c;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1rem/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", Inter, system-ui, sans-serif; margin: 0; letter-spacing: -.02em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
.sarmal { width: min(100% - 2rem, var(--sarmal)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--mavi); outline-offset: 3px; border-radius: 8px; }
.atla { position: absolute; inset-inline-start: -9999px; top: 0; background: var(--ink); color: var(--bg); padding: .5rem 1rem; z-index: 100; }
.atla:focus { inset-inline-start: 1rem; top: 1rem; }

/* Üst çubuk */
.ust-cubuk { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.ust-ic { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font: 500 1.6rem "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; }
.logo img { width: 48px; height: 48px; }
.logo b { font-weight: 800; }
.menu { display: flex; align-items: center; gap: .5rem; }
.menu a { padding: .5rem .95rem; border-radius: 999px; background: var(--kart); text-decoration: none; font-weight: 600; font-size: .92rem; }
.menu a:hover { background: var(--ink); color: var(--bg); }
.dil { border: 1px solid var(--line); background: var(--kart); color: var(--ink); border-radius: 999px; padding: .5rem .7rem; font: 600 .88rem Inter, sans-serif; cursor: pointer; }
.menu-dugme { display: none; width: 46px; height: 46px; padding: 11px; background: var(--kart); border: 0; border-radius: 14px; cursor: pointer; color: var(--ink); }
.menu-dugme span { display: block; height: 2px; background: currentColor; margin: 5px 0; border-radius: 2px; }

/* Giriş */
.giris { padding: clamp(1rem, 3vw, 2rem) 0 1.4rem; }
h1 { font-size: clamp(2.5rem, 6.4vw, 5.2rem); font-weight: 800; letter-spacing: -.04em; line-height: .98; max-width: 22ch; }
h1 em { font-style: normal; color: var(--mavi); }
.alt-baslik { color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem); margin-top: 1rem; max-width: 56ch; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 14px; padding-bottom: 3rem; }
.t {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; background: var(--c); text-decoration: none; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.t:hover { transform: translateY(-3px) scale(1.01); box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.t-simge { position: absolute; top: 16px; inset-inline-start: 16px; width: 56px; height: 56px; border-radius: 15px; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.t-rozet { position: absolute; top: 18px; inset-inline-end: 16px; z-index: 2; font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; background: rgba(255, 255, 255, .22); }
.t-rozet.canli { background: #fff; color: var(--c); }
.t-ekran {
  position: absolute; inset-inline-end: -12px; bottom: -80px; width: 112px; height: auto; aspect-ratio: 9 / 16;
  object-fit: cover; object-position: top; border-radius: 14px; transform: rotate(-8deg); z-index: -1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35); transition: transform .25s ease;
}
a.t:hover .t-ekran { transform: rotate(-4deg) translateY(-10px); }
.t-yazi { display: grid; gap: .1rem; max-width: 62%; }
.t-yazi h3 { font-size: 1.3rem; font-weight: 700; }
.t-yazi span { font-size: .86rem; opacity: .88; line-height: 1.3; }

.tenedos-kutu { grid-column: span 2; grid-row: span 2; background: #0d1b2a; padding: 26px; }
.tenedos-kutu .arka { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .8; }
.tenedos-kutu::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 27, 42, .95) 18%, rgba(13, 27, 42, 0) 70%); }
.t-yeni { position: absolute; top: 20px; inset-inline-start: 20px; background: var(--gold); color: #1a1200; font-weight: 800; font-size: .8rem; letter-spacing: .04em; padding: .3rem .8rem; border-radius: 999px; }
.t-ten-yazi h2 { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 800; }
.t-ten-yazi > p { margin-top: .35rem; color: #e6edf6; max-width: 44ch; }
.t-ten-yazi .t-kurucu { color: #ffd98a; font-weight: 600; font-size: .92rem; }
.t-ten-dugmeler { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.hakkinda-kutu { grid-column: span 2; background: var(--kart); color: var(--ink); justify-content: center; gap: .4rem; border: 1px solid var(--line); }
.hakkinda-kutu h3 { font-size: 1.55rem; font-weight: 700; }
.hakkinda-kutu p { color: var(--muted); }
.t-link { color: var(--mavi); font-weight: 700; font-size: .92rem; }

/* Düğmeler */
.dugme {
  display: inline-block; border: 0; border-radius: 14px; padding: .8rem 1.25rem; cursor: pointer;
  font: 700 1rem Inter, sans-serif; text-decoration: none; background: var(--mavi); color: #fff;
  transition: filter .15s ease, transform .15s ease;
}
.dugme:hover { filter: brightness(1.08); transform: translateY(-1px); }
.dugme-altin { background: var(--gold); color: #1a1200; font-weight: 800; }
.dugme-saydam { background: rgba(255, 255, 255, .16); color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.dugme-play { background: var(--c, var(--mavi)); }

/* Bölümler */
.bolum { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); }
.ust-etiket { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mavi); margin-bottom: .7rem; }
.bolum h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; max-width: 22ch; }
.hakkinda .giris-metin { font-size: 1.15rem; margin-top: 1rem; max-width: 60ch; }
.hakkinda > p:not(.ust-etiket):not(.giris-metin) { color: var(--muted); margin-top: .8rem; max-width: 70ch; }
.ilkeler { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 2rem; }
.ilkeler > div { background: var(--kart); border-radius: 20px; padding: 1.2rem 1.3rem; border: 1px solid var(--line); }
.ilkeler h3 { font-size: 1.15rem; font-weight: 700; }
.ilkeler p { color: var(--muted); margin-top: .4rem; font-size: .95rem; }

.iletisim { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.iletisim > div > p:not(.ust-etiket) { color: var(--muted); margin-top: .8rem; }
.eposta { font: 700 1.25rem "Bricolage Grotesque", sans-serif; color: var(--mavi); overflow-wrap: anywhere; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; background: var(--kart); border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--line); }
.form label { display: grid; gap: .3rem; font-size: .88rem; font-weight: 600; }
.form .genis { grid-column: 1 / -1; }
.form input, .form textarea {
  width: 100%; padding: .65rem .8rem; font: inherit; font-weight: 400; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; resize: vertical;
}
.form .dugme { justify-self: start; }
.form-note { font-size: .9rem; color: var(--muted); }
.form-note:empty { display: none; }

.alt { padding: 1.8rem 0 2.5rem; color: var(--muted); font-size: .88rem; border-top: 1px solid var(--line); }
.alt-ic { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.alt-linkler { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.alt a { text-decoration: none; }
.alt a:hover { color: var(--ink); }

/* Ayrıntı pencereleri */
.ayrinti {
  width: min(92vw, 860px); max-height: 90vh; padding: 0; border: 0; border-radius: 28px;
  background: var(--kart); color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: auto;
}
.ayrinti::backdrop { background: rgba(10, 14, 30, .6); backdrop-filter: blur(3px); }
.a-ust { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.6rem; background: var(--c, #0d1b2a); color: #fff; }
.a-ust img { width: 64px; height: 64px; border-radius: 16px; }
.a-ust h3 { font-size: 1.7rem; font-weight: 800; }
.a-ust p { opacity: .88; }
.a-ust .ust-etiket { color: var(--gold); margin: 0 0 .3rem; }
.kapat { margin-inline-start: auto; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .2); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.kapat:hover { background: rgba(255, 255, 255, .35); }
.a-govde { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.6rem; padding: 1.6rem; align-items: start; }
.liste { list-style: none; padding: 0; margin: 1rem 0 1.2rem; color: var(--muted); }
.liste li { position: relative; padding-inline-start: 1.5rem; margin-bottom: .35rem; }
.liste li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--c, var(--mavi)); font-weight: 800; }
.a-alt { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; font-size: .92rem; }
.a-alt > a:not(.dugme) { color: var(--mavi); }
.rozet { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 700; }
.a-ekran { display: flex; gap: .7rem; }
.a-ekran img {
  width: 160px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; cursor: zoom-in;
  border: 4px solid #101c3d; border-radius: 18px;
}
.a-ekran.yatay img { aspect-ratio: 4 / 5; width: 190px; border: 0; }
.tenedos .a-ust { background: #0d1b2a; }
.haplar { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .9rem; }
.haplar li { background: var(--gold-bg); color: var(--gold-ink); border: 1px solid var(--gold); font-weight: 700; font-size: .82rem; padding: .25rem .75rem; border-radius: 999px; }
.kurucu { border: 1px dashed var(--gold); background: var(--gold-bg); border-radius: 14px; padding: .75rem 1rem; margin-bottom: 1.1rem; font-weight: 500; }

.buyut { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; }
.buyut::backdrop { background: rgba(8, 12, 26, .88); }
.buyut img { display: block; max-width: min(92vw, 440px); max-height: 92vh; border-radius: 22px; cursor: zoom-out; }

[dir="rtl"] :is(h1, h2, h3, .ust-etiket) { letter-spacing: 0; }
[dir="rtl"] .t-ekran { transform: rotate(8deg); }

/* Orta ekran */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tenedos-kutu { grid-row: span 2; }
  .hakkinda-kutu { grid-column: span 2; grid-row: span 1; }
}

/* Telefon */
@media (max-width: 720px) {
  .menu-dugme { display: block; }
  .menu {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: .4rem; padding: .75rem 1rem 1.2rem; background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .menu.acik { display: flex; }
  .menu a { text-align: center; }
  .logo { font-size: 1.35rem; }
  .logo img { width: 42px; height: 42px; }
  .bento { grid-auto-rows: 160px; gap: 10px; }
  .tenedos-kutu { grid-row: span 3; padding: 20px; }
  .t { padding: 14px; }
  .t-simge { width: 46px; height: 46px; top: 12px; inset-inline-start: 12px; }
  .t-ekran { display: none; }
  .t-yazi { max-width: 100%; }
  .t-yazi h3 { font-size: 1.05rem; }
  .t-yazi span { display: none; }
  .t-rozet { top: 14px; inset-inline-end: 10px; font-size: .66rem; }
  .ilkeler, .iletisim { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .a-govde { grid-template-columns: 1fr; }
  .a-ekran img { width: calc(50% - .35rem); }
  .a-ust { padding: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
