/* ==========================================================================
   Origami Blog — site teması
   Renkler: kâğıt kremi, kiremit, lacivert, hardal güneşi.
   ========================================================================== */

:root {
  --bg: #f6f2e9;
  --bg-alt: #eee6db;
  --surface: #ffffff;
  --surface-2: #faf7f1;
  --border: #e6dccd;
  --border-strong: #cfc3b1;
  --text: #16222d;
  --text-2: #3d4a55;
  --muted: #6b7680;
  --primary: #125c80;
  --primary-ink: #0e4a68;
  --accent: #b9432d;
  --sun: #e1a43a;
  --navy: #0e3c56;
  --navy-2: #0b3349;
  --footer: #072c3f;

  --c-blue: #125c80;
  --c-red: #b9432d;
  --c-green: #2f7461;
  --c-amber: #8c641f;
  --c-teal: #2a8e8c;
  --c-navy: #0e3c56;
  --c-brown: #5b4839;

  --chip-red-bg: #f6ddd6;
  --chip-red-fg: #a83b27;
  --chip-blue-bg: #dce8f0;
  --chip-blue-fg: #125c80;
  --chip-green-bg: #dcebe6;
  --chip-green-fg: #2f7461;
  --chip-amber-bg: #f5e7cc;
  --chip-amber-fg: #7a5518;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(22, 34, 45, 0.04), 0 8px 24px -12px rgba(22, 34, 45, 0.12);
  --gutter: clamp(16px, 6.6vw, 72px);
  --maxw: 1136px;
  --header-h: 66px;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0b1a24;
  --bg-alt: #0f2230;
  --surface: #132a39;
  --surface-2: #10242f;
  --border: #1f3a4c;
  --border-strong: #2c4c61;
  --text: #eef2f4;
  --text-2: #c3ced6;
  --muted: #8ea0ad;
  --primary: #5ba7cf;
  --primary-ink: #7dbde0;
  --accent: #e0694f;
  --navy: #0e3c56;
  --navy-2: #0a2f43;
  --footer: #061f2d;

  --chip-red-bg: rgba(224, 105, 79, 0.16);
  --chip-red-fg: #f09a86;
  --chip-blue-bg: rgba(91, 167, 207, 0.16);
  --chip-blue-fg: #8cc6e6;
  --chip-green-bg: rgba(88, 180, 150, 0.16);
  --chip-green-fg: #8fd3bb;
  --chip-amber-bg: rgba(225, 164, 58, 0.16);
  --chip-amber-fg: #f0c679;

  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px -14px rgba(0, 0, 0, 0.6);
  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--text);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--maxw));
  margin-inline: auto;
}

.section {
  padding-block: clamp(56px, 9vw, 96px);
}

.section--alt {
  background: var(--bg-alt);
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow--red {
  color: var(--accent);
}

.eyebrow--green {
  color: var(--c-green);
}

.eyebrow--sun {
  color: var(--sun);
}

.display {
  font-size: clamp(34px, 5.4vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.section-head .display {
  margin-top: 8px;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.65;
  color: var(--text-2);
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-ink);
}

:root[data-theme="dark"] .btn--primary {
  background: #1d6f98;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  background: #a63a25;
}

.btn--sun {
  background: var(--sun);
  color: #1d2a33;
}

.btn--sun:hover {
  background: #eab250;
}

.btn--outline {
  border-color: var(--text);
  color: var(--text);
  background: transparent;
}

.btn--outline:hover {
  background: var(--surface);
}

.btn--ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--border-strong);
}

