/*
Theme Name: bir tıkta.
Theme URI: https://birtikta.com
Author: bir tıkta.
Author URI: https://birtikta.com
Description: WordPress & yapay zeka üzerine notlar — minimalist, dark mode destekli blog teması.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: birtikta
Tags: blog, two-columns, translation-ready, custom-menu, featured-images, threaded-comments, full-width-template
*/

/* =========================================================
   style.css — bir tıkta. Blog teması
   Font: DM Sans (komple). reset.css'ten SONRA yüklenir.
   İlk yazı: büyük resim üstte. Diğerleri: küçük resim solda.
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --text: #111114;
  --muted: #6b7280;
  --line: #ececef;
  --accent: #7c5cff;
  --accent-soft: #f1ecff;
  --accent-deep: #6d4bff;
  --container: 680px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ===================== DARK MODE ===================== */
[data-theme="dark"] {
  --bg: #0f0f12;
  --bg-soft: #17171c;
  --text: #f2f2f5;
  --muted: #9a9aa6;
  --line: #2a2a31;
  --accent: #9b80ff;
  --accent-soft: #221d39;
  --accent-deep: #b3a0ff;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background .3s var(--ease), color .3s var(--ease);
}

/* Arka plan dekoru (çok hafif ışıltı) */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% -10%, rgba(124, 92, 255, .10), transparent 70%),
    radial-gradient(40% 30% at 100% 0%, rgba(124, 92, 255, .05), transparent 60%);
  pointer-events: none;
}

/* Dar, ortalanmış kolon (sağ-sol boş) */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 920px; }

/* ===================== MASTHEAD ===================== */
.masthead { text-align: center; padding: 88px 0 30px; }

.logo { display: inline-block; line-height: 0; }
.logo-svg { width: 170px; height: auto; display: block; }
.logo-svg path { fill: var(--text); }              /* komple koyu */
.logo-svg .logo-dot-path { fill: var(--accent); }  /* nokta mor */
.logo-svg--mini { width: 96px; margin: 0 auto; }

.tagline { margin: 14px 0 0; color: var(--muted); font-size: 15px; }

/* Filtre çipleri */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chip {
  font-size: 13.5px; font-weight: 500;
  color: var(--muted); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { color: var(--text); border-color: var(--muted); }
.chip.is-active { color: var(--bg); background: var(--text); border-color: var(--text); }

/* Arama */
.search { position: relative; max-width: 360px; margin: 22px auto 0; }
.search-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; fill: none; stroke: var(--muted);
  stroke-width: 2; stroke-linecap: round; pointer-events: none;
}
.search input {
  width: 100%; font-size: 14.5px;
  padding: 11px 70px 11px 40px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--bg-soft); outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: var(--bg); }

/* Klavye kısayolu rozeti (ctrl K) */
.search-kbd {
  position: absolute;
  right: 8px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 3px;
  pointer-events: none;
}
.search-kbd .key {
  font-family: var(--font);
  font-size: 11px; font-weight: 600; line-height: 1;
  color: var(--muted);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 6px;
}
/* odaklanınca rozeti hafif vurgula */
.search input:focus ~ .search-kbd .key {
  color: var(--accent-deep);
  border-color: var(--accent);
}

/* ======================= FEED ======================= */
.feed { padding: 0 0 40px; }

/* Kategori sayfası başlığı + açıklama */
.category-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 4px 0 8px;
}
.category-desc {
  color: var(--muted);
  font-size: 15.5px;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.post {
  display: flex;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.post:first-child { padding-top: 4px; }
.post[hidden] { display: none; }   /* gizleme flex'i ezmeli */

/* Görsel kutusu (placeholder gradient + resim) */
.post-thumb {
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft));
}
.post-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.post:hover .post-thumb img { transform: scale(1.04); }

/* Küçük resim (soldaki yazılar) */
.post-thumb--small { width: 120px; height: 96px; }

.post-body { flex: 1 1 auto; min-width: 0; }

.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 8px;
}
.post-meta .tag {
  color: var(--accent-deep); background: var(--accent-soft);
  border-radius: 999px; padding: 3px 10px; font-weight: 600; font-size: 11.5px;
}
.post-meta .readtime::before { content: "•"; margin-right: 12px; color: var(--line); }

