/* =========================================================
   Gülden Leyla Gökkaya — Portfolio
   Tek stil dosyası (tüm sayfalar ve diller için)
   ========================================================= */

/* ---------- 1. Değişkenler ---------- */
:root {
  --bg: #fdf6f9;
  --bg-tint: #fbeef4;
  --surface: #ffffff;
  --ink: #2a2328;
  --ink-soft: #4a3f48;
  --muted: #76687a;
  --line: #f0dde6;
  --line-strong: #e6c7d5;

  --rose: #d6457f;
  --rose-deep: #a9305f;
  --rose-soft: #fde7f0;
  --rose-mist: #fff3f8;

  --pastel-1: #ffd6ea;
  --pastel-2: #f3d0f5;
  --pastel-3: #d3f1fb;

  --ff-body: "Quicksand", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-display: "Cormorant Garamond", "Times New Roman", serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(74, 35, 58, .05), 0 4px 14px rgba(74, 35, 58, .05);
  --shadow: 0 2px 6px rgba(74, 35, 58, .05), 0 18px 40px -18px rgba(74, 35, 58, .22);

  --container: 1140px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* Korece için yazı tipleri */
:lang(ko) {
  --ff-body: "Gowun Dodum", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  --ff-display: "Gowun Batang", "Noto Serif KR", serif;
}

/* ---------- 2. Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(ko) body, body:lang(ko) { word-break: keep-all; line-height: 1.8; }

main { flex: 1; }

img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; }
button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--rose-soft); color: var(--rose-deep); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--ink); color: #fff;
  padding: 8px 14px; border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 3. Tipografi ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
}
:lang(ko) h1, :lang(ko) h2, :lang(ko) h3 { letter-spacing: 0; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}
:lang(ko) .eyebrow { letter-spacing: .12em; }

.page-title {
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  margin-top: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-top: 8px;
}
.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- 4. Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary {
  background: var(--rose);
  color: #fff;
  box-shadow: 0 10px 22px -12px rgba(214, 69, 127, .7);
}
.btn-primary:hover { background: var(--rose-deep); transform: translateY(-1px); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--rose); color: var(--rose-deep); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--rose-deep);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- 5. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 246, 249, .78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .9);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(74, 35, 58, .35);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  margin-right: auto;
}
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-link {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .25s;
}
:lang(ko) .nav-link { letter-spacing: .04em; font-size: .92rem; }
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 4px;
  height: 1.5px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--rose-deep); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  list-style: none;
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding-inline: 8px;
  border-radius: 999px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--muted);
  transition: background-color .25s, color .25s;
}
.lang-switch a:hover { color: var(--rose-deep); }
.lang-switch a[aria-current="true"] { background: var(--rose); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: background-color .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 100%; height: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(74, 35, 58, .35);
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .4s var(--ease), visibility 0s linear .4s;
  }
  .site-nav.is-open {
    clip-path: inset(0 0 0 0);
    visibility: visible;
    transition: clip-path .4s var(--ease), visibility 0s;
  }
  .nav-list {
    flex-direction: column;
    gap: 0;
    padding: 8px var(--gutter) 18px;
  }
  .nav-list li + li { border-top: 1px solid var(--line); }
  .nav-link { padding: 15px 4px; font-size: .85rem; }
  .nav-link::after { display: none; }
  .nav-link[aria-current="page"] { color: var(--rose); }
}
@media (max-width: 420px) {
  .brand-name { display: none; }
  .lang-switch a { min-width: 30px; padding-inline: 6px; }
}

/* ---------- 6. Bölümler ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.section-head .lead { margin-top: 10px; }

.page-hero {
  padding-top: clamp(40px, 7vw, 80px);
  padding-bottom: clamp(24px, 4vw, 40px);
}
.page-hero .lead { margin-top: 14px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- 7. Ana sayfa hero (moodboard) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 4vw, 48px) 0 clamp(40px, 6vw, 72px);
  background: linear-gradient(120deg, var(--pastel-1), var(--pastel-2), var(--pastel-3), var(--pastel-1));
  background-size: 300% 300%;
  animation: gradientShift 16s ease-in-out infinite;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 25%, rgba(255,255,255,.5), transparent 62%);
  z-index: -1;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.hero picture { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.hero-img {
  width: 100%;
  filter: drop-shadow(0 18px 30px rgba(74, 35, 58, .16));
}
.hero-intro {
  margin-top: clamp(16px, 3vw, 28px);
  text-align: center;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(255, 255, 255, .9);
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-soft);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.hero-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-top: 18px;
}

/* ---------- 8. Ana sayfa: hakkımda özeti ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.intro-text { padding: clamp(24px, 4vw, 44px); }
.intro-text p { margin-top: 16px; font-size: 1.05rem; }
.intro-text .link-arrow { margin-top: 22px; }
.facts {
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(160deg, var(--rose-mist), #fff 60%);
  display: grid;
  gap: 22px;
  align-content: center;
  list-style: none;
}
.fact { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.fact-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--rose-soft);
  color: var(--rose-deep);
}
.fact-icon svg { width: 20px; height: 20px; }
.fact strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.35; }
.fact span { font-size: .92rem; color: var(--muted); }

@media (max-width: 820px) {
  .intro-grid { grid-template-columns: 1fr; }
}

/* ---------- 9. Çok yakında ---------- */
.soon {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(40px, 7vw, 80px) clamp(20px, 5vw, 56px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 214, 234, .9), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(211, 241, 251, .9), transparent 45%),
    radial-gradient(circle at 80% 15%, rgba(243, 208, 245, .7), transparent 40%),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.soon-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-deep);
}
.soon-badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 0 rgba(214, 69, 127, .5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(214, 69, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 69, 127, 0); }
}
.soon h2, .soon h1 {
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  margin-top: 18px;
  font-style: italic;
  font-weight: 500;
}
:lang(ko) .soon h2, :lang(ko) .soon h1 { font-style: normal; }
.soon p { max-width: 54ch; margin: 14px auto 0; color: var(--muted); }
.soon-dots {
  display: flex; justify-content: center; gap: 8px; margin-top: 26px;
}
.soon-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rose);
  opacity: .25;
  animation: blink 1.4s infinite;
}
.soon-dots i:nth-child(2) { animation-delay: .2s; }
.soon-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 40% { opacity: 1; transform: translateY(-3px); } }
.soon .hero-actions { margin-top: 28px; }

