  /* main.css */
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
/* Genel */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', Arial, sans-serif;
	font-size: 15px;
	line-height: 1.5;
}
body {
    background: #f8f9fa;
    color: #333;
}
/* Route Map Container */
.route-map-container {
    padding: 8px;
    display: block;
}
li {
  line-height: 30px;
}
.route-map-container .map {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
}
.route-map-container .info-box {
    margin-top: 10px;
    background: linear-gradient(145deg, #ffffff, #e6e6e6);
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 350px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.route-map-container .info-box.show {
    opacity: 1;
    transform: translateY(0);
}
.route-map-container .info-box p {
    margin: 6px 0;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}
.route-map-container .info-box p strong {
    color: #1a73e8;
}
/* Pagination */
nav.pagination {
    margin: 12px 0;
    padding: 4px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
nav.pagination ul {
    list-style: none;
    display: flex;
    gap: 4px;
    padding: 0;
    margin: 0;
    justify-content: center;
    flex-wrap: nowrap;
}
nav.pagination .desktop-pagination {
    display: flex;
}
nav.pagination .mobile-pagination {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 4px;
}
nav.pagination li {
    display: inline-flex;
}
nav.pagination a {
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    transition: background-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    line-height: 1;
    text-align: center;
}
nav.pagination a:hover {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}
nav.pagination a.active {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
    font-weight: 600;
}
nav.pagination a.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}
/* Firma Listesi */
.firm-list-content {
    margin-bottom: 0;
    padding-bottom: 0;
}
.firm-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.firm-card:hover {
    transform: translateY(-2px);
}
.firm-card-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.firm-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.firm-logo-link, .firm-title-link {
    text-decoration: none;
    color: inherit;
}
.firm-logo-link:hover img, .firm-title-link:hover {
    opacity: 0.9;
}
.firm-content h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
    color: #333;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-weight: 600;
}
.firm-content .firm-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.verified-badge {
    font-size: 0.8rem;
    color: #28a745;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}
.whatsapp-btn, .phone-btn, .quote-btn {
    padding: 6px 10px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s ease;
    line-height: 1;
    white-space: nowrap;
}
.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
}
.whatsapp-btn:hover {
    background-color: #20b358;
}
.phone-btn {
    background-color: #007bff;
    color: #fff;
}
.phone-btn:hover {
    background-color: #0056b3;
}
.quote-btn {
    background-color: #ff6600;
    color: #fff;
}
.quote-btn:hover {
    background-color: #e65c00;
}
.firm-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 6px;
    padding: 3px 6px;
    border-radius: 4px;
}
.firm-type i {
    color: #ff6600;
}
.ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #333;
    background-color: #ffeb3b;
    padding: 3px 6px;
    border-radius: 4px;
    margin-left: 6px;
}
.firm-card.ad {
    border: 2px solid #28a745;
    background-color: #f0fff0;
}
.membership-date {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.membership-date i {
    color: #ff6600;
}
.documents {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}
.document-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: #ffffff;
    background-color: #007bff;
    padding: 3px 6px;
    border-radius: 4px;
}
.breadcrumb-wrapper {
  background-color: #fff;
  width: 100%;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.breadcrumb {
  padding: 15px 12px;
  max-width: 1200px;
  margin: 0 auto;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 6px;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}
.breadcrumb li::after {
    content: ">";
    margin-left: 6px;
}
.breadcrumb li:last-child::after {
    content: "";
}
.breadcrumb a {
    text-decoration: none;
    color: #ff6600;
}
.breadcrumb a:hover {
    color: #e65c00;
}
.category-container {
    display: flex;
    max-width: 1200px;
    margin: 12px auto;
    gap: 12px;
    padding: 0 12px;
}
.firm-list {
    flex: 3;
    padding: 8px;
}
.firm-list h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: #333;
}
.section-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}
.sidebar {
  align-self: flex-start;
  flex: 0 0 auto;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 280px;
}
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 12px;
    left: 12px;
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 6px;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 2000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.faq-section {
    margin: 12px 0;
    max-width: 1200px;
}
.faq-section h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
}
.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.faq-item h3 {
    font-size: 1.1rem;
    padding: 10px;
    margin: 0;
    cursor: pointer;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
    transition: background 0.3s ease;
}
.faq-item h3:hover {
    background: #e9ecef;
}
.faq-item p {
    padding: 10px;
    margin: 0;
    display: none;
    font-size: 0.9rem;
    color: #666;
}
.faq-item.active p {
    display: block;
}
/* Mobil Görünüm (iPhone ve Android için optimize edildi) */
@media (max-width: 768px) {
    .category-container {
        flex-direction: column;
        padding: 0 8px;
    }
    .firm-list {
        order: 1;
        padding: 6px;
    }
    .sidebar {
        order: 2;
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 260px;
        height: 100%;
        background: #fff;
        padding: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        overflow-y: auto;
        transition: left 0.3s ease-in-out;
    }
    .sidebar.active {
        left: 0;
    }
    .sidebar-toggle {
        display: block;
    }
    .firm-card-inner {
        flex-direction: column;
        align-items: flex-start; /* Sola yasla */
        text-align: left; /* Metni sola hizala */
    }
    .firm-card img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 6px;
        margin-bottom: 8px;
    }
    .firm-card {
        padding: 8px;
    }
    .firm-content h3 {
        font-size: 1.1rem;
        justify-content: flex-start; /* Başlık sola yaslı */
    }
    .firm-content .firm-description {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
    }
    
    .buttons {
        gap: 5px;
        justify-content: flex-start; /* Butonlar sola yaslı */
    }
    .whatsapp-btn, .phone-btn, .quote-btn {
        padding: 5px 8px;
        font-size: 0.75rem;
        min-width: auto;
    }
    .faq-section {
        padding: 0px;
    }
    .faq-item h3 {
        font-size: 1rem;
    }
    .faq-item p {
        font-size: 0.85rem;
    }
}
@media (max-width: 480px) {
    .route-map-container .map {
        height: 150px;
    }
    .route-map-container .info-box p {
        font-size: 0.8rem;
    }
    .firm-list h1 {
        font-size: 1.4rem;
    }
    .section-subtitle {
        font-size: 0.9rem;
    }
    .firm-card img {
        height: 100px;
    }
    .firm-content h3 {
        font-size: 1rem;
    }
    .firm-content .firm-description {
        font-size: 0.8rem;
    }
    
    .whatsapp-btn, .phone-btn, .quote-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    .firm-type {
        font-size: 0.75rem;
        padding: 2px 5px;
    }
    .ad-badge, .document-badge {
        font-size: 0.7rem;
        padding: 2px 5px;
    }
    .membership-date {
        font-size: 0.7rem;
    }
}
   /* Yükleme animasyonu */
        .loading-spinner {
            display: none;
            text-align: center;
            padding: 20px;
            font-size: 1rem;
            color: #666;
            margin: 20px 0;
        }
        .loading-spinner.active {
            display: block;
        }
        .loading-spinner::after {
            content: '';
            display: inline-block;
            width: 24px;
            height: 24px;
            border: 3px solid #ff6600;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 1s linear infinite;
            margin-left: 10px;
            vertical-align: middle;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        /* Sentinel elementi */
        #sentinel {
            height: 50px;
            text-align: center;
            font-size: 0.9rem;
            color: #666;
            padding: 10px 0;
            visibility: visible;
            min-height: 50px;
        }
        /* Mevcut stilleri koru, sadece yeni eklemeler */
        .firm-list-content {
            margin-bottom: 0;
            padding-bottom: 0;
        }
        @media (max-width: 768px) {
            .loading-spinner {
                padding: 15px;
                font-size: 0.9rem;
            }
            .loading-spinner::after {
                width: 20px;
                height: 20px;
                border-width: 2px;
            }
            #sentinel {
                font-size: 0.85rem;
                padding: 8px 0;
                min-height: 40px;
            }
        }
        @media (max-width: 480px) {
            .loading-spinner {
                padding: 10px;
                font-size: 0.85rem;
            }
            .loading-spinner::after {
                width: 18px;
                height: 18px;
                border-width: 2px;
            }
            #sentinel {
                font-size: 0.8rem;
                padding: 6px 0;
                min-height: 30px;
            }
        }
   /* 🎨 Genel FAQ Stili */
