/**
 * En Yakın Nöbetçi Eczaneler - Modern & Mobil Odaklı Stil Dosyası
 * Ultra Hızlı, Sıfır Dış Kütüphane Bağımlılığı, CSS Değişkenleri
 */

:root {
    --primary: #e11d48;         /* Canlı Medikal Kırmızı */
    --primary-hover: #be123c;
    --primary-light: #ffe4e6;
    --accent: #059669;          /* Nöbetçi / Açık Yeşili */
    --accent-light: #d1fae5;
    --dark: #0f172a;            /* Gece / Başlık Rengi */
    --gray-900: #1e293b;
    --gray-700: #334155;
    --gray-500: #64748b;
    --gray-300: #cbd5e1;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --card-shadow-hover: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Genel */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    background-color: var(--gray-50);
    color: var(--gray-700);
    line-height: 1.6;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-bottom: 25px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

/* Kapsayıcı */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Acil Durum / Nöbetçi Bilgilendirme Bandı */
.emergency-banner {
    background: linear-gradient(90deg, #be123c, #e11d48);
    color: var(--white);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.emergency-banner .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Header & Navigasyon */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.brand-text span {
    color: var(--primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.site-nav::-webkit-scrollbar {
    display: none;
}

.nav-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.9rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-blog-link:hover {
    background: var(--primary);
    color: var(--white);
}

.nav-header-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.8rem;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-header-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.nav-header-link {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.65rem;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}
.nav-header-link:hover {
    color: var(--primary);
}

.header-top-row {
    display: flex;
    align-items: center;
}

.nav-header-pill.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

.nav-blog-link.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.25);
}

@media (max-width: 991px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 990;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    }
    .header-inner {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        height: auto !important;
        padding: 0.55rem 0 0.45rem !important;
        gap: 0.45rem !important;
    }
    .header-top-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    .brand {
        font-size: 1.15rem;
        gap: 0.55rem;
    }
    .brand-icon {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
    .site-nav {
        display: flex !important;
        align-items: center;
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden;
        white-space: nowrap !important;
        gap: 0.4rem !important;
        padding: 0.2rem 0.15rem 0.35rem !important;
        scrollbar-width: none !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .site-nav::-webkit-scrollbar {
        display: none !important;
    }
    .nav-header-pill,
    .nav-blog-link,
    .nav-contact-pill {
        display: inline-flex !important;
        align-items: center;
        padding: 0.4rem 0.75rem !important;
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        border-radius: 9999px !important;
        flex-shrink: 0 !important;
        line-height: 1.2;
    }
}

/* Hero Alanı (Tamamen Aydınlık, Elit Medikal Tasarım) */
.hero-section {
    background: radial-gradient(circle at 50% 0%, #fff1f2 0%, #ffffff 55%, #f8fafc 100%);
    padding: 2.75rem 0 2.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1px solid #fecdd3;
    color: #be123c;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(225, 29, 72, 0.08);
}

.hero-trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary) 0%, #f43f5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.08rem;
    color: var(--gray-700);
    max-width: 660px;
    margin: 0 auto 1.6rem;
    line-height: 1.55;
}

/* Konum & Hızlı Arama Buton Grubu */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.65rem;
}

.btn-gps {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 10px 25px -4px rgba(5, 150, 105, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    border: 1px solid rgba(4, 120, 87, 0.2);
    max-width: 100%;
}

.btn-gps:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -4px rgba(5, 150, 105, 0.5);
}

.btn-gps:disabled {
    opacity: 0.92;
    cursor: wait;
}

.btn-gps-icon-wrap {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-gps svg {
    width: 20px;
    height: 20px;
}

.btn-gps-text {
    line-height: 1.3;
}

.hero-gps-features {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.hero-gps-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.28rem 0.75rem;
    border-radius: var(--radius-full);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Arama Kutusu & Autocomplete */
.search-wrapper {
    position: relative;
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid #cbd5e1;
    border-radius: var(--radius-full);
    padding: 0.4rem 0.45rem 0.4rem 1.15rem;
    box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
    transition: var(--transition);
}

.search-box-lead-icon {
    font-size: 1.05rem;
    margin-right: 0.4rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light), 0 8px 24px -4px rgba(225, 29, 72, 0.12);
}

.search-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    color: var(--dark);
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.55rem 0.35rem;
}

.search-box input::placeholder {
    color: var(--gray-500);
}

.search-box .btn-search {
    background: linear-gradient(135deg, var(--primary) 0%, #be123c 100%);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}

.search-box .btn-search:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

/* Canlı Arama Sonuç Kutusu */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15);
    z-index: 100;
    max-height: 420px;
    overflow-y: auto;
    display: none;
    text-align: left;
}

.search-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    cursor: pointer;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover, .search-item.highlighted {
    background-color: var(--gray-100);
}

.search-item-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.search-item-icon.city { background: #e0f2fe; color: #0284c7; }
.search-item-icon.district { background: #fef3c7; color: #d97706; }
.search-item-icon.pharmacy { background: var(--primary-light); color: var(--primary); }

.search-item-content {
    flex: 1;
    overflow: hidden;
}

.search-item-title {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

.search-item-subtitle {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Popüler Şehir Butonları */
.quick-cities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.35rem;
}

.quick-cities-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-500);
}

.quick-cities-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.quick-city-chip {
    background: var(--white);
    border: 1px solid #cbd5e1;
    padding: 0.38rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.quick-city-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* İstatistik Şeridi */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.25rem 0 0.5rem;
    margin: 0.75rem 0 1rem;
}

.stat-card {
    background: var(--white);
    padding: 1.15rem 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid #e2e8f0;
}

.stat-card-accent {
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

.stat-card .stat-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-card .stat-label {
    font-size: 0.84rem;
    color: var(--gray-500);
    font-weight: 600;
}

/* Bölüm Başlıkları */
.home-cities-section {
    margin-top: 1.25rem;
}

.section-header {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
}

/* 81 İl Izgara (Grid) Düzeni */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 0.7rem;
    margin-bottom: 2.75rem;
}

.city-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.7rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
}

.city-card:hover {
    border-color: var(--primary);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

.city-card-left {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow: hidden;
    min-width: 0;
}

.city-plate {
    background: #f1f5f9;
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.city-card:hover .city-plate {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.city-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.city-count-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.18rem 0.5rem;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Ana Sayfa Blog & Rehber Bölümü */
.home-blog-section {
    margin-top: 2.5rem;
    margin-bottom: 2.25rem;
}

.home-blog-all-btn {
    font-weight: 700;
    color: var(--primary);
    border-color: #fecdd3;
    background: #fff1f2;
}

.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.home-blog-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.home-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

.home-blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.home-blog-cat {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.22rem 0.55rem;
    border-radius: 6px;
}

.home-blog-time {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
}

.home-blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.home-blog-excerpt {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gray-100);
    padding-top: 0.75rem;
}

.home-blog-views {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.home-blog-readmore {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

/* Ana Sayfa Bilgilendirme Kutusu */
.home-info-section {
    margin-bottom: 3.5rem;
}

.home-info-box {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--card-shadow);
    border: 1px solid #e2e8f0;
}

.home-info-heading {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.1rem;
}

.home-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    font-size: 0.92rem;
    color: var(--gray-700);
}

.home-info-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem;
}

.home-info-item h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-size: 0.98rem;
}

/* İlçe Filtre Hapları (Pills) */
.district-pills {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    scrollbar-width: thin;
}

.district-pill {
    white-space: nowrap;
    padding: 0.5rem 1.15rem;
    background: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.district-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.district-pill.active {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

/* Nöbetçi Eczane Kartları */
.pharmacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pharmacy-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: var(--transition);
}

.pharmacy-card:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}

.pharmacy-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pharmacy-card-header {
    margin-bottom: 1rem;
    padding-right: 80px;
}

.pharmacy-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.pharmacy-district {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

.pharmacy-duty-hours {
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pharmacy-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex: 1;
}

.detail-row {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.detail-row svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
}

.detail-row.address {
    color: var(--gray-700);
}

.detail-row.directions {
    color: var(--gray-500);
    font-size: 0.85rem;
    font-style: italic;
    background: #fffbeb;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

/* Kart Aksiyon Butonları (Ara & Yol Tarifi) */
.card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-call {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-call:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-directions {
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-directions:hover {
    background: #047857;
}

/* Mesafe Göstergesi */
.distance-pill {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

/* Breadcrumbs (Ekmek Kırıntısı) */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    padding: 1rem 0;
}

.breadcrumbs a {
    color: var(--gray-700);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

/* Modal: En Yakın Eczaneler GPS Sonucu & Bekleme Ekranı */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 880px;
    max-height: 92vh;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.28);
    border: 1px solid #e2e8f0;
    animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
    from { opacity: 0; transform: translateY(10px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 1.1rem 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.modal-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1.3;
}

.btn-close-modal {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: var(--gray-700);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.35rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: var(--transition);
}

.btn-close-modal:hover {
    background: #ffe4e6;
    color: var(--primary);
    border-color: #fecdd3;
}

.modal-body {
    padding: 1.25rem 1.4rem;
    overflow-y: auto;
    flex: 1;
    background: #f8fafc;
}

/* GPS Bekleme / Radar Yükleme Ekranı (Aydınlık & Elit) */
.gps-loading-box {
    background: #ffffff;
    border: 1px solid #bbf7d0;
    border-radius: 18px;
    padding: 2.25rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(5, 150, 105, 0.08);
    margin: 0.25rem 0;
}

.gps-radar-wrap {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gps-radar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #10b981;
    opacity: 0;
    animation: radarPulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.gps-radar-ring-2 {
    animation-delay: 0.7s;
}

@keyframes radarPulse {
    0% { transform: scale(0.55); opacity: 0.85; }
    100% { transform: scale(1.45); opacity: 0; }
}

.gps-radar-core {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
    position: relative;
    z-index: 2;
}

.gps-loading-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    max-width: 540px;
    margin: 0 auto 0.65rem;
}

.gps-loading-subtitle {
    font-size: 0.92rem;
    color: #475569;
    max-width: 480px;
    margin: 0 auto 1.35rem;
    line-height: 1.5;
}

.gps-loading-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.gps-step-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.gps-step-pill.active {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

/* GPS Hata Kutusu */
.gps-error-box {
    background: #ffffff;
    border: 1px solid #fecdd3;
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
}

.gps-error-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.gps-error-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.gps-error-desc {
    font-size: 0.95rem;
    color: #475569;
    max-width: 460px;
    margin: 0 auto 1.25rem;
}

.gps-error-actions {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-gps-retry {
    background: #059669;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
}

.btn-gps-cancel {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    cursor: pointer;
}

/* Size En Yakın Eczaneler Modal İçeriği (Elit & Mobil Odaklı) */
.nearby-location-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    box-shadow: 0 2px 10px rgba(5, 150, 105, 0.06);
}

.nearby-location-pin {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.25);
}

.nearby-location-info {
    min-width: 0;
    flex: 1;
}

.nearby-location-label {
    font-size: 0.74rem;
    font-weight: 800;
    color: #047857;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.15rem;
}

.nearby-location-address {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.92rem;
    line-height: 1.35;
    word-break: break-word;
}

.nearby-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.nearby-pharm-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.nearby-pharm-duty {
    border: 2px solid #059669;
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.14);
}

.nearby-pharm-normal {
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.nearby-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.55rem;
}

.nearby-role-tag {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.nearby-role-tag.duty { color: #059669; }
.nearby-role-tag.normal { color: #0284c7; }

.nearby-status-pill {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.24rem 0.65rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.nearby-status-pill.duty {
    background: #d1fae5;
    color: #065f46;
}

.nearby-status-pill.normal {
    background: #e0f2fe;
    color: #0369a1;
}

.nearby-pharm-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.2rem;
}

.nearby-pharm-loc {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.8rem;
}

.nearby-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.nearby-metric-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.45rem 0.35rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nearby-metric-item.duty-primary {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.nearby-metric-item.normal-primary {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.nearby-metric-val {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    line-height: 1.2;
}

.nearby-metric-item.duty-primary .nearby-metric-val {
    color: #065f46;
}

.nearby-metric-item.normal-primary .nearby-metric-val {
    color: #075985;
}

.nearby-metric-lbl {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.nearby-pharm-address {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.nearby-pharm-tarif {
    font-size: 0.8rem;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.nearby-pharm-hours {
    font-size: 0.8rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.nearby-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.nearby-btn {
    padding: 0.72rem 0.65rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    text-align: center;
    transition: var(--transition);
}

.nearby-btn-call-duty {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.nearby-btn-call-duty:hover {
    background: #9f1239;
    color: #ffffff;
}

.nearby-btn-route-duty {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

.nearby-btn-route-duty:hover {
    background: #065f46;
    color: #ffffff;
}

.nearby-btn-call-normal {
    background: #0284c7;
    color: #ffffff;
}

.nearby-btn-route-normal {
    background: #475569;
    color: #ffffff;
}

/* Modal Harita Kutusu */
.nearby-map-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.nearby-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.nearby-map-title-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nearby-map-title {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
}

.nearby-traffic-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.73rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nearby-route-switch {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.nearby-route-btn {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.2s;
}

.nearby-route-btn.active-duty {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

.nearby-google-map {
    width: 100%;
    height: 360px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    overflow: hidden;
}

/* Diğer Nöbetçi Eczaneler Listesi */
.nearby-other-section {
    margin-top: 1.25rem;
}

.nearby-other-heading {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.nearby-other-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.nearby-other-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.nearby-other-info {
    flex: 1;
    min-width: 200px;
}

.nearby-other-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.nearby-other-dist {
    font-size: 0.75rem;
    font-weight: 800;
    color: #059669;
    background: #ecfdf5;
    padding: 0.12rem 0.45rem;
    border-radius: 6px;
}

.nearby-other-addr {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.nearby-other-btns {
    display: flex;
    gap: 0.45rem;
    flex-shrink: 0;
}

.nearby-other-call {
    padding: 0.45rem 0.75rem;
    background: #ffe4e6;
    color: #e11d48;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

.nearby-other-map {
    padding: 0.45rem 0.75rem;
    background: #059669;
    color: #ffffff;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    padding: 3rem 0 1.5rem;
    margin-top: auto;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Mobil ve Tablet Uyumluluk (Elit Mobil Görünüm) */
@media (max-width: 768px) {
    .container {
        padding: 0 0.95rem;
    }

    .emergency-banner {
        font-size: 0.78rem;
        padding: 0.45rem 0.75rem;
        line-height: 1.35;
    }

    .brand {
        font-size: 1.08rem;
        gap: 0.5rem;
    }

    .brand-icon {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
        border-radius: 10px;
    }

    .nav-blog-link {
        padding: 0.38rem 0.75rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 1.65rem 0 1.5rem;
    }

    .hero-trust-badge {
        font-size: 0.73rem;
        padding: 0.32rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-title {
        font-size: 1.68rem;
        line-height: 1.24;
        margin-bottom: 0.65rem;
    }

    .hero-subtitle {
        font-size: 0.94rem;
        margin-bottom: 1.25rem;
        padding: 0 0.25rem;
    }

    .btn-gps {
        width: 100%;
        padding: 0.9rem 1.1rem;
        font-size: 0.98rem;
        border-radius: 16px;
        gap: 0.6rem;
    }

    .btn-gps-icon-wrap {
        width: 32px;
        height: 32px;
    }

    .hero-gps-pill {
        font-size: 0.73rem;
        padding: 0.24rem 0.6rem;
    }

    .search-box {
        padding: 0.3rem 0.35rem 0.3rem 0.85rem;
        border-radius: 16px;
    }

    .search-box input {
        font-size: 0.9rem;
        padding: 0.45rem 0.2rem;
    }

    .search-box .btn-search {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .quick-cities {
        margin-top: 1.1rem;
        gap: 0.4rem;
    }

    .quick-city-chip {
        padding: 0.34rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Mobilde 2x2 Elit İstatistik Izgarası */
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.65rem;
        padding: 0.85rem 0 0.25rem;
        margin: 0.5rem 0 0.75rem;
    }

    .stat-card {
        padding: 0.85rem 0.65rem;
        border-radius: 12px;
    }

    .stat-card .stat-num {
        font-size: 1.4rem;
    }

    .stat-card .stat-label {
        font-size: 0.76rem;
    }

    .section-title {
        font-size: 1.28rem;
    }

    .section-desc {
        font-size: 0.86rem;
    }

    /* Mobilde 81 İl Listesi: İsimlerin Kesilmediği Net 2 Sütunlu Elit Görünüm */
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.55rem;
        margin-bottom: 2rem;
    }

    .city-card {
        padding: 0.62rem 0.65rem;
        border-radius: 10px;
    }

    .city-plate {
        width: 25px;
        height: 25px;
        font-size: 0.72rem;
    }

    .city-name {
        font-size: 0.86rem;
    }

    .city-count-badge {
        font-size: 0.7rem;
        padding: 0.14rem 0.42rem;
    }

    .pharmacy-grid {
        grid-template-columns: 1fr;
    }

    .card-actions {
        grid-template-columns: 1fr;
    }

    .home-blog-grid {
        grid-template-columns: 1fr;
    }

    .home-info-box {
        padding: 1.25rem 1rem;
    }

    /* Modal Mobil Görünüm */
    .modal-overlay {
        padding: 0.65rem 0.5rem;
        z-index: 99999 !important;
    }

    .modal-content {
        max-height: 90vh;
        border-radius: 18px;
        margin: auto;
        position: relative;
        z-index: 100000;
    }

    .modal-header {
        padding: 0.9rem 1rem;
    }

    .modal-title {
        font-size: 1.02rem;
    }

    .btn-close-modal {
        width: 34px;
        height: 34px;
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 0.9rem;
    }

    .nearby-location-box {
        padding: 0.75rem 0.85rem;
        margin-bottom: 0.9rem;
        gap: 0.65rem;
    }

    .nearby-location-pin {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
    }

    .nearby-location-address {
        font-size: 0.84rem;
    }

    .nearby-cards-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .nearby-pharm-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .nearby-pharm-title {
        font-size: 1.18rem;
    }

    .nearby-metric-val {
        font-size: 0.8rem;
    }

    /* Mobilde Telefon Numarası Asla İki Satıra Bölünmesin */
    .nearby-card-actions {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .nearby-btn {
        padding: 0.78rem 1rem;
        font-size: 0.94rem;
    }

    .nearby-google-map {
        height: 270px;
    }

    .nearby-other-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .nearby-other-btns {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .nearby-other-call,
    .nearby-other-map {
        text-align: center;
        padding: 0.55rem;
    }

    .gps-loading-box {
        padding: 1.65rem 1rem;
    }

    .gps-loading-title {
        font-size: 1.05rem;
    }
}