/* ---------- 10. Galeri ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: clamp(12px, 2vw, 22px);
  list-style: none;
}
.gallery-grid.is-preview { grid-template-columns: repeat(3, 1fr); }
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-tint);
  box-shadow: var(--shadow-sm);
}
.photo button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  text-align: left;
}
.photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: .88rem;
  line-height: 1.4;
  color: var(--ink);
}
.photo figcaption b {
  display: block;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 2px;
}
@media (max-width: 720px) {
  .gallery-grid.is-preview { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid.is-preview .photo figcaption { display: none; }
  .gallery-grid:not(.is-preview) { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid:not(.is-preview) figcaption { left: 6px; right: 6px; bottom: 6px; padding: 8px 10px; font-size: .78rem; }
}
@media (max-width: 380px) {
  .gallery-grid:not(.is-preview) { grid-template-columns: 1fr; }
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 980px);
  max-height: 92vh;
  margin: auto;
}
.lightbox::backdrop { background: rgba(30, 20, 28, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox figure { position: relative; }
.lightbox img {
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 500; }
.lightbox-btn {
  position: fixed;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
}
.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%); }
@media (max-width: 600px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; transform: none; }
}

/* ---------- 11. Hakkımda ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.about-hero p { margin-top: 18px; font-size: 1.06rem; }
.about-hero abbr { text-decoration: underline dotted var(--rose); text-underline-offset: 3px; cursor: help; }
.portrait {
  position: relative;
  justify-self: center;
  width: min(320px, 100%);
}
.portrait::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--pastel-1), var(--pastel-3));
  z-index: -1;
}
.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.portrait figcaption {
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  color: var(--rose-deep);
  box-shadow: var(--shadow-sm);
}
@media (max-width: 820px) {
  .about-hero { grid-template-columns: 1fr; }
  .portrait { order: -1; width: min(240px, 70%); }
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: start;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.panel { padding: clamp(22px, 3.5vw, 34px); }
.panel h3 {
  font-size: 1.5rem;
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.panel h3 .fact-icon { width: 36px; height: 36px; }
.panel ol, .panel ul { padding-left: 1.2em; display: grid; gap: 6px; }
.panel li::marker { color: var(--rose); font-weight: 700; }

.code-card {
  margin-top: 18px;
  border-radius: var(--radius);
  background: #241c27;
  color: #f8e8f4;
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--ff-mono);
  font-size: .9rem;
  line-height: 1.7;
  box-shadow: var(--shadow);
}
.code-card .kw { color: #ff8cc1; }
.code-card .fn { color: #9fe3f5; }
.code-card .cm { color: #9b8a9e; }
code.inline {
  font-family: var(--ff-mono);
  font-size: .9em;
  background: var(--ink);
  color: #fff;
  padding: 2px 8px;
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Tablo */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 15px 20px; text-align: left; vertical-align: top; }
thead th {
  background: var(--rose-mist);
  color: var(--rose-deep);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
tbody tr + tr td { border-top: 1px solid var(--line); }
tbody td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; width: 1%; }
tbody tr.is-current td { background: linear-gradient(90deg, var(--rose-mist), transparent); }
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  vertical-align: 2px;
  white-space: nowrap;
}
@media (max-width: 560px) {
  th, td { padding: 12px 14px; }
  table { font-size: .9rem; }
  tbody td:first-child { white-space: normal; width: 34%; }
}

.cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.cert-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  line-height: 1.45;
}
.cert-list svg { width: 20px; height: 20px; color: var(--rose); margin-top: 1px; }
.cert-list strong { display: block; color: var(--ink); }
.cert-list span { font-size: .88rem; color: var(--muted); }

/* ---------- 12. Blog ---------- */
.post-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card img { width: 100%; height: 100%; object-fit: cover; min-height: 180px; }
.post-card .post-body { padding: clamp(22px, 3vw, 32px); }
.post-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 8px 0 10px; }
.post-card p { color: var(--muted); }
.post-card .link-arrow { margin-top: 16px; }
.post-meta { font-size: .8rem; font-weight: 600; color: var(--rose-deep); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 640px) {
  .post-card { grid-template-columns: 1fr; }
  .post-card img { aspect-ratio: 16 / 9; min-height: 0; }
}

.article {
  max-width: 720px;
  margin-inline: auto;
}
.article-head { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.article-head h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); margin-top: 12px; }
.article-body p { font-size: 1.08rem; margin-top: 1.2em; color: var(--ink-soft); }
.article-body p:first-child::first-letter {
  font-family: var(--ff-display);
  float: left;
  font-size: 3.6em;
  line-height: .85;
  padding: 6px 10px 0 0;
  color: var(--rose);
}
:lang(ko) .article-body p:first-child::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; line-height: inherit; }
.article-body blockquote {
  margin: 1.8em 0;
  padding: 18px 24px;
  border-left: 3px solid var(--rose);
  background: var(--rose-mist);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}
:lang(ko) .article-body blockquote { font-style: normal; font-size: 1.15rem; }
.article-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 2.2em;
}
.article-photos figure { margin: 0; }
.article-photos img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.article-photos figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; line-height: 1.45; }
@media (max-width: 560px) {
  .article-photos { grid-template-columns: 1fr 1fr; }
  .article-photos figure:last-child { grid-column: span 2; }
  .article-photos figure:last-child img { aspect-ratio: 16/10; }
}
.article-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); text-align: center; }

/* ---------- 13. İletişim ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; display: grid; gap: 12px; }
.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
a.contact-item:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-item .fact-icon { width: 44px; height: 44px; }
.contact-item small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.contact-item span { color: var(--ink); font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
.contact-item .go { color: var(--muted); width: 18px; height: 18px; }

.map-card {
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-tint);
}
.map-card iframe { width: 100%; height: 260px; border: 0; }
.map-card a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--rose-deep);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.map-card a svg { width: 16px; height: 16px; }

.form-card { padding: clamp(22px, 4vw, 38px); }
.form-card h2 { font-size: 1.8rem; }
.form-card > p { color: var(--muted); margin-top: 6px; }
.form { display: grid; gap: 16px; margin-top: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: var(--rose-mist);
  font-size: 1rem; /* iOS'ta yakınlaştırmayı önler */
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(214, 69, 127, .14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2413b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  display: none;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .95rem;
}
.form-status.is-success { display: block; background: #e8f7ef; color: #1d6b43; border: 1px solid #bfe6d0; }
.form-status.is-error { display: block; background: #fdecec; color: #9b2c2c; border: 1px solid #f3c4c4; }
.form-status a { text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); }

/* ---------- 14. Footer ---------- */
.site-footer {
  margin-top: clamp(40px, 6vw, 72px);
  background: #2a2328;
  color: rgba(255, 255, 255, .72);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; filter: brightness(0) invert(1); opacity: .9; }
.footer-brand strong { display: block; font-family: var(--ff-display); font-size: 1.2rem; color: #fff; font-weight: 600; }
.footer-brand span { font-size: .82rem; }
.social { display: flex; gap: 10px; list-style: none; }
.social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  transition: background-color .25s, border-color .25s;
}
.social a:hover { background: var(--rose); border-color: var(--rose); }
.social svg { width: 18px; height: 18px; }
.footer-copy { width: 100%; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; font-size: .82rem; text-align: center; }

/* ---------- 15. Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Hakkımda: tek sütun giriş + yetenek listesi */
.about-intro { max-width: 760px; }
.about-intro p { margin-top: 18px; font-size: 1.06rem; }
.about-intro abbr { text-decoration: underline dotted var(--rose); text-underline-offset: 3px; cursor: help; }
.skill-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
}
.skill-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.skill-list svg { width: 20px; height: 20px; flex: none; color: var(--rose); }

