/* =========================================================
   AUTO GOLD GROUP — Alt sayfalar (hizmet detay, blog, hakkımızda)
   style.css üzerine gelir
   ========================================================= */

/* Page hero — açık zemin, sağda fotoğraf (anasayfa hero ile aynı dil) */
.page-hero {
  position: relative; overflow: hidden;
  background: var(--bg-2); color: var(--black);
  min-height: 440px; display: flex; align-items: center;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 36%, rgba(255,255,255,.86) 50%, rgba(255,255,255,.25) 64%, rgba(255,255,255,0) 78%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 18%); }
.page-hero .container { position: relative; z-index: 2; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.page-hero h1 { color: var(--black); font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; max-width: 700px; margin-bottom: 16px; line-height: 1.05; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero .lead { color: var(--text-2); max-width: 600px; }
.page-hero--compact { min-height: 320px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: .5; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-actions .btn-ghost { background: #fff !important; border-color: var(--line-2) !important; color: var(--black) !important; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero-chips span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 0.8rem; font-weight: 600; color: var(--text-2); box-shadow: var(--shadow-sm); }

/* Two column detail layout */
.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 16px; }
.side-card { padding: 26px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.side-card--gold { background: var(--gold-bg); border-color: var(--gold-line); }
.side-card--black { background: #111; color: #fff; border-color: #111; }
.side-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.side-card--black h3 { color: #fff; }
.side-card p { font-size: 0.9rem; color: var(--text-2); margin-bottom: 18px; line-height: 1.6; }
.side-card--black p { color: rgba(255,255,255,.7); }
.side-card .btn { width: 100%; }
.side-card .btn + .btn { margin-top: 10px; }
.side-list { display: grid; gap: 10px; }
.side-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; transition: all .2s; }
.side-list a:hover, .side-list a.active { border-color: var(--gold-line); background: var(--gold-bg); }
.side-list a::after { content: '→'; color: var(--gold); }
.side-trust { display: grid; gap: 10px; }
.side-trust div { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; color: var(--text-2); }
.side-trust b { font-family: var(--font-head); color: var(--gold); font-size: 1.15rem; min-width: 64px; }

/* Prose (blog + service body) */
.prose { font-size: 1.05rem; line-height: 1.8; color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.75rem; font-weight: 800; margin-top: 2em; color: var(--black); }
.prose h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1.6em; color: var(--black); }
.prose h2 + p, .prose h3 + p { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 800; }
.prose ol { list-style: decimal; }
.prose strong { color: var(--black); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: 14px; box-shadow: var(--shadow); margin: 2em 0; }
.prose blockquote { padding: 22px 26px; border-left: 4px solid var(--gold-bright); background: var(--gold-bg); border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--black); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; margin: 1.5em 0; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; }
.prose th { font-family: var(--font-head); background: var(--bg-2); color: var(--black); }
.prose .note { padding: 18px 22px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); font-size: 0.95rem; }
.prose .note b { color: var(--black); }

.prose-lead { font-size: 1.2rem; color: var(--text-2); line-height: 1.75; }

/* Feature grid */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.feat { padding: 22px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--gold-bg); border: 1px solid var(--gold-line); display: grid; place-items: center; color: var(--gold); margin-bottom: 14px; }
.feat-icon svg { width: 20px; height: 20px; }
.feat h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; }
.feat p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; }

/* Coverage / package table */
.cov { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 36px 0; }
.cov-card { padding: 26px 24px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); position: relative; }
.cov-card.hl { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim), var(--shadow); }
.cov-badge { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--gold-bright); color: #111; font-family: var(--font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cov-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.cov-card .cov-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 16px; }
.cov-card ul { display: grid; gap: 7px; margin-bottom: 18px; }
.cov-card li { font-size: 0.88rem; color: var(--text-2); display: flex; gap: 8px; }
.cov-card li::before { content: '✓'; color: var(--gold); font-weight: 800; }
.cov-card .cov-w { font-family: var(--font-head); font-weight: 700; color: var(--gold); font-size: 0.85rem; }

/* Inline stats strip */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0; }
.stat-strip div { padding: 20px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); text-align: center; }
.stat-strip b { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--black); line-height: 1; }
.stat-strip small { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 6px; }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-4); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 0.74rem; color: var(--muted); margin-bottom: 10px; }
.post-meta b { color: var(--gold); font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.post-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; line-height: 1.25; }
.post-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; flex: 1; }
.post-card .service-link { color: var(--gold); margin-top: 16px; }
.post-card--featured { grid-column: span 3; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .thumb { aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-body { padding: 40px; justify-content: center; }
.post-card--featured h3 { font-size: 1.9rem; }

/* Article */
.article-head { max-width: 820px; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; font-size: 0.82rem; color: var(--muted); }
.article-meta b { color: var(--gold); font-family: var(--font-head); letter-spacing: .1em; text-transform: uppercase; }
.article-hero-img { border-radius: 18px; overflow: hidden; margin: 40px 0; box-shadow: var(--shadow-lg); aspect-ratio: 21/9; }
.article-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.toc { padding: 22px 24px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); margin-bottom: 36px; }
.toc b { display: block; font-family: var(--font-head); font-size: 0.75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: decimal; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.92rem; }
.toc a:hover { color: var(--gold); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 0.85rem; color: var(--muted); }
.share a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-weight: 600; color: var(--black); }
.share a:hover { border-color: var(--gold); color: var(--gold); }

/* Related */
.related { margin-top: 70px; }
.related h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 22px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value { padding: 28px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value b { display: block; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.value h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--line-2); padding-left: 28px; margin-top: 30px; }
.tl { position: relative; padding-bottom: 28px; }
.tl::before { content: ''; position: absolute; left: -35px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold-bright); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--gold-line); }
.tl b { font-family: var(--font-head); color: var(--gold); font-size: 0.85rem; letter-spacing: .1em; }
.tl h3 { font-size: 1.1rem; font-weight: 700; margin: 4px 0 4px; }
.tl p { color: var(--muted); font-size: 0.92rem; }

/* Static FAQ on subpages */
.faq-static { display: grid; gap: 10px; margin-top: 30px; }

@media (max-width: 1000px) {
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; }
  .feat-grid, .cov, .values { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .post-card--featured { grid-column: span 2; grid-template-columns: 1fr; }
  .post-card--featured .thumb { min-height: 240px; }
  .post-card--featured .post-body { padding: 28px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-hero::after { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 60%, rgba(255,255,255,.7) 100%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 30%); }
  .page-hero img { object-position: 78% center; }
}
@media (max-width: 620px) {
  .page-hero { min-height: 340px; }
  .feat-grid, .cov, .values, .blog-grid { grid-template-columns: 1fr; }
  .post-card--featured { grid-column: span 1; }
  .prose { font-size: 1rem; }
  .article-hero-img { aspect-ratio: 16/10; }
}

/* Blog filtre çubuğu + yan menü rehber listesi */
.blog-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.blog-filter .chip { padding: 9px 16px; font-size: .85rem; }
.post-card.is-hidden { display: none; }
.side-list--posts a { font-size: .84rem; font-weight: 600; line-height: 1.3; padding: 10px 12px; }
