/* Fuat Kozluklu — Editöryel Arşiv. Vanilla CSS (Tailwind tarzı utility yok). */

/* ----- Font ------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ----- Theme variables -------------------------------------------------- */
:root {
  color-scheme: light;
  --bg:           #FFFFFF;
  --surface:      #F7F7F8;
  --surface-elev: #EFEFF1;
  --border:       #E4E4E7;
  --border-soft:  #EBEBEF;
  --text:         #0A0A0B;
  --text-muted:   #52525B;
  --text-faint:   #71717A;
  --text-dim:     #A1A1AA;
  --accent:       #9A7A52;
  --accent-soft:  rgba(154, 122, 82, 0.10);
  --accent-300:   #B8956A;
  --accent-400:   #9A7A52;
  --signal-success: #2D7A4F;
  --signal-warning: #A67C3A;
  --signal-danger:  #B23B3B;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'Source Sans 3', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, monospace;
}

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-weight: 400;
  line-height: 1.5;
  font-feature-settings: 'kern', 'liga', 'calt';
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

::selection { background: rgba(184, 149, 106, 0.35); color: #FFF8EE; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #C4C4CC; }

/* ----- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  margin-left: auto; margin-right: auto;
  padding: 0 1.25rem;
  max-width: 1440px;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 3rem; } }

/* ----- Typography ------------------------------------------------------- */
.editorial {
  font-family: var(--font-serif);
  font-feature-settings: 'liga', 'kern';
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

h1, h2, h3, h4 { color: var(--text); }
p { color: var(--text); }

.display-2xl { font-size: 4.25rem; line-height: 1.04; letter-spacing: -0.025em; }
.display-xl  { font-size: 3.25rem; line-height: 1.06; letter-spacing: -0.022em; }
.display-lg  { font-size: 2.5rem;  line-height: 1.08; letter-spacing: -0.018em; }
.display-md  { font-size: 2rem;    line-height: 1.12; letter-spacing: -0.014em; }
@media (max-width: 640px) {
  .display-2xl { font-size: 2.5rem; }
  .display-xl  { font-size: 2.25rem; }
  .display-lg  { font-size: 2rem; }
  .display-md  { font-size: 1.625rem; }
}

.text-muted { color: var(--text-muted); }
.text-faint { color: var(--text-faint); }
.text-accent { color: var(--accent); }
.text-danger { color: var(--signal-danger); }
.text-success { color: var(--signal-success); }
.text-center { text-align: center; }
.text-right  { text-align: right; }

.mono { font-family: var(--font-mono); }

/* ----- Surface ---------------------------------------------------------- */
.surface {
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.surface-strong {
  background: var(--surface-elev);
  border: 1px solid var(--border);
}

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 250ms cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
  text-decoration: none;
}
.btn:hover { transform: scale(1.06); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #FFFFFF; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-300); border-color: var(--accent-300); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { color: var(--text-muted); padding: 0.55rem 1rem; }
.btn-ghost:hover { color: var(--text); background: var(--surface-elev); }
.btn-danger { background: var(--signal-danger); color: white; border-color: var(--signal-danger); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.7rem; }
.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ----- Form ------------------------------------------------------------- */
.field-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.field {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.7rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 180ms ease, background-color 180ms ease;
  font-family: inherit;
}
.field::placeholder { color: var(--text-faint); }
.field:focus { outline: none; border-color: var(--accent); background: var(--surface-elev); box-shadow: 0 0 0 3px rgba(154,122,82,0.15); }
.field:read-only, .field:disabled { background: var(--surface-elev); color: var(--text-muted); }
textarea.field { resize: vertical; min-height: 120px; }
select.field {
  appearance: none;
  background: var(--surface) url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM5QTdBNTIiIHN0cm9rZS13aWR0aD0iMi41Ij48cG9seWxpbmUgcG9pbnRzPSI2IDkgMTIgMTUgMTggOSIvPjwvc3ZnPg==") no-repeat right 0.85rem center;
  padding-right: 2.4rem;
  cursor: pointer;
}
.field-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field-error { color: var(--signal-danger); font-size: 0.85rem; margin-top: 0.5rem; }
.field-success { color: var(--accent); font-size: 0.85rem; margin-top: 0.5rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--accent); }

/* ----- Header ----------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 240ms ease, border-color 240ms ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; gap: 1.5rem;
}
@media (min-width: 1024px) { .header-inner { height: 5rem; } }
.home-back {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-muted); padding: 0.35rem 0.5rem;
  transition: color 180ms ease, transform 150ms ease;
  white-space: nowrap; flex-shrink: 0; border: none; background: none;
}
.home-back:hover { color: var(--accent); transform: translateX(-2px); }
.home-back::after {
  content: ''; display: block; width: 1px; height: 1rem;
  background: var(--border); margin-left: 0.5rem; flex-shrink: 0;
}
@media (max-width: 480px) { .home-back span { display: none; } }
.brand { display: flex; align-items: center; gap: 0.75rem; transition: transform 220ms ease; }
.brand:hover { transform: scale(1.04); }
.brand-mark {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid rgba(184, 149, 106, 0.6);
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1;
  transition: border-color 220ms ease, box-shadow 220ms ease;
}
.brand:hover .brand-mark { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.brand-text { line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.125rem; color: var(--text); letter-spacing: -0.01em; }
.brand-sub  { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }
.nav-main { display: none; align-items: center; gap: 0.5rem; }
@media (min-width: 1024px) { .nav-main { display: flex; } }
.nav-link {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.nav-main .nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.nav-main .nav-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}
.nav-main .nav-link.active {
  color: var(--text);
  border-color: var(--border);
  background: var(--surface);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 0.5rem; }
.icon-btn {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: color 180ms ease;
  position: relative;
}
.icon-btn:hover { color: var(--text); }
.icon-btn .badge {
  position: absolute; top: -0.25rem; right: -0.25rem;
  width: 1.05rem; height: 1.05rem;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-size: 0.625rem; font-weight: 700;
  border-radius: 999px;
}
@keyframes badgePop {
  0%   { transform: scale(0.5); opacity: 0.5; }
  100% { transform: scale(1);   opacity: 1; }
}
@keyframes badgeDecrease {
  0%   { transform: scale(1.3); }
  50%  { transform: scale(0.8); }
  100% { transform: scale(1); }
}
@keyframes badgeOut {
  0%   { transform: scale(1);   opacity: 1; }
  60%  { transform: scale(1.25); opacity: 0.6; }
  100% { transform: scale(0);   opacity: 0; }
}
@keyframes cartBounce {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22) rotate(-8deg); }
  70%  { transform: scale(0.95) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes cartShake {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-12deg); }
  40%  { transform: rotate(10deg); }
  60%  { transform: rotate(-7deg); }
  80%  { transform: rotate(4deg); }
  100% { transform: rotate(0deg); }
}
.mobile-toggle { display: inline-flex; }
@media (min-width: 1024px) { .mobile-toggle { display: none; } }
.mobile-nav { display: none; }
.mobile-nav.open { display: block; border-top: 1px solid var(--border); background: var(--bg); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.mobile-nav-inner { display: flex; flex-direction: column; padding: 1.25rem 0; gap: 0.25rem; }
.mobile-nav a { padding: 0.75rem 0; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text); }

/* ----- Back to top button ----------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 250ms ease, visibility 250ms ease, transform 250ms ease,
              background 180ms ease, color 180ms ease, border-color 180ms ease;
  z-index: 90;
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ----- Footer ----------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-link {
  color: var(--text-muted);
  transition: color 180ms ease, transform 180ms cubic-bezier(0.34,1.56,0.64,1);
  display: inline-block;
}
.footer-link-faint { color: var(--text-faint); }
.footer-link:hover { color: var(--accent); transform: scale(1.08); }
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  padding: 4rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-grid .col-wide { grid-column: span 2; }
@media (min-width: 768px) { .footer-grid .col-wide { grid-column: span 1; } }
.footer-bottom { border-top: 1px solid var(--border); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer p, .footer a { color: var(--text-muted); font-size: 0.85rem; }
.footer a:hover { color: var(--text); }
.footer .col-list { display: flex; flex-direction: column; gap: 0.75rem; }

/* Footer public bar (tüm public sayfalarda) */
.footer-pub-wrap { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.footer-pub-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.footer-pub-brand { flex-shrink: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-pub-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.fp-main { display: inline-flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.fp-legal { display: inline-flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.footer-sep { color: var(--border); }
.footer-pub-social { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.footer-social-icon { color: var(--text-faint); display: flex; align-items: center; transition: color 200ms; }
.footer-pub-copy { font-size: 0.72rem; color: var(--text-faint); white-space: nowrap; flex-shrink: 0; }

@media (max-width: 640px) {
  .footer-pub-wrap { padding-top: 2rem; padding-bottom: 2.5rem; }
  .footer-pub-inner { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .footer-pub-nav { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-sep { display: none; }
  .fp-main { gap: 0.75rem 1.5rem; }
  .fp-legal { gap: 0.5rem 1rem; }
}

/* ----- Hero ------------------------------------------------------------- */
.bg-grid {
  background-image: none;
}
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg::before, .hero-bg::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px);
  transition: opacity 600ms ease;
}
.hero-bg::before { top: -160px; right: -160px; width: 480px; height: 480px; background: rgba(154, 122, 82, 0.07); }
.hero-bg::after  { bottom: 0; left: 0; width: 320px; height: 320px; background: rgba(154, 122, 82, 0.04); }

.hero::before, .hero::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 320px;
  pointer-events: none; opacity: 1;
  z-index: 0;
}
.hero::before { left: 0;  background: linear-gradient(to right, rgba(184,149,106,0.16), transparent); }
.hero::after  { right: 0; background: linear-gradient(to left,  rgba(184,149,106,0.16), transparent); }
.hero-inner {
  position: relative;
  padding-top: 4rem; padding-bottom: 4rem;
  display: grid; gap: 3rem;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1.15fr 1fr; padding-top: 5rem; padding-bottom: 5rem; gap: 4rem; align-items: start; }
}
@media (min-width: 1280px) {
  .hero-inner { padding-top: 6rem; padding-bottom: 6rem; }
}

/* Sol: tüm metin içeriği */
.hero-left { display: flex; flex-direction: column; }

/* Sağ: portrait kolonu */
.hero-portrait-col {
  display: none;
}
@media (min-width: 768px) {
  .hero-portrait-col {
    display: block;
    position: sticky; top: 5rem;
  }
}
.hero-portrait-link { display: block; text-decoration: none; }
.hero-portrait-inner { max-width: 100%; }
.hero-portrait-inner .frame { aspect-ratio: 3/4; overflow: hidden; }
.hero-portrait-inner .frame img { width: 100%; height: 100%; object-fit: cover; }

/* Bio strip — sol altında, kahraman bölümün içinde */
.hero-bio-strip { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.hero-bio-body { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; margin-top: 0; max-width: 44ch; }

/* Bio Carousel */
.bio-carousel { margin-top: 0.5rem; }
.bio-carousel .hero-bio-body { max-width: none; }
.bio-carousel-viewport {
  overflow: hidden;
  transition: height 380ms cubic-bezier(0.4, 0, 0.2, 1);
}
.bio-carousel-nav {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 0.85rem;
}
.bio-carousel-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.bio-carousel-slide { flex: 0 0 100%; min-width: 0; }
.bio-carousel-slide .hero-bio-body + .hero-bio-body { margin-top: 0.85rem; }
.bio-carousel-btn {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); cursor: pointer;
  transition: border-color 160ms, color 160ms, background 160ms;
}
.bio-carousel-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(154,122,82,0.06); }
.bio-carousel-dots {
  display: flex; gap: 5px; flex-wrap: wrap; align-items: center;
}
.bio-dot {
  width: 5px; height: 5px; border-radius: 50%; border: none; padding: 0;
  background: var(--border); cursor: pointer; flex-shrink: 0;
  transition: background 200ms, transform 200ms;
}
.bio-dot.active { background: var(--accent); transform: scale(1.5); }
.hero-milestones {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5px; margin-top: 1.5rem;
  border: 1px solid var(--border);
}
.hero-ms-cell {
  padding: 0.85rem 0.75rem; border-right: 1px solid var(--border);
  text-align: center; text-decoration: none; display: block;
  transition: background 180ms, box-shadow 180ms;
  cursor: pointer;
}
.hero-ms-cell:hover { background: rgba(154,122,82,0.05); box-shadow: inset 0 0 0 1px var(--accent); }
.hero-ms-cell:hover .y { color: var(--accent); }
.hero-ms-cell:nth-child(3n) { border-right: none; }
.hero-ms-cell:nth-child(4), .hero-ms-cell:nth-child(5), .hero-ms-cell:nth-child(6) {
  border-top: 1px solid var(--border);
}
.hero-ms-cell .y { font-size: 1.35rem; color: var(--text); line-height: 1; transition: color 180ms; }
.hero-ms-cell .l { font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.35rem; line-height: 1.35; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; font-size: 0.88rem; }
.hero-eyebrow .rule { width: 2.5rem; height: 1px; background: var(--accent); }
.hero-title { font-size: clamp(2.25rem, 5.5vw, 4.25rem); line-height: 1.05; }
.hero-title .accent { color: var(--accent); }
.hero-title-full {
  font-size: clamp(2.25rem, 5.5vw, 4.25rem);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero-body { margin-top: 2rem; max-width: 36rem; color: var(--text-muted); font-size: 1.125rem; line-height: 1.6; }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-btn { transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms cubic-bezier(0.34,1.56,0.64,1) !important; }
.hero-btn:hover { transform: scale(1.06); }
.hero-scroll { margin-top: 4rem; display: none; align-items: center; gap: 0.75rem; color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }
@media (min-width: 768px) { .hero-scroll { display: inline-flex; } }
.byline-card {
  display: none;
}
@media (min-width: 768px) {
  .byline-card { display: block; max-width: 22rem; margin-left: auto; padding: 1.25rem; background: var(--surface); border: 1px solid var(--border-soft); backdrop-filter: blur(4px); transition: border-color 240ms ease, transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 240ms ease; text-decoration: none; }
  .byline-card:hover { border-color: var(--accent); transform: scale(1.04); box-shadow: 0 4px 24px rgba(154,122,82,0.12); }
  .byline-card .row { display: flex; align-items: center; gap: 1rem; }
  .byline-card img { width: 3.5rem; height: 3.5rem; object-fit: cover; border: 1px solid var(--border); }
  .byline-card .label { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
  .byline-card .name { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text); line-height: 1.2; margin-top: 0.25rem; }
  .byline-card .sub { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.15rem; }
}

/* ----- Stats strip ------------------------------------------------------ */
.stats {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-cell {
  padding: 2rem 1.25rem;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: box-shadow 300ms ease;
}
.stats-cell::before {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  transition: border-color 300ms ease, box-shadow 300ms ease;
  pointer-events: none;
  z-index: 2;
}
.stats-cell:hover::before {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 0 12px rgba(184,149,106,0.18);
}
.stats-cell:hover .value { color: var(--accent); }
.stats-cell .value { transition: color 240ms ease; }
.stats-cell:nth-child(1), .stats-cell:nth-child(2) { border-top: 0; }
.stats-cell:nth-child(2n+1) { border-left: 0; }
@media (min-width: 1024px) {
  .stats-cell { border-top: 0; }
  .stats-cell:first-child { border-left: 0; }
  .stats-cell:nth-child(2n+1) { border-left: 1px solid var(--border); }
  .stats-cell:first-child { border-left: 0; }
}
.stats-cell .value { font-family: var(--font-serif); font-size: 2rem; line-height: 1; transition: color 240ms ease; }
.stats-cell .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.75rem; }

/* ----- Sections --------------------------------------------------------- */
.section { padding: 5rem 0; }
@media (min-width: 1024px) { .section { padding: 7rem 0; } }
.section-bordered { border-top: 1px solid var(--border); }
.section-tight { padding: 3rem 0; }

.section-header { margin-bottom: 2.5rem; max-width: 48rem; }
@media (min-width: 1024px) { .section-header { margin-bottom: 3.5rem; } }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header .title { font-family: var(--font-serif); font-size: 2rem; line-height: 1.05; color: var(--text); margin-top: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
@media (min-width: 1024px) { .section-header .title { font-size: 2.5rem; } }
.section-header .subtitle { margin-top: 1.25rem; max-width: 36rem; color: var(--text-muted); font-size: 1.05rem; line-height: 1.6; }
.section-header.center .subtitle { margin-left: auto; margin-right: auto; }

/* ----- Categories grid -------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card {
  background: var(--bg);
  padding: 1.75rem;
  position: relative;
  transition: background-color 180ms ease, transform 220ms cubic-bezier(0.34,1.56,0.64,1);
}
.cat-card:hover { transform: scale(1.04); z-index: 2; }
.cat-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 240ms ease, box-shadow 240ms ease;
  z-index: 1;
}
.cat-card:hover { background: var(--surface); }
.cat-card:hover::after {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgba(184,149,106,0.15);
}
.cat-card { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cat-card .cat-icon { color: var(--accent); margin-bottom: 1rem; opacity: 0.85; display: flex; justify-content: center; }
.cat-card .name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); transition: color 180ms ease; }
.cat-card:hover .name { color: var(--accent); }
.cat-card .arrow { margin-top: 1rem; color: var(--text-muted); transition: color 180ms ease, transform 180ms ease; display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.cat-card:hover .arrow { color: var(--accent); transform: translateX(4px); }

/* ----- Media card (gallery) -------------------------------------------- */
.media-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); align-items: start; }
@media (min-width: 768px) { .media-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .media-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }

.media-card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: border-color 240ms ease;
}
.media-card:hover { border-color: var(--accent); }
.media-card .frame {
  position: relative; display: block; overflow: hidden;
  background: var(--surface-elev);
  width: 100%; height: 0; padding-bottom: 75%;
}
.media-card .frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; display: block;
  transition: transform 400ms ease;
}
.media-card:hover .frame img { transform: scale(1.06); }
.media-card .frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: rgba(0,0,0,0.18);
  opacity: 0; transition: opacity 240ms ease;
}
.media-card:hover .frame::after { opacity: 1; }
.card-caption-overlay {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2rem 0.85rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
  color: #fff; font-size: 0.85rem; line-height: 1.5; letter-spacing: 0.01em;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(6px);
  transition: opacity 280ms ease, transform 280ms ease;
  z-index: 2; pointer-events: none;
}
.media-card:hover .card-caption-overlay { opacity: 1; transform: translateY(0); }
.media-card .meta {
  position: absolute; inset-inline: 0; top: 0; padding: 0.75rem;
  display: flex; align-items: start; justify-content: flex-end;
  transform: translateY(-6px); opacity: 0; transition: transform 240ms ease, opacity 240ms ease;
}
.media-card:hover .meta { transform: translateY(0); opacity: 1; }
.media-card .meta .title { display: none; }
.media-card .meta .year  { display: none; }
.media-card .cart-toggle {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.6); color: #FFFFFF;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 200ms ease, border-color 200ms ease, transform 150ms ease;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.media-card .cart-toggle:hover { background: rgba(0,0,0,0.7); border-color: #fff; transform: scale(1.04); }
.media-card .cart-toggle.active { background: var(--accent); border-color: var(--accent); }
.media-card .cart-toggle.active .cart-toggle-label::before { content: 'Sepetten Çıkar'; }
.media-card .cart-toggle.active .cart-toggle-label { font-size: 0; }
.media-card .cart-toggle.active .cart-toggle-label::before { font-size: 0.68rem; }
.media-card .badge-video {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(0,0,0,0.65); padding: 0.25rem 0.5rem;
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: #FFFFFF;
}
.card-copyright {
  position: absolute; bottom: 0.5rem; right: 0.55rem;
  font-size: 0.58rem; letter-spacing: 0.06em; color: rgba(255,255,255,0.82);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7), 0 0 8px rgba(0,0,0,0.4);
  z-index: 4; pointer-events: none; white-space: nowrap;
  font-style: italic;
}