.btn--block {
  width: 100%;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.icon-btn:hover {
  background: var(--surface);
  border-color: var(--border-strong);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

/* ---------- Chip / etiket ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--chip-blue-bg);
  color: var(--chip-blue-fg);
}

.chip--red {
  background: var(--chip-red-bg);
  color: var(--chip-red-fg);
}

.chip--green,
.chip--teal {
  background: var(--chip-green-bg);
  color: var(--chip-green-fg);
}

.chip--amber,
.chip--brown {
  background: var(--chip-amber-bg);
  color: var(--chip-amber-fg);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.tag small {
  font-weight: 500;
  color: var(--muted);
}

.tag:hover {
  border-color: var(--border-strong);
}

.tag.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.tag.is-active small {
  color: rgba(255, 255, 255, 0.8);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
}

.pill small {
  font-weight: 500;
  color: var(--muted);
}

.pill:hover {
  border-color: var(--border-strong);
}

.pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pill.is-active small {
  color: rgba(255, 255, 255, 0.8);
}

.pill--green.is-active {
  background: var(--c-green);
  border-color: var(--c-green);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand svg {
  width: 32px;
  height: auto;
}

.brand__logo {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 100%;
}

.main-nav > a,
.main-nav .nav-drop > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--header-h);
  padding: 0 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}

.main-nav > a::after,
.main-nav .nav-drop > a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.main-nav > a:hover,
.main-nav a.is-active {
  color: var(--primary);
}

.main-nav a.is-active {
  font-weight: 700;
}

.main-nav a.is-active::after,
.main-nav > a:hover::after {
  transform: scaleX(1);
}

.nav-drop {
  position: relative;
}

.nav-drop__menu {
  position: absolute;
  top: calc(100% - 6px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all 0.15s ease;
}

.nav-drop:hover .nav-drop__menu,
.nav-drop:focus-within .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop__menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
}

.nav-drop__menu a:hover {
  background: var(--bg-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.lang-switch a {
  padding: 4px 2px;
}

.lang-switch a.is-active {
  color: var(--primary);
  font-weight: 700;
}

.lang-switch span {
  opacity: 0.5;
}

.theme-icon--sun {
  display: none;
}

:root[data-theme="dark"] .theme-icon--sun {
  display: block;
}

:root[data-theme="dark"] .theme-icon--moon {
  display: none;
}

.nav-toggle {
  display: none;
}

/* Mobil çekmece */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 24, 34, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 360px);
  background: var(--bg);
  padding: 18px 20px 28px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
}

.drawer.is-open {
  pointer-events: auto;
}

.drawer.is-open .drawer__backdrop {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.drawer__nav a.is-active {
  background: var(--bg-alt);
  color: var(--primary);
}

.drawer__nav .sub {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px 8px 28px;
  color: var(--text-2);
}

.drawer__foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.no-scroll {
  overflow: hidden;
}

/* ---------- Anasayfa hero slider ---------- */
.hero {
  padding: 12px clamp(8px, 1.7vw, 18px) 0;
}

.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: clamp(520px, 62vw, 620px);
  background: var(--navy);
  color: #fff;
  isolation: isolate;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide__art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.slide__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide__art--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 30, 44, 0.82) 0%, rgba(7, 30, 44, 0.45) 60%, rgba(7, 30, 44, 0.2) 100%);
}

.slide__sky {
  position: absolute;
  inset: 0 0 53% 0;
  background: #a83b27;
}

.slide__sea {
  position: absolute;
  inset: 47% 0 0 0;
  background: var(--navy);
}

.theme-sea .slide__sky {
  background: #125c80;
}

.theme-forest .slide__sky {
  background: #2f7461;
}

.theme-forest .slide__sea {
  background: #173b35;
}

.slide__sun {
  position: absolute;
  right: 15%;
  top: 47%;
  width: clamp(110px, 17vw, 180px);
  aspect-ratio: 2 / 1;
  transform: translateY(-100%);
  border-radius: 999px 999px 0 0;
  background: var(--sun);
}

.slide__reflection {
  position: absolute;
  right: calc(15% + clamp(110px, 17vw, 180px) / 2);
  top: calc(47% + 22px);
  transform: translateX(50%);
  display: grid;
  justify-items: center;
  gap: 21px;
}

.slide__reflection span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: rgba(225, 164, 58, 0.6);
}

.slide__content {
  position: relative;
  height: 100%;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px clamp(20px, 5vw, 54px) 110px;
  max-width: 640px;
}

