/*
Theme Name: Finansal Dedektif
Theme URI: https://finansaldedektif.com
Author: Finansal Dedektif
Description: Kişisel finans ve öğrenme yolculuğu teması. Sarı-siyah kimlik, Gutenberg uyumlu, modüler yapı.
Version: 2.0
License: GNU General Public License v2
Text Domain: finansal-dedektif
*/

:root {
  --black: #0a0a0a;
  --gold: #F5C518;
  --gold-dark: #9a7800;
  --gold-pale: #FFF8DC;
  --gold-muted: #FDF3C0;
  --cream: #FAFAF5;
  --white: #ffffff;
  --ink: #111111;
  --muted: #5a5a4e;
  --border: #e2ddc8;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Serif 4', serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 900px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem,3vw,2rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

.site-container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── NAVİGASYON ── */
#masthead { background: var(--black); position: sticky; top: 0; z-index: 999; border-bottom: 2px solid var(--gold); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.site-branding a { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-box { width: 36px; height: 36px; background: var(--gold); border-radius: 4px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 15px; color: var(--black); flex-shrink: 0; }
.site-title-text { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.site-title-text span { color: var(--gold); }
#site-navigation { flex: 1; display: flex; justify-content: center; }
#primary-menu { display: flex; list-style: none; gap: 1.8rem; margin: 0; padding: 0; }
#primary-menu a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #bbb; transition: color 0.2s; }
#primary-menu a:hover, #primary-menu .current-menu-item > a { color: var(--gold); }
.nav-cta { background: var(--gold); color: var(--black) !important; padding: 8px 18px; border-radius: 4px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; white-space: nowrap; margin-left: 2rem; flex-shrink: 0; }
.nav-cta:hover { background: #d4a800 !important; color: var(--black) !important; }
.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 12px; font-family: var(--font-mono); font-size: 11px; cursor: pointer; border-radius: 2px; }

/* ── HERO ── */
.hero-section { background: var(--black); padding: 5rem 1.5rem 4rem; position: relative; overflow: hidden; }
.hero-section::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(245,197,24,0.04) 39px,rgba(245,197,24,0.04) 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(245,197,24,0.04) 39px,rgba(245,197,24,0.04) 40px); }
.hero-inner { max-width: var(--max-width); margin: 0 auto; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(245,197,24,0.1); border: 1px solid rgba(245,197,24,0.25); color: var(--gold); padding: 6px 14px; border-radius: 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-section h1 { color: #fff; margin-bottom: 1.2rem; }
.hero-section h1 em { color: var(--gold); font-style: normal; }
.hero-sub { color: #999; font-size: 1rem; max-width: 560px; margin-bottom: 2.5rem; font-weight: 300; line-height: 1.9; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── BUTONLAR ── */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--gold); color: var(--black); padding: 12px 26px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; transition: background 0.2s; text-decoration: none; }
.btn-primary:hover { background: #d4a800; color: var(--black); }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.2); color: #ccc; padding: 12px 26px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; transition: all 0.2s; text-decoration: none; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }


/* ── BÖLÜM BAŞLIKLARI ── */
.section-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 0.5rem; }
.section-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); margin-bottom: 0.3rem; }
.section-sub { color: var(--muted); font-weight: 300; font-size: 0.95rem; }
.section-header { margin-bottom: 2rem; }
.section-divider { height: 1px; background: var(--border); margin: 3.5rem 0; }

/* ── HAKKIMDA STRİP ── */
.about-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 3.5rem 1.5rem; }
.about-strip-inner { max-width: var(--max-width); margin: 0 auto; }
.about-strip h2 { margin-bottom: 1rem; }
.about-strip p { color: var(--muted); font-weight: 300; max-width: 620px; margin-bottom: 0.8rem; }
.about-tag { display: inline-flex; align-items: center; gap: 6px; margin-top: 1.5rem; font-family: var(--font-mono); font-size: 11px; color: var(--gold-dark); background: var(--gold-muted); padding: 6px 14px; border-radius: 2px; }