/* Okuma süresinden sonra: görüntülenme + yorum (ikonlu) */
.post-meta .meta-stat { display: inline-flex; align-items: center; gap: 5px; }
.post-meta .meta-stat svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.post-title { margin: 0 0 8px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; line-height: 1.32; }
.post-title a {
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--ease), color .2s var(--ease);
}
.post-title a:hover { color: var(--accent-deep); background-size: 100% 2px; }

.post-excerpt { margin: 0; color: var(--muted); font-size: 15px; }

/* İLK YAZI: büyük resim üstte, dikey yerleşim */
.post--featured { flex-direction: column; gap: 18px; }
.post--featured .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}
.post--featured .post-title { font-size: 28px; line-height: 1.25; }
.post--featured .post-excerpt { font-size: 16px; }

.no-results { text-align: center; color: var(--muted); padding: 48px 0; }

/* "Daha fazla yükle" butonu */
.load-more-wrap { text-align: center; padding: 28px 0 8px; }
.load-more {
  font-family: var(--font);
  font-size: 14px; font-weight: 600;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 26px;
  cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.load-more:hover { color: var(--accent-deep); border-color: var(--accent); }
.load-more:active { transform: translateY(1px); }

/* ==================== SINGLE (yazı detay) ==================== */
.single { padding: 4px 0 8px; }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 14px; margin-bottom: 20px;
  transition: color .2s var(--ease);
}
.back-link:hover { color: var(--accent-deep); }
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.single-title {
  font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1.18;
  margin: 14px 0 18px;
}

.single-author {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 22px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.author-info { display: flex; align-items: center; gap: 12px; }
.single-author .avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  object-fit: cover;
}
.single-author .who { font-size: 14px; line-height: 1.4; }
.single-author .who strong { font-weight: 600; color: var(--text); }
.single-author .who span { display: block; color: var(--muted); font-size: 12.5px; }

/* Paylaş */
.share { display: inline-flex; align-items: center; gap: 12px; }
.share-label { font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--muted); }
.share-icons { display: inline-flex; gap: 8px; }
.share-btn {
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); color: var(--text);
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.share-btn:hover { color: var(--bg); background: var(--text); border-color: var(--text); }
.share-btn svg { width: 15px; height: 15px; }

/* Modern tooltip (JS ile) */
.tooltip {
  position: fixed; z-index: 100;
  background: #18181b; color: #fff;
  font-family: var(--font);
  font-size: 12px; font-weight: 500; line-height: 1;
  padding: 7px 10px; border-radius: 8px;
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.tooltip.is-visible { opacity: 1; transform: translateY(0); }
.tooltip::after {
  content: ""; position: absolute;
  left: 50%; bottom: -3px; width: 8px; height: 8px;
  background: #18181b; transform: translateX(-50%) rotate(45deg);
  border-radius: 1px;
}

.single-cover {
  margin: 0 0 30px; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg-soft));
}
.single-cover img { width: 100%; height: 100%; object-fit: cover; }

.single-body { font-size: 17px; line-height: 1.8; }
.single-body > * + * { margin-top: 20px; }
.single-body h2 { font-size: 23px; font-weight: 700; letter-spacing: -.01em; margin-top: 38px; }
.single-body h3 { font-size: 19px; font-weight: 600; margin-top: 30px; }
.single-body a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.single-body ul, .single-body ol { padding-left: 22px; }
.single-body ul li { list-style: disc; margin-top: 8px; }
.single-body ol li { list-style: decimal; margin-top: 8px; }
.single-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 2px 0 2px 18px; color: var(--muted); font-size: 18px;
}
.single-body img { border-radius: 12px; }
.single-body code {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 6px; padding: 2px 6px; font-size: 14.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 38px; }
.single-tags a {
  font-size: 13px; color: var(--muted);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.single-tags a:hover { color: var(--accent-deep); border-color: var(--accent); }

/* İlgili yazılar */
.related { margin-top: 52px; padding-top: 28px; border-top: 1px solid var(--line); }
.related-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }

/* ==================== YORUMLAR ==================== */
.comments { margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line); }

.comments-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.comments-head h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.comments-head h2 .count { color: var(--accent-deep); }
.comments-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.comments-sort select {
  font-family: var(--font); font-size: 13.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 28px 7px 10px; cursor: pointer;
}