.slide__badge {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.slide__title {
  color: #fff;
  font-size: clamp(40px, 6.4vw, 62px);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.slide__subtitle {
  margin-top: 18px;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.slide__text {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.slide__content .btn {
  align-self: flex-start;
  margin-top: 26px;
}

.slider__controls {
  position: absolute;
  right: clamp(14px, 2.8vw, 30px);
  bottom: clamp(14px, 2.8vw, 30px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(5, 25, 37, 0.55);
  backdrop-filter: blur(6px);
  z-index: 2;
}

.slider__arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transition: background-color 0.15s ease;
}

.slider__arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.slider__arrow svg {
  width: 16px;
  height: 16px;
}

.slider__dots {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
}

.slider__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.25s ease, background-color 0.25s ease;
}

.slider__dots button.is-active {
  width: 20px;
  background: var(--sun);
}

/* ---------- Anasayfa: Hakkımda kısaca ---------- */
.intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}

.photo-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 9px;
}

.photo-frame__stage {
  position: relative;
  aspect-ratio: 6 / 5;
  border-radius: 9px;
  overflow: hidden;
}

.photo-frame__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-frame__img.is-active {
  opacity: 1;
}

.photo-frame__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: var(--tone, var(--c-blue));
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
}

.placeholder--grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  background-position: -1px -1px;
}

.placeholder__label {
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
}

.frame-tabs {
  display: flex;
  gap: 22px;
  margin-top: 16px;
  padding-left: 2px;
}

.frame-tabs button {
  position: relative;
  padding: 4px 0 8px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
}

.frame-tabs button.is-active {
  color: var(--primary);
  font-weight: 700;
}

.frame-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.intro__text p + p {
  margin-top: 16px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 26px;
}

.interest {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.interest__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #fff;
  background: var(--tone, var(--c-blue));
  margin-bottom: 12px;
}

.interest__icon svg {
  width: 14px;
  height: 14px;
}

.interest h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.interest p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Yazı kartları ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}

.post-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  overflow: hidden;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.03);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 10px 10px;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  color: var(--muted);
}

.post-card__title {
  font-size: 19px;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.post-card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.post-card {
  position: relative;
}

.post-card .tag-list {
  position: relative;
  z-index: 1;
}

.post-card__excerpt {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.post-card__foot {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.post-card__tags {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-card__tags .tag {
  font-size: 12px;
  padding: 4px 8px;
}

.post-card--compact .post-card__body {
  padding: 12px 10px 8px;
}

.post-card--compact .post-card__title {
  font-size: 17px;
}

.post-card--text {
  padding: 18px;
}

.post-card--text .post-card__body {
  padding: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Yatay kaydırmalı karusel (anasayfa son yazılar) */
.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 4px 2px 8px;
  margin: -4px -2px 0;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel > * {
  scroll-snap-align: start;
}

.carousel > [hidden] {
  display: none;
}

.carousel-nav {
  display: flex;
  gap: 8px;
  margin-left: 12px;
}

.carousel-nav .icon-btn {
  background: var(--surface);
}

.carousel-nav .icon-btn:disabled {
  opacity: 0.45;
  cursor: default;
  background: transparent;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
}

/* ---------- Anasayfa: son kareler ---------- */
.shots {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
}

.shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tone, var(--c-green));
  color: #fff;
}

.shot:nth-child(1) {
  grid-row: span 2;
}

.shot:nth-child(2) {
  grid-row: span 2;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shot:hover img {
  transform: scale(1.04);
}

.shot__caption {
  position: absolute;
  left: 14px;
  bottom: 12px;
  right: 14px;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.shots--4 {
  grid-template-columns: 2fr 1fr;
}

.shots--4 .shot:nth-child(2) {
  grid-row: auto;
}

/* ---------- Dalga / CTA / Footer ---------- */
.wave {
  position: relative;
  height: 90px;
  margin-top: -1px;
  color: var(--footer);
}

.wave svg.wave__shape {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 90px;
}

.wave__boat {
  position: absolute;
  bottom: 38px;
  width: 38px;
  color: #fff;
  animation: bob 4s ease-in-out infinite;
}

.wave__sun {
  position: absolute;
  bottom: 44px;
  right: 11%;
  width: 92px;
  height: 46px;
  border-radius: 999px 999px 0 0;
  background: var(--sun);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}

.cta {
  background: linear-gradient(180deg, var(--navy) 0%, #0d3a52 100%);
  color: #fff;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 28px 64px;
}

.cta h2 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 40px);
  letter-spacing: -0.045em;
  max-width: 600px;
  margin-top: 10px;
}

.cta p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
}

.cta .btn {
  min-height: 48px;
  padding-inline: 22px;
}

.site-footer {
  background: var(--footer);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1.4fr 1fr;
  gap: 28px;
  padding-block: 36px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand {
  color: #fff;
  font-size: 16px;
}

.site-footer .brand svg {
  width: 26px;
}

.site-footer__tagline {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links--right {
  justify-content: flex-end;
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 20px 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- İç sayfa başlığı ---------- */
.page-hero {
  padding: 12px clamp(8px, 1.7vw, 18px) 0;
}

.page-hero__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-2);
  color: #fff;
  padding: 36px 0 44px;
  isolation: isolate;
}

.page-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 45px;
  background-position: 0 44px;
}

.page-hero__inner {
  position: relative;
  max-width: 560px;
}

.page-hero h1 {
  color: #fff;
  margin-top: 8px;
  font-size: clamp(36px, 5vw, 44px);
  letter-spacing: -0.05em;
}

.page-hero p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15.5px;
}

.page-hero__art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(40%, 420px);
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.page-hero__art .sun {
  position: absolute;
  right: 26%;
  bottom: 44px;
  width: 124px;
  height: 64px;
  border-radius: 999px 999px 0 0;
  background: var(--sun);
}

.page-hero__art svg {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 90px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb [aria-current] {
  color: #fff;
  font-weight: 700;
}

.breadcrumb .sep {
  opacity: 0.6;
  font-size: 10px;
}

/* ---------- Blog listesi ---------- */
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(28px, 3.4vw, 36px);
  align-items: start;
}

.list-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.list-bar strong {
  font-weight: 700;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px 4px 10px;
  border-radius: 8px;
  background: var(--bg-alt);
  font-size: 13px;
  font-weight: 600;
}

.filter-chip a {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
}

.filter-chip a:hover {
  background: var(--border);
}

.sort-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
}

.sort-select select {
  border: 0;
  background: transparent;
  font-weight: 700;
  color: var(--text);
  padding: 4px 2px;
  cursor: pointer;
}

.sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
}

