/* Sancaktepe Avukatlık Bürosu — iç sayfa yardımcı sınıfları.
   Jurex şablonunun CSS'inden (custom.css + custom-overrides.css) SONRA yüklenir;
   global eleman seçicileri (body/container/header/footer/hero/nav) buraya
   KASITLI OLARAK konulmadı — onlar şablonun kendi stilinde kalır (marka rengi
   zaten custom-overrides.css içinde :root --primary-color/--accent-color
   olarak ezildi, CSS custom property kullanan bir şablon). Burada sadece
   ş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 {
  --st-brand: #5C1A2B;
  --st-brand-dark: #3E1020;
  --st-gold: #C9A227;
  --st-dark: #16242F;
  --st-offwhite: #F4F5EF;
  --st-text-muted: #666666;
  --st-border: #E5E1DA;
  --st-shadow-card: 0 10px 28px rgba(22, 36, 47, 0.08);
  --st-shadow-btn: 0 6px 14px rgba(92, 26, 43, 0.28);
  --st-whatsapp: #26C064;
}

/* Sayfa şablonlarındaki satır-içi style="" öznitelikleri bu takma adları kullanır. */
:root { --text-dark: var(--st-dark); --text-muted: var(--st-text-muted); --offwhite: var(--st-offwhite); --bronze: var(--st-gold); }

/* ===== Genel bölüm sarmalayıcı (iç sayfa jenerik kullanım) ===== */
.section { padding: 100px 0; }
.section-white { background: #fff; }
.section-offwhite { background: var(--st-offwhite); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 14px; color: var(--st-dark); }
.section-sub { font-size: 16px; color: var(--st-text-muted); line-height: 1.6; }
@media (max-width: 767px) { .section { padding: 56px 0; } .section-title { font-size: 26px; } }

/* ===== Sayfa başlığı şeridi (Jurex'in page-header'ı zaten dark-section+parallaxie kullanıyor) ===== */
.page-header-box .breadcrumb { margin-top: 10px; }

/* ===== Değerler/ilkeler grid'i (4 sütun, ör. Hakkımızda) ===== */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.values-grid .value-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--st-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.values-grid h3 { font-size: 17px; margin-bottom: 8px; color: var(--st-dark); }
.values-grid p { font-size: 13.5px; color: var(--st-text-muted); line-height: 1.55; }

/* ===== Blog grid (iç sayfa — Jurex'in kendi .post-item'ı yoksa) ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .card-grid { grid-template-columns: 1fr; } }

/* ===== İki sütunlu içerik düzeni (hizmet/makale/araç detayı) ===== */
.content-layout { display: flex; gap: 48px; align-items: flex-start; }
.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; } .content-sidebar { width: 100%; } }

.sidebar-card { background: #fff; border: 1px solid var(--st-border); border-radius: 6px; padding: 24px; }
.sidebar-card h4 { font-size: 17px; margin-bottom: 12px; color: var(--st-dark); }
.sidebar-card ul li { margin-bottom: 10px; font-size: 13.5px; color: var(--st-text-muted); }
.sidebar-card ul li a:hover { color: var(--st-brand); }
.sidebar-cta { background: var(--st-brand); 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(--st-brand); font-weight: 500; font-size: 13.5px; display: block; margin-bottom: 10px; }

.lead-form-box { background: var(--st-offwhite); border-radius: 8px; padding: 32px; width: 380px; flex-shrink: 0; }
.lead-form-box h3 { font-size: 20px; margin-bottom: 18px; color: var(--st-dark); }
@media (max-width: 900px) { .lead-form-box { width: 100%; } }

.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--st-dark); }
.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--st-border); border-radius: 5px; padding: 13px 14px; font-size: 14px;
  background: #fff; width: 100%; font-family: var(--default-font);
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.form-row .form-field { flex: 1; min-width: 200px; }

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

/* ===== Hakkımızda — yazı/görsel ikili yerleşim ===== */
.about-split { display: flex; align-items: center; gap: 64px; }
.about-split .text { flex: 1; }
.about-split .text h2 { font-size: 28px; line-height: 1.28; margin-bottom: 18px; color: var(--st-dark); }
.about-split .text p { color: var(--st-text-muted); font-size: 15px; line-height: 1.68; }
.about-split img { flex: 1; height: 340px; border-radius: 6px; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .about-split { flex-direction: column; } }

/* ===== Formlar (iletişim) — Jurex'in kendi .contact-form/.form-group'u zaten var,
   burada yalnızca form-note geri bildirimi ve küçük takviyeler tanımlanır ===== */
.form-note { font-size: 13px; margin-top: 14px; padding: 12px 14px; border-radius: 4px; }
.form-note.success { background: #F1E9DA; color: #7A5B12; }
.form-note.error { background: #F7E6E6; color: #8A2B2B; }

/* ===== 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(--st-brand); color: #fff; font-weight: 700; font-size: 16px;
  text-align: center; border-radius: 6px; padding: 28px 24px; box-shadow: var(--st-shadow-card);
  transition: transform .15s ease; display: block;
}
.tool-btn:hover { transform: translateY(-2px); color: #fff; }

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

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

/* ===== 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(--st-dark); }
.rich-text h3 { font-size: 18px; margin: 24px 0 10px; color: var(--st-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(--st-brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text a:hover { color: var(--st-brand-dark); }
.rich-text em { color: var(--st-text-muted); }
.article-body > p:first-child { font-size: 16.5px; }

/* ===== 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(--st-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(--st-whatsapp); }
.pill-contact { background: var(--st-dark); }
.pill-call { background: var(--st-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; }
.scrollup { bottom: 86px; }
@media (max-width: 560px) { .scrollup { bottom: 100px; } }

/* ===== S.S.S. (native details/summary — hizmet/araç/SSS detay sayfalarında) ===== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--st-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(--st-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--st-brand); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .answer { color: var(--st-text-muted); font-size: 14.5px; line-height: 1.62; margin-top: 10px; }

.faq-group-title { font-size: 22px; margin-bottom: 4px; color: var(--st-dark); }
.faq-group { margin-bottom: 36px; }

@media (max-width: 767px) {
  .content-layout { gap: 32px; }
  .calc-card { padding: 22px 18px; }
  body { padding-bottom: 0; }
  .scrollup { bottom: 24px; }
}