/* ----- Pagination ------------------------------------------------------- */
.pagination { margin-top: 3rem; display: flex; justify-content: center; gap: 0.4rem; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; font-size: 0.85rem;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: border-color 180ms ease, color 180ms ease;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { border-color: var(--accent); color: var(--accent); }
.pagination .disabled { color: var(--text-dim); }

/* ----- Detail page ------------------------------------------------------ */
.detail-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; gap: 2.5rem; } }
.detail-frame {
  position: relative; background: var(--surface); border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color 260ms ease, box-shadow 260ms ease;
}
.detail-frame:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}
.detail-frame img, .detail-frame video { width: 100%; height: auto; display: block; background: var(--bg); }
.detail-frame.is-photo img {
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center center;
}
.detail-frame.is-photo:hover img { transform: scale(1.045); }
.detail-caption-overlay {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0) 100%);
  color: #fff; font-size: 0.92rem; line-height: 1.55; letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(6px);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: none; z-index: 2;
}
.detail-frame:hover .detail-caption-overlay,
.admin-preview-wrap:hover .detail-caption-overlay { opacity: 1; transform: translateY(0); }
.detail-frame .footer-bar { display: flex; justify-content: space-between; padding: 0.75rem 1rem; border-top: 1px solid var(--border); font-size: 0.72rem; color: var(--text-muted); letter-spacing: 0.16em; text-transform: uppercase; }
.detail-side { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-price-card { padding: 1.5rem; background: var(--surface-elev); border: 1px solid var(--border); }
.detail-price-card .amount { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); margin-top: 0.5rem; }
.detail-meta-list { display: flex; flex-direction: column; gap: 0.85rem; font-size: 0.875rem; }
.detail-meta-list .row { display: flex; gap: 0.75rem; align-items: start; color: var(--text); }
.detail-meta-list .row .label { font-size: 0.625rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-faint); }
.detail-meta-list .row .value { font-size: 0.85rem; }

