/* =====================================================================
 *  BRANDAFT - HIZMET MODELLERI BLOGU
 * =====================================================================
 *
 *  Antalya ve saglik sayfalarindaki "hizmet modelleri" akordeonu.
 *  Temadaki ba-sector-cards.css ile ayni sinif adlarini kullaniyor
 *  ama tasarimi farkli (ustten cizgili kart, [open] durumu), o yuzden
 *  ayri dosya. ba-sector-cards.css SONRASINDA yuklenmelidir.
 *
 *  16 Kasim 2026: bu CSS sayfalarin Elementor HTML widget'i icinde
 *  <style> olarak duruyordu. Tek kopyaya indirildi, registry'ye
 *  baglandi. Marka renkleri ba-ortak.css belirteclerinden geliyor;
 *  buraya sabit renk yazma.
 * ===================================================================== */

/* ---------------------------------------------------------------------
 *  bolum
 *  Sayfalar: antalya, saglik
 * ------------------------------------------------------------------ */
  :root {
    --ba-sect-primary: var( --ba-mavi );
    --ba-sect-accent: var( --ba-turuncu );
    --ba-sect-bg: #ffffff;
    --ba-sect-card-bg: #fdfdfd;
    --ba-sect-border: #eef2f6;
    --ba-sect-text: #222222;
  }

  .ba-health-models-section {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 15px;
    box-sizing: border-box;
    font-family: inherit;
    color: var(--ba-sect-text);
    line-height: 1.6;
  }

  .ba-health-models-header {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
  }

  .ba-health-models-header h2 {
    color: var(--ba-sect-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.25;
  }

  .ba-health-models-header p {
    font-size: 1.02rem;
    color: #333333;
    margin: 0 0 12px 0;
  }

  .ba-health-models-header p:last-child {
    margin-bottom: 0;
  }

  /* Grid Layout */
  .ba-sect-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }

  /* Card Style */
  .ba-sect-card {
    background: var(--ba-sect-card-bg);
    border: 1px solid var(--ba-sect-border);
    border-top: 4px solid var(--ba-sect-primary);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
  }

  .ba-sect-card[open] {
    border-top-color: var(--ba-sect-accent);
    background: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  }

  .ba-sect-summary {
    list-style: none;
    cursor: pointer;
    position: relative;
  }

  .ba-sect-summary::-webkit-details-marker {
    display: none;
  }

  .ba-sect-header-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .ba-sect-ico {
    width: 38px;
    height: 38px;
    background: #f0f5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .ba-sect-ico svg {
    width: 20px;
    height: 20px;
    fill: var(--ba-sect-primary);
  }

  .ba-sect-card[open] .ba-sect-ico {
    background: #fff0eb;
  }

  .ba-sect-card[open] .ba-sect-ico svg {
    fill: var(--ba-sect-accent);
  }

  .ba-sect-card-title {
    color: var(--ba-sect-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    line-height: 1.3;
  }

  .ba-sect-card-sub {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ba-sect-accent);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 10px 0;
  }

  .ba-sect-summary-desc {
    font-size: 0.95rem;
    color: #444444;
    margin: 8px 0 0 0;
  }

  .ba-sect-toggle-hint {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ba-sect-primary);
    text-decoration: underline;
  }

  .ba-sect-card[open] .ba-sect-toggle-hint {
    display: none;
  }

  /* Card Inner Body */
  .ba-sect-body {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--ba-sect-border);
    animation: baSectFadeIn 0.3s ease;
  }

  .ba-sect-body p {
    font-size: 0.95rem;
    color: #222222;
    margin: 0 0 12px 0;
    line-height: 1.6;
  }

  .ba-sect-body p:last-child {
    margin-bottom: 0;
  }

  @keyframes baSectFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .ba-health-models-header h2 {
      font-size: 1.6rem;
    }

    .ba-sect-grid {
      grid-template-columns: 1fr;
    }

    .ba-sect-card {
      padding: 16px;
    }

    .ba-sect-card-title {
      font-size: 1.15rem;
    }
  }