.side-card h3 {
  font-size: 16px;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  padding-left: 1px;
}

.search-field {
  position: relative;
}

.search-field svg {
  position: absolute;
  left: 13px;
  top: 50%;
  width: 15px;
  height: 15px;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
}

.label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cat-list {
  display: grid;
  gap: 2px;
}

.cat-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
}

.cat-list a:hover {
  background: var(--surface-2);
}

.cat-list a.is-active {
  background: var(--bg-alt);
  font-weight: 700;
}

.cat-list .dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--tone, var(--text));
  flex-shrink: 0;
}

.cat-list .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
}

.newsletter {
  background: var(--navy-2);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 16px 18px;
}

.newsletter svg {
  width: 26px;
  margin-bottom: 14px;
}

.newsletter h3 {
  color: #fff;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.newsletter p {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.newsletter label {
  display: block;
  margin: 14px 0 6px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.newsletter input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 36px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
}

.pagination a:hover {
  border-color: var(--border-strong);
}

.pagination .is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.pagination .is-disabled {
  opacity: 0.4;
}

.pagination svg {
  width: 14px;
  height: 14px;
}

/* ---------- Yazı detay ---------- */
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  gap: 48px;
  align-items: start;
}

.post-cover {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 585 / 315;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-cover .placeholder svg {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64%;
  height: 90%;
  color: rgba(255, 255, 255, 0.35);
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 26px;
  font-size: 13px;
  color: var(--muted);
}

.post-meta .sep {
  opacity: 0.6;
}

.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose > p:first-child {
  font-size: clamp(18px, 1.9vw, 20px);
  line-height: 1.6;
  font-weight: 500;
}

.prose h2 {
  font-size: clamp(24px, 2.8vw, 28px);
  letter-spacing: -0.035em;
  margin-top: 1.9em;
  margin-bottom: 0.1em;
}

.prose h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
  margin-top: 1.6em;
}