/* =========================================================
   16. Tatlı animasyonlar ✿
   ========================================================= */

/* Sayfa yumuşakça açılsın */
body { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* Logo gülü hafifçe sallansın */
.brand img { transition: transform .5s var(--ease); transform-origin: 50% 80%; }
.brand:hover img { animation: sway 1.2s ease-in-out; }
@keyframes sway {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-8deg); }
  60% { transform: rotate(6deg); }
}

/* Moodboard havada süzülsün */
.hero-img { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Uçuşan gül yaprakları */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.petal {
  position: absolute;
  top: -40px;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * .78);
  background: radial-gradient(ellipse at 30% 30%, #fff 0%, #ffc2da 35%, #f48aae 100%);
  border-radius: 80% 0 80% 0;
  opacity: .85;
  box-shadow: 0 2px 6px rgba(214, 69, 127, .18);
  animation: fall var(--d) linear var(--delay) infinite, spin calc(var(--d) / 2.5) ease-in-out var(--delay) infinite alternate;
}
@keyframes fall {
  0% { translate: 0 0; opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .8; }
  100% { translate: var(--drift) 110vh; opacity: 0; }
}
@keyframes spin {
  from { transform: rotate(0deg) rotateX(0deg); }
  to { transform: rotate(220deg) rotateX(160deg); }
}

/* Çiplerin üzerine gelince zıplasın */
.chip { transition: transform .3s var(--ease), background-color .3s; }
.chip:hover { transform: translateY(-3px) scale(1.04); background: #fff; }

/* Butonda parıltı */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  z-index: -1;
  transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn:active { transform: scale(.96); }
.btn-primary svg { transition: transform .3s var(--ease); }
.btn-primary:hover svg { transform: translateX(3px) rotate(-8deg); }

/* Kartlar üzerine gelince hafifçe kalksın */
.panel, .facts, .intro-text, .cert-list li, .skill-list li, .contact-item {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.panel:hover, .facts:hover, .intro-text:hover, .cert-list li:hover, .skill-list li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.fact-icon, .skill-list svg, .cert-list svg { transition: transform .45s var(--ease); }
.fact:hover .fact-icon, .panel:hover .fact-icon, .contact-item:hover .fact-icon { transform: rotate(-10deg) scale(1.1); }
.skill-list li:hover svg { transform: rotate(72deg) scale(1.2); }
.cert-list li:hover svg { transform: translateY(-2px) rotate(-8deg); }

/* "Çok yakında" yazısı ışıldasın */
.soon h1, .soon h2 {
  background: linear-gradient(90deg, var(--ink) 0%, var(--rose) 30%, #b06ad9 50%, var(--rose) 70%, var(--ink) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% center; } }
.soon::before, .soon::after {
  content: "✦";
  position: absolute;
  color: var(--rose);
  opacity: .5;
  animation: twinkle 3s ease-in-out infinite;
}
.soon::before { top: 18%; left: 12%; font-size: 1.4rem; }
.soon::after { bottom: 20%; right: 11%; font-size: 1rem; animation-delay: 1.2s; color: #b06ad9; }
@keyframes twinkle {
  0%, 100% { transform: scale(.7) rotate(0); opacity: .25; }
  50% { transform: scale(1.2) rotate(90deg); opacity: .8; }
}

/* Eyebrow çizgisi görünürken uzasın */
.reveal .eyebrow::before, .reveal.eyebrow::before { width: 0; transition: width .8s var(--ease) .2s; }
.reveal.is-visible .eyebrow::before { width: 22px; }

/* Listeler sırayla gelsin */
.reveal:is(.gallery-grid, .skill-list, .cert-list, .facts) > li,
.reveal .contact-list > li {
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.is-visible:is(.gallery-grid, .skill-list, .cert-list, .facts) > li,
.reveal.is-visible .contact-list > li { opacity: 1; transform: none; }
.reveal:is(.gallery-grid, .skill-list, .cert-list, .facts) { opacity: 1; transform: none; }

/* Tıklayınca çıkan minik kalpler */
.heart-pop {
  position: fixed;
  left: 0; top: 0;
  pointer-events: none;
  z-index: 200;
  font-size: var(--fs, 14px);
  color: var(--c, var(--rose));
  animation: heartPop .9s cubic-bezier(.2, .7, .3, 1) forwards;
}
@keyframes heartPop {
  0% { transform: translate(-50%, -50%) scale(.3); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--r)); opacity: 0; }
}

/* Sayfanın en üstünde okuma çubuğu */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), #b06ad9, #7cc8e8);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .petals, .heart-pop { display: none; }
  .soon h1, .soon h2 { color: var(--ink); background: none; }
  .reveal :is(li), .reveal > li { opacity: 1 !important; transform: none !important; }
}