/* ── KART GRİD ── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 1.2rem; }
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 1.5rem; transition: border-color 0.2s,transform 0.2s; display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.card-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dark); background: var(--gold-muted); padding: 3px 8px; border-radius: 2px; display: inline-block; margin-bottom: 0.9rem; align-self: flex-start; }
.post-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--ink); line-height: 1.35; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--gold-dark); }
.post-card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; font-weight: 300; flex: 1; }
.card-footer-meta { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--border); font-family: var(--font-mono); font-size: 11px; color: #999; }

/* ── ŞEFFAFLIK BLOĞU ── */
.transparency-block { background: var(--black); border-radius: 4px; padding: 2.5rem; position: relative; overflow: hidden; }
.transparency-block::after { content: 'ŞEFFAF'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%) rotate(90deg); font-family: var(--font-display); font-size: 3rem; font-weight: 900; color: rgba(245,197,24,0.05); pointer-events: none; letter-spacing: 0.2em; }
.tb-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
.tb-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.tb-key { font-family: var(--font-mono); font-size: 10px; color: #555; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.tb-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1.2; }
.tb-val.gold { color: var(--gold); }
.tb-val.dim { color: #666; }
.tb-note { font-size: 12px; color: #444; margin-top: 3px; }

/* ── YAKINDA ── */
.coming-soon { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 3rem; text-align: center; }
.coming-soon h3 { font-size: 1.1rem; color: var(--ink); margin-bottom: 0.5rem; }
.coming-soon p { font-size: 13.5px; color: var(--muted); font-weight: 300; max-width: 400px; margin: 0 auto; }
.cs-badge { display: inline-block; margin-top: 1rem; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; background: var(--gold-muted); color: var(--gold-dark); padding: 4px 14px; border-radius: 2px; }

/* ── TEKİL YAZI ── */
.single-post-wrap { max-width: 680px; margin: 0 auto; padding: 3rem 1.5rem; }
.post-header { margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); padding-bottom: 2rem; }
.post-category-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); background: var(--gold-muted); padding: 4px 10px; border-radius: 2px; display: inline-block; margin-bottom: 1rem; }
.post-header h1 { margin-bottom: 1rem; }
.post-meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: flex; gap: 1.5rem; flex-wrap: wrap; }
.entry-content { font-size: 1.05rem; line-height: 1.9; }
.entry-content h2 { margin: 2.5rem 0 1rem; }
.entry-content h3 { margin: 2rem 0 0.8rem; }
.entry-content p { margin-bottom: 1.4rem; color: var(--ink); }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: 1rem 1.5rem; margin: 2rem 0; background: var(--gold-pale); border-radius: 0 4px 4px 0; font-style: italic; color: var(--muted); }
.entry-content ul, .entry-content ol { margin: 1rem 0 1.4rem 1.5rem; }
.entry-content li { margin-bottom: 0.4rem; }
.entry-content a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-muted); }
.entry-content a:hover { border-color: var(--gold); }
.entry-content code { font-family: var(--font-mono); font-size: 0.85em; background: var(--gold-muted); padding: 2px 6px; border-radius: 2px; color: var(--gold-dark); }

/* ── ARŞİV ── */
.archive-wrap { max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 1.5rem; }
.archive-header { margin-bottom: 2.5rem; border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; }
.archive-header h1 { font-size: 2rem; margin-top: 0.3rem; }
.archive-desc { color: var(--muted); font-weight: 300; margin-top: 0.5rem; font-size: 0.95rem; }