.prose a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.35em;
}

.prose blockquote {
  margin: 1.8em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--bg-alt);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.prose img {
  border-radius: 12px;
  margin-inline: auto;
}

.prose figure {
  margin: 1.8em 0;
}

.prose figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.prose code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--bg-alt);
}

.code-block {
  margin: 1.8em 0;
  border-radius: 12px;
  overflow: hidden;
  background: #0a2a3b;
  color: #d6e2ea;
  border: 1px solid #103447;
}

.code-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 8px 14px;
  background: #0f3246;
  font-family: var(--mono);
  font-size: 12px;
  color: #8fb0c3;
}

.code-block__head button {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #d6e2ea;
  font-size: 12px;
}

.code-block pre,
.prose pre {
  margin: 0;
  padding: 18px 16px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  background: #0a2a3b;
  color: #d6e2ea;
  tab-size: 2;
}

.prose pre code {
  padding: 0;
  background: none;
  font-size: inherit;
}

.hljs-keyword,
.hljs-built_in {
  color: #e1a43a;
}

.hljs-string {
  color: #9ed3b7;
}

.hljs-comment {
  color: #6f8fa2;
}

.hljs-number,
.hljs-literal {
  color: #f09a86;
}

.hljs-title,
.hljs-function .hljs-title {
  color: #8cc6e6;
}

.post-foot {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-block: 18px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.post-foot__group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.post-foot__label {
  font-size: 13px;
  font-weight: 700;
  margin-right: 4px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  font-weight: 600;
}

.share-btn:hover {
  border-color: var(--border-strong);
}

.author-box {
  display: flex;
  gap: 16px;
  margin-top: 22px;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.author-box__avatar {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-box h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

.author-box p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.author-box .link-arrow {
  margin-top: 10px;
  border: 0;
  font-size: 14px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.post-nav a {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.post-nav a:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.post-nav small {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 4px;
}

.post-nav strong {
  font-size: 15px;
  line-height: 1.35;
}

.post-nav .is-next {
  text-align: right;
}

.toc a {
  display: block;
  padding: 8px 11px;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.toc a:hover {
  background: var(--surface-2);
}

.toc a.is-active {
  border-left-color: var(--accent);
  background: var(--bg-alt);
  color: var(--primary);
  font-weight: 700;
}

.progress {
  margin-top: 16px;
}

.progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.progress__bar {
  height: 4px;
  border-radius: 4px;
  background: var(--bg-alt);
  overflow: hidden;
}

.progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 4px;
}

.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  z-index: 70;
  display: none;
}

.side-card small.hint {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin: -6px 0 12px;
}

.related-card .post-card__foot b {
  color: var(--text);
}

.preview-banner {
  background: var(--sun);
  color: #1d2a33;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 16px;
}

/* Yorumlar */
.comments {
  margin-top: 40px;
}

.comments h2 {
  font-size: 24px;
  margin-bottom: 18px;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.comment__avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

.comment__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
}

.comment__head strong {
  font-size: 15px;
}

.comment__head time {
  font-size: 12px;
  color: var(--muted);
}

.comment p {
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-2);
  white-space: pre-line;
}

/* ---------- Formlar ---------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
}

.form-card h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-grid .field {
  margin-bottom: 0;
}

.field label,
.field .label {
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.input,
.textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2);
  padding: 11px 13px;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.input {
  height: 46px;
}

:root:not([data-theme="dark"]) .input,
:root:not([data-theme="dark"]) .textarea {
  background: #faf6ef;
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent);
  background: var(--surface);
}

.textarea {
  min-height: 136px;
  resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.field.has-error .input,
.field.has-error .textarea {
  border-color: var(--accent);
}

.field-error {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 600;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice-row input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-row label {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 13px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.choice-row input:checked + label {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.choice-row input:focus-visible + label {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

.check input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.check a {
  color: var(--primary);
  text-decoration: underline;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
}

.alert--success {
  background: var(--chip-green-bg);
  color: var(--chip-green-fg);
}

.alert--error {
  background: var(--chip-red-bg);
  color: var(--chip-red-fg);
}

.alert--on-dark {
  background: rgba(88, 180, 150, 0.2);
  color: #bfe9d9;
  font-size: 13px;
}

.recaptcha-box {
  margin: 4px 0 18px;
  min-height: 78px;
}

.recaptcha-note {
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 12px;
}

.recaptcha-note a {
  text-decoration: underline;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* ---------- İletişim ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(32px, 6vw, 66px);
  align-items: start;
}

.contact-layout h2.display {
  font-size: clamp(32px, 4vw, 38px);
}

.contact-list {
  margin-top: 28px;
  border-top: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--chip-blue-bg);
  color: var(--chip-blue-fg);
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 16px;
  height: 16px;
}

.contact-item small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.contact-item strong {
  font-size: 15px;
}

.contact-item .links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-weight: 700;
  color: var(--primary);
}

/* ---------- Hakkımda ---------- */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 60px);
  align-items: center;
}

.about-hero .photo-frame__stage {
  aspect-ratio: 31 / 37;
}

.about-hero h2 {
  font-size: clamp(32px, 4vw, 38px);
  letter-spacing: -0.05em;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.fact {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.fact small {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
}

.fact strong {
  font-size: 15px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.split {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.split h2 {
  font-size: clamp(30px, 3.6vw, 36px);
  letter-spacing: -0.05em;
  margin-top: 8px;
}

.split > div:first-child p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 30px;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: var(--border-strong);
}

.tl-item {
  position: relative;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -35px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
}

.tl-item.is-current::before {
  background: var(--accent);
}

.tl-item__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.tl-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-size: 9px;
  color: var(--muted);
  overflow: hidden;
  flex-shrink: 0;
}

.tl-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tl-item h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
}

.tl-item__sub {
  font-size: 13px;
  color: var(--muted);
}

.tl-item__when {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
}

.tl-item p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-2);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tech {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: var(--chip-blue-bg);
  color: var(--chip-blue-fg);
}

.tech--neutral {
  background: var(--bg-alt);
  color: var(--text-2);
}

.tech--red {
  background: var(--chip-red-bg);
  color: var(--chip-red-fg);
}

.tech--green {
  background: var(--chip-green-bg);
  color: var(--chip-green-fg);
}

.tech--amber {
  background: var(--chip-amber-bg);
  color: var(--chip-amber-fg);
}

.edu-card,
.skill-card {
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.edu-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--chip-red-bg);
  color: var(--chip-red-fg);
  margin-bottom: 14px;
}