/* Ortak avatar (yorumlar) */
.c-avatar {
  border-radius: 50%; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted);
}
.c-avatar svg { width: 56%; height: 56%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Yorum formu */
.comment-form {
  display: flex; gap: 14px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 14px; padding: 18px; margin-bottom: 32px;
}
.comment-form .c-avatar { width: 44px; height: 44px; }
.comment-form .form-main { flex: 1 1 auto; min-width: 0; }
.comment-form textarea {
  width: 100%; min-height: 86px; resize: vertical;
  font-family: var(--font); font-size: 14.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.comment-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.comment-form .form-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.comment-form .form-note { color: var(--muted); font-size: 12.5px; }
.comment-submit {
  font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--text);
  border-radius: 10px; padding: 10px 22px; cursor: pointer;
  transition: opacity .2s var(--ease);
}
.comment-submit:hover { opacity: .85; }

/* Yorum listesi */
.comment-thread { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment { display: flex; gap: 12px; }
.comment + .comment { margin-top: 18px; }
.comment--reply { margin-left: 28px; padding-left: 18px; border-left: 2px solid var(--line); }
.comment .c-avatar { width: 40px; height: 40px; }
.comment--reply .c-avatar { width: 34px; height: 34px; }
.comment-main { flex: 1 1 auto; min-width: 0; }
.comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.comment-author { font-weight: 600; font-size: 14.5px; }
.comment-badge {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--accent); border-radius: 5px; padding: 2px 7px;
}
.comment-date { color: var(--muted); font-size: 12.5px; }
.comment-body { font-size: 15px; margin-bottom: 10px; }
.comment-actions { display: flex; align-items: center; gap: 18px; }
.comment-action {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font); font-size: 13px; color: var(--muted);
  background: none; border: 0; padding: 0; cursor: pointer;
  transition: color .2s var(--ease);
}
.comment-action:hover { color: var(--accent-deep); }
.comment-action.is-liked { color: var(--accent-deep); }
.comment-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.comments-more { text-align: center; margin-top: 24px; }

/* ==================== MODAL ==================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(0, 0, 0, .5);
  opacity: 0; transition: opacity .2s var(--ease);
}
.modal-overlay.is-open { opacity: 1; }
.modal-overlay[hidden] { display: none; }   /* gizleme flex'i ezmeli */
.modal {
  width: 100%; max-width: 380px; text-align: center;
  background: var(--bg); color: var(--text);
  border-radius: 18px; padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  transform: translateY(12px) scale(.98);
  transition: transform .2s var(--ease);
}
.modal-overlay.is-open .modal { transform: none; }
.modal-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-deep);
}
.modal-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.modal-text { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-bottom: 22px; }
.modal-btn {
  font-family: var(--font); font-size: 14px; font-weight: 600;
  color: var(--bg); background: var(--text);
  border-radius: 999px; padding: 11px 30px; cursor: pointer;
  transition: opacity .2s var(--ease);
}
.modal-btn:hover { opacity: .85; }

/* ==================== ARAMA SONUÇLARI ==================== */
.search-info {
  color: var(--muted); font-size: 15px; margin: 0;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}

