/* Ahmet Zeybek blog — shared production styles */

.blog-page {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.blog-page main,
.blog-site-header,
.blog-footer { position: relative; z-index: 2; }

.blog-shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.blog-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(18, 20, 22, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.blog-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.blog-brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 165, 116, 0.38);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(196, 165, 116, 0.16), rgba(196, 165, 116, 0.03));
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.blog-brand-mark svg { width: 23px; height: 23px; }
.blog-brand > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.blog-brand strong { font-size: 15px; letter-spacing: -.01em; }
.blog-brand small { color: var(--text-muted); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }

.blog-nav nav { display: flex; align-items: center; gap: 6px; }
.blog-nav nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
}
.blog-nav nav a:hover,
.blog-nav nav a.active { color: var(--text-primary); background: rgba(255,255,255,.05); }
.blog-nav nav a.active { color: var(--accent); }

.blog-nav-call {
  padding: 11px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 700;
  transition: var(--transition);
}
.blog-nav-call:hover { border-color: var(--border-hover); color: var(--accent); }

.blog-page-hero {
  padding: clamp(72px, 10vw, 124px) 0 78px;
  border-bottom: 1px solid var(--border-color);
}

.blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.blog-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); }

.blog-page-hero h1 {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.055em;
}
.blog-page-hero h1 span { color: var(--text-secondary); }
.blog-page-hero > .blog-shell > p {
  max-width: 680px;
  margin-top: 26px;
  color: var(--text-secondary);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.blog-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}
.blog-hero-stats span {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: 100px;
  background: rgba(255,255,255,.025);
  color: var(--text-muted);
  font-size: 12px;
}
.blog-hero-stats strong { color: var(--text-primary); font-weight: 700; }

.blog-list-section { padding: 72px 0 100px; }
.blog-list-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 30px;
}
.blog-list-heading span { color: var(--accent); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.blog-list-heading h2 { margin-top: 5px; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.035em; }
.blog-list-heading > a { color: var(--text-secondary); font-size: 13px; font-weight: 600; }
.blog-list-heading > a:hover { color: var(--accent); }

.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.blog-list-grid .blog-card { min-width: 0; }
.blog-card-image { position: relative; isolation: isolate; }
.blog-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 25% 20%, rgba(196,165,116,.14), transparent 42%), linear-gradient(145deg, #202428, #17191b);
}
.blog-list-grid .blog-card-image svg {
  width: 82px;
  height: 82px;
  padding: 19px;
  border: 1px solid rgba(196,165,116,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.025);
  color: rgba(196,165,116,.7);
  transform: rotate(-4deg);
  transition: var(--transition);
}
.blog-list-grid .blog-card:hover .blog-card-image svg { transform: rotate(0) scale(1.04); color: var(--accent); border-color: rgba(196,165,116,.42); }
.blog-list-grid .blog-card-image::after {
  content: 'REHBER';
  position: absolute;
  right: 16px;
  bottom: 13px;
  color: rgba(255,255,255,.18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.blog-card-title a { color: inherit; }
.blog-card-link { margin-top: auto; }

.blog-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--text-muted);
  font-size: 12px;
}
.blog-breadcrumb a { color: var(--text-secondary); }
.blog-breadcrumb a:hover { color: var(--accent); }

.blog-post-page .blog-article {
  max-width: 820px;
  padding-top: 54px;
}
.blog-article-header {
  padding-bottom: 38px;
  border-bottom: 1px solid var(--border-color);
}
.blog-article-meta { flex-wrap: wrap; }
.blog-article-meta > span:not(.blog-card-category) { position: relative; padding-left: 13px; }
.blog-article-meta > span:not(.blog-card-category)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}
.blog-article-lead {
  max-width: 720px;
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.75;
}
.blog-content { padding-top: 6px; }
.blog-content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 14px 14px 0;
  background: rgba(196,165,116,.08);
  color: var(--text-primary);
  font-style: italic;
}
.blog-content code { padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.06); color: var(--accent); }

.blog-cta-box {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: linear-gradient(145deg, rgba(35,39,43,.98), rgba(26,29,32,.98));
  box-shadow: var(--shadow-card);
}
.blog-cta-box::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  top: -90px;
  border-radius: 50%;
  background: rgba(196,165,116,.08);
  filter: blur(4px);
}
.blog-cta-label { display: block; margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.blog-cta-box > * { position: relative; z-index: 1; }
.blog-action {
  display: inline-flex;
  justify-content: center;
  padding: 12px 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 750;
  transition: var(--transition);
}
.blog-action:hover { transform: translateY(-2px); }
.blog-action-wa { background: var(--whatsapp); color: #fff; }
.blog-action-wa:hover { background: var(--whatsapp-hover); color: #fff; }
.blog-action-call { background: var(--accent); color: #151515; }
.blog-action-call:hover { background: var(--accent-hover); color: #151515; }

.blog-footer { border-top: 1px solid var(--border-color); background: rgba(18,20,22,.72); }
.blog-footer-inner {
  min-height: 132px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px 30px;
}
.blog-footer-inner > div { display: flex; flex-direction: column; gap: 5px; }
.blog-footer strong { font-size: 15px; }
.blog-footer span,
.blog-footer p { color: var(--text-muted); font-size: 12px; }
.blog-footer a { color: var(--accent); font-size: 12px; font-weight: 700; }
.blog-footer p { grid-column: 1 / -1; padding-bottom: 22px; }

@media (max-width: 900px) {
  .blog-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-nav nav a:nth-child(2), .blog-nav nav a:nth-child(3) { display: none; }
}

@media (max-width: 640px) {
  .blog-shell { width: min(100% - 30px, 1160px); }
  .blog-nav { min-height: 66px; gap: 12px; }
  .blog-brand small, .blog-nav nav, .blog-nav-call { display: none; }
  .blog-brand::after { content: 'Blog'; color: var(--accent); font-size: 12px; font-weight: 700; margin-left: 4px; }
  .blog-page-hero { padding: 62px 0 54px; }
  .blog-page-hero h1 { font-size: clamp(38px, 13vw, 54px); }
  .blog-hero-stats { align-items: stretch; flex-direction: column; }
  .blog-hero-stats span { width: max-content; }
  .blog-list-section { padding: 52px 0 76px; }
  .blog-list-heading { align-items: flex-start; flex-direction: column; }
  .blog-list-grid { grid-template-columns: 1fr; }
  .blog-card-image { height: 170px; }
  .blog-post-page .blog-article { padding: 34px 16px 66px; }
  .blog-breadcrumb { margin-bottom: 28px; }
  .blog-article-header { margin-bottom: 30px; padding-bottom: 30px; }
  .blog-article-lead { font-size: 15px; }
  .blog-content { font-size: 15px; }
  .blog-content h2 { font-size: 21px; margin-top: 34px; }
  .blog-content h3 { font-size: 18px; }
  .blog-cta-box { padding: 24px 20px; }
  .blog-action { flex: 1 1 100%; }
  .blog-footer-inner { grid-template-columns: 1fr; padding: 30px 0; }
  .blog-footer p { grid-column: auto; padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page *, .blog-page *::before, .blog-page *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