/* Watermark visual overlay (server-side de filigran var, bu sadece ek görsel sigorta) */
.watermark-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(
    -28deg,
    transparent 0px, transparent 140px,
    rgba(0,0,0,0.03) 140px, rgba(0,0,0,0.03) 141px
  );
}

/* ----- Marquee ---------------------------------------------------------- */
.marquee { border-top: 1px solid var(--border); padding: 3.5rem 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.5rem; }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee-track span { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-muted); }
@media (min-width: 1024px) { .marquee-track { gap: 5rem; } .marquee-track span { font-size: 1.75rem; } }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----- Nav dropdown (Hakkımda hover menüsü) ----------------------------- */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-arrow {
  margin-left: 3px; vertical-align: middle;
  transition: transform 200ms ease;
}
.nav-dropdown-wrap:hover .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  min-width: 340px; background: #fff;
  border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  padding: 0.5rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  transform: translateX(-50%) translateY(-4px);
  z-index: 500;
}
.nav-dropdown::before {
  content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
}
.nav-dropdown-wrap:hover .nav-dropdown,
.nav-dropdown-wrap:focus-within .nav-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity 180ms ease, transform 180ms ease;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.75rem 0.5rem;
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.4rem;
}
.nav-dropdown-header:hover { color: var(--accent); }
.nav-dropdown-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.75rem; border-radius: 6px;
  font-size: 0.83rem; color: var(--text); text-decoration: none;
  transition: background 140ms, color 140ms;
}
.nav-dropdown-item:hover { background: var(--surface-elev); color: var(--accent); }
.nav-dropdown-icon { flex-shrink: 0; color: var(--accent); opacity: 0.8; }
.nav-dropdown-item:hover .nav-dropdown-icon { opacity: 1; }