.faq-section {
    margin: 20px auto;
    font-family: "Montserrat", Arial, sans-serif;
}
/* Başlık */
.faq-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 25px;
    border-bottom: 3px solid #0ea5e9;
    display: inline-block;
    padding-bottom: 8px;
}
/* Her soru kutusu */
.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* Soru başlığı */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 14px 20px;
    background: #f9fafb;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s ease;
}
.faq-question:hover {
    background: #e0f2fe;
}
/* Sol hizalı içerik */
.faq-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
/* İkonlar */
.faq-icon-question {
    color: #0284c7;
    font-size: 1.3rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.faq-icon-answer {
    color: #10b981;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 4px;
}
/* Metinler */
.faq-text {
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 600;
}
.faq-answer-text {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
/* Aç/Kapa ok ikonu */
.faq-toggle {
    transition: transform 0.3s ease;
    color: #64748b;
}
.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(180deg);
    color: #0ea5e9;
}
/* Cevap kutusu */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #ffffff;
    transition: max-height 0.35s ease, padding 0.3s ease;
    padding: 0 20px;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 15px 20px;
}
/* 📱 Mobil uyumluluk */
@media (max-width: 600px) {
    .faq-section {
        margin: 20px auto;
        padding: 0 10px;
    }
    .faq-title {
        font-size: 1.5rem;
    }
    .faq-text {
        font-size: 0.95rem;
    }
    .faq-answer-text {
        font-size: 0.9rem;
    }
}     
.category-intro-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 20px 30px 20px 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    font-family: 'Montserrat', sans-serif;
    color: #2d3748;
    line-height: 1.7;
}
.category-intro-container h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a3c6b;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
}
.category-intro-description,
.category-details-content {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #4a5568;
}
.category-details-content h2,
.category-details-content h3,
.category-details-content h4 {
    margin: 1.5rem 0 1rem;
    color: #2b6cb0;
    font-weight: 600;
}
.category-details-content h2 { font-size: 1.5rem; }
.category-details-content h3 { font-size: 1.25rem; }
.category-details-content h4 { font-size: 1.125rem; }
/* Liste Stilleri – SVG İkonlu (örnek) */
.category-details-content ul {
    padding-left: 0;
    margin: 1.5rem 0;
}
.category-details-content ul li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    list-style: none;
}
.category-details-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231a3c6b'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
}
/* Boş içerik mesajı */
.category-intro-empty {
    font-style: italic;
    color: #718096;
    text-align: center;
    margin-top: 1.5rem;
}
/* Mobil iyileştirmeler */
@media (max-width: 768px) {
    .category-intro-container {
        padding: 1.5rem;
        margin: 0px;
    }
}
.tab-header {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 15px;
}
.tab-btn {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    background: #f5f5f5;
    border: none;
    border-right: 1px solid #ddd;
    font-weight: 600;
    transition: background 0.3s ease;
}
.tab-btn:last-child {
    border-right: none;
}
.tab-btn:hover {
    background: #e9e9e9;
}
.tab-btn.active {
    background: #fff;
    color: #333;
    border-bottom: 2px solid #007bff;
}
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.tab-content.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* =============== PROFESYONEL & SIKI RATING =============== */
.stats {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
    margin: 5px 0;
    line-height: 1;
}

.stats > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.76rem;
    min-height: 20px;
    white-space: nowrap;
}

/* Göz */
.stats .fa-eye {
    font-size: 0.8em;
    color: #555;
}
.stats > span:first-child {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #ddd;
}

/* Portal Puanı */
.portal-rating {
    background: #fefce8;
    color: #d97706;
    border: 1px solid #fde68a;
}
.portal-rating .portal-star {
    color: #f59e0b;
    font-size: 0.8em;
}

/* Google Puanı */
.google-rating {
    background: #f0f7ff;
    color: #1a73e8;
    border: 1px solid #dbeafe;
}
.google-rating .google-icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

/* Küçük Sayılar */
.rating small {
    font-weight: 500;
    font-size: 0.68em;
    color: inherit;
    opacity: 0.8;
}

/* Mobil: Daha sıkı */
@media (max-width: 480px) {
    .stats {
        gap: 6px;
        font-size: 0.76rem;
    }
    .stats > span {
        padding: 2px 5px;
        font-size: 0.72rem;
    }
    .google-rating .google-icon {
        width: 11px;
        height: 11px;
    }
}