.edu-card__icon svg {
  width: 16px;
  height: 16px;
}

.edu-card small {
  font-size: 13px;
  color: var(--text-2);
}

.edu-card h3 {
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 6px 0 4px;
}

.edu-card p {
  font-size: 14px;
}

.edu-card p.muted {
  margin-top: 6px;
  font-size: 13px;
}

.project-card {
  display: flex;
  flex-direction: column;
  padding: 22px 18px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 6px solid var(--tone, var(--c-blue));
  background: var(--surface);
}

.project-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-2);
}

.project-card h3 {
  font-size: 17px;
  letter-spacing: -0.01em;
  margin: 10px 0 10px;
}

.project-card p {
  font-size: 14px;
  color: var(--muted);
}

.project-card .role {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-2);
}

.project-card .tech-list {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.project-card__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
}

.project-card__actions .btn {
  min-height: 36px;
  padding: 6px 10px;
  font-size: 13px;
}

.skill-card h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- Fotoğraflar ---------- */
.gallery-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.gallery-bar__info {
  font-size: 13px;
  color: var(--muted);
}

.masonry {
  columns: 3 280px;
  column-gap: 15px;
}

.m-item {
  break-inside: avoid;
  margin-bottom: 18px;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}

.m-item[hidden] {
  display: none;
}

.m-item__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tone, var(--c-green));
}

.m-item__media img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.m-item:hover .m-item__media img {
  transform: scale(1.03);
}

.m-item__media .ratio {
  display: block;
  aspect-ratio: var(--ratio, 3 / 4);
}

.m-item__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.m-item__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-top: 9px;
}

.m-item__caption strong {
  font-size: 14px;
}