/* ----- Hakkımda profil bölümleri grid ---------------------------------- */
.about-bio-strip {
  padding: 3rem 0 2.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.about-bio-row {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .about-bio-row { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-bio-left { min-width: 0; }
.about-bio-right { }
.aps-grid.aps-grid--side {
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}
.about-bio-strip .hero-bio-body {
  max-width: none;
}
.about-profile-sections {
  background: var(--surface-elev);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.aps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 900px) { .aps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .aps-grid { grid-template-columns: 1fr 1fr; } }
.aps-card {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.65rem 0.9rem; border-radius: 8px;
  border: 1px solid var(--border); background: #fff;
  text-decoration: none; color: var(--text); font-size: 0.84rem;
  transition: border-color 160ms, box-shadow 160ms, color 160ms, background 160ms;
  position: relative;
}
.aps-card:hover {
  border-color: var(--accent); color: var(--accent);
  box-shadow: 0 2px 10px rgba(154,122,82,0.12);
}
.aps-icon { color: var(--accent); opacity: 0.75; flex-shrink: 0; }
.aps-card:hover .aps-icon { opacity: 1; }
.aps-label { flex: 1; font-weight: 500; line-height: 1.25; }
.aps-count {
  font-size: 0.68rem; font-family: var(--font-mono); color: var(--text-faint);
  background: var(--surface-elev); padding: 1px 5px; border-radius: 4px;
  flex-shrink: 0;
}
.aps-arrow { color: var(--text-faint); flex-shrink: 0; transition: transform 160ms; }
.aps-card:hover .aps-arrow { transform: translateX(3px); color: var(--accent); }

/* ----- Profil bölümleri önizleme (about sayfası) ----------------------- */
.aps-preview-block {
  margin-bottom: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.aps-preview-header {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-elev);
}
.aps-preview-icon { color: var(--accent); flex-shrink: 0; }
.aps-preview-title { font-weight: 700; font-size: 0.88rem; color: var(--text-primary); }
.aps-preview-count {
  font-size: 0.68rem; font-family: var(--font-mono);
  background: rgba(154,122,82,0.1); color: var(--accent);
  padding: 1px 6px; border-radius: 20px; flex-shrink: 0;
}
.aps-preview-more {
  margin-left: auto; display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; color: var(--accent); text-decoration: none; font-weight: 600;
  flex-shrink: 0; transition: gap 140ms;
}
.aps-preview-more:hover { gap: 0.5rem; }

/* Görsel satırı (albüm, küpür, kitap) */
.aps-preview-img-row {
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.aps-preview-img-card {
  flex: 0 0 160px; text-decoration: none; color: inherit;
  border-right: 1px solid var(--border); transition: background 160ms;
}
.aps-preview-img-card:last-child { border-right: none; }
.aps-preview-img-card:hover { background: var(--surface-elev); }
.aps-preview-img-card img {
  width: 100%; height: 110px; object-fit: cover; display: block;
}
.aps-preview-img-empty {
  width: 100%; height: 110px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-elev); color: var(--text-faint);
}
.aps-preview-img-title {
  padding: 0.5rem 0.65rem; font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted); line-height: 1.35;
  border-top: 1px solid var(--border);
}

/* Metin listesi */
.aps-preview-list { display: flex; flex-direction: column; }
.aps-preview-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.1rem; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--border); transition: background 120ms;
}
.aps-preview-row:last-child { border-bottom: none; }
.aps-preview-row:hover { background: var(--surface-elev); }
.aps-preview-row-left {
  width: 68px; flex-shrink: 0; text-align: right;
}
.aps-preview-date { font-size: 0.72rem; color: var(--text-muted); font-family: var(--font-mono); }
.aps-preview-row-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.aps-preview-row-title { font-size: 0.85rem; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
.aps-preview-row-sub { font-size: 0.75rem; color: var(--text-muted); }
.aps-preview-row-arr { color: var(--text-faint); flex-shrink: 0; }
.aps-preview-row:hover .aps-preview-row-arr { color: var(--accent); }

/* İnternet Haberleri özet bloğu (hakkında sayfası) */
.aps-news-block { display: flex; flex-direction: column; gap: 0; }
.aps-news-header {
  display: flex; align-items: center; gap: 0.5rem;
  padding-bottom: 0.75rem; margin-bottom: 0.25rem;
  border-bottom: 1.5px solid var(--border);
}
.aps-news-icon { color: var(--accent); flex-shrink: 0; }
.aps-news-title { font-size: 0.9rem; font-weight: 700; color: var(--text-primary); letter-spacing: 0.01em; }
.aps-news-all {
  margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; font-weight: 600; color: var(--accent); text-decoration: none;
  opacity: 0.85; transition: opacity 130ms, gap 130ms;
}
.aps-news-all:hover { opacity: 1; gap: 0.5rem; }
.aps-news-list { display: flex; flex-direction: column; }
.aps-news-row {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border-subtle, rgba(0,0,0,.06));
  text-decoration: none; transition: background 120ms;
  border-radius: 6px;
}
.aps-news-row:last-child { border-bottom: none; }
.aps-news-row:hover { background: var(--surface-elev); }
.aps-news-row-meta { display: flex; align-items: center; gap: 0.6rem; }
.aps-news-date { font-size: 0.7rem; font-family: var(--font-mono); color: var(--text-faint); }
.aps-news-source {
  font-size: 0.7rem; font-weight: 600; color: var(--accent);
  background: rgba(154,122,82,.1); padding: 0.1rem 0.4rem; border-radius: 3px;
  letter-spacing: 0.02em;
}
.aps-news-row-title { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); line-height: 1.4; }
.aps-news-row:hover .aps-news-row-title { color: var(--accent); }

