/* Çekmeköy Avukatlık Bürosu — iç sayfa yardımcı sınıfları.
   Lawmaker (Colorlib/Technext) şablonunun CSS'inden SONRA yüklenir. Şablonda
   CSS custom property yok; marka rengi zaten assets/lawmaker/css/style.css
   içinde #2f89fc -> #1A4FD6 (kraliyet mavisi) ve #3f52e3 -> #5B3FE3 (indigo)
   olarak sed ile değiştirildi. Burada yalnızca şablonda bulunmayan, kendi
   özelliklerimize (hesaplama araçları, iki sütunlu makale/hizmet detay
   sayfaları, form kartları, S.S.S.) özgü sınıflar tanımlanır. */

:root {
  --ck-brand: #1A4FD6;
  --ck-brand2: #5B3FE3;
  --ck-dark: #1b1b2f;
  --ck-offwhite: #F5F6FA;
  --ck-text-muted: #828282;
  --ck-border: #E5E6EE;
  --ck-shadow-card: 0 10px 28px rgba(27, 27, 47, 0.08);
  --ck-whatsapp: #26C064;
  --text-dark: #1b1b2f;
  --text-muted: #828282;
  --offwhite: #F5F6FA;
  --bronze: #1A4FD6;
}

/* ===== Klavye erişilebilirliği — Lawmaker şablonunda :focus kuralları yalnız
   :hover ile aynı renk geçişini tekrarlıyor (görünür bir halka yok, bazı
   yerlerde outline:none var); burada şablonun marka rengiyle evrensel bir
   :focus-visible halkası ekleniyor. Fareyle tıklamada (:focus ama değil
   :focus-visible) görünmez, yalnız klavye gezinmesinde çıkar. ===== */
:focus-visible {
  outline: 2px solid var(--ck-brand);
  outline-offset: 2px;
}

/* ===== İç sayfa banner (Lawmaker'ın tam-yükseklik hero'su yerine kısa, obje
   fotoğraflı başlık şeridi — her iç sayfada tam ekran hero ağır kaçardı) ===== */
.page-banner {
  position: relative; padding: 170px 0 70px; background-size: cover; background-position: center;
}
.page-banner .overlay-gradient { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(27,27,47,.88) 0%, rgba(26,79,214,.72) 100%); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-weight: 700; margin-bottom: 10px; }
.page-banner .breadcrumbs { color: rgba(255,255,255,.85); font-size: 14px; }
.page-banner .breadcrumbs a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Mobil: iç sayfa banner'ı kısalt (anasayfa hariç — anasayfa .page-banner
   kullanmıyor). Masaüstü padding'i (170px 0 70px) .ftco-nav'ın (position:absolute,
   mobilde ~140px yüksekliğe kadar çıkabilen, menü gizliyken logo 2 satıra kayabilir)
   altında kalacak kadar geniş bırakılmıştı; mobilde bu çok fazla boşluk yaratıyordu.
   Başlık 2 satırla sınırlanır (line-clamp), breadcrumb tam okunur kalır. ===== */
