/* ==========================================================================
   Hoca Oto Çekici - Afyonkarahisar 7/24 Acil Oto Kurtarıcı & Taşıma
   Google Ads & SEO Odaklı Yüksek Dönüşümlü Stil Dosyası
   ========================================================================== */

:root {
    --primary: #0f172a;       /* Koyu Gece Mavisi / Çelik Siyahı */
    --primary-light: #1e293b;
    --accent: #fbbf24;        /* Oto Çekici Reflektör Sarısı */
    --accent-hover: #f59e0b;
    --accent-dark: #d97706;
    --danger: #ef4444;        /* Acil Durum Kırmızısı */
    --danger-hover: #dc2626;
    --success: #22c55e;       /* WhatsApp Yeşili */
    --success-hover: #16a34a;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-glow: 0 0 20px rgba(251, 191, 36, 0.45);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #334155;
    background-color: var(--bg-light);
    line-height: 1.6;
    padding-bottom: 75px; /* Mobil alt bar payı */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Üst Acil Durum Şeridi (Google Ads için kritik) */
.top-emergency-bar {
    background: #020617;
    color: #f8fafc;
    font-size: 0.88rem;
    padding: 7px 0;
    border-bottom: 1px solid #1e293b;
}

.top-emergency-bar a {
    color: #f8fafc;
    text-decoration: none;
    transition: color 0.2s;
}

.top-emergency-bar a:hover {
    color: var(--accent);
}

.badge-pulse {
    display: inline-block;
    width: 9px;
    height: 9px;
    background-color: #22c55e;
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Ana Navigasyon */
.navbar-custom {
    background-color: #0f172a;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.navbar-brand img {
    height: 52px;
    width: auto;
}

.nav-link {
    color: #cbd5e1 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 14px !important;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent) !important;
}

.dropdown-menu {
    background-color: #1e293b;
    border: 1px solid #334155;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 8px 0;
}

.dropdown-item {
    color: #e2e8f0;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 9px 18px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: rgba(251, 191, 36, 0.15);
    color: var(--accent);
}

/* Butonlar & Çağrı Elementleri */
.btn-emergency {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    animation: alertPulse 2s infinite;
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.6);
    color: #ffffff !important;
}

@keyframes alertPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #0f172a !important;
    font-weight: 800;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-accent:hover {
    background: linear-gradient(135deg, var(--accent-hover), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.5);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

/* Hero Bölümü (Google Ads İçin Optimize) */
.hero-section {
    background: linear-gradient(135deg, #0b1329 0%, #111e3b 50%, #0a1128 100%);
    color: #ffffff;
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    background-color: rgba(251, 191, 36, 0.15);
    color: var(--accent);
    border: 1px solid rgba(251, 191, 36, 0.4);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent);
}

.hero-desc {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 28px;
    max-width: 580px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item h4 {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 2px;
}

.stat-item p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 0;
    text-transform: uppercase;
    font-weight: 600;
}

/* Hızlı Teklif / Çekici Çağır Kutusu */
.hero-card {
    background: rgba(255, 255, 255, 0.98);
    color: #0f172a;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--accent);
}

.hero-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
}

.hero-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 18px;
}

/* Güven Rozetleri Çubuğu */
.trust-bar {
    background-color: #ffffff;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
    padding: 18px 0;
}

.trust-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(251, 191, 36, 0.15);
    color: var(--accent-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.trust-text h6 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 2px;
    color: #0f172a;
}

.trust-text p {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0;
}

/* Bölüm Başlıkları */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-subtitle {
    color: var(--accent-dark);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 14px;
}

.section-title span {
    color: var(--accent-dark);
}

/* Hizmet Kartları */
.service-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.service-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #0f172a;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.06);
}

.service-icon-float {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    border: 3px solid #ffffff;
}

.service-body {
    padding: 30px 24px 24px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.service-desc {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

/* İlçeler Izgarası (SEO için zengin) */
.district-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
}

.district-card:hover {
    background-color: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.district-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

.district-time {
    font-size: 0.8rem;
    color: #64748b;
}

.district-card:hover .district-time {
    color: var(--accent);
}

.district-badge {
    background-color: rgba(251, 191, 36, 0.15);
    color: var(--accent-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
}

.district-card:hover .district-badge {
    background-color: var(--accent);
    color: #0f172a;
}

/* Acil Çağrı Bannerı */
.emergency-cta-banner {
    background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
    color: #ffffff;
    border-radius: var(--radius-lg);
    padding: 45px 35px;
    box-shadow: 0 15px 30px rgba(220, 38, 38, 0.35);
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.emergency-cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
}

.emergency-cta-banner p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Galeri */
.gallery-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    background-color: #0f172a;
    aspect-ratio: 4 / 3;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95), transparent);
    color: #ffffff;
}

.gallery-overlay h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.gallery-overlay span {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
}

/* SSS (Akordeon) */
.faq-accordion .accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 14px;
    border-radius: var(--radius-md) !important;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 700;
    color: #0f172a;
    padding: 18px 22px;
    background-color: #ffffff;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(251, 191, 36, 0.08);
    color: #b45309;
}

/* Footer */
.footer-custom {
    background-color: #0a0f1d;
    color: #94a3b8;
    padding-top: 60px;
    border-top: 3px solid var(--accent);
}

.footer-custom h5 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-custom h5::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.93rem;
}

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

.footer-bottom {
    background-color: #050811;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 0.88rem;
    border-top: 1px solid #1e293b;
}

/* Mobil Alt Sabit Çağrı Çubuğu (GOOGLE ADS DÖNÜŞÜMÜ İÇİN HAYATİ ÖNEMDEDİR) */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    border-top: 2px solid var(--accent);
    padding: 8px 12px;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 10px;
}

.mobile-call-btn {
    flex: 1.3;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
    font-size: 1rem;
    padding: 12px 10px;
    border-radius: 8px;
    animation: alertPulse 1.8s infinite;
}

.mobile-whatsapp-btn {
    flex: 1;
    background-color: #25d366;
    color: #ffffff !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 12px 10px;
    border-radius: 8px;
}

@media (min-width: 992px) {
    .mobile-sticky-bar {
        display: none !important;
    }
}

/* Masaüstü Yüzen WhatsApp & Ara Butonları */
.floating-desktop-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.floating-wp {
    background-color: #25d366;
}

.floating-call {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: alertPulse 2s infinite;
}

@media (max-width: 991px) {
    .floating-desktop-actions {
        display: none !important;
    }
}