/* ----- Profil section public sayfası ----------------------------------- */
.ps-photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; padding: 1rem 0;
}
.ps-photo-card {
  border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
  transition: border-color 180ms, box-shadow 180ms;
}
.ps-photo-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(154,122,82,0.12); }
.ps-photo-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ps-photo-placeholder { width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: var(--surface-elev); color: var(--text-faint); }
.ps-photo-info { padding: 0.65rem 0.75rem; }
.ps-book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; padding: 1rem 0; }
.ps-book-card { display: flex; gap: 1rem; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; padding: 1rem; transition: border-color 180ms; }
.ps-book-card:hover { border-color: var(--accent); }
.ps-book-cover { width: 90px; flex-shrink: 0; }
.ps-book-cover img { width: 100%; border-radius: 4px; box-shadow: 2px 3px 10px rgba(0,0,0,0.18); }
.ps-book-cover--empty { width: 90px; height: 120px; background: var(--surface-elev); display: flex; align-items: center; justify-content: center; color: var(--text-faint); border-radius: 4px; }
.ps-book-info { flex: 1; }
.ps-book-buy { display: inline-block; margin-top: 0.75rem; font-size: 0.8rem; color: var(--accent); font-weight: 600; }
.ps-list { display: flex; flex-direction: column; gap: 0; }
.ps-list-item {
  display: flex; gap: 1rem; padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.ps-list-item:last-child { border-bottom: none; }
.ps-list-left { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; min-width: 2.5rem; }
.ps-list-left .ps-item-icon { color: var(--accent); opacity: 0.7; }
.ps-list-left .ps-item-year { font-size: 0.68rem; font-family: var(--font-mono); color: var(--text-faint); text-align: center; }
.ps-list-body { flex: 1; }
.ps-item-title { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }
.ps-item-link { color: var(--accent); text-decoration: none; }
.ps-item-link:hover { text-decoration: underline; }
.ps-item-sub { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.ps-item-date { font-size: 0.75rem; color: var(--text-faint); font-family: var(--font-mono); margin-bottom: 0.15rem; }
.ps-item-location { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.15rem; }
.ps-item-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0.4rem 0 0; }

/* Pagination */
.ps-page-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.2rem; height: 2.2rem; padding: 0 0.5rem;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  text-decoration: none; transition: border-color 130ms, background 130ms, color 130ms;
}
.ps-page-btn:hover { border-color: var(--accent); color: var(--accent); }
.ps-page-btn--active { background: var(--accent); border-color: var(--accent); color: #fff; pointer-events: none; }
.ps-page-btn--disabled { opacity: 0.35; pointer-events: none; }
.ps-page-dots { font-size: 0.82rem; color: var(--text-faint); padding: 0 0.2rem; line-height: 2.2rem; }

/* ----- Admin profil bölümleri ------------------------------------------ */
.ps-tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem; padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
}
.ps-tab {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 0.8rem; border-radius: 6px;
  font-size: 0.8rem; color: var(--text-muted); text-decoration: none;
  border: 1px solid transparent;
  transition: background 130ms, color 130ms, border-color 130ms;
}
.ps-tab:hover { background: var(--surface-elev); color: var(--text); }
.ps-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.ps-admin-list { display: flex; flex-direction: column; gap: 0.5rem; }
.ps-admin-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 8px;
  transition: border-color 150ms;
}
.ps-admin-row:hover { border-color: var(--accent); }
.ps-admin-thumb { width: 48px; height: 48px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.ps-admin-thumb-empty { width: 48px; height: 48px; border-radius: 5px; background: var(--surface-elev); display: flex; align-items: center; justify-content: center; color: var(--text-faint); flex-shrink: 0; }
.ps-admin-info { flex: 1; min-width: 0; }
.ps-admin-title { font-size: 0.88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-admin-sub { font-size: 0.76rem; color: var(--text-muted); }
.ps-admin-date { font-size: 0.72rem; color: var(--text-faint); font-family: var(--font-mono); }
.ps-admin-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.ps-badge { font-size: 0.68rem; padding: 2px 7px; border-radius: 99px; font-weight: 600; }
.ps-badge--pub { background: rgba(34,197,94,0.1); color: #166534; }
.ps-badge--draft { background: rgba(156,163,175,0.2); color: #6b7280; }
.ps-form-panel { background: var(--surface-elev); border: 1px solid var(--border); border-radius: 10px; padding: 1.25rem; position: sticky; top: 1rem; }
@media (max-width: 900px) { .admin-two-col { grid-template-columns: 1fr !important; } .ps-form-panel { position: static; } }

/* ----- Hakkımda sayfa başlığı ------------------------------------------ */
.about-page-hero {
  padding: 3rem 0 2.5rem;
  background: var(--surface);
}
.about-page-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 0.6rem;
}
.about-page-title {
  font-size: clamp(2.6rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
  margin: 0 0 1.1rem;
}
.about-page-rule {
  width: 3.5rem; height: 4px;
  background: var(--accent);
  border-radius: 2px;
}
.about-page-milestones {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0.5px; margin-top: 2rem; max-width: 32rem;
  border: 1px solid var(--border); background: var(--border);
}
.about-ms-cell {
  padding: 0.9rem 0.85rem; text-align: center; background: var(--surface);
}
.about-ms-y { font-family: var(--font-serif); font-size: 1.45rem; color: var(--text); line-height: 1; }
.about-ms-l { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 0.4rem; line-height: 1.35; }

/* ----- Bio section ----------------------------------------------------- */
.bio-section { border-top: 1px solid var(--border); background: var(--surface); }
.bio-grid { padding: 2.5rem 0; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1024px) { .bio-grid { grid-template-columns: 5fr 7fr; gap: 4rem; padding: 3rem 0; } }
.bio-portrait { position: relative; }
.bio-portrait .frame { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: border-color 300ms ease, box-shadow 300ms ease; }
.bio-portrait:hover .frame { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(154,122,82,0.15); }
.bio-portrait img { width: 100%; height: auto; display: block; transition: transform 400ms ease; }
.bio-portrait:hover img { transform: scale(1.05); }
.bio-portrait .vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
}
.bio-photo-credit {
  display: block; text-align: right;
  font-size: 0.6rem; letter-spacing: 0.04em;
  color: var(--text-muted); pointer-events: none;
  margin-top: 0.3rem; padding-right: 0.1rem;
}
.bio-portrait .tick { position: absolute; background: var(--accent); }
.bio-portrait .tick.h { width: 1.5rem; height: 1px; }
.bio-portrait .tick.v { width: 1px; height: 1.5rem; }
.bio-portrait .tick.tl-h { top: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.tl-v { top: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.tr-h { top: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.tr-v { top: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.bl-h { bottom: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.bl-v { bottom: 0.75rem; left: 0.75rem; }
.bio-portrait .tick.br-h { bottom: 0.75rem; right: 0.75rem; }
.bio-portrait .tick.br-v { bottom: 0.75rem; right: 0.75rem; }
.bio-portrait .caption { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.bio-portrait .caption .name { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.2; color: var(--text); }
.bio-portrait .caption .role { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.4rem; }
.bio-portrait .caption .est { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); }
.bio-text .body { font-size: 1.125rem; line-height: 1.7; color: var(--text-muted); margin-top: 1.5rem; }
.bio-career-header { padding: 4rem 0 0; }
@media (min-width: 1024px) { .bio-career-header { padding: 6rem 0 0; } }
.bio-grid--has-below { padding-bottom: 0 !important; }
.bio-text--below { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.bio-alt-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding-top: 2.5rem; padding-bottom: 3rem; }
@media (min-width: 768px) { .bio-alt-grid { grid-template-columns: 1fr 1fr; gap: 2rem 3rem; } }
.bio-alt-grid .body { font-size: 1.0625rem; line-height: 1.7; color: var(--text-muted); display: flex; gap: .65rem; align-items: flex-start; }
.bio-alt-grid .body::before { content: '•'; color: var(--accent); font-size: 1.4rem; line-height: 1.35; flex-shrink: 0; }
.bio-alt-grid .body:first-child { grid-column: 1 / -1; font-style: italic; }
.bio-alt-grid .body:first-child::before { display: none; }
.bio-grid2 { padding: 2.5rem 0; display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 1024px) { .bio-grid2 { grid-template-columns: 7fr 5fr; gap: 4rem; padding: 3rem 0; } }
.bio-career2-photo { position: relative; overflow: hidden; border: 1px solid var(--border); background: var(--surface); transition: border-color 300ms ease, box-shadow 300ms ease; }
.bio-career2-photo:hover { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(154,122,82,0.15); }
.bio-career2-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.bio-career2-photo:hover img { transform: scale(1.04); }
/* ---- Kitap tanıtım bölümü ---- */
.book-feature { background: #1a2236; border-top: 1px solid rgba(100,140,210,0.2); border-bottom: 1px solid rgba(100,140,210,0.2); padding: 4.5rem 0; }
.book-feature-inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; width: 100%; }
@media (min-width: 768px) { .book-feature-inner { grid-template-columns: 1fr auto; gap: 4.5rem; align-items: center; } }
.book-cover-wrap { perspective: 900px; }
.book-cover-3d { position: relative; transform-style: preserve-3d; transition: transform 500ms cubic-bezier(0.34,1.4,0.64,1); }
.book-cover-wrap:hover .book-cover-3d { transform: rotateY(-18deg) rotateX(4deg) translateY(-8px); }
.book-cover-img { width: 200px; height: auto; display: block; border-radius: 2px 4px 4px 2px; box-shadow: -6px 6px 0 rgba(255,255,255,0.04), 0 20px 60px rgba(10,20,50,0.65), 0 0 0 1px rgba(100,140,210,0.25); transition: box-shadow 400ms; }
@media (min-width: 768px) { .book-cover-img { width: 220px; } }
.book-cover-wrap:hover .book-cover-img { box-shadow: -12px 16px 0 rgba(255,255,255,0.05), 0 40px 80px rgba(10,20,50,0.75), 0 0 0 1px rgba(100,160,255,0.4); }
.book-cover-spine { position: absolute; top: 0; left: 0; bottom: 0; width: 14px; background: linear-gradient(to right, rgba(0,0,0,0.45), rgba(255,255,255,0.08), rgba(0,0,0,0.1)); transform: rotateY(-90deg) translateX(-7px); transform-origin: left center; border-radius: 2px 0 0 2px; }
.book-feature-text { color: #d0daf0; flex: 1; min-width: 0; }
.book-feature-title { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.15; color: #eef2ff; margin-bottom: 0.75rem; }
.book-feature-tagline { font-size: 1rem; color: #89aee8; letter-spacing: 0.06em; margin-bottom: 1.25rem; font-style: italic; }
.book-feature-desc { font-size: 1rem; line-height: 1.75; color: rgba(180,200,240,0.8); margin-bottom: 2rem; }
.btn-book-buy { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; background: #3d6cbf; color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; border: none; cursor: pointer; border-radius: 2px; transition: background 200ms, transform 200ms, box-shadow 200ms; text-decoration: none; }
.btn-book-buy:hover { background: #4d80d8; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(61,108,191,0.45); }
.bk-carousel-clip { overflow: hidden; }
.bk-carousel-track { display: flex; transition: transform 420ms cubic-bezier(0.4,0,0.2,1); }
.bk-slide { flex: 0 0 100%; min-width: 0; }

.milestones { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.milestones .cell { background: var(--surface); padding: 1.25rem; text-align: center; }
.milestones .y { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1; color: var(--text); }
.milestones .l { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.3; }

/* ----- Bio CTA link -------------------------------------------------------- */
.bio-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  text-decoration: none;
}
.bio-cta::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 420ms cubic-bezier(0.34,1.56,0.64,1);
}
.bio-cta:hover::after,
.bio-cta:focus-visible::after { width: 100%; }
.bio-cta .bio-cta-arrow {
  display: inline-block;
  font-style: normal;
  transition: transform 400ms cubic-bezier(0.34,1.56,0.64,1), opacity 200ms ease;
}
.bio-cta:hover .bio-cta-arrow,
.bio-cta:focus-visible .bio-cta-arrow {
  transform: translateX(7px);
}

/* ----- Snake timeline (about page) — layout in about.php inline CSS ------ */
.timeline-h-year {
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1;
  opacity: 0.7;
}

.timeline-h-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text);
  opacity: 0.6;
  transition: opacity 350ms ease, transform 350ms ease;
  transform: translateY(4px);
}
.tl-above .timeline-h-desc {
  transform: translateY(-4px);
}

/* hover */
.timeline-h-item:hover .timeline-h-dot {
  transform: scale(1.6);
  outline-width: 2px;
  box-shadow: 0 0 12px rgba(154,122,82,0.4);
}
.timeline-h-item:hover .timeline-h-year {
  font-size: 1.9rem;
  opacity: 1;
}
.timeline-h-item:hover .timeline-h-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ----- YouTube embed grid (about page) --------------------------------- */
.yt-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
/* Video kategori tab'ları */
.yt-nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem;
  background: var(--surface-elev); border: 1px solid var(--border);
  color: var(--text-muted); cursor: pointer;
  transition: background 160ms, border-color 160ms, color 160ms, transform 120ms;
  border-radius: 2px; flex-shrink: 0;
}
.yt-nav-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.07); }
.yt-nav-row { display: flex; align-items: center; gap: 0.5rem; }
.yt-nav-body { flex: 1; min-width: 0; }
.yt-nav-side { width: 2.6rem; height: 2.6rem; border-radius: 50%; }
.yt-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem;
}
.yt-tab {
  padding: 0.45rem 1.1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--border); background: var(--surface-elev); color: var(--text-muted);
  cursor: pointer; transition: border-color 160ms, color 160ms, background 160ms;
  border-radius: 2px;
}
.yt-tab:hover { border-color: var(--accent); color: var(--accent); }
.yt-tab.active { border-color: var(--accent); background: var(--accent); color: #fff; }

.about-yt-scroll {
  display: flex; gap: 1.25rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0.5rem 0.25rem 1rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: var(--accent) var(--surface-elev);
}
.about-yt-scroll::-webkit-scrollbar { height: 4px; }
.about-yt-scroll::-webkit-scrollbar-track { background: var(--surface-elev); }
.about-yt-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }
.about-yt-card {
  flex: 0 0 340px; scroll-snap-align: start;
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 3px; overflow: hidden;
}
@media (min-width: 768px) { .about-yt-card { flex: 0 0 420px; } }

/* Thumbnail play card */
.yt-thumb-card { cursor: pointer; transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), box-shadow 200ms, border-color 200ms; }
.yt-hidden-card { display: none; }
.av-item-hidden { display: none !important; }
.yt-thumb-card:hover { transform: scale(1.03); box-shadow: 0 8px 28px rgba(0,0,0,0.14); border-color: var(--accent); }
.yt-thumb-wrap { position: relative; padding-top: 56.25%; background: #111; overflow: hidden; }
.yt-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 300ms ease, filter 300ms ease; filter: brightness(0.88); }
.yt-thumb-card:hover .yt-thumb-img { transform: scale(1.04); filter: brightness(0.72); }
.yt-play-btn {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.yt-play-btn svg {
  width: 3.25rem; height: 3.25rem;
  background: rgba(0,0,0,0.52); border-radius: 50%; padding: 0.7rem;
  color: #fff; backdrop-filter: blur(4px);
  transition: transform 220ms cubic-bezier(0.34,1.56,0.64,1), background 200ms;
  box-shadow: 0 4px 18px rgba(0,0,0,0.35);
}
.yt-thumb-card:hover .yt-play-btn svg { transform: scale(1.18); background: var(--accent); }
.yt-duration-badge {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  background: rgba(0,0,0,0.72); color: rgba(255,255,255,0.9);
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border-radius: 2px; backdrop-filter: blur(3px);
}
.yt-card-meta { padding: 0.9rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.yt-card-title { font-family: var(--font-serif); font-size: 0.95rem; color: var(--text); line-height: 1.35; flex: 1; }
.yt-card-watch { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); white-space: nowrap; flex-shrink: 0; }

.yt-card { background: var(--surface); border: 1px solid var(--border-soft); }
.yt-frame { position: relative; padding-top: 56.25%; background: black; }
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-card .meta { padding: 1rem 1.25rem; }
.yt-card .meta .title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--text); }
.yt-card .meta .desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.5; }

/* ----- Cart / Checkout summary ----------------------------------------- */
.cart-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .cart-grid { grid-template-columns: 2fr 1fr; } }
.cart-line { display: flex; gap: 1rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border-soft); align-items: center; }
.cart-line .thumb { width: 7rem; height: 5rem; background: var(--surface-elev); flex-shrink: 0; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line .info { flex: 1; min-width: 0; }
.cart-line .info .title { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line .info .sub { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.16em; margin-top: 0.25rem; }
.cart-line .price { font-family: var(--font-mono); color: var(--text); }
.cart-line .remove { color: var(--text-muted); }
.cart-line .remove:hover { color: var(--signal-danger); }
.summary-card { padding: 1.5rem; background: var(--surface-elev); border: 1px solid var(--border); position: sticky; top: 6rem; }
.summary-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.875rem; color: var(--text); }
.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-family: var(--font-mono); }
.summary-total { display: flex; justify-content: space-between; align-items: center; padding-top: 0.75rem; }
.summary-total .value { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); }
.divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

