:root {
    --primary: #0f4c81;
    --primary-dark: #0a355c;
    --secondary: #f39c12;
    --success: #27ae60;
    --danger: #e74c3c;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --border: #e2e8f0;
    --radius: 10px;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f1f5f9;
    color: var(--dark);
    line-height: 1.6;
    padding-bottom: 70px; /* Mobil sticky bar boşluğu */
}

a { color: var(--primary); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--primary-dark); }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}
.brand-logo .dot { color: var(--secondary); }
.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu a { font-weight: 600; color: var(--dark); font-size: 0.95rem; }
.nav-menu a:hover { color: var(--primary); }

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-emergency {
    background: var(--danger);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* Breadcrumb */
.breadcrumb-container { margin: 16px 0; font-size: 0.85rem; }
.breadcrumb { display: flex; list-style: none; flex-wrap: wrap; gap: 6px; color: var(--gray); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 6px; color: var(--gray); }
.breadcrumb-item.active { color: var(--dark); font-weight: 600; }

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 40px 0;
    border-radius: var(--radius);
    margin-top: 16px;
    text-align: center;
}
.hero-title { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.hero-subtitle { font-size: 1.1rem; opacity: 0.9; max-width: 700px; margin: 0 auto 24px; }

/* Fast Search Bar */
.search-box {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 850px;
    margin: 0 auto;
}
.search-select {
    flex: 1 1 200px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    background-color: #fff;
    color: var(--dark);
}
.search-btn {
    flex: 1 1 140px;
    background: var(--secondary);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: var(--radius);
    padding: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}
.search-btn:hover { background: #d68910; }

/* Category Tabs */
.category-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 24px 0;
}
.cat-pill {
    background: #ffffff;
    padding: 16px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--dark);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}
