﻿/* ==========================================================================
   YENİ (25.11.2026): SEO rehber sayfalarının stili (RehberSayfalari\*.aspx, şablon: RehberSablonu.Master)
   - giris.css'in üzerine yüklenir; renkler, butonlar, üst menü ve alt bilgi oradan gelir.
   - Mobil öncelikli: önce telefon düzeni, sonra @media ile tablet ve masaüstü.
   - Okunabilirlik: metin sütunu en fazla ~760px (satır çok uzayınca okumak zorlaşır), yazı 17px.
   - Üzerine gelince (hover) efektleri yalnızca fareli cihazlarda çalışır (dokunmatikte takılı kalmasın).
   Bu kısım Mehmet Çelik tarafından değiştirildi.
   ========================================================================== */

/* ---------- 1) Sayfa başlığı (koyu bant) ---------- */
.rehber-ust {
    background: var(--lacivert);
    background-image: radial-gradient(900px 400px at 85% -10%, rgba(76, 201, 82, .22), transparent 60%);
    color: #cbd5e1;
    padding: calc(var(--ust-yukseklik) + 28px) 0 40px;
}
.rehber-ust .kapsayici { max-width: 860px; }
.rehber-ust h1 { color: #fff; font-size: clamp(1.75rem, 6vw, 2.75rem); font-weight: 800; margin: 14px 0 14px; }
.rehber-ozet { font-size: clamp(1.02rem, 2.8vw, 1.18rem); color: #cbd5e1; max-width: 720px; }
.rehber-tarih { margin: 0; font-size: .88rem; color: var(--metin-3); }

/* Yol (breadcrumb) */
.yol ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.yol li { display: flex; align-items: center; color: var(--metin-3); }
.yol li + li::before { content: "›"; margin: 0 10px; color: var(--metin-3); }
.yol a { color: #e2e8f0; padding: 10px 0; }               /* dikey boşluk: parmakla basma alanı büyüsün */
.yol a:hover { color: #fff; text-decoration: underline; }
.yol li[aria-current] { color: var(--yesil-acik); font-weight: 600; }

/* ---------- 2) Makale metni ---------- */
.makale { max-width: 760px; margin: 0 auto; padding: 40px 0 16px; font-size: 1.06rem; line-height: 1.75; color: var(--metin); }
.makale > :first-child { margin-top: 0; }
.makale h2 { font-size: clamp(1.4rem, 4.4vw, 1.85rem); font-weight: 800; margin: 2.1em 0 .6em; scroll-margin-top: calc(var(--ust-yukseklik) + 16px); }
.makale h3 { font-size: clamp(1.12rem, 3.4vw, 1.3rem); font-weight: 800; margin: 1.6em 0 .5em; }
.makale p { margin: 0 0 1.1em; color: #1e293b; }
.makale a:not(.btn) { color: var(--yesil-koyu); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.makale a:not(.btn):hover { color: var(--yesil); }
.makale strong, .makale b { color: var(--metin); }
/* giris.css listelerin işaretini kaldırıyor; makalede madde işaretleri geri gelir */
.makale ul, .makale ol { margin: 0 0 1.3em; padding-left: 1.4em; }
.makale ul { list-style: disc; }
.makale ol { list-style: decimal; }
.makale li { margin-bottom: .45em; padding-left: .2em; }
.makale li::marker { color: var(--yesil); font-weight: 700; }

/* İçindekiler kutusu */
.icindekiler { margin: 0 0 32px; padding: 20px 22px; border-radius: var(--radius); background: var(--zemin-2); box-shadow: inset 0 0 0 1px var(--cizgi); }
.icindekiler b { display: block; margin-bottom: 8px; font-size: .95rem; }
.makale .icindekiler ol { margin: 0; }
.makale .icindekiler a { display: inline-block; padding: 4px 0; font-weight: 600; text-decoration: none; }
.makale .icindekiler a:hover { text-decoration: underline; }

/* Bilgi / uyarı kutusu */
.not-kutu { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0; padding: 18px 20px; border-radius: var(--radius-sm); background: #f1fbf2; box-shadow: inset 3px 0 0 var(--yesil); }
.not-kutu .ikon { color: var(--yesil); width: 24px; height: 24px; margin-top: 3px; }
.not-kutu p { margin: 0; }
.not-kutu.uyari { background: #fff7ed; box-shadow: inset 3px 0 0 #f59e0b; }
.not-kutu.uyari .ikon { color: #d97706; }

/* Numaralı adım kartları */
.makale .adim-liste { list-style: none; padding: 0; counter-reset: rehberadim; display: grid; gap: 14px; }
.adim-liste > li { position: relative; margin: 0; padding: 18px 18px 18px 64px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--cizgi); counter-increment: rehberadim; }
.adim-liste > li::before {
    content: counter(rehberadim); position: absolute; left: 16px; top: 16px;
    width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--gradyan); color: #fff; font-weight: 800; font-size: .95rem;
}
.adim-liste > li b { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.adim-liste > li p { margin: 0; }

/* Karşılaştırma tablosu: masaüstünde tablo, telefonda her satır bir kart olur (yatay kaydırma olmasın) */
.kiyas-tablo { width: 100%; border-collapse: separate; border-spacing: 0; margin: 20px 0 28px; font-size: .98rem; }
.kiyas-tablo th, .kiyas-tablo td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--cizgi); }
.kiyas-tablo thead th { background: var(--lacivert); color: #fff; font-weight: 700; }
.kiyas-tablo thead th:first-child { border-top-left-radius: var(--radius-sm); }
.kiyas-tablo thead th:last-child { border-top-right-radius: var(--radius-sm); }
.kiyas-tablo tbody th { font-weight: 700; color: var(--metin); width: 24%; }
.kiyas-tablo td.iyi { background: #f1fbf2; }
@media (max-width: 699px) {
    .kiyas-tablo thead { display: none; }
    .kiyas-tablo, .kiyas-tablo tbody, .kiyas-tablo tr, .kiyas-tablo th, .kiyas-tablo td { display: block; width: auto; }
    .kiyas-tablo tr { margin-bottom: 14px; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--cizgi); overflow: hidden; }
    .kiyas-tablo tbody th { width: auto; background: var(--zemin-2); }
    .kiyas-tablo td { border-bottom: 0; }
    .kiyas-tablo td::before { content: attr(data-baslik); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--metin-2); margin-bottom: 2px; }
}

/* Soru-cevap: giris.css'teki .sss (details/summary) görünümü kullanılır; makale içinde boşluk ayarı */
.makale .sss-liste { margin: 16px 0 8px; }
.makale .sss p { margin: 0; }

/* ---------- 3) Demo çağrısı ---------- */
.rehber-cagri {
    max-width: 860px; margin: 28px auto 8px; padding: 28px 24px; border-radius: 22px;
    background: var(--lacivert); background-image: radial-gradient(600px 260px at 100% 0, rgba(76, 201, 82, .25), transparent 60%);
    color: #cbd5e1; display: grid; gap: 18px;
}
.rehber-cagri h2 { color: #fff; font-size: clamp(1.35rem, 4.4vw, 1.7rem); font-weight: 800; margin-bottom: .35em; }
.rehber-cagri p { margin: 0; }
.rehber-cagri-butonlar { display: flex; flex-wrap: wrap; gap: 12px; }
.rehber-cagri-butonlar .btn { flex: 1 1 200px; }

/* ---------- 4) İlgili rehberler ve rehber listesi kartları ---------- */
.ilgili { max-width: 1180px; padding-top: 48px; padding-bottom: 72px; }
.ilgili h2 { font-size: clamp(1.35rem, 4.4vw, 1.75rem); font-weight: 800; margin-bottom: 18px; }
.rehber-kartlar { display: grid; gap: 14px; }
.makale .rehber-kartlar { margin: 8px 0 24px; }
.rehber-kart {
    display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius);
    background: #fff; box-shadow: inset 0 0 0 1px var(--cizgi); color: var(--metin);
    transition: transform .2s ease, box-shadow .2s ease;
}
.makale a.rehber-kart { text-decoration: none; font-weight: 400; color: var(--metin); }
.rehber-kart b { font-size: 1.08rem; line-height: 1.35; }
.rehber-kart span { color: var(--metin-2); font-size: .95rem; line-height: 1.55; }
.rehber-kart i { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; color: var(--yesil-koyu); font-size: .92rem; }
.rehber-kart i .ikon { width: 16px; height: 16px; }
@media (hover: hover) {
    .rehber-kart:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(53, 171, 57, .45), var(--golge); }
}

/* ---------- 5) Duyarlı düzen ---------- */
@media (min-width: 600px) {
    .rehber-kartlar { grid-template-columns: repeat(2, 1fr); }
    .rehber-cagri { padding: 34px; }
}
@media (min-width: 820px) {
    .rehber-ust { padding: calc(var(--ust-yukseklik) + 48px) 0 56px; }
    .makale { padding-top: 56px; }
    .rehber-cagri { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 28px; }
}
@media (min-width: 1080px) {
    .ilgili .rehber-kartlar { grid-template-columns: repeat(3, 1fr); }
}