/* ----- Admin layout ---------------------------------------------------- */
.admin-shell { min-height: 100vh; }
.admin-topbar { border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.90); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 40; }
.admin-topbar-inner { display: flex; justify-content: space-between; align-items: center; padding: 0 1.5rem; height: 3.5rem; }
@media (min-width: 1024px) { .admin-topbar-inner { padding: 0 2.5rem; } }
.admin-topbar .left { display: flex; align-items: center; gap: 0.75rem; }
.admin-topbar .left .label { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text); }
.admin-topbar .right { display: flex; align-items: center; gap: 1rem; font-size: 0.72rem; }
.admin-topbar .right a, .admin-topbar .right button { color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.18em; }
.admin-topbar .right .role { color: var(--accent); }
.admin-layout { display: grid; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .admin-layout { grid-template-columns: 260px 1fr; } }
.admin-sidebar { border-right: 1px solid var(--border); min-height: calc(100vh - 3.5rem); padding: 1rem; }
.admin-sidebar a {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0.75rem; font-size: 0.875rem; color: var(--text-muted);
  border-radius: 2px;
}
.admin-sidebar a:hover { color: var(--text); background: var(--surface); }
.admin-sidebar a.active { color: var(--accent); background: var(--surface); font-weight: 600; border-left: 2px solid var(--accent); padding-left: calc(0.75rem - 2px); }
.admin-sidebar .sidebar-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.admin-sidebar .sidebar-group-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); padding: 0.5rem 0.75rem 0.25rem; }
.admin-sidebar .sidebar-toggle { display: flex; align-items: center; justify-content: space-between; padding: 0.6rem 0.75rem; font-size: 0.875rem; color: var(--text-muted); border-radius: 2px; cursor: pointer; user-select: none; }
.admin-sidebar .sidebar-toggle:hover { color: var(--text); background: var(--surface); }
.admin-sidebar .sidebar-toggle .arrow { font-size: 0.7rem; transition: transform 200ms ease; }
.admin-sidebar .sidebar-toggle.open .arrow { transform: rotate(90deg); }
.admin-sidebar .sidebar-submenu { display: none; }
.admin-sidebar .sidebar-submenu.open { display: block; }
.admin-sidebar .sidebar-submenu a { padding-left: 1.5rem; font-size: 0.82rem; }
.admin-main { padding: 2rem 1.5rem; }
@media (min-width: 1024px) { .admin-main { padding: 2rem 2.5rem; } }
.admin-h1 { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); margin-top: 0.5rem; }
.admin-stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2rem 0; }
@media (min-width: 1024px) { .admin-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.admin-stats-grid .cell { background: var(--surface); padding: 1.75rem 1.5rem; text-align: center; cursor: default; position: relative; transition: background 180ms ease, box-shadow 180ms ease; }
.admin-stats-grid .cell:hover { background: var(--surface-elev); box-shadow: inset 0 0 0 2px var(--accent); z-index: 1; }
.admin-stats-grid .cell .label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.75rem; }
.admin-stats-grid .cell .value { font-family: var(--font-serif); font-size: 1.75rem; color: var(--text); }

.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th { text-align: left; padding: 0.75rem 1rem; background: var(--surface-elev); color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }
.table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); color: var(--text); }
.table tr:hover td { background: var(--surface); }
.table .mono { font-family: var(--font-mono); font-size: 0.85rem; }

.tag { display: inline-flex; padding: 0.25rem 0.6rem; border: 1px solid var(--border); color: var(--text-muted); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.tag.success { color: var(--accent); border-color: var(--accent); }
.tag.danger  { color: var(--signal-danger); border-color: var(--signal-danger); }

/* ----- Bakım sayfası ---------------------------------------------------- */
.maintenance {
  min-height: 100vh; display: grid; place-items: center; padding: 2rem;
  background: var(--surface);
}
.maintenance-card { max-width: 30rem; text-align: center; }
.maintenance .icon { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border: 1px solid var(--accent); color: var(--accent); margin: 0 auto 1.5rem; font-size: 1.25rem; }
.maintenance h1 { font-family: var(--font-serif); font-size: 1.875rem; color: var(--text); }
.maintenance p { color: var(--text-muted); margin-top: 0.75rem; }

/* ----- Drop zone (upload) ---------------------------------------------- */
.dropzone {
  border: 2px dashed var(--border); padding: 2.5rem;
  text-align: center; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease;
  background: var(--surface);
}
.dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: var(--surface-elev); }
.dropzone .icon { font-size: 2rem; color: var(--text-muted); }
.dropzone h2 { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text); margin-top: 1rem; }
.dropzone .sub { color: var(--text-muted); margin-top: 0.5rem; font-size: 0.875rem; }

/* ----- Misc ------------------------------------------------------------- */
.divider-line { height: 1px; background: var(--border); margin: 1.5rem 0; }
.flash { padding: 1rem 1.25rem; background: var(--surface); border-left: 3px solid var(--accent); margin-bottom: 1.5rem; }
.flash.error { border-left-color: var(--signal-danger); color: var(--signal-danger); }
.flash.success { border-left-color: var(--accent); }
.flash.warn { border-left-color: #c0882a; color: #7a5010; }

/* ----- Contact form wrapper --------------------------------------------- */
.contact-form-wrap {
  border: 1px solid var(--border-soft);
  transition: border-color 250ms ease, box-shadow 250ms ease;
}
.contact-form-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154,122,82,0.12);
}

/* ----- Contact cards ---------------------------------------------------- */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 250ms ease, box-shadow 250ms ease, transform 280ms cubic-bezier(0.34,1.56,0.64,1);
  cursor: pointer;
}
.contact-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 18px rgba(154,122,82,0.1);
  transform: translateY(-2px);
}
.contact-icon {
  width: 2.25rem; height: 2.25rem; flex-shrink: 0;
  display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: border-color 250ms ease, color 250ms ease;
}
.contact-card:hover .contact-icon { border-color: var(--accent); color: var(--accent); }
.copy-btn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); background: none; border: 1px solid var(--border);
  padding: 0.25rem 0.6rem; cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.copy-btn:hover { color: var(--accent); border-color: var(--accent); }
