/* Ümraniye Avukatlık Bürosu — iç sayfa yardımcı sınıfları.
   Ariclaw (ThemeWagon) şablonunun CSS'inden SONRA yüklenir. Marka rengi
   #4B2142 (koyu patlıcan moru — bu seride ilk kez kullanılan renk ailesi)
   style.css içinde sed ile #ab7636/#d7af7e yerine değiştirildi. */

:root {
  --um-brand: #4B2142;
  --um-brand-dark: #331530;
  --um-dark: #2A1E33;
  --um-text-muted: #737373;
  --um-offwhite: #f7f5f3;
  --um-border: #e6e7e9;
  --um-shadow-card: 0 10px 28px rgba(42, 30, 51, 0.1);
  --um-whatsapp: #26C064;
  --text-dark: #212529;
  --text-muted: #737373;
  --offwhite: #f7f5f3;
}

.eyebrow-label { display: block; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--um-brand); }

/* ===== Simge + metin satırı (çalışma alanları, ilkeler listesi) ===== */
.service-row { display: flex; gap: 16px; align-items: flex-start; }
.service-row .icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--um-offwhite); color: var(--um-brand); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.service-row h3 { font-size: 17px; margin-bottom: 6px; }
.service-row p { font-size: 14px; color: var(--um-text-muted); margin: 0; }

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

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

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

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

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

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

/* ===== 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: #212529; }
.rich-text h3 { font-size: 18px; margin: 24px 0 10px; color: #212529; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 22px; }
.rich-text li { margin-bottom: 8px; }
.rich-text a { color: var(--um-brand); text-decoration: underline; text-underline-offset: 3px; }
.rich-text em { color: var(--um-text-muted); }

/* ===== S.S.S. (native details/summary) ===== */
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--um-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: #212529; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--um-brand); font-size: 20px; flex-shrink: 0; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .answer { color: var(--um-text-muted); font-size: 14.5px; line-height: 1.62; margin-top: 10px; }
.faq-group-title { font-size: 22px; margin-bottom: 4px; color: #212529; }
.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: #EFE6EC; color: #331530; }
.form-note.error { background: #FCEAEA; color: #B23434; }

.placeholder-block {
  background: #F0EFEC; border: 1px dashed #CFCAC2; border-radius: 4px;
  color: #726d64; 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(--um-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(--um-whatsapp); }
.pill-contact { background: var(--um-dark); }
.pill-call { background: var(--um-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; } }

/* ===== Mobil UX cilası (Tasarım/UX fazı) =====
   includes/page-banner.php anasayfa DIŞINDAKİ her sayfada render ediliyor;
   ariclaw/style.css'te .breadcrumb .breadcrumb_iner sabit height:450px
   tanımlıyor ve bu dosya ariclaw'ın kendi mobil kırılımlarında (575/767px)
   yükseklik düşürmüyordu — mobilde banner viewport'un %65-85'ini kaplıyordu.
   Bu dosya header.php'de ariclaw/style.css'ten SONRA yüklendiği için aynı
   özgüllükteki (.breadcrumb .breadcrumb_iner) kural kademede üstün gelir;
   ariclaw'ın kendi 575 / 576-767px kırılım kalıbı izlendi. */
@media (max-width: 575px) {
  .breadcrumb .breadcrumb_iner { height: 200px; }
}
@media only screen and (min-width: 576px) and (max-width: 767px) {
  .breadcrumb .breadcrumb_iner { height: 260px; }
}

/* Breadcrumb linkleri ("Anasayfa // ...") dokunma hedefi >= 44px olsun;
   negatif dikey boşluk satır içi (inline) görünümü bozmaz. */
@media (max-width: 767px) {
  .breadcrumb .breadcrumb_iner_item p a {
    display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0;
  }
}

/* Mobil üst menü linkleri: ariclaw'ın "padding:5px 15px !important" +
   miras alınan line-height:12px kombinasyonu dokunma hedefini ~22px'e
   düşürüyordu; flex + min-height ile >= 44px'e çıkarıyoruz. */
@media (max-width: 991px) {
  .main_menu .main-menu-item .nav-item .nav-link {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    line-height: 1.3 !important;
  }
}

/* Klavye ile gezinme için odak göstergesi: şablonda (ariclaw + bu site
   katmanı) hiçbir :focus/:focus-visible kuralı yoktu. */
:focus-visible {
  outline: 2px solid var(--um-brand, #4B2142);
  outline-offset: 2px;
}