.cat-pill:hover, .cat-pill.active {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.cat-icon { font-size: 1.5rem; }

/* Sponsor Banner / Page Takeover Card */
.sponsor-card {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #ffffff;
    padding: 24px;
    border-radius: var(--radius);
    margin: 24px 0;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-left: 6px solid #34d399;
}
.sponsor-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}
.sponsor-title { font-size: 1.5rem; font-weight: 800; }
.sponsor-desc { font-size: 0.95rem; opacity: 0.9; margin-top: 4px; }
.sponsor-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-call {
    background: #ffffff;
    color: #065f46 !important;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Listings Grid */
.listing-section { margin: 32px 0; }
.section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; color: var(--dark); }
.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}
.listing-card {
    background: #ffffff;
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid var(--primary);
}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.card-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); }
.card-rating {
    background: #fef3c7;
    color: #92400e;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.card-address { color: var(--gray); font-size: 0.85rem; margin-bottom: 12px; }
.card-meta { display: flex; gap: 10px; font-size: 0.8rem; margin-bottom: 16px; }
.badge-247 { background: #dcfce7; color: #166534; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.card-actions { display: flex; gap: 8px; }
.btn-card-call {
    flex: 1;
    background: var(--primary);
    color: #fff !important;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
}
.btn-card-wp {
    flex: 1;
    background: #25d366;
    color: #fff !important;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Semantic Content & FAQ */
.semantic-box {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius);
    margin: 32px 0;
    box-shadow: var(--shadow);
}
.semantic-box h2, .semantic-box h3 { margin: 18px 0 10px; color: var(--primary-dark); }
.semantic-box p { margin-bottom: 14px; color: #334155; }
.semantic-box ul { margin-left: 20px; margin-bottom: 16px; }
.semantic-box li { margin-bottom: 6px; }

/* FAQ Accordion */
.faq-accordion { margin-top: 20px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question {
    background: #f8fafc;
    padding: 16px 20px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer { padding: 16px 20px; background: #fff; display: none; color: var(--dark); font-size: 0.95rem; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { background: #f1f5f9; color: var(--primary); }

/* Sticky Mobile Bar */
.sticky-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    display: flex;
    z-index: 999;
    padding: 8px 12px;
    gap: 8px;
}
.sticky-btn-call {
    flex: 1;
    background: var(--danger);
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.sticky-btn-wp {
    flex: 1;
    background: #25d366;
    color: #fff !important;
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Ad Containers */
.ad-container { text-align: center; margin: 20px 0; overflow: hidden; }
.ad-placeholder {
    background: #e2e8f0;
    border: 2px dashed #cbd5e1;
    color: var(--gray);
    padding: 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 40px 0 20px;
    margin-top: 50px;
    font-size: 0.9rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.footer-col h4 { color: #ffffff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #334155; padding-top: 20px; text-align: center; font-size: 0.85rem; }

@media (min-width: 769px) {
    .sticky-mobile-bar { display: none; }
    body { padding-bottom: 0; }
}
@media (max-width: 768px) {
    .hero-title { font-size: 1.6rem; }
    .nav-menu { display: none; }
    .sponsor-card { flex-direction: column; text-align: center; }
    .sponsor-actions { width: 100%; justify-content: center; }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 75px;
    left: 16px;
    right: 16px;
    max-width: 850px;
    margin: 0 auto;
    background: #0f172a;
    color: #f1f5f9;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    font-size: 0.88rem;
    border: 1px solid #334155;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-text {
    flex: 1 1 300px;
    line-height: 1.5;
}
.cookie-btn {
    background: #22c55e;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.88rem;
    transition: background 0.2s;
}
.cookie-btn:hover { background: #16a34a; }
@media (min-width: 769px) {
    .cookie-banner { bottom: 20px; }
}

/* Detay Butonu ve Zengin Firma Profili */
.btn-card-detail {
    background: #f1f5f9;
    color: var(--dark) !important;
    text-align: center;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.btn-card-detail:hover {
    background: #e2e8f0;
    color: var(--primary) !important;
}
.service-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 16px 0;
}
.service-check-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}
.service-check-item span.icon {
    color: #16a34a;
    font-size: 1.1rem;
}
.pricing-guide-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
}
.pricing-guide-table th, .pricing-guide-table td {
    padding: 12px;
    border: 1px solid var(--border);
    text-align: left;
}
.pricing-guide-table th {
    background: #f1f5f9;
    font-weight: 700;
}


/* ==========================================================================
   YILDIZLAR & DEĞERLENDİRME PUANI STİLLERİ (CTR & GÖRSEL ARTIRICI)
   ========================================================================== */
.star-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 3px 8px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}
.star-rating-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.2);
}
.stars-gold {
    color: #f59e0b;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    line-height: 1;
}
.stars-empty {
    color: #cbd5e1;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    line-height: 1;
}
.rating-val {
    color: #b45309;
    font-weight: 800;
    font-size: 0.85rem;
    margin-left: 2px;
}
.rating-cnt {
    color: #78350f;
    font-size: 0.78rem;
    font-weight: 600;
}

/* HERO BÖLÜMÜ GÜVEN & YILDIZ ROZETİ */
.hero-star-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-top: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #fde68a;
    font-size: 0.88rem;
    color: #1e293b;
    flex-wrap: wrap;
}
.hero-star-rating-badge .stars-gold {
    font-size: 1.1rem;
}
.hero-star-rating-badge .badge-verified {
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
}

/* FİRMA DETAY SAYFASI YILDIZ KARTI */
.rating-overview-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    box-shadow: var(--shadow);
}
.rating-score-big {
    font-size: 3rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}
.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 4px;
}
.rating-bar-progress {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}
.rating-bar-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 4px;
}

/* İNTERAKTİF YILDIZ OYLAMA BİLEŞENİ */
.interactive-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}
.interactive-stars input[type="radio"] {
    display: none;
}
.interactive-stars label {
    font-size: 1.8rem;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}
.interactive-stars label:hover,
.interactive-stars label:hover ~ label,
.interactive-stars input[type="radio"]:checked ~ label {
    color: #f59e0b;
    transform: scale(1.15);
}
