/* Göz Ucu - Özel Edebi Tipografi ve Tasarım Stilleri */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Varsayılan: Sıcak Kitap Kağıdı (Paper) Teması */
  --bg-color: #FAF8F5;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4EFEB;
  --bg-input: #FFFFFF;
  --text-main: #24211E;
  --text-muted: #6B6560;
  --border-color: #E8E2D9;
  --border-subtle: #F0ECE4;
  --accent-color: #754322; /* Belirgin kahve */
  --brand-color: #754322;
  --accent-hover: #5D351C;
  --accent-light: #F0E6DC;
  --tag-bg: #EFE9E0;
  --tag-text: #5A4738;
  --quote-border: #754322;
  --card-shadow: 0 4px 20px -2px rgba(36, 33, 30, 0.04);
}

[data-theme="dark"] {
  --bg-color: #141413;
  --bg-card: #1D1D1B;
  --bg-card-subtle: #242421;
  --bg-input: #1D1D1B;
  --text-main: #ECE7E1;
  --text-muted: #A39C94;
  --border-color: #2F2E2B;
  --border-subtle: #242422;
  --accent-color: #E0874E;
  --accent-hover: #F29E68;
  --accent-light: #2A211B;
  --tag-bg: #2B2825;
  --tag-text: #DACAC0;
  --quote-border: #E0874E;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] {
  --bg-color: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F4F5;
  --bg-input: #FFFFFF;
  --text-main: #18181B;
  --text-muted: #71717A;
  --border-color: #E4E4E7;
  --border-subtle: #F4F4F5;
  --accent-color: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --tag-bg: #EFF6FF;
  --tag-text: #1E40AF;
  --quote-border: #2563EB;
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background-color 0.25s ease, color 0.25s ease;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Tipografi Sınıfları */
.font-serif-title {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-reading {
  font-family: 'Newsreader', Georgia, serif;
}

/* Okuma İlerleme Çubuğu */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent-color);
  width: 0%;
  z-index: 100;
  transition: width 0.1s ease-out;
}

/* Kart Tasarımları */
.card-border {
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  box-shadow: var(--card-shadow);
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-3px);
  border-color: var(--accent-color);
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
}

/* Navigasyon Linkleri */
.nav-link {
  color: var(--text-muted);
  transition: color 0.15s ease;
  font-size: 0.9rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  font-weight: 600;
}