/* ==================== 404 ==================== */
.notfound { text-align: center; padding: 30px 0 80px; }
.nf-code {
  font-size: 120px; font-weight: 700; line-height: 1; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nf-title { font-size: 28px; font-weight: 700; margin-top: 6px; }
.nf-text { color: var(--muted); font-size: 16px; margin-top: 10px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.nf-btn {
  font-size: 14px; font-weight: 600; color: var(--bg); background: var(--text);
  border: 1px solid var(--text); border-radius: 999px; padding: 11px 22px;
  transition: opacity .2s var(--ease), color .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.nf-btn:hover { opacity: .85; }
.nf-btn--ghost { color: var(--text); background: transparent; }
.nf-btn--ghost:hover { color: var(--accent-deep); border-color: var(--accent); opacity: 1; }

/* ==================== İLETİŞİM ==================== */
.contact { padding: 8px 0 48px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }

.contact-title { font-size: 32px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 12px; }
.contact-lead { color: var(--muted); font-size: 15.5px; line-height: 1.7; margin-bottom: 30px; }

.info-list { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ii-icon {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-deep);
}
.info-item .ii-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-item .ii-label { font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.info-item .ii-value { font-size: 15px; font-weight: 500; color: var(--text); }
a.ii-value { transition: color .2s var(--ease); }
a.ii-value:hover { color: var(--accent-deep); }
.info-social { display: flex; gap: 8px; margin-top: 30px; }

.contact-form-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.field {position: relative;margin-bottom: 14px;}
.field .f-icon {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  z-index: 9999;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font); font-size: 14.5px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px 12px 44px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.contact-submit {
  width: 100%; font-family: var(--font); font-size: 15px; font-weight: 600;
  color: var(--bg); background: var(--text);
  border-radius: 10px; padding: 13px; cursor: pointer;
  transition: opacity .2s var(--ease);
}
.contact-submit:hover { opacity: .88; }
.form-success { margin-top: 14px; text-align: center; color: var(--accent-deep); font-size: 14px; font-weight: 500; }

/* Contact Form 7 uyumu (tasarımı korur; CF7 yoksa etkisizdir) */
.contact-form-card .wpcf7-form-control-wrap { display: block; }
.contact-form-card .wpcf7-spinner { display: block; margin: 10px auto 0; }
.contact-form-card .wpcf7-response-output {
  margin: 14px 0 0; padding: 0; border: 0;
  text-align: center; font-size: 14px; font-weight: 500; color: var(--accent-deep);
}
.contact-form-card .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; color: #e5484d; }
.contact-form-card .wpcf7 form.invalid .wpcf7-response-output,
.contact-form-card .wpcf7 form.unaccepted .wpcf7-response-output { color: #e5484d; }

/* ============= SAĞ ÜST: menü ============= */
.top-right {
  position: fixed;
  top: 18px; right: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 18px;
}
.top-link, .wp-cta {
  font-size: 14px; font-weight: 500;
  color: var(--text);
  transition: color .2s var(--ease);
}
.top-link:hover, .wp-cta:hover { color: var(--accent-deep); }
.wp-cta { font-weight: 600; }   /* WordPress Yönetimi biraz öne çıksın */

/* ============= SOL ÜST: tema + dil ============= */
.top-left {
  position: fixed;
  top: 18px; left: 24px; z-index: 50;
  display: inline-flex; align-items: center; gap: 16px;
}
.theme-toggle {
  color: var(--text); line-height: 0; display: inline-flex;
  transition: color .2s var(--ease);
}
.theme-toggle:hover { color: var(--accent-deep); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* Dil değiştirici (WP tema entegrasyonundan sonra doldurulacak) */
.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: color .2s var(--ease);
}
.lang-switch:hover { color: var(--accent-deep); }
.lang-switch svg { width: 13px; height: 13px; }

/* ====================== FOOTER ====================== */
.site-footer { text-align: center; padding: 56px 0 64px; color: var(--muted); font-size: 13px; }

.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 24px 48px; margin-bottom: 36px; text-align: left;
}
.footer-col { min-width: 140px; }
.footer-col h4 {
  margin: 0 0 14px; font-size: 11.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text);
}
.footer-col li { margin-bottom: 9px; }
.footer-col a {
  font-size: 14px; color: var(--muted);
  transition: color .2s var(--ease);
}
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom { padding-top: 28px; border-top: 1px solid var(--line); }
.logo-mini { display: block; font-size: 18px; margin: 0 0 10px; }

/* ====================== REVEAL ====================== */
[data-reveal] { opacity: 0; transform: translateY(14px); }
[data-reveal].is-visible {
  opacity: 1; transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 600px) {
  .masthead { padding: 56px 0 28px; }
  .logo { font-size: 28px; }
  .post-thumb--small { width: 92px; height: 80px; }
  .post-title { font-size: 17px; }
  .post--featured .post-title { font-size: 23px; }
  .category-title { font-size: 27px; }
  .single-title { font-size: 27px; }
  .single-body { font-size: 16px; }
  .nf-code { font-size: 84px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-title { font-size: 26px; }

  .top-right { top: 14px; right: 14px; gap: 12px; }
  .top-link, .wp-cta { font-size: 12px; }
  .top-left { top: 14px; left: 14px; gap: 12px; }
  .footer-nav { gap: 28px; text-align: center; }
  .footer-col { min-width: 0; flex: 1 1 40%; }
}
