/* ==========================================================================
   YABIZ SERVICE DETAIL & LEGAL PAGES - MASTER STYLESHEET (detail.css)
   Lüks Klinik Estetiği, Breadcrumb, 2 Kolonlu Sticky Layout, FAQ Akordiyon
   %100 Mobil Uyum & Sıfır Taşma Garantisi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* Global Reset & Break Word */
*, *::before, *::after {
  box-sizing: border-box;
}

/* ==========================================================================
   1. Detail Hero / Üst Başlık & Breadcrumb Alanı
   ========================================================================== */
.yabiz-detail-hero {
  background: linear-gradient(180deg, #ede8df 0%, #f7f5f0 100%);
  padding: 3rem 0 2.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.yabiz-detail-hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  width: 100%;
}

.yabiz-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  font-size: 0.82rem;
  color: #78716c;
  margin-bottom: 1.25rem;
  list-style: none;
  padding: 0;
  overflow-wrap: break-word;
}

.yabiz-breadcrumb a {
  color: #78716c;
  text-decoration: none;
  transition: color 0.2s ease;
}

.yabiz-breadcrumb a:hover {
  color: #a88839;
}

.yabiz-breadcrumb-separator {
  color: #a8a29e;
  font-size: 0.75rem;
}

.yabiz-breadcrumb-current {
  color: #a88839;
  font-weight: 600;
}

.yabiz-detail-tag {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a37a4c;
  margin-bottom: 0.75rem;
  display: block;
}

.yabiz-detail-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 600;
  color: #242220;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  overflow-wrap: break-word;
}

.yabiz-detail-lead {
  font-size: 1rem;
  line-height: 1.7;
  color: #57534e;
  max-width: 760px;
  margin-bottom: 1.75rem;
  overflow-wrap: break-word;
}

.yabiz-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.yabiz-detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #292524;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.yabiz-detail-chip i {
  color: #c5a85c;
  font-size: 0.95rem;
}

/* ==========================================================================
   2. İki Kolonlu İçerik & Sticky Kenar Çubuğu
   ========================================================================== */
.yabiz-detail-body {
  padding: 3.5rem 0 5rem 0;
  background-color: #ffffff;
  width: 100%;
  overflow-x: hidden;
}

.yabiz-detail-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-start;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .yabiz-detail-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 4rem;
  }
}

/* Sol Kolon İçerik */
.yabiz-detail-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.yabiz-detail-main-img-box {
  width: 100%;
  max-height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.12);
}

.yabiz-detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yabiz-article-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
  width: 100%;
}

.yabiz-article-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: #1e293b;
  position: relative;
  padding-bottom: 0.75rem;
  overflow-wrap: break-word;
}

.yabiz-article-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: #c5a85c;
  border-radius: 2px;
}

.yabiz-article-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #475569;
  overflow-wrap: break-word;
}

/* 4 Aşamalı Uygulama Kartları */
.yabiz-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 640px) {
  .yabiz-steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.yabiz-step-card {
  background-color: #faf9f6;
  border: 1px solid #ede8df;
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

.yabiz-step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border-color: #c5a85c;
}

.yabiz-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #c5a85c;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.yabiz-step-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.yabiz-step-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #64748b;
}

/* Avantajlar & Özellikler Listesi */
.yabiz-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.yabiz-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background-color: #fcfbf9;
  border: 1px solid #f1ede4;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  min-width: 0;
}

.yabiz-benefit-icon {
  font-size: 1.2rem;
  color: #c5a85c;
  flex-shrink: 0;
  margin-top: 2px;
}

.yabiz-benefit-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #334155;
  overflow-wrap: break-word;
}

.yabiz-benefit-text strong {
  color: #0f172a;
}

/* Sıkça Sorulan Sorular (Accordion) */
.yabiz-faq-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
  width: 100%;
}

.yabiz-faq-item {
  border: 1px solid #ede8df;
  border-radius: 10px;
  overflow: hidden;
  background-color: #faf9f6;
  transition: border-color 0.25s ease;
  width: 100%;
}

.yabiz-faq-item.open {
  border-color: #c5a85c;
  background-color: #ffffff;
}

.yabiz-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e293b;
  cursor: pointer;
  outline: none;
}

.yabiz-faq-btn i {
  font-size: 1.2rem;
  color: #a88839;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.yabiz-faq-item.open .yabiz-faq-btn i {
  transform: rotate(180deg);
}

.yabiz-faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #64748b;
}

.yabiz-faq-item.open .yabiz-faq-content {
  max-height: 500px;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

/* ==========================================================================
   3. Sağ Kolon: Sticky Randevu & Bilgi Kartı
   ========================================================================== */
.yabiz-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .yabiz-detail-sidebar {
    position: sticky;
    top: 90px;
  }
}

.yabiz-sidebar-card {
  background-color: #9e5353;
  background: linear-gradient(145deg, #a45656 0%, #8f4747 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 12px 28px rgba(143, 71, 71, 0.22);
  width: 100%;
  min-width: 0;
}

.yabiz-sidebar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.yabiz-sidebar-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1.5rem;
}

.yabiz-sidebar-btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #ffffff;
  color: #8f4747 !important;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  width: 100%;
}

.yabiz-sidebar-btn-call:hover {
  background-color: #fafaf9;
  transform: translateY(-2px);
}

.yabiz-sidebar-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: #25d366;
  color: #ffffff !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.yabiz-sidebar-btn-wa:hover {
  background-color: #22bf5b;
  transform: translateY(-2px);
}

.yabiz-sidebar-info-card {
  background-color: #faf9f6;
  border: 1px solid #ede8df;
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
  min-width: 0;
}

.yabiz-sidebar-info-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a37a4c;
  margin-bottom: 1rem;
}

.yabiz-sidebar-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: #475569;
}

.yabiz-sidebar-info-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.yabiz-sidebar-info-list i {
  color: #c5a85c;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* ==========================================================================
   4. Yasal / KVKK Sayfası Tipografisi & Tablo Güvenliği
   ========================================================================== */
.yabiz-legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem 1.25rem;
  line-height: 1.8;
  color: #334155;
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.yabiz-legal-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  margin: 1.5rem 0;
  border-radius: 12px;
  border: 1px solid #ede8df;
  background: #ffffff;
}

.yabiz-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
  min-width: 480px;
}

.yabiz-legal-table th,
.yabiz-legal-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #ede8df;
  overflow-wrap: break-word;
}
