/* ============================================================
   Dilbet Giriş — Dilbet İnceleme ve Rehber Blogu
   Tema: Dilbet marka renkleri (koyu zemin + turkuaz #3BC9CC)
   ============================================================ */

:root {
  --bg: #0d141b;
  --bg-2: #111a22;
  --surface: #16202a;
  --surface-2: #1b2732;
  --surface-hover: #21303d;
  --border: #263441;
  --border-soft: #1e2b36;
  --text: #e8eef4;
  --text-muted: #93a1b0;
  --text-dim: #6b7a89;
  --accent: #3bc9cc;
  --accent-strong: #2fb0b3;
  --accent-dim: rgba(59, 201, 204, 0.12);
  --accent-glow: rgba(59, 201, 204, 0.35);
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(59, 201, 204, 0.08), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(59, 201, 204, 0.05), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  font-size: 16.5px;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

img { max-width: 100%; display: block; }

::selection { background: var(--accent); color: #082a2b; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 20, 27, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.brand img.logo { height: 30px; width: auto; }

.brand .brand-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 201, 204, 0.3);
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 8px;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--text); background: var(--surface); }
.main-nav a.active { color: var(--accent); }

.nav-cta {
  background: linear-gradient(135deg, #3bc9cc, #2fa6b8);
  color: #06292b !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-cta:hover { filter: brightness(1.08); background: linear-gradient(135deg, #3bc9cc, #2fa6b8); }

/* ---------- Layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Hero (home) ---------- */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}
.hero .hero-badge {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 201, 204, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero h1 .accent { color: var(--accent); }
.hero p.lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 26px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3bc9cc, #2fa6b8);
  color: #06292b;
  font-weight: 800;
  font-size: 16px;
  padding: 13px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 24px var(--accent-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.hero-cta:hover { transform: translateY(-2px); filter: brightness(1.08); color: #06292b; }

/* ---------- Category filter ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 30px 0 26px;
}
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 22px;
  padding-bottom: 60px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 201, 204, 0.4);
  box-shadow: var(--shadow);
}

.card-thumb {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(59, 201, 204, 0.22), rgba(59, 201, 204, 0.03) 55%),
    var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-thumb .thumb-icon { font-size: 44px; opacity: 0.9; }
.card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.card:hover .card-img { transform: scale(1.05); }

.article-hero {
  width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 6px 0 26px;
  display: block;
  border: 1px solid rgba(59, 201, 204, 0.18);
}

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }

.card-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.card-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 10px;
}
.card:hover .card-title { color: var(--accent); }
.card-title a { color: inherit; }
.card-excerpt {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.card-meta .read-time::before { content: "⏱ "; }
.card-meta .read-more { color: var(--accent); font-weight: 600; }

/* ---------- Article page ---------- */
.article-wrap { padding: 40px 0 60px; }
.article-main { max-width: 780px; margin: 0 auto; }

.breadcrumb {
  font-size: 13.5px;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 7px; opacity: 0.5; }

.article-header { margin-bottom: 30px; }
.article-header .cat-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(59, 201, 204, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(26px, 4.5vw, 38px);
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 14px;
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Prose */
.prose { font-size: 17px; color: #d6dfe8; }
.prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  line-height: 1.3;
}
.prose h3 { font-size: 20px; font-weight: 700; color: var(--text); margin: 28px 0 10px; }
.prose p { margin-bottom: 16px; }
.prose strong { color: var(--text); font-weight: 700; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 34px 0;
}
.prose blockquote {
  border-left: 4px solid var(--accent);
  background: var(--accent-dim);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text);
  margin: 0 0 18px;
}

/* FAQ special styling */
.prose .faq-q { margin-top: 22px; margin-bottom: 6px; }
.prose .faq-q strong { color: var(--accent); font-size: 17.5px; }

/* CTA box */
.cta-box {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(59, 201, 204, 0.14), rgba(59, 201, 204, 0.04));
  border: 1px solid rgba(59, 201, 204, 0.35);
  border-radius: var(--radius);
  padding: 26px 28px;
  text-align: center;
}
.cta-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; color: var(--text); }
.cta-box p { color: var(--text-muted); font-size: 15px; margin-bottom: 18px; }
.cta-box .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3bc9cc, #2fa6b8);
  color: #06292b;
  font-weight: 800;
  font-size: 15.5px;
  padding: 12px 26px;
  border-radius: 11px;
  box-shadow: 0 5px 20px var(--accent-glow);
  transition: transform 0.15s ease, filter 0.15s ease;
}
.cta-box .cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #06292b; }
.cta-box .cta-note { font-size: 12.5px; color: var(--text-dim); margin-top: 12px; }

/* Tags */
.article-tags { margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags .tag {
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  padding: 5px 12px;
  border-radius: 999px;
}

/* Related */
.related { margin-top: 44px; }
.related h2 { font-size: 22px; font-weight: 800; margin-bottom: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.related-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: block;
}
.related-card:hover { border-color: rgba(59, 201, 204, 0.4); transform: translateY(-2px); }
.related-card .rc-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.7px; color: var(--accent); display: block; margin-bottom: 6px; }
.related-card .rc-title { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.35; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-2);
  padding: 44px 0 28px;
  margin-top: 40px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}
.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin-top: 12px; max-width: 340px; }
.footer-brand img.logo { height: 26px; width: auto; }
.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text);
  margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 14.5px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--accent); }

.footer-disclaimer {
  border-top: 1px solid var(--border-soft);
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--text-dim);
  line-height: 1.6;
}
.footer-disclaimer .age-badge {
  display: inline-block;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  width: 30px; height: 30px;
  line-height: 27px;
  text-align: center;
  font-weight: 800;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 22px; }
  .header-inner { padding: 10px 16px; }
  .hero { padding: 44px 0 28px; }
  .prose { font-size: 16px; }
}

/* ---------- Kategori sayfaları ---------- */
.cat-crumb { margin: 22px 0 0; }
.cat-head { padding: 26px 0 8px; }
.cat-head h1 { font-size: 34px; margin: 8px 0 12px; }
.cat-others { padding: 10px 0 60px; }
.cat-others h2 { font-size: 20px; margin-bottom: 16px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-pill {
  padding: 9px 16px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.cat-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
