/* ═══════════════════════════════════════════════════════════════
   Hascozum — Ortak Site Stili (Blog / Bilgi Sayfaları)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --accent: #2d6a9f;
  --accent2: #1a8a6e;
  --text: #1e293b;
  --text2: #475569;
  --text3: #94a3b8;
  --bg: #f7f9fc;
  --bg2: #ffffff;
  --border: #e2e8f0;
  --font: 'Segoe UI', system-ui, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

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

/* ── ÜST MENÜ ── */
.site-header {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d6a9f 50%, #1a8a6e 100%);
  color: #fff;
  padding: 16px 24px;
}
.site-header .inner {
  max-width: 960px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.site-header .logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800; color: #fff; text-decoration: none;
}
.site-header .logo span { font-size: 24px; }
.site-header nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-header nav a {
  color: rgba(255,255,255,.85); font-size: 14px; font-weight: 600;
}
.site-header nav a:hover { color: #fff; text-decoration: none; }

/* ── İÇERİK ── */
.container {
  max-width: 760px; margin: 0 auto; padding: 40px 24px 80px;
}
.container.wide { max-width: 960px; }

h1.page-title { font-size: 30px; font-weight: 800; margin-bottom: 8px; letter-spacing:-0.5px; }
.page-subtitle { color: var(--text2); font-size: 15px; margin-bottom: 32px; }

article h2 { font-size: 22px; font-weight: 800; margin: 32px 0 12px; letter-spacing:-0.3px; }
article h3 { font-size: 17px; font-weight: 700; margin: 24px 0 10px; }
article p { margin-bottom: 14px; font-size: 15.5px; color: var(--text); }
article ul, article ol { margin: 0 0 14px 24px; }
article li { margin-bottom: 6px; font-size: 15.5px; }
article strong { color: var(--text); }

.meta {
  display: flex; gap: 14px; align-items: center; color: var(--text3);
  font-size: 13px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.meta .tag {
  background: rgba(45,106,159,.1); color: var(--accent);
  padding: 3px 10px; border-radius: 12px; font-weight: 700; font-size: 12px;
}

/* ── BLOG KARTLARI ── */
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 20px; margin-top: 24px;
}
.blog-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; text-decoration: none; color: var(--text);
  display: flex; flex-direction: column; gap: 8px; transition: all .15s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,.08); text-decoration:none; }
.blog-card .tag {
  background: rgba(45,106,159,.1); color: var(--accent);
  padding: 3px 10px; border-radius: 12px; font-weight: 700; font-size: 11px;
  align-self: flex-start;
}
.blog-card h3 { font-size: 16px; font-weight: 800; line-height:1.4; }
.blog-card p { font-size: 13.5px; color: var(--text2); line-height:1.5; }
.blog-card .read-more { font-size: 13px; font-weight: 700; color: var(--accent); margin-top: auto; }

/* ── FOOTER ── */
.site-footer {
  background: #1e293b; color: rgba(255,255,255,.7);
  padding: 40px 24px; font-size: 13px;
}
.site-footer .inner {
  max-width: 960px; margin: 0 auto;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
}
.site-footer .col h4 { color: #fff; font-size: 14px; margin-bottom: 10px; font-weight:700; }
.site-footer .col a { display: block; color: rgba(255,255,255,.65); margin-bottom: 6px; font-size: 13px; }
.site-footer .col a:hover { color: #fff; text-decoration: none; }
.site-footer .bottom {
  max-width: 960px; margin: 24px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1); text-align: center; color: rgba(255,255,255,.4);
}

/* ── ÇEREZ ONAY BANNER ── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #1e293b; color: #fff; padding: 16px 24px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; box-shadow: 0 -4px 20px rgba(0,0,0,.15);
  font-size: 13.5px;
}
#cookie-banner p { margin: 0; max-width: 600px; color: rgba(255,255,255,.85); }
#cookie-banner a { color: #7dd3fc; }
#cookie-banner button {
  background: var(--accent); color: #fff; border: none; border-radius: 8px;
  padding: 10px 22px; font-weight: 700; font-size: 13px; cursor: pointer; white-space:nowrap;
}
#cookie-banner button:hover { background: #245580; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  h1.page-title { font-size: 24px; }
  .site-header nav { gap: 12px; }
  .site-footer .inner { flex-direction: column; }
}