.copy-btn.copied { color: var(--signal-success); border-color: var(--signal-success); }
.grid { display: grid; }
.flex { display: flex; }
.gap-3 { gap: 0.75rem; } .gap-4 { gap: 1rem; } .gap-6 { gap: 1.5rem; }
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; } .mb-8 { margin-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.hidden { display: none; }
.spacer { flex: 1; }

/* ===== Mobile responsive improvements ===================================== */

/* 1. Orders table: yatay kaydırma izni */
.orders-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.orders-table-wrap .table { min-width: 680px; }

/* 3. Admin sidebar toggle butonu — masaüstünde gizli */
.admin-mob-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  background: none;
  transition: color 180ms ease, border-color 180ms ease;
  border-radius: 2px;
}
.admin-mob-toggle:hover { color: var(--text); border-color: var(--accent); }

@media (max-width: 1023px) {
  /* Sidebar: varsayılan gizli, toggle ile aç */
  .admin-mob-toggle { display: inline-flex; }
  .admin-sidebar {
    display: none;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0.75rem;
  }
  .admin-sidebar.mob-open { display: block; }
  /* Admin topbar: sağ taraftaki site linkini küçük ekranlarda gizle */
  .admin-topbar-site-link { display: none !important; }
}

/* 4. Cart/Checkout satırı: çok dar ekranlarda dikey yığılma */
@media (max-width: 480px) {
  .cart-line { flex-wrap: wrap; }
  .cart-line .thumb { width: 100% !important; height: 8rem !important; }
}

/* 5. İndirmeler kartı: dar ekranda dikey düzen */
@media (max-width: 520px) {
  .dl-surface-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .dl-surface-card .dl-thumb-link {
    width: 100% !important;
    height: 9rem !important;
  }
  .dl-surface-card .dl-btn-wrap { text-align: right; }
}

/* 6. Hesabım layout: mobilde daha sıkı padding */
@media (max-width: 640px) {
  .acct-layout { padding: 1.5rem 0 2.5rem !important; gap: 1rem !important; }
}

/* 7. Section-header: flex + space-between → mobilde alt alta */
@media (max-width: 640px) {
  .section-header-sb {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem;
  }
}

/* 8. Kategoriler alt başlık: mobilde kırılsın */
@media (max-width: 640px) {
  .subtitle-nowrap { white-space: normal !important; }
}

/* 9. Telefon kodu input: hem checkout hem profil sayfası */
@media (max-width: 640px) {
  #co-phoneCodeSearch { width: 130px !important; }
  #phoneCodeSearch    { width: 130px !important; }
}
@media (max-width: 480px) {
  #co-phoneCodeSearch { width: 110px !important; font-size: 0.82rem; }
  #phoneCodeSearch    { width: 110px !important; font-size: 0.82rem; }
}

/* 10. Footer: çok dar ekranda alt alta */
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* 11. Hero CTA butonları: mobilde tam genişlik */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn, .hero-ctas a.btn { width: 100%; justify-content: center; }
}

/* 12. Detail grid: mobilde görsele daha az padding */
@media (max-width: 640px) {
  .detail-grid { padding: 1.5rem 0 3rem; gap: 1.5rem; }
}

/* 13. Bio section: mobilde daha az padding */
@media (max-width: 1023px) {
  .bio-grid { padding: 3rem 0 !important; }
}

/* 14. Bio portrait caption: dar ekranda alt alta */
@media (max-width: 480px) {
  .bio-portrait .caption { flex-wrap: wrap; gap: 0.5rem; }
}

/* 15. Milestones: mobilde 3 yerine 2 sütun — 93px çok dar */
@media (max-width: 640px) {
  .milestones { grid-template-columns: repeat(2, 1fr); }
}

/* 16. Section padding azalt: mobilde gereksiz boşluk */
@media (max-width: 640px) {
  .section { padding: 3.5rem 0; }
  .section-bordered { padding: 3rem 0; }
  .pri-hero { padding: 3rem 0 2.5rem !important; }
  .about-hero-inner { padding: 3rem 0 4rem; }
}
.about-hero-inner { padding: 5rem 0 6rem; }

/* 17. Archive filter mobile iyileştirme: af-top-row gap azalt */
@media (max-width: 640px) {
  .af-top-row { gap: 1.5rem !important; }
  .archive-filters { padding: 1.25rem; }
}

/* 18. Hero title: en küçük ekranlarda daha kompakt */
@media (max-width: 380px) {
  .hero-title { font-size: 1.85rem !important; }
  .hero-body { font-size: 0.95rem; }
  .hero-ctas { margin-top: 1.75rem; }
}

/* 19. Cart line: 480–640px arası görseli küçült */
@media (max-width: 640px) {
  .cart-line .thumb { width: 5.5rem !important; height: 4rem !important; }
}

/* 20. Summary card: mobilde sticky kaldır (content üstüne biner) */
@media (max-width: 1023px) {
  .summary-card { position: static; top: auto; }
}

/* ===== Hakkında Galerisi ================================================== */
/* Carousel scroll container */
/* ----- About page gallery — single photo slideshow --------------------- */
.ag-slideshow {
  position: relative;
}
.ag-track-clip {
  overflow: hidden;
}
.ag-track {
  display: flex;
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.ag-slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--surface-elev);
  min-height: 260px;
}
.ag-slide img {
  display: block;
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Arrows */
.ag-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: background 160ms, border-color 160ms, color 160ms, transform 160ms;
}
.ag-arrow:hover {
  background: var(--accent); border-color: var(--accent); color: #fff;
  transform: translateY(-50%) scale(1.08);
}
.ag-arrow-prev { left: 0.75rem; }
.ag-arrow-next { right: 0.75rem; }
@media (min-width: 768px) {
  .ag-arrow-prev { left: -3rem; }
  .ag-arrow-next { right: -3rem; }
}
/* Footer: caption + counter */
.ag-slide-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.65rem 0.25rem 0;
  min-height: 1.6rem;
}
.ag-slide-caption {
  font-size: 0.82rem; color: var(--text-muted);
  letter-spacing: 0.02em; line-height: 1.4;
  flex: 1; min-width: 0;
}
.ag-slide-counter {
  font-size: 0.72rem; color: var(--text-faint);
  letter-spacing: 0.1em; font-family: var(--font-mono);
  flex-shrink: 0; margin-left: 1rem;
}
/* Controls row (counter + size toggle) */
.ag-controls {
  display: flex; align-items: center; gap: 0.6rem;
  flex-shrink: 0;
}
/* Size toggle button group */
.ag-size-toggle {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.ag-size-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 1.75rem;
  background: transparent;
  border: none; cursor: pointer;
  color: var(--text-muted);
  transition: background 140ms, color 140ms;
}
.ag-size-btn + .ag-size-btn {
  border-left: 1px solid var(--border);
}
.ag-size-btn:hover { background: var(--surface-elev); color: var(--text); }
.ag-size-btn.active { background: var(--accent); color: #fff; }
/* Black frame around each photo */
.ag-photo-frame {
  display: flex; align-items: center; justify-content: center;
  background: #000;
  padding: 10px;
  line-height: 0;
  cursor: zoom-in;
}
/* Album Lightbox */
#ag-lb {
  display: none; position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center;
}
.ag-lb-bg { position: absolute; inset: 0; background: rgba(0,0,0,0.95); cursor: zoom-out; }
.ag-lb-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 2;
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: none; cursor: pointer;
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: background 160ms;
}
.ag-lb-close:hover { background: rgba(255,255,255,0.28); }
.ag-lb-box {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1rem; max-width: 96vw;
}
.ag-lb-img {
  max-width: 90vw; max-height: 82vh; object-fit: contain;
  display: block; transform-origin: center;
  transition: transform 180ms ease; user-select: none;
  cursor: zoom-in;
}
.ag-lb-img.ag-lb-zoomed { cursor: zoom-out; }
.ag-lb-zoom-bar {
  display: flex; align-items: center; gap: 0.4rem;
  background: rgba(0,0,0,0.55); padding: 0.25rem 0.65rem;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.12);
}
.ag-lb-zoom-val {
  font-size: 0.76rem; color: rgba(255,255,255,0.7);
  min-width: 2.75rem; text-align: center; font-family: var(--font-mono);
}
.ag-lb-zbtn {
  background: none; border: none; color: #fff; font-size: 1.15rem;
  cursor: pointer; width: 1.7rem; height: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 120ms;
}
.ag-lb-zbtn:hover { background: rgba(255,255,255,0.15); }
/* Slide background transparent when frame is present */
.ag-slideshow .ag-slide {
  background: transparent;
}
/* Size modes — default same as large */
.ag-slideshow .ag-slide img,
.ag-slideshow.ag-large .ag-slide img {
  max-height: 80vh;
}
.ag-slideshow.ag-small .ag-slide img {
  max-height: 38vh;
}