.m-item__caption small {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 16px;
  background: rgba(4, 18, 27, 0.92);
}

.lightbox.is-open {
  display: flex;
}

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__media {
  max-height: calc(100vh - 170px);
  border-radius: 10px;
  overflow: hidden;
}

.lightbox__media img {
  max-height: calc(100vh - 170px);
  width: auto;
}

.lightbox__media .placeholder {
  width: min(80vw, 640px);
  aspect-ratio: 4 / 3;
}

.lightbox figcaption {
  margin-top: 14px;
  color: #fff;
  text-align: center;
}

.lightbox figcaption small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lightbox__btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__btn svg {
  width: 20px;
  height: 20px;
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Statik sayfa / 404 ---------- */
.narrow {
  max-width: 760px;
  margin-inline: auto;
}

.not-found {
  text-align: center;
  padding-block: 100px;
}

.not-found svg {
  width: 80px;
  margin: 0 auto 24px;
  color: var(--primary);
}

.not-found p {
  margin: 14px auto 26px;
  max-width: 420px;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: var(--bg);
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s ease;
  z-index: 95;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Duyarlı (mobil) düzen
   ========================================================================== */
@media (max-width: 1024px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel {
    grid-auto-columns: calc((100% - 18px) / 2);
  }
}

@media (max-width: 880px) {
  :root {
    --header-h: 60px;
  }

  .main-nav,
  .header-actions .lang-switch,
  .header-actions .theme-btn {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .intro,
  .about-hero,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero .photo-frame {
    max-width: 420px;
  }

  .blog-layout,
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
  }

  .blog-layout .sidebar {
    order: -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-layout .sidebar .side-search {
    grid-column: 1 / -1;
  }

  .blog-layout .sidebar .newsletter {
    grid-column: 1 / -1;
  }

  .post-layout .sidebar .toc-card {
    display: none;
  }

  .reading-bar {
    display: block;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 220px 160px 160px;
  }

  .shot:nth-child(1) {
    grid-column: span 2;
    grid-row: auto;
  }

  .shot:nth-child(2) {
    grid-row: span 2;
  }

  .shot:nth-child(n + 5) {
    display: none;
  }

  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__top > :first-child {
    grid-column: 1 / -1;
  }

  .footer-links--right {
    justify-content: flex-start;
  }

  .cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero__art {
    width: 55%;
    opacity: 0.55;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .slider {
    min-height: 600px;
  }

  /* Mobilde ufuk aşağı iner; güneş metnin altında kalır. */
  .slide__sky {
    inset: 0 0 20% 0;
  }

  .slide__sea {
    inset: 80% 0 0 0;
  }

  .slide__sun {
    top: 80%;
    right: 9%;
    width: 84px;
  }

  .slide__reflection {
    top: calc(80% + 12px);
    right: calc(9% + 42px);
    gap: 12px;
  }

  .slide__reflection span:nth-child(n + 4) {
    display: none;
  }

  .slide__content {
    padding-top: 56px;
    justify-content: flex-start;
  }

  .slide__title {
    margin-top: 0;
  }

  .slide__content .btn {
    margin-top: 22px;
  }

  .slider__controls {
    left: 14px;
    right: auto;
  }

  .interest-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .interest {
    display: grid;
    grid-template-columns: 28px 1fr;
    column-gap: 12px;
    align-items: center;
  }

  .interest__icon {
    margin: 0;
    grid-row: span 2;
  }

  .interest p {
    margin-top: 0;
  }

  .carousel {
    grid-auto-columns: 86%;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head .pill-row {
    width: 100%;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .section-head .pill-row::-webkit-scrollbar {
    display: none;
  }

  .carousel-nav {
    display: none;
  }

  .grid-3,
  .grid-2,
  .stack-grid,
  .stack-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-layout .sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-layout .sidebar .tags-card {
    display: none;
  }

  .cat-list {
    display: flex;
    overflow-x: auto;
    gap: 6px;
    scrollbar-width: none;
  }

  .cat-list a {
    flex-shrink: 0;
    border: 1px solid var(--border);
  }

  .cat-list .count {
    margin-left: 4px;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    padding-left: 22px;
  }

  .tl-item {
    padding: 16px;
  }

  .tl-item::before {
    left: -25px;
  }

  .tl-item__when {
    margin-left: 0;
    width: 100%;
  }

  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav .is-next {
    text-align: left;
  }

  .post-foot {
    flex-direction: column;
  }

  .masonry {
    columns: 2 150px;
    column-gap: 10px;
  }

  .m-item {
    margin-bottom: 14px;
  }

  .m-item__caption {
    flex-direction: column;
    gap: 0;
  }

  .m-item__caption small {
    text-align: left;
  }

  .gallery-bar .pill-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    width: calc(100% + 2 * var(--gutter));
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__bottom {
    flex-direction: column;
  }

  .wave__sun {
    width: 64px;
    height: 32px;
  }

  .page-hero__card {
    padding: 26px 0 70px;
  }

  .page-hero__art {
    width: 80%;
    height: 90px;
    opacity: 1;
  }

  .page-hero__art .sun {
    width: 80px;
    height: 40px;
    bottom: 30px;
  }

  .page-hero__art svg {
    height: 60px;
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 16px;
    transform: none;
  }
}

@media (max-width: 380px) {
  .brand span {
    font-size: 16px;
  }

  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   Yakında (coming soon) sayfası
   ========================================================================== */
.cs {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.cs__info {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 3vw, 36px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.cs__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cs__lang {
  display: flex !important;
}

.cs__content {
  margin-block: auto;
  padding-block: clamp(40px, 8vh, 80px);
  max-width: 520px;
}

.cs__title {
  margin: 16px 0 22px;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.055em;
  line-height: 1;
}

.cs__form-wrap {
  margin-top: 30px;
}

.cs__form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cs__form .input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

.cs__form .btn {
  min-height: 46px;
}

.cs__note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.cs__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 13px;
  color: var(--muted);
}

.cs__social {
  display: flex;
  gap: 16px;
  font-weight: 600;
  color: var(--text);
}

.cs__social a:hover {
  color: var(--primary);
}

.cs__gallery {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--bg);
}

/* Fotoğraf alanı: sağ yarıyı kenardan kenara, tam yükseklikte kaplar */
.cs__frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.cs__slide {
  margin: 0;
}

.cs__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s ease-out;
}

.cs__slide.is-active img {
  transform: scale(1);
}

.cs__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 30, 44, 0.35) 0%, transparent 22%, transparent 62%, rgba(7, 30, 44, 0.65) 100%);
  pointer-events: none;
}

.cs__caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 68px;
  z-index: 1;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.cs__counter {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(5, 25, 37, 0.5);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.cs__counter span {
  color: #fff;
}

.cs__controls {
  left: 14px;
  right: auto;
  bottom: 14px;
}

@media (max-width: 880px) {
  .cs {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .cs__gallery {
    order: -1;
    position: static;
    height: auto;
    padding: 10px 10px 0;
  }

  .cs__frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-height: 56vh;
    height: auto;
    border-radius: 18px;
  }

  .cs__info {
    padding-top: 0;
  }

  .cs__counter {
    top: auto;
    bottom: 22px;
  }

  .cs__top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 0 22px;
    height: 0;
  }

  .cs__top .brand,
  .cs__top .header-actions {
    position: relative;
    top: 36px;
  }

  .cs__top .brand {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  }

  .cs__top .icon-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(5, 25, 37, 0.35);
  }

  .cs__top .lang-switch,
  .cs__top .lang-switch a {
    color: rgba(255, 255, 255, 0.85);
  }

  .cs__top .lang-switch a.is-active {
    color: #fff;
  }

  .cs__info {
    position: static;
  }

  .cs-body {
    position: relative;
  }

  .cs__content {
    padding-block: 36px 40px;
  }

  .cs__foot {
    padding-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .cs__form {
    flex-direction: column;
  }

  .cs__form .btn {
    width: 100%;
  }
}

/* Yakında modu açıkken yöneticiye gösterilen uyarı bandı */
.admin-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

.admin-bar a {
  color: var(--sun);
  font-weight: 700;
  text-decoration: underline;
}
