/* ========== KATEGORI SAYFASI STYLES ========== */

/* Global Styles */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
    line-height: 1.6;
}

/* Premium Hero Section */
.premium-category-hero {
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #6B73FF 100%);
    background-size: 400% 400%;
    animation: heroGradient 12s ease infinite;
}

.hero-particles {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.15) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 120px 120px, 80px 80px, 60px 60px;
    animation: particleMove 25s linear infinite;
}

.hero-pattern {
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.02) 25%, transparent 25%);
    background-size: 40px 40px;
}

@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes particleMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-120px, -120px); }
}

/* Glass Effects */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-light {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.glass-medium {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-ultra {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* Badges */
.badge-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white !important;
}

.badge-gold {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #2d3748 !important;
    font-weight: 600;
}

.badge-success-premium {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.05) 100%);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745 !important;
}

/* Typography */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Text Colors */
.text-white-70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-white-80 { color: rgba(255, 255, 255, 0.8) !important; }

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* Hero Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.stat-item {
    padding: 1.5rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.stat-item:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.18);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    margin-right: 1rem;
    font-size: 1.4rem;
}

.stat-number {
    font-size: 2rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Hero Buttons */
.btn-hero {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    color: #667eea !important;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.3);
    color: #667eea !important;
}

.btn-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

/* City Hubs Section */
.city-hubs-section {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

.section-header .badge {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.2);
}

/* ========== KATEGORİ HİYERARŞİSİ ========== */
.category-hierarchy-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 0;
    margin-bottom: 0;
}

.hierarchy-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.hierarchy-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hierarchy-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

.hierarchy-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    text-decoration: none;
}

.hierarchy-current {
    color: white;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.hierarchy-separator {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* ========== ALT KATEGORİ LİNKLERİ ========== */
.sub-categories-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    margin-bottom: 3rem;
}

.sub-category-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sub-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
    text-decoration: none;
}

.sub-category-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sub-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 15px;
}

.sub-category-info {
    flex: 1;
}

.sub-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.sub-category-count {
    font-size: 13px;
    color: #6c757d;
}

.sub-category-card:hover .sub-category-title {
    color: #007bff;
}

/* ========== KONU BAZLI ACCORDION STYLES ========== */
.topic-accordion-item {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.topic-accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.topic-accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    padding: 20px 25px;
    font-weight: 600;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
    transition: all 0.3s ease;
    width: 100%;
    text-decoration: none;
}

.topic-accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
}

.topic-accordion-button:focus {
    box-shadow: none;
    text-decoration: none;
}

.topic-accordion-button:hover {
    text-decoration: none;
}

.topic-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.topic-info {
    display: flex;
    align-items: center;
}

.topic-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(102, 126, 234, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #667eea;
    transition: all 0.3s ease;
}

.topic-accordion-button:not(.collapsed) .topic-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.topic-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.topic-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.topic-arrow {
    transition: transform 0.3s ease;
    color: #667eea;
}

.topic-accordion-button:not(.collapsed) .topic-arrow {
    color: white;
    transform: rotate(180deg);
}

.topic-accordion-body {
    padding: 0 25px 25px 25px;
    background: #ffffff;
}

/* ========== GALERİ DESTEKLİ YATAY HUB KARTLARI ========== */
.hub-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* YENİ: GALERİ DESTEKLİ HUB KARTLARI */
.hub-item-horizontal-gallery {
    display: flex;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    position: relative;
}

.hub-item-horizontal-gallery:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #007bff;
}

/* GALERİ KONTEYNER */
.hub-gallery-container {
    width: 320px;
    height: 215px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    overflow: hidden;
}

/* ANA GÖRSEL */
.main-image-wrapper {
    width: 200px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hub-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hub-item-horizontal-gallery:hover .hub-main-image {
    transform: scale(1.05);
}

.hub-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

/* EXPERT BADGE (Ana görsel üzerinde) */
.expert-count-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* THUMBNAIL GALERİSİ */
.thumbnail-gallery {
    width: 120px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 2px;
    position: relative;
}

.gallery-thumb {
    flex: 1;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.2s ease;
}

/* "X GÖRSEL DAHA" BADGE */
.more-images-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 123, 255, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    z-index: 3;
}

.more-images-badge span {
    color: white;
}