/* Admin galeri upload zone */
.ag-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms, background 200ms;
}
.ag-upload-zone:hover, .ag-upload-zone.drag-over {
  border-color: var(--accent);
  background: rgba(154,122,82,0.04);
}
/* Admin galeri thumbnail grid */
.ag-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.ag-admin-item {
  position: relative;
  border-radius: 4px;
  overflow: visible;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 150ms;
}
.ag-admin-item:hover { border-color: var(--accent); }
.ag-admin-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 3px 3px 0 0;
}
.ag-admin-caption {
  padding: 0.35rem 0.5rem 0.4rem;
  border-top: 1px solid var(--border);
}
.ag-admin-caption input {
  width: 100%;
  font-size: 0.72rem;
  border: none;
  background: none;
  color: var(--text-muted);
  outline: none;
  padding: 0;
}
.ag-admin-caption input:focus { color: var(--text); }
.ag-admin-del {
  position: absolute;
  top: 0.3rem; right: 0.3rem;
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: none; color: #fff;
  font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 150ms, background 150ms;
}
.ag-admin-item:hover .ag-admin-del { opacity: 1; }
.ag-admin-del:hover { background: rgba(198,40,40,0.85); }
.ag-upload-progress {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.82);
  display: flex; align-items: center; justify-content: center;
  border-radius: 3px;
  font-size: 0.75rem; color: var(--text-muted);
  pointer-events: none;
}

/* ----- Instagram grid (about page) -------------------------------------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
@media (min-width: 640px)  { .ig-grid { gap: 4px; } }
@media (min-width: 1024px) { .ig-grid { gap: 6px; } }
.ig-card {
  position: relative; display: block;
  aspect-ratio: 1 / 1; overflow: hidden;
  background: var(--surface-elev);
}
.ig-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 380ms ease, filter 380ms ease;
}
.ig-card:hover img { transform: scale(1.06); filter: brightness(0.6); }
.ig-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.9);
  opacity: 0; transition: opacity 260ms ease;
  pointer-events: none;
}
.ig-card:hover .ig-overlay { opacity: 1; }


/* ═══════════════════════════════════════════════════════
   ANIMASYONLAR — Fuat Kozluklu Editöryel Arşiv
   ═══════════════════════════════════════════════════════ */

/* Kullanıcı reduced-motion tercih ederse tüm animasyonları kapat */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
}

/* ── Sayfa giriş animasyonu ────────────────────────────── */
@keyframes fkPageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
/* body page-enter animasyonu kaldırıldı — history.back() ile çakışıyordu */

/* ── Temel keyframe'ler ────────────────────────────────── */
@keyframes fkFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fkFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fkSlideLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fkLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes fkImageReveal {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}
@keyframes fkPulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* Hero animasyonları JS ile kontrol edilir (opacity:0 tuzağını önlemek için CSS stagger kaldırıldı) */

/* ── Eyebrow kuralı büyüme ────────────────────────────── */
.eyebrow .rule, .hero-eyebrow .rule {
  transform-origin: left;
  animation: fkLineGrow 500ms cubic-bezier(0.16,1,0.3,1) 80ms both;
}

/* ── Scroll reveal — JS fk-reveal + fk-in sınıfları ─── */
.fk-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  580ms cubic-bezier(0.16,1,0.3,1),
    transform 580ms cubic-bezier(0.16,1,0.3,1);
}
.fk-reveal.fk-in {
  opacity: 1;
  transform: none;
}

/* Stagger delays — JS çocuklara ekler */
.fk-reveal[data-delay="1"] { transition-delay: 60ms; }
.fk-reveal[data-delay="2"] { transition-delay: 120ms; }
.fk-reveal[data-delay="3"] { transition-delay: 180ms; }
.fk-reveal[data-delay="4"] { transition-delay: 240ms; }
.fk-reveal[data-delay="5"] { transition-delay: 300ms; }
.fk-reveal[data-delay="6"] { transition-delay: 360ms; }
.fk-reveal[data-delay="7"] { transition-delay: 420ms; }
.fk-reveal[data-delay="8"] { transition-delay: 480ms; }

/* ── Image shimmer loading state ──────────────────────── */
.media-card .thumb::before,
.cat-card .cat-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--surface-elev) 0%,
    var(--border)       40%,
    var(--surface-elev) 80%
  );
  background-size: 200% 100%;
  animation: fkShimmer 1.6s ease infinite;
  z-index: 1;
  transition: opacity 300ms ease;
}
.media-card .thumb img.loaded::before,
.cat-card .cat-img img.loaded::before { display: none; }
@keyframes fkShimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

/* ── Stat hücreleri — counter için başlangıç ─────────── */
.stats-cell .value {
  display: inline-block;
  transition: transform 200ms cubic-bezier(0.34,1.56,0.64,1);
}
.stats-cell:hover .value { transform: scale(1.06); }

/* ── Gelişmiş header scrolled ─────────────────────────── */
.header {
  transition:
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}
.header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

/* ── Section eyebrow slide-in ─────────────────────────── */
.fk-reveal.fk-in .eyebrow {
  animation: fkSlideLeft 500ms cubic-bezier(0.16,1,0.3,1) 0ms both;
}

/* ── Kart hover geliştirmesi — lift effect ────────────── */
.cat-card, .media-card, .aps-card, .fk-audio-row {
  will-change: transform;
}

/* ── Nav dropdown gelişmiş animasyonu ────────────────────── */
.nav-dropdown-item {
  animation: none;
}
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(1) { animation: fkFadeUp 220ms ease 30ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(2) { animation: fkFadeUp 220ms ease 60ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(3) { animation: fkFadeUp 220ms ease 90ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(4) { animation: fkFadeUp 220ms ease 120ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(5) { animation: fkFadeUp 220ms ease 150ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(6) { animation: fkFadeUp 220ms ease 180ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(7) { animation: fkFadeUp 220ms ease 210ms both; }
.nav-dropdown-wrap:hover .nav-dropdown-item:nth-child(8) { animation: fkFadeUp 220ms ease 240ms both; }

/* ── Profil section kartları — hover lift ─────────────── */
.aps-card {
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    color 200ms ease,
    background 200ms ease,
    transform 220ms cubic-bezier(0.34,1.56,0.64,1);
}
.aps-card:hover { transform: translateY(-3px); }

/* ── Ses kaydı satırı — playing glow ─────────────────── */
.fk-audio-row.playing {
  animation: fkPlayingPulse 2.5s ease-in-out infinite;
}
@keyframes fkPlayingPulse {
  0%, 100% { box-shadow: none; }
  50%       { box-shadow: 0 0 0 2px rgba(154,122,82,0.25); }
}

/* ── Hakkımda sayfa hero — animate ───────────────────── */
.about-page-hero .about-page-title {
  animation: fkFadeUp 600ms cubic-bezier(0.16,1,0.3,1) 80ms both;
}
.about-page-hero .about-page-rule {
  transform-origin: left;
  animation: fkLineGrow 500ms cubic-bezier(0.16,1,0.3,1) 280ms both;
}

/* ── Profil section sayfası hero ─────────────────────── */
.about-page-hero [style*="color:var(--accent)"] {
  animation: fkFadeIn 400ms ease 0ms both;
}

/* ── Back-to-top button ───────────────────────────────── */
#back-to-top {
  transition: opacity 280ms ease, transform 280ms cubic-bezier(0.34,1.56,0.64,1), visibility 280ms ease;
}
#back-to-top.visible { transform: translateY(0); }
#back-to-top:not(.visible) { transform: translateY(8px); }

/* ── Mobil Responsive Düzeltmeleri ───────────────────── */

/* Alt sayfa hero (profil bölümleri): daha az padding + küçük başlık */
@media (max-width: 640px) {
  .about-page-hero { padding: 1.75rem 0 1.5rem; }
  .about-page-title { font-size: 1.75rem; }
}

/* Book feature: mobilde az padding + kapak ortalama */
@media (max-width: 767px) {
  .book-feature { padding: 2.5rem 0; }
  .book-cover-wrap { margin: 0 auto; }
  .book-cover-img { width: 150px; }
  .book-feature-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}

/* Video kartları: küçük telefonda tam genişliğe yakın */
@media (max-width: 480px) {
  .about-yt-card { flex: 0 0 min(80vw, 280px); }
}

/* Hakkımda kitap önizleme: mobilde tam genişlik kart */
@media (max-width: 640px) {
  .about-book-row { flex-direction: column; }
  .about-book-card { max-width: 100% !important; width: 100%; }
}

/* Bölüm önizleme başlığı: dar ekranda alt satıra geç */
@media (max-width: 480px) {
  .aps-news-header { flex-wrap: wrap; row-gap: 0.35rem; }
  .aps-news-all { margin-left: 0; order: 3; }
}

/* Profil önizleme görselleri: çok dar ekranlarda biraz küçük */
@media (max-width: 400px) {
  .aps-preview-img-card { flex: 0 0 120px; }
  .aps-preview-img-card img, .aps-preview-img-empty { height: 85px; }
}

/* Exhibition grid: en küçük ekranda tek sütun garantisi */
@media (max-width: 320px) {
  .ex-grid { grid-template-columns: 1fr; }
}
