/* =====================================================================
 *  BRANDAFT - HIZMET SURECI VE SEKTOREL SEO BLOGU
 * =====================================================================
 *
 *  Saglik/dis hekimi/lokasyon sayfalarindaki "surec" ve "sektorel
 *  SEO" bolumleri. Iki blok ayni aileden: :root belirtecleri
 *  (--ba-hproc-*) ve .ba-health-seo-section. Sayfalar arasinda
 *  yalnizca yorum satiri farkliydi.
 *
 *  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.
 * ===================================================================== */

/* ---------------------------------------------------------------------
 *  surec belirtecleri + kartlar
 *  Sayfalar: ankara, antalya, dis-hekimi, saglik
 * ------------------------------------------------------------------ */
  :root {
    --ba-hproc-primary: var( --ba-mavi );
    --ba-hproc-accent: var( --ba-turuncu );
    --ba-hproc-bg: #ffffff;
    --ba-hproc-card-bg: #fdfdfd;
    --ba-hproc-border: #eef2f6;
    --ba-hproc-text: #222222;
  }

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

  /* Header & Intro */
  .ba-health-proc-header {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
  }

  .ba-health-proc-header h2 {
    color: var(--ba-hproc-primary);
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.25;
  }

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

  .ba-health-proc-header p.intro-highlight {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ba-hproc-primary);
    border-left: 4px solid var(--ba-hproc-accent);
    padding-left: 14px;
    background: #fafafa;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 15px;
  }

  /* Tab Navigation - Horizontal Scroll on Mobile */
  .ba-health-proc-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--ba-hproc-border);
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ba-health-proc-tab-btn {
    background-color: var(--ba-hproc-primary);
    color: #ffffff !important;
    border: none;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba( var( --ba-mavi-rgb ), 0.15);
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .ba-health-proc-tab-btn:hover {
    background-color: #2c62a3;
    transform: translateY(-1px);
  }

  .ba-health-proc-tab-btn.active-tab {
    background-color: var(--ba-hproc-accent) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba( var( --ba-turuncu-rgb ), 0.3);
  }

  .ba-health-proc-tab-btn .tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
  }

  /* Process Content Panel */
  .ba-health-proc-content-box {
    background: #ffffff;
    border: 1px solid var(--ba-hproc-border);
    border-top: 4px solid var(--ba-hproc-accent);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 50px;
  }

  .ba-health-proc-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .ba-health-proc-panel.active-panel {
    display: block;
    opacity: 1;
  }

  .ba-health-proc-panel .panel-num {
    color: var(--ba-hproc-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
  }

  .ba-health-proc-panel h3 {
    color: var(--ba-hproc-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.35;
  }

  .ba-health-proc-panel p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #222222;
    margin: 0 0 12px 0;
  }

  .ba-health-proc-panel p:last-child {
    margin-bottom: 0;
  }

  /* Timeline Section (İlk 90 Gün) */
  .ba-timeline-section {
    background: #fafbfc;
    border: 1px solid var(--ba-hproc-border);
    border-radius: 12px;
    padding: 35px 25px;
  }

  .ba-timeline-header h3 {
    color: var(--ba-hproc-primary);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    text-align: left;
  }

  /* Horizontal Timeline Grid */
  .ba-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
  }

  .ba-timeline-card {
    background: #ffffff;
    border: 1px solid var(--ba-hproc-border);
    border-top: 4px solid var(--ba-hproc-primary);
    border-radius: 8px;
    padding: 22px 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  .ba-timeline-card:hover {
    border-top-color: var(--ba-hproc-accent);
    transform: translateY(-2px);
    transition: all 0.25s ease;
  }

  .ba-timeline-badge {
    background: var(--ba-hproc-accent);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
  }

  .ba-timeline-card h4 {
    color: var(--ba-hproc-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px 0;
  }

  .ba-timeline-card p {
    font-size: 0.92rem;
    color: #333333;
    line-height: 1.55;
    margin: 0 0 14px 0;
  }

  .ba-timeline-output {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ba-hproc-primary);
    background: #f0f5fa;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid var(--ba-hproc-primary);
    margin-top: auto;
  }

  .ba-timeline-arrow {
    text-align: right;
    font-size: 1.2rem;
    color: var(--ba-hproc-accent);
    font-weight: 700;
    margin-top: 8px;
  }

  /* Responsive Adjustments */
  @media (max-width: 900px) {
    .ba-timeline-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .ba-timeline-arrow {
      text-align: center;
      transform: rotate(90deg);
      margin: 4px 0;
    }
  }

  @media (max-width: 768px) {
    .ba-health-proc-header h2 {
      font-size: 1.6rem;
    }

    .ba-health-proc-content-box {
      padding: 20px 16px;
    }

    .ba-health-proc-panel h3 {
      font-size: 1.15rem;
    }

    .ba-timeline-section {
      padding: 22px 15px;
    }
  }

/* ---------------------------------------------------------------------
 *  sektorel SEO bolumu
 *  Sayfalar: ankara, antalya, dis-hekimi, izmir, saglik
 * ------------------------------------------------------------------ */
  /* Health SEO Section Container */
  .ba-health-seo-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 15px;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
  }

  /* Header & Intro Block */
  .ba-health-seo-header {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
  }

  .ba-health-seo-header h2 {
    color: var( --ba-mavi );
    font-size: 2.1rem;
    margin: 0 0 16px 0;
    font-weight: 700;
    line-height: 1.25;
  }

  .ba-health-seo-intro-p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0 0 16px 0;
    color: #202020;
  }

  .ba-health-seo-outro-p {
    font-size: 1.05rem;
    line-height: 1.65;
    font-weight: 600;
    color: var( --ba-mavi );
    margin: 0;
    border-left: 4px solid var( --ba-turuncu );
    padding-left: 14px;
    background: #fafafa;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  /* Kibar & Minimal Tab Navigation Bar */
  .ba-health-tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* Buton Tasarımı - Beyaz Yazılı & Kibar Hatlı */
  .ba-health-tab-btn {
    background-color: var( --ba-mavi ); /* Varsayılan Mavi */
    color: #ffffff !important; /* YAZILAR BEYAZ */
    border: none;
    padding: 10px 20px;
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: 20px; /* Kibar Oval Butonlar */
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba( var( --ba-mavi-rgb ), 0.15);
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .ba-health-tab-btn:hover {
    background-color: #2c62a3;
    transform: translateY(-1px);
  }

  /* Aktif Tab Durumu - Turuncu Vurgu */
  .ba-health-tab-btn.active-tab {
    background-color: var( --ba-turuncu ) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba( var( --ba-turuncu-rgb ), 0.3);
  }

  .ba-health-tab-btn .tab-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 0.75rem;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 700;
  }

  /* İçerik Gövdesi */
  .ba-health-seo-content-box {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-top: 3px solid var( --ba-turuncu );
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  }

  .ba-health-seo-panel {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .ba-health-seo-panel.active-panel {
    display: block;
    opacity: 1;
  }

  .ba-health-seo-panel h3 {
    color: var( --ba-mavi );
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 16px 0;
    line-height: 1.35;
  }

  .ba-health-seo-panel p {
    font-size: 1rem;
    line-height: 1.65;
    color: #222222;
    margin: 0 0 14px 0;
  }

  .ba-health-seo-panel p:last-child {
    margin-bottom: 0;
  }

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

    .ba-health-tabs-nav {
      padding-bottom: 8px;
    }

    .ba-health-tab-btn {
      padding: 8px 16px;
      font-size: 0.85rem;
    }

    .ba-health-seo-content-box {
      padding: 20px 16px;
    }

    .ba-health-seo-panel h3 {
      font-size: 1.15rem;
    }
  }