/* ── HAKKIMDA SAYFASI ── */
.about-page-hero { background: var(--black); padding: 5rem 1.5rem 4rem; position: relative; overflow: hidden; }
.about-page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg,transparent,transparent 39px,rgba(245,197,24,0.04) 39px,rgba(245,197,24,0.04) 40px),repeating-linear-gradient(90deg,transparent,transparent 39px,rgba(245,197,24,0.04) 39px,rgba(245,197,24,0.04) 40px); }
.about-page-hero-inner { max-width: 720px; margin: 0 auto; position: relative; }
.about-page-hero h1 { color: #fff; margin-bottom: 1.5rem; }
.about-page-hero h1 em { color: var(--gold); font-style: normal; }
.about-page-hero p { color: #999; font-size: 1rem; font-weight: 300; line-height: 1.9; max-width: 560px; }
.about-body { max-width: 720px; margin: 0 auto; padding: 3.5rem 1.5rem; }
.about-block { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--border); }
.about-block:last-child { border-bottom: none; margin-bottom: 0; }
.about-block-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1rem; }
.about-block p { color: var(--muted); font-weight: 300; line-height: 1.9; margin-bottom: 0.8rem; }
.about-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 1rem; margin-top: 1.5rem; }
.about-card { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 1.4rem; }
.about-card-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.about-card h3 { font-size: 1rem; color: var(--ink); margin-bottom: 0.5rem; }
.about-card p { font-size: 13px; color: var(--muted); font-weight: 300; line-height: 1.7; margin: 0; }
.about-transparency { background: var(--black); border-radius: 4px; padding: 2.5rem; margin-bottom: 3rem; }
.about-transparency p { color: #888; font-weight: 300; line-height: 1.9; margin-bottom: 1.5rem; }
.social-btn { display: inline-flex; align-items: center; background: var(--black); color: var(--gold) !important; font-family: var(--font-mono); font-size: 12px; padding: 12px 20px; border-radius: 4px; letter-spacing: 0.05em; transition: background 0.2s; border: 1px solid rgba(245,197,24,0.3); }
.social-btn:hover { background: #1a1a1a; }

/* ── FOOTER ── */
#colophon { background: var(--black); padding: 3rem 1.5rem; margin-top: 4rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand p { color: #4a4a4a; font-size: 13px; margin-top: 8px; font-weight: 300; line-height: 1.8; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #555; margin-bottom: 1rem; font-weight: 400; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: #4a4a4a; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom p { color: #333; font-family: var(--font-mono); font-size: 11px; }
.footer-bottom span { color: var(--gold); }

/* ── SAYFALAMA ── */
.nav-links { display: flex; gap: 0.5rem; margin-top: 2rem; }
.nav-links a, .nav-links span { font-family: var(--font-mono); font-size: 12px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 2px; color: var(--ink); }
.nav-links a:hover { border-color: var(--gold); color: var(--gold-dark); }
.nav-links .current { background: var(--gold); color: var(--black); border-color: var(--gold); }

/* ── RESPONSİVE ── */
@media (max-width: 768px) {
  #primary-menu { display: none; }
  #primary-menu.is-open { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; background: var(--black); padding: 1.5rem; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.08); z-index: 998; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .tb-grid { grid-template-columns: 1fr 1fr; }
  .hero-section { padding: 3rem 1.5rem; }
  .about-page-hero { padding: 3rem 1.5rem; }
}
/* ── BÜLTEN SAYFASI ── */
.bulten-page-wrap { max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 1.5rem; }
.bulten-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; margin-bottom: 3rem; border-top: 3px solid var(--gold); }
.bf-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 1.5rem; }

/* CF7 form stili */
.wpcf7-form { display: flex; flex-direction: column; gap: 1rem; }
.wpcf7-form label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.3rem; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 2px; font-family: var(--font-body); font-size: 15px; background: var(--cream); color: var(--ink); outline: none; transition: border-color 0.2s; }
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus { border-color: var(--gold); }
.wpcf7-form input[type="submit"] { background: var(--gold); color: var(--black); border: none; padding: 13px 28px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 2px; cursor: pointer; transition: background 0.2s; align-self: flex-start; }
.wpcf7-form input[type="submit"]:hover { background: #d4a800; }