@media (max-width: 767px) {
  .page-banner .breadcrumbs { font-size: 13px; line-height: 1.4; }
}
@media (min-width: 576px) and (max-width: 767px) {
  .page-banner { padding: 125px 0 32px; }
  .page-banner h1 {
    font-size: 24px; line-height: 1.25; margin-bottom: 8px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
}
@media (max-width: 575px) {
  .page-banner { padding: 155px 0 12px; }
  .page-banner h1 {
    font-size: 21px; line-height: 1.25; margin-bottom: 6px;
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  }
  .page-banner .breadcrumbs { font-size: 12px; }
}

/* ===== Genel bölüm sarmalayıcı ===== */
.section-white { background: #fff; }
.section-offwhite { background: var(--ck-offwhite); }

/* ===== İki sütunlu içerik düzeni (hizmet/makale/araç detayı) ===== */
.content-layout { display: flex; gap: 48px; align-items: flex-start; padding: 80px 0; }
.content-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.content-sidebar { width: 340px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 900px) { .content-layout { flex-direction: column; gap: 32px; } .content-sidebar { width: 100%; } }

.sidebar-card { background: #fff; border: 1px solid var(--ck-border); border-radius: 6px; padding: 24px; box-shadow: var(--ck-shadow-card); }
.sidebar-card h4 { font-size: 17px; margin-bottom: 12px; color: var(--ck-dark); }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card ul li { margin-bottom: 10px; font-size: 13.5px; color: var(--ck-text-muted); }
.sidebar-card ul li a { color: inherit; }
.sidebar-card ul li a:hover { color: var(--ck-brand); }
.sidebar-cta { background: var(--ck-dark); border-radius: 6px; padding: 28px 24px; }
.sidebar-cta h4 { color: #fff; font-size: 17px; margin-bottom: 10px; }
.sidebar-cta .phone { color: #fff; font-weight: 700; font-size: 15px; }
.toc-link { color: var(--ck-brand); font-weight: 500; font-size: 13.5px; display: block; margin-bottom: 10px; }

/* ===== Hakkımızda — yazı/görsel ikili yerleşim ===== */
.about-split { display: flex; align-items: center; gap: 56px; }
.about-split .text { flex: 1; }
.about-split img { flex: 1; height: 360px; border-radius: 6px; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .about-split { flex-direction: column; } }

/* ===== Hesaplama araçları ===== */
.tools-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .tools-grid { grid-template-columns: 1fr; } }
.tool-btn {
  background: var(--ck-dark); color: #fff; font-weight: 700; font-size: 16px;
  text-align: center; border-radius: 6px; padding: 28px 24px; box-shadow: var(--ck-shadow-card);
  transition: transform .15s ease, background .15s ease; display: block;
}
.tool-btn:hover { transform: translateY(-2px); background: var(--ck-brand); color: #fff; }

.calc-card { background: var(--ck-offwhite); border-radius: 8px; padding: 32px; }
.calc-card h3 { font-size: 22px; margin-bottom: 18px; color: var(--ck-dark); }
.calc-result { background: #fff; border: 1px solid var(--ck-border); border-radius: 6px; padding: 24px; margin-top: 20px; font-size: 15px; }
.calc-result strong { color: var(--ck-brand2); font-size: 22px; }
.calc-disclaimer { background: #EDEFFB; border-left: 3px solid var(--ck-brand); padding: 14px 18px; border-radius: 4px; font-size: 13px; color: var(--ck-text-muted); margin-top: 18px; }

.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.form-row .form-group { flex: 1; min-width: 200px; }

/* ===== Etiket / sayfalama ===== */
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-pill { background: #EDEFFB; color: var(--ck-brand2); border-radius: 100px; padding: 6px 14px; font-size: 12.5px; font-weight: 500; }
.pagination-simple { text-align: center; color: var(--ck-text-muted); font-size: 14px; padding: 20px 0 20px; }
.pagination-simple a { font-weight: 600; color: var(--ck-brand); }
.pagination-simple strong { color: var(--ck-dark); }

/* ===== Zengin metin (makale, hizmet ve araç açıklamaları) ===== */
.rich-text p { margin: 0 0 16px; }
.rich-text h2 { font-size: 22px; margin: 34px 0 14px; color: var(--ck-dark); }
.rich-text h3 { font-size: 18px; margin: 24px 0 10px; color: var(--ck-dark); }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 22px; }
.rich-text li { margin-bottom: 8px; }
.rich-text a { color: var(--ck-brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text a:hover { color: var(--ck-brand2); }
.rich-text em { color: var(--ck-text-muted); }

/* ===== S.S.S. (native details/summary) ===== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--ck-border); padding: 18px 0; }
.faq-item summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ck-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--ck-brand); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .answer { color: var(--ck-text-muted); font-size: 14.5px; line-height: 1.62; margin-top: 10px; }
.faq-group-title { font-size: 22px; margin-bottom: 4px; color: var(--ck-dark); }
.faq-group { margin-bottom: 36px; }

/* ===== Formlar — form-note geri bildirimi ===== */
.form-note { font-size: 13px; margin-top: 14px; padding: 12px 14px; border-radius: 4px; }
.form-note.success { background: #EAF7EE; color: #1E7A3B; }
.form-note.error { background: #FCEAEA; color: #B23434; }

.placeholder-block {
  background: #EFF0F5; border: 1px dashed #C7C9D9; border-radius: 4px;
  color: #6f7285; font-style: italic; font-size: 13px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; min-height: 90px;
}

/* ===== Kayan "hızlı erişim" çubuğu ===== */
.float-bar {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 100px; box-shadow: var(--ck-shadow-card);
  padding: 10px; display: flex; gap: 10px; z-index: 500;
}
.float-bar .pill { border-radius: 100px; padding: 12px 20px; color: #fff; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.pill-whatsapp { background: var(--ck-whatsapp); }
.pill-contact { background: var(--ck-dark); }
.pill-call { background: var(--ck-brand); }
@media (max-width: 560px) {
  .float-bar { left: 12px; right: 12px; transform: none; justify-content: center; }
  .float-bar .pill { flex: 1 1 0; justify-content: center; min-width: 0; min-height: 44px; padding: 0 10px; }
  .float-bar .pill span { display: none; }
  .float-bar .pill i { font-size: 17px; }
}
body { padding-bottom: 86px; }
@media (max-width: 767px) { body { padding-bottom: 0; } }

/* ===== Dokunma hedefleri (mobil, >= ~40-44px) =====
   Şablonun kendi menüsü (.ftco-nav .menu-1) zaten masaüstünde geniş padding'e
   sahip (30px 15px); 992px altında tamamen gizleniyor (ayrı bir konu, bu
   geçişin kapsamı dışında — rapora not edildi). Burada yalnız bizim kendi
   sınıflarımızdaki küçük metin bağlantıları büyütülüyor. Negatif margin
   dikey akışı değiştirmez, yalnız tıklama/dokunma alanını büyütür. */
@media (max-width: 767px) {
  .page-banner .breadcrumbs a { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; }
  .ftco-footer-links li > a { display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; }
  .pagination-simple a, .pagination-simple strong {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; margin: -10px 0;
  }
}
