/* ==============================================
   E-SAGLIK v4 — dr.us.com BIREBIR TASARIM
   ============================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; font-size: 14px; line-height: 1.6; color: #111827; background: #f9fafb; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.esk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── HEADER (dr.us.com white header) ── */
.esk-header { background: #fff; border-bottom: 1px solid #e5e7eb; padding: 0; position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.esk-header-inner { display: flex; align-items: center; height: 56px; gap: 32px; }
.esk-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: #111827; text-decoration: none; white-space: nowrap; }
.esk-logo-icon { background: #2563eb; color: #fff; width: 30px; height: 30px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 900; }
.esk-logo-text { color: #111827; }
.esk-logo-text span { color: #2563eb; }
.esk-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.esk-nav a { padding: 6px 12px; font-size: 14px; color: #374151; font-weight: 500; border-radius: 6px; transition: background .15s; white-space: nowrap; }
.esk-nav a:hover { background: #f3f4f6; text-decoration: none; color: #111827; }
.esk-nav-search { margin-left: auto; background: #2563eb; color: #fff !important; border-radius: 8px; padding: 7px 16px !important; font-weight: 600 !important; }
.esk-nav-search:hover { background: #1d4ed8 !important; text-decoration: none !important; }
.esk-burger { display: none; background: none; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.esk-burger span { display: block; width: 18px; height: 2px; background: #374151; margin: 3px 0; }

/* ── BREADCRUMB ── */
.esk-breadcrumb { padding: 10px 0; font-size: 13px; color: #6b7280; }
.esk-breadcrumb a { color: #2563eb; }
.esk-breadcrumb a:hover { text-decoration: underline; }
.esk-bc-sep { margin: 0 6px; color: #d1d5db; }
.esk-bc-cur { color: #111827; font-weight: 600; }

/* ── HERO (dr.us.com blue gradient hero) ── */
.esk-hero { background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%); padding: 60px 0; color: #fff; }
.esk-hero-inner { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: center; }
.esk-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 14px; font-size: 12px; font-weight: 600; margin-bottom: 20px; }
.esk-hero h1 { font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; }
.esk-hero-sub { font-size: 16px; opacity: .85; margin-bottom: 28px; max-width: 480px; }
.esk-hero-stats { display: flex; gap: 32px; }
.esk-hero-stat strong { display: block; font-size: 22px; font-weight: 800; }
.esk-hero-stat span { font-size: 12px; opacity: .7; }

/* Sağdaki Popular Specialties kutusu */
.esk-hero-card { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.esk-hero-card-title { font-size: 15px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.esk-hero-card-sub { font-size: 12px; color: #6b7280; margin-bottom: 16px; }
.esk-spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.esk-spec-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #f3f4f6; border-radius: 8px; cursor: pointer; transition: all .15s; text-decoration: none; }
.esk-spec-item:hover { border-color: #2563eb; background: #eff6ff; text-decoration: none; }
.esk-spec-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.esk-spec-info {}
.esk-spec-name { font-size: 13px; font-weight: 600; color: #111827; display: block; }
.esk-spec-sub { font-size: 11px; color: #9ca3af; display: block; }

/* ── BRANŞ BÖLÜMÜ ── */
.esk-specs-section { background: #fff; padding: 56px 0; border-bottom: 1px solid #f3f4f6; }
.esk-section-label { font-size: 11px; font-weight: 700; color: #6b7280; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.esk-section-title { font-size: 28px; font-weight: 800; color: #111827; margin-bottom: 6px; }
.esk-section-sub { font-size: 15px; color: #6b7280; margin-bottom: 36px; }
.esk-specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.esk-spec-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; text-decoration: none; transition: all .2s; cursor: pointer; }
.esk-spec-card:hover { border-color: #2563eb; box-shadow: 0 4px 12px rgba(37,99,235,.12); transform: translateY(-1px); text-decoration: none; }
.esk-spec-card-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.esk-spec-card-name { font-size: 13px; font-weight: 600; color: #111827; display: block; line-height: 1.3; }
.esk-spec-card-en { font-size: 11px; color: #9ca3af; display: block; margin-top: 2px; }

/* ── İL GRİDİ ── */
.esk-states-section { background: #f9fafb; padding: 56px 0; }
.esk-state-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 32px; }
.esk-state-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 14px 12px; display: flex; align-items: center; gap: 10px; text-decoration: none; transition: all .2s; color: #111827; }
.esk-state-card:hover { border-color: #2563eb; box-shadow: 0 2px 8px rgba(37,99,235,.1); text-decoration: none; }
.esk-state-emoji { font-size: 22px; flex-shrink: 0; }
.esk-state-info {}
.esk-state-name { font-size: 13px; font-weight: 700; color: #111827; display: block; }
.esk-state-count { font-size: 11px; color: #9ca3af; display: block; }

/* ═══════════════════════════════════════
   İL SAYFASI — dr.us.com/state/alabama
   birebir aynı yapı
═══════════════════════════════════════ */

/* Sayfa başlığı */
.esk-page-title-section { background: #fff; padding: 24px 0 20px; border-bottom: 1px solid #f3f4f6; }
.esk-page-title-section h1 { font-size: 26px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.esk-page-subtitle { font-size: 14px; color: #6b7280; margin-bottom: 14px; }
.esk-stat-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.esk-stat-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 20px; }
.esk-pill-green { background: #dcfce7; color: #166534; }
.esk-pill-blue  { background: #dbeafe; color: #1e40af; }
.esk-pill-gray  { background: #f3f4f6; color: #374151; }

/* İki kolon layout */
.esk-page-layout { display: grid; grid-template-columns: 1fr 280px; gap: 24px; padding: 24px 0 48px; align-items: start; }

/* Sol: filtreler + liste */
.esk-main {}

/* Filtre sekmeleri — dr.us.com birebir */
.esk-filter-tabs { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.esk-tab { padding: 8px 18px; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid #e5e7eb; background: #fff; color: #374151; transition: all .15s; white-space: nowrap; }
.esk-tab:hover { border-color: #2563eb; color: #2563eb; }
.esk-tab.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.esk-tab-all.active { background: #2563eb; }
.esk-tab-doctors.active { background: #059669; border-color: #059669; }
.esk-tab-hospitals.active { background: #7c3aed; border-color: #7c3aed; }

/* Branş dropdown */
.esk-specialty-dropdown { position: relative; }
.esk-specialty-btn { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border: 2px solid #e5e7eb; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 600; cursor: pointer; color: #374151; }
.esk-specialty-btn:hover { border-color: #2563eb; }
.esk-specialty-menu { display: none; position: absolute; top: 100%; left: 0; width: 280px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 100; max-height: 360px; overflow-y: auto; padding: 6px; margin-top: 4px; }
.esk-specialty-dropdown.open .esk-specialty-menu { display: block; }
.esk-specialty-menu a { display: block; padding: 8px 12px; font-size: 13px; color: #374151; border-radius: 6px; }
.esk-specialty-menu a:hover { background: #eff6ff; color: #2563eb; text-decoration: none; }
.esk-specialty-menu a.active { background: #dbeafe; color: #1e40af; font-weight: 600; }

/* Arama kutusu */
.esk-search-bar { display: flex; gap: 8px; margin-bottom: 16px; }
.esk-search-bar input { flex: 1; padding: 9px 14px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 14px; outline: none; }
.esk-search-bar input:focus { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.esk-search-bar button { background: #2563eb; color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-size: 14px; font-weight: 600; cursor: pointer; }

/* Showing X-Y of Z */
.esk-showing { font-size: 13px; color: #6b7280; margin-bottom: 14px; font-style: italic; }

/* ── KART — dr.us.com birebir ── */
.esk-provider-list { display: flex; flex-direction: column; gap: 10px; }

.esk-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; transition: box-shadow .2s; }
.esk-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

/* Sol ikon */
.esk-card-icon { width: 44px; height: 44px; border-radius: 8px; background: #f3f4f6; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; margin-top: 2px; }

/* Orta içerik */
.esk-card-body { flex: 1; min-width: 0; }
.esk-card-badges { display: flex; gap: 6px; margin-bottom: 6px; flex-wrap: wrap; }
.esk-badge-type { font-size: 11px; font-weight: 600; color: #6b7280; background: #f3f4f6; padding: 2px 8px; border-radius: 4px; }
.esk-badge-active { font-size: 11px; font-weight: 700; color: #166534; background: #dcfce7; padding: 2px 8px; border-radius: 4px; }
.esk-card-name { font-size: 16px; font-weight: 700; color: #111827; margin-bottom: 3px; line-height: 1.3; }
.esk-card-name a { color: #111827; }
.esk-card-name a:hover { color: #2563eb; text-decoration: none; }
.esk-card-specialty { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.esk-card-meta { display: flex; flex-direction: column; gap: 3px; }
.esk-card-addr, .esk-card-phone { font-size: 13px; color: #374151; display: flex; align-items: flex-start; gap: 5px; }
.esk-card-npi { font-size: 11px; color: #9ca3af; margin-top: 4px; }

/* Sağ butonlar */
.esk-card-actions { display: flex; flex-direction: column; gap: 7px; flex-shrink: 0; min-width: 160px; }
.esk-btn-profile { display: block; padding: 8px 14px; background: #fff; border: 1.5px solid #2563eb; border-radius: 7px; color: #2563eb; font-size: 13px; font-weight: 600; text-align: center; transition: all .15s; white-space: nowrap; }
.esk-btn-profile:hover { background: #2563eb; color: #fff; text-decoration: none; }
.esk-btn-maps { display: block; padding: 8px 14px; background: #fff; border: 1.5px solid #e5e7eb; border-radius: 7px; color: #374151; font-size: 13px; font-weight: 500; text-align: center; transition: all .15s; white-space: nowrap; }
.esk-btn-maps:hover { border-color: #374151; text-decoration: none; }

/* ── SAYFALAMA ── */
.esk-pagination { display: flex; gap: 4px; justify-content: center; padding: 24px 0; flex-wrap: wrap; }
.esk-pagination a, .esk-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; border: 1px solid #e5e7eb; border-radius: 7px; font-size: 13px; font-weight: 500; color: #374151; padding: 0 10px; transition: all .15s; text-decoration: none; }
.esk-pagination a:hover { border-color: #2563eb; color: #2563eb; text-decoration: none; }
.esk-pagination .current, .esk-pagination .page-numbers.current { background: #2563eb; color: #fff; border-color: #2563eb; }
.esk-pagination .page-numbers:hover:not(.current) { border-color: #2563eb; color: #2563eb; text-decoration: none; }

/* ── SAĞ SIDEBAR ── */
.esk-sidebar {}

/* Cities box */
.esk-sidebar-cities { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.esk-sidebar-cities-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.esk-cities-list { display: flex; flex-direction: column; gap: 2px; max-height: 280px; overflow-y: auto; }
.esk-cities-list a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; font-size: 13px; color: #374151; transition: background .15s; }
.esk-cities-list a:hover { background: #f3f4f6; text-decoration: none; color: #111827; }
.esk-cities-list a .pin { color: #ef4444; font-size: 14px; }

/* Quick Stats */
.esk-sidebar-stats { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.esk-sidebar-stats-title { font-size: 14px; font-weight: 700; color: #111827; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.esk-stat-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f9fafb; font-size: 13px; }
.esk-stat-row:last-child { border: none; padding-bottom: 0; }
.esk-stat-label { color: #6b7280; }
.esk-stat-val { font-weight: 600; color: #111827; }

/* Advanced Search */
.esk-sidebar-search { background: #2563eb; border-radius: 10px; padding: 16px; color: #fff; }
.esk-sidebar-search h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.esk-sidebar-search p { font-size: 12px; opacity: .85; margin-bottom: 12px; }
.esk-sidebar-search a { display: block; background: #fff; color: #2563eb; border-radius: 7px; padding: 9px; text-align: center; font-size: 13px; font-weight: 700; }
.esk-sidebar-search a:hover { background: #eff6ff; text-decoration: none; }

/* ── SEO METİN ── */
.esk-seo-section { background: #fff; border-top: 1px solid #f3f4f6; padding: 40px 0; margin-top: 8px; }
.esk-seo-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.esk-seo-section p { font-size: 14px; color: #374151; line-height: 1.8; margin-bottom: 12px; }
.esk-seo-section strong { color: #111827; }

/* ── SSS ── */
.esk-faq-section { background: #f9fafb; padding: 40px 0; }
.esk-faq-section h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.esk-faq-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.esk-faq-q { width: 100%; text-align: left; padding: 14px 18px; background: none; border: none; font-size: 14px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: #111827; }
.esk-faq-q:hover { background: #f9fafb; }
.esk-faq-icon { color: #9ca3af; font-size: 18px; flex-shrink: 0; }
.esk-faq-a { padding: 0 18px 14px; border-top: 1px solid #f3f4f6; }
.esk-faq-a p { font-size: 14px; color: #4b5563; line-height: 1.7; padding-top: 12px; }

/* ── FOOTER ── */
.esk-footer { background: #111827; color: rgba(255,255,255,.7); padding: 48px 0 24px; margin-top: 0; }
.esk-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.esk-footer-logo { font-size: 20px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.esk-footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.5); }
.esk-footer-col h4 { font-size: 12px; font-weight: 700; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.esk-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.esk-footer-col a { font-size: 13px; color: rgba(255,255,255,.5); }
.esk-footer-col a:hover { color: #fff; text-decoration: none; }
.esk-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 8px; }

/* Yükleniyor */
.esk-loading { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px; color: #6b7280; }
.esk-spinner { width: 22px; height: 22px; border: 3px solid #e5e7eb; border-top-color: #2563eb; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sonuç yok */
.esk-no-result { text-align: center; padding: 60px 20px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.esk-no-result-icon { font-size: 48px; margin-bottom: 12px; }
.esk-no-result h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.esk-no-result p { font-size: 14px; color: #9ca3af; }

/* Mobil menü */
.esk-mobile-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; }
.esk-mobile-menu { display: none; position: fixed; top: 0; left: 0; width: min(280px, 85vw); height: 100vh; background: #fff; z-index: 301; flex-direction: column; overflow-y: auto; box-shadow: 4px 0 20px rgba(0,0,0,.15); }
.esk-mobile-menu.open, .esk-mobile-overlay.open { display: flex; }
.esk-mobile-head { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-bottom: 1px solid #e5e7eb; }
.esk-mobile-close { background: none; border: 1px solid #e5e7eb; border-radius: 6px; padding: 6px 10px; cursor: pointer; font-size: 16px; }
.esk-mobile-nav { display: flex; flex-direction: column; }
.esk-mobile-nav a { padding: 13px 20px; border-bottom: 1px solid #f3f4f6; font-size: 15px; font-weight: 500; color: #111827; }
.esk-mobile-nav a:hover { background: #f9fafb; text-decoration: none; }

/* ══ MOBİL ══ */
@media (max-width: 1024px) {
    .esk-page-layout { grid-template-columns: 1fr; }
    .esk-state-grid { grid-template-columns: repeat(3, 1fr); }
    .esk-footer-grid { grid-template-columns: 1fr 1fr; }
    .esk-hero-inner { grid-template-columns: 1fr; }
    .esk-hero-card { display: none; }
}
@media (max-width: 768px) {
    .esk-nav { display: none; }
    .esk-burger { display: block; margin-left: auto; }
    .esk-hero h1 { font-size: 26px; }
    .esk-state-grid { grid-template-columns: repeat(2, 1fr); }
    .esk-specs-grid { grid-template-columns: repeat(2, 1fr); }
    .esk-card { flex-direction: column; gap: 12px; }
    .esk-card-actions { flex-direction: row; min-width: 0; }
    .esk-filter-tabs { flex-wrap: wrap; }
    .esk-footer-grid { grid-template-columns: 1fr; }
    .esk-footer-bottom { flex-direction: column; text-align: center; }
}