/* İÇERİK ALANI */
.hub-content-horizontal {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hub-title-horizontal {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hub-experts-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.expert-tag {
    background: #f8f9fa;
    color: #495057;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.expert-tag:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.more-experts {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 500;
}

.hub-stats-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.hub-stats-horizontal .stat-item {
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    transition: none;
    cursor: default;
}

.hub-stats-horizontal .stat-item:hover {
    transform: none;
    background: transparent;
}

.hub-stats-horizontal .stat-item i {
    color: #007bff;
    font-size: 11px;
}

.hub-cta-horizontal {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    align-self: flex-start;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hub-cta-horizontal:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
    text-decoration: none;
}

/* ŞEHİR HEADER STİLLERİ */
.city-header {
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.city-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.city-icon-container .city-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
}

.city-hub-section {
    margin-bottom: 3rem;
}

/* HOVER EFFECTS */
.hub-gallery-container:hover .gallery-thumb {
    opacity: 0.7;
}

.hub-gallery-container:hover .gallery-thumb:hover {
    opacity: 1;
    border-color: #007bff;
}

/* LOADING ANIMATION */
.gallery-thumb img {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========== ŞEHİR GÖRSEL KOLAJI STİLLERİ ========== */
.city-image-collage {
    height: 200px;
    display: flex;
    position: relative;
    overflow: hidden;
}

.main-city-image {
    flex: 2;
    position: relative;
    overflow: hidden;
}

.main-city-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.city-card:hover .main-city-image img {
    transform: scale(1.1);
}

.side-city-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 2px;
    position: relative;
}

.side-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.city-card:hover .side-image img {
    filter: brightness(1);
    transform: scale(1.05);
}

.more-hubs-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    height: 100%;
}

.city-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 20px 16px 16px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.city-overlay-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.city-overlay-subtitle {
    opacity: 0.9;
    font-size: 0.85rem;
}

/* Fallback için gradient arka plan */
.city-gradient-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* City Card Styles */
.city-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #e9ecef;
    cursor: pointer;
    height: auto;
    background: white;
}

.city-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #007bff;
}

.city-card-content {
    padding: 1.5rem;
}

.stat-mini {
    padding: 0.5rem;
}

/* Şehir Sayfa İçeriği */
.city-intro-section {
    margin: -50px auto 50px;
    position: relative;
    z-index: 10;
}

.city-intro-content {
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
}

.intro-content {
    color: #495057;
    font-size: 16px;
    line-height: 1.7;
}

.intro-content h3 {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 1rem;
}

.intro-content p {
    margin-bottom: 1.2rem;
}

.intro-content strong {
    color: #007bff;
    font-weight: 600;
}

/* Read More Button */
.btn-link.text-primary {
    font-weight: 600;
    text-decoration: none !important;
    color: #007bff !important;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-link.text-primary:hover {
    color: #0056b3 !important;
    transform: translateY(-1px);
}

.intro-content {
    transition: all 0.3s ease;
}