/* Rozetler ve Haplar */
.badge-pill {
  background-color: var(--tag-bg);
  color: var(--tag-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Edebi Alıntı Stili */
.editorial-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.65;
  padding: 1.75rem 2rem;
  background-color: var(--bg-card-subtle);
  border-left: 4px solid var(--quote-border);
  border-radius: 0 12px 12px 0;
  position: relative;
}

.editorial-quote::before {
  content: "“";
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 10px;
  opacity: 0.15;
  pointer-events: none;
}

/* Gözucu açılış kolajı */
.eye-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(76vh, 780px);
  min-height: 500px;
  overflow: hidden;
  background: #b9876d;
}
.eye-mosaic {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(8, minmax(0, 1fr));
  grid-template-areas:
    "a a a a b b b c c c d d"
    "a a a a b b b c c c d d"
    "a a a a e e e c c c d d"
    "f f f g g h h h h i i i"
    "f f f g g h h h h i i i"
    "j j j g g k k k k i i i"
    "j j j l l k k k k m m m"
    "j j j l l k k k k m m m";
}
.eye-mosaic-cell {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--tile-corners, 18%);
  background: var(--tile-skin, #d7b7a2);
  transform: scale(1.09) rotate(var(--tile-rotate, 0deg));
}
.eye-mosaic-cell:nth-child(1) { grid-area: a; --tile-corners: 18% 34% 13% 22% / 24% 13% 28% 11%; --tile-rotate: -3deg; z-index: 4; }
.eye-mosaic-cell:nth-child(2) { grid-area: b; --tile-corners: 31% 12% 24% 8% / 13% 26% 11% 25%; --tile-rotate: 2deg; z-index: 2; }
.eye-mosaic-cell:nth-child(3) { grid-area: c; --tile-corners: 9% 27% 18% 36% / 23% 10% 24% 14%; --tile-rotate: -2deg; z-index: 3; }
.eye-mosaic-cell:nth-child(4) { grid-area: d; --tile-corners: 26% 10% 33% 14% / 12% 28% 13% 25%; --tile-rotate: 3deg; z-index: 2; }
.eye-mosaic-cell:nth-child(5) { grid-area: e; --tile-corners: 35% 9% 19% 27% / 11% 22% 30% 14%; --tile-rotate: 1deg; z-index: 4; }
.eye-mosaic-cell:nth-child(6) { grid-area: f; --tile-corners: 11% 29% 13% 32% / 25% 12% 28% 9%; --tile-rotate: -2deg; z-index: 3; }
.eye-mosaic-cell:nth-child(7) { grid-area: g; --tile-corners: 24% 14% 31% 10% / 12% 27% 15% 22%; --tile-rotate: 2deg; z-index: 2; }
.eye-mosaic-cell:nth-child(8) { grid-area: h; --tile-corners: 14% 36% 9% 25% / 27% 11% 22% 14%; --tile-rotate: -1deg; z-index: 4; }
.eye-mosaic-cell:nth-child(9) { grid-area: i; --tile-corners: 32% 12% 23% 16% / 10% 24% 12% 30%; --tile-rotate: 3deg; z-index: 2; }
.eye-mosaic-cell:nth-child(10) { grid-area: j; --tile-corners: 13% 26% 35% 10% / 25% 11% 15% 28%; --tile-rotate: -2deg; z-index: 3; }
.eye-mosaic-cell:nth-child(11) { grid-area: k; --tile-corners: 28% 11% 17% 34% / 12% 27% 18% 10%; --tile-rotate: 2deg; z-index: 4; }
.eye-mosaic-cell:nth-child(12) { grid-area: l; --tile-corners: 10% 31% 16% 28% / 28% 13% 25% 9%; --tile-rotate: -3deg; z-index: 2; }
.eye-mosaic-cell:nth-child(13) { grid-area: m; --tile-corners: 22% 9% 34% 18% / 14% 30% 11% 24%; --tile-rotate: 1deg; z-index: 3; }
.eye-mosaic-cell:nth-child(5n + 1) { --tile-skin: #d7b7a2; }
.eye-mosaic-cell:nth-child(5n + 2) { --tile-skin: #bd927b; }
.eye-mosaic-cell:nth-child(5n + 3) { --tile-skin: #e1c3ad; }
.eye-mosaic-cell:nth-child(5n + 4) { --tile-skin: #a97862; }
.eye-mosaic-cell:nth-child(5n) { --tile-skin: #d2a78d; }
.eye-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; }
.eye-art { position: relative; width: 132%; height: 68%; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%; background: radial-gradient(ellipse at 50% 100%, rgba(56,42,34,.24), transparent 52%), #f4eadb; box-shadow: 0 4px 12px rgba(25,28,20,.24), inset 0 -9px 14px rgba(83,59,47,.16); }
.eye-art::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(52,37,32,.82), transparent 19%, transparent 75%, rgba(54,37,33,.2)); clip-path: polygon(0 0,100% 0,100% 28%,50% 10%,0 30%); }
.eye-art::after { content: ""; position: absolute; left: 50%; top: 48%; width: 38%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, #171e17 0 15%, #493321 17% 23%, var(--iris-color,#789263) 25% 52%, #483322 55% 59%, #a8845c 62% 66%, var(--iris-color,#789263) 68% 100%); box-shadow: 0 0 0 2px rgba(48,37,27,.4); }
.eye-mosaic-cell:nth-child(3n + 1) .eye-art { --iris-color: #789263; }
.eye-mosaic-cell:nth-child(3n + 2) .eye-art { --iris-color: #628394; }
.eye-mosaic-cell:nth-child(3n) .eye-art { --iris-color: #855b3d; }
.eye-hero-shade { position: absolute; z-index: 5; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(15,38,35,.88) 0%, rgba(15,38,35,.55) 27%, rgba(15,38,35,.08) 67%, transparent 100%); }
.eye-hero-copy { position: absolute; z-index: 6; left: clamp(24px, 7vw, 100px); right: 28px; bottom: clamp(34px, 7vh, 76px); max-width: 860px; color: var(--bg-color); }
.eye-hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: rgba(250,248,245,.92); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eye-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-color); box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.eye-hero-copy h1 { max-width: 860px; margin: 0 0 14px; color: #FAF8F5; font-family: 'Plus Jakarta Sans', Arial, sans-serif; font-size: clamp(42px, 5.8vw, 78px); line-height: .98; letter-spacing: -.075em; font-weight: 700; }
.eye-hero-copy h1 span:last-child { color: #E6D28E; font-family: 'Newsreader', Georgia, serif; font-weight: 400; letter-spacing: -.06em; }
.eye-hero-copy p { max-width: 520px; margin: 0; color: rgba(255,255,245,.92); font: 16px/1.6 'Newsreader', Georgia, serif; }
.weekly-intro { max-width: 820px; }
.weekly-eyebrow { color: var(--accent-color); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.weekly-intro h2 { max-width: 660px; margin: 13px 0 12px; font-family: 'Plus Jakarta Sans', Arial, sans-serif; font-size: clamp(30px,4vw,48px); line-height: 1; letter-spacing: -.065em; }
.weekly-intro h2 em { color: var(--accent-color); font-family: 'Newsreader', Georgia, serif; font-weight: 400; }
.weekly-intro > div:first-child > p { max-width: 660px; margin: 0; color: var(--text-muted); font: 16px/1.75 'Newsreader', Georgia, serif; }
.weekly-newsletter { max-width: 500px; margin-top: 23px; }
@media (max-width: 620px) {
  .eye-hero { height: min(75vh, 760px); min-height: 580px; }
  .eye-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(0, 1fr)); grid-template-areas: "a a b b c c" "a a b b c c" "a a d d c c" "e e d d f f" "e e d d f f" "g g h h f f" "g g h h i i" "j j h h i i" "j j k k l l" "j j k k l l" "m m k k l l" "m m k k l l"; }
  .eye-hero-copy { left: 22px; right: 22px; bottom: 30px; }
  .eye-hero-badge { margin-bottom: 13px; font-size: 8px; }
  .eye-hero-copy h1 { font-size: clamp(30px, 9vw, 48px); line-height: 1.02; margin-bottom: 11px; }
  .eye-hero-copy p { max-width: 345px; font-size: 14px; }
  .weekly-intro > div:first-child > p { font-size: 15px; }
}

/* Okuma Alanı Tipografi Stilleri */
.article-content {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.22rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}

.article-content p.lead {
  font-size: 1.38rem;
  line-height: 1.7;
  font-weight: 400;
  border-left: 3px solid var(--accent-color);
  padding-left: 1.25rem;
  margin-bottom: 2.25rem;
}

.article-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

/* Toast Bildirimi */
#toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 999;
}

#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Tasarım İnceleme Paneli (Design Showcase Tools) */
.design-lab-panel {
  background-color: var(--bg-card-subtle);
  border: 1px dashed var(--border-color);
  border-radius: 16px;
}