/* Empty State */
.empty-state {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.empty-container {
    border: 2px dashed rgba(102, 126, 234, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.icon-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(102, 126, 234, 0.05) 100%);
}

/* Responsive Design */
.min-vh-70 { min-height: 70vh; }
.mb-6 { margin-bottom: 4rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-4xl { border-radius: 2rem !important; }

@media (max-width: 768px) {
    .hero-title { 
        font-size: 2.5rem;
        text-align: center;
    }
    
    .premium-category-hero {
        min-height: 60vh;
    }
    
    .min-vh-70 {
        min-height: 50vh;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .topic-accordion-button {
        padding: 15px 20px;
    }
    
    .topic-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .topic-title {
        font-size: 1.1rem;
    }
    
    .topic-accordion-body {
        padding: 0 20px 20px 20px;
    }
    
    .sub-categories-section {
        padding: 1.5rem;
    }
    
    .category-hierarchy-section {
        padding: 12px 0;
    }
    
    .hierarchy-breadcrumb {
        justify-content: flex-start;
        gap: 6px;
        padding: 0 15px;
    }
    
    .hierarchy-link,
    .hierarchy-current {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .hierarchy-separator {
        font-size: 10px;
    }
    
    /* GALERİ KARTLARI MOBİL RESPONSİVE */
    .hub-item-horizontal-gallery {
        flex-direction: column;
    }
    
    .hub-gallery-container {
        width: 100%;
        height: 250px;
        flex-direction: row;
    }
    
    .main-image-wrapper {
        width: 65%;
    }
    
    .thumbnail-gallery {
        width: 35%;
        flex-direction: column;
        gap: 3px;
        padding: 3px;
    }
    
    .gallery-thumb {
        flex: 1;
        width: 100%;
        height: auto;
        min-height: 60px;
        margin: 0;
        border-radius: 6px;
    }
    
    .more-images-badge {
        bottom: 6px;
        right: 6px;
        padding: 3px 8px;
        font-size: 10px;
    }
    
    .hub-content-horizontal {
        padding: 16px;
    }
    
    .expert-count-badge {
        top: 8px;
        left: 8px;
        padding: 3px 6px;
        font-size: 10px;
    }
    
    /* Şehir kolaj mobil */
    .city-image-collage {
        height: 180px;
    }
    
    .city-title-overlay {
        padding: 15px 12px 12px;
    }
    
    .city-overlay-title {
        font-size: 1.1rem;
    }
    
    .city-overlay-subtitle {
        font-size: 0.8rem;
    }
    
    .more-hubs-overlay {
        font-size: 12px;
    }
    
    .side-city-images {
        margin-left: 1px;
        gap: 1px;
    }
}

/* Hub Marker Popup Stilleri */
.hub-map-popup {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.4;
    min-width: 220px;
}

.hub-map-popup h6 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
}

.popup-stats {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    margin-bottom: 8px !important;
}

.popup-stats small {
    font-size: 11px;
    color: #6c757d;
}

.hub-map-popup .btn {
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.hub-map-popup .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
}

.hub-map-popup .btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1abc9c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* Google Maps Info Window Stilleri */
.gm-style-iw {
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.gm-style-iw-c {
    padding: 12px !important;
    border-radius: 8px !important;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

/* Hub Toggle Control Stilleri */
.hub-toggle-control {
    background: white;
    border: 2px solid #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #2c3e50;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 38px;
    margin: 10px;
    padding: 0 16px;
    text-align: center;
    transition: all 0.2s ease;
    user-select: none;
}

.hub-toggle-control:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.hub-toggle-control.inactive {
    background: #e9ecef;
    color: #6c757d;
}

/* Harita yüklenme animasyonu */
.map-loading {
    z-index: 1000;
}

.map-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive iyileştirmeler */
@media (max-width: 768px) {
    .hub-map-popup {
        min-width: 180px;
        font-size: 13px;
    }
    
    .hub-map-popup h6 {
        font-size: 13px;
    }
    
    .popup-stats small {
        font-size: 10px;
    }
    
    .hub-map-popup .btn {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .hub-toggle-control {
        font-size: 12px;
        padding: 0 12px;
        line-height: 32px;
    }
}

/* Marker animasyonları */
@keyframes markerBounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.marker-highlight {
    animation: markerBounce 0.6s ease-in-out;
}

/* Harita üzerindeki marker gruplaması için */
.marker-cluster {
    background: rgba(40, 167, 69, 0.8);
    border-radius: 50%;
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    padding: 8px;
    min-width: 30px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-cluster.small {
    background: rgba(40, 167, 69, 0.7);
    font-size: 12px;
}

.marker-cluster.medium {
    background: rgba(255, 193, 7, 0.8);
    font-size: 14px;
}

.marker-cluster.large {
    background: rgba(220, 53, 69, 0.8);
    font-size: 16px;
}

/* Hub marker'ları için özel hover efektleri */
.hub-marker:hover {
    filter: brightness(1.1) saturate(1.2);
    transform: scale(1.05);
    transition: all 0.2s ease;
}

/* Yüksek çözünürlük ekranlar için marker optimizasyonu */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hub-marker {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print medya için gizle */
@media print {
    .hub-toggle-control,
    .map-loading {
        display: none !important;
    }
}

/* Tıklanabilir thumbnail stilleri */
.popup-thumbnail a {
    display: block;
    text-decoration: none;
}

.popup-thumbnail img {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.popup-thumbnail img:hover {
    transform: scale(1.02);
    border-color: #28a745;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* ========== BÖLGE HARİTASI - TEMİZ VERSİYON ========== */
/* Scroll container */
.cities-scroll-container {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dee2e6 transparent;
}
.cities-scroll-container::-webkit-scrollbar { width: 4px; }
.cities-scroll-container::-webkit-scrollbar-track { background: transparent; }
.cities-scroll-container::-webkit-scrollbar-thumb { 
    background: #dee2e6; 
    border-radius: 2px; 
}

/* Glass panel */
.region-glass-panel {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

/* Map view badge controls - YENİ */
.region-map-view-btn {
    cursor: pointer;
    font-size: 10px;
    padding: 6px 12px;
    background: transparent;
    color: #0d6efd;
    border: 1px solid #0d6efd;
    transition: all 0.2s ease;
}

.region-map-view-btn.active {
    background: #0d6efd !important;
    color: white !important;
    border-color: #0d6efd !important;
}

.region-map-view-btn:hover {
    background: #0d6efd;
    color: white;
}

/* City hover effects */
.city-item:hover {
    background-color: rgba(13, 110, 253, 0.1);
    transform: translateX(5px);
}

.city-item:hover .city-action i {
    transform: translateX(2px);
    transition: transform 0.2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .region-map-view-btn {
        font-size: 9px;
        padding: 4px 8px;
    }
}