/* =========================================
   1. GENEL AYARLAR & DEĞİŞKENLER
   ========================================= */
:root {
    --primary: #E31E24;     /* NCC Kırmızısı */
    --secondary: #003366;   /* Kurumsal Lacivert */
    --accent: #F4A21C;      /* NCC Sarısı */
    --text-dark: #2c3e50;
    --text-grey: #636e72;
    --bg-light: #f9fbfd;
    --shadow-soft: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif; /* Okuma metinleri için */
    color: var(--text-dark);
    background-color: #ffffff;
    background-image: linear-gradient(to top, #f3f6fa 0%, #ffffff 100%);
    line-height: 1.7; /* Okunabilirlik için satır aralığı */
    overflow-x: hidden;
}

/* Başlıklar için Montserrat ayarı */
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    letter-spacing: -0.5px; 
    color: var(--secondary);
}

a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* =========================================
   2. NAVBAR
   ========================================= */
#navbar {
    background-color: rgba(255, 255, 255, 0.95);
    height: 110px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
    position: sticky; top: 0; z-index: 1000;
    backdrop-filter: blur(10px);
    transition: height 0.3s ease;
}

#navbar.scrolled { height: 90px; background-color: rgba(255, 255, 255, 0.98); }

.nav-container {
    max-width: 1200px; height: 100%; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; padding: 0 24px;
}

.logo-link img {
    height: 80px; width: auto; transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}
.logo-link img:hover { transform: scale(1.03); }

.nav-links { display: flex; gap: 35px; align-items: center; }

.nav-links li a {
    color: var(--text-dark); font-weight: 600; font-size: 15px; position: relative; padding: 5px 0;
}

.nav-links li a::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
    background-color: var(--primary); transition: width 0.3s ease;
}
.nav-links li a:not(.btn-contact):hover::after { width: 100%; }
.nav-links li a:not(.btn-contact):hover { color: var(--primary); }

/* İletişim Butonu */
.btn-contact {
    background-color: var(--primary) !important;
    color: white !important;
    padding: 12px 35px !important;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
    border: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-contact:hover { 
    background-color: #c41217 !important; 
    transform: translateY(-3px); 
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.4); 
}
.nav-links li a.btn-contact::after { display: none; }

.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger .bar { width: 25px; height: 3px; background-color: var(--secondary); transition: 0.3s; }

/* =========================================
   3. HERO SECTION (YENİLENDİ - MODERN TİPOGRAFİ)
   ========================================= */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, #0a1429 100%);
    color: white;
    padding: 140px 24px; /* Yükseklik ayarı */
    position: relative;
    display: flex;
    align-items: center;
}

.hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
}

/* GÖRSEL ALANI */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    /* Hafif bir floating (süzülme) efekti verebiliriz */
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

/* METİN ALANI (GÜNCELLENDİ) */
.hero-content {
    flex: 1.2; /* Yazıya biraz daha fazla alan */
    text-align: left;
    z-index: 2;
}

/* H1 BAŞLIK - Modern ve Tok Görünüm */
.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.8rem;      /* Boyut büyütüldü */
    font-weight: 800;       /* Extra Bold */
    line-height: 1.1;       /* Satırlar sıkılaştırıldı */
    letter-spacing: -1.5px; /* Harfler birbirine yaklaştırıldı */
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.2); /* Derinlik katar */
}

/* P PARAGRAF - Okunabilir ve Ferah */
.hero-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9); /* Göz yormayan beyaz */
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.8; /* Satır arası açıldı */
    max-width: 550px; /* Çok uzamasını engeller */
}

/* Buton Font Ayarı */
.hero-btn {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(45deg, var(--accent), #ffbb47);
    color: #fff;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(244, 162, 28, 0.4);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #ffbb47, var(--accent));
    box-shadow: 0 15px 40px rgba(244, 162, 28, 0.5);
}

/* Giriş animasyonu */
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   4. ORTAK BÖLÜM STİLLERİ
   ========================================= */
section { padding: 100px 24px; }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title span {
    color: var(--primary); font-weight: 800; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}
.section-title h2 { 
    font-size: 2.8rem; 
    color: var(--text-dark); 
    position: relative; 
    display: inline-block;
    font-weight: 800;
}
.section-title h2::after {
    content: ''; display: block; width: 60px; height: 4px; 
    background-color: var(--accent); margin: 20px auto 0; border-radius: 2px;
}
.bg-light { background-color: var(--bg-light); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }

/* =========================================
   5. HAKKIMIZDA & İSTATİSTİK KUTULARI
   ========================================= */
.about-wrapper { 
    display: flex; align-items: center; gap: 80px; flex-wrap: wrap; 
    max-width: 1200px; margin: 0 auto; 
}
.about-text { flex: 1; min-width: 300px; }
.about-text p { font-size: 1.1rem; color: var(--text-grey); margin-bottom: 25px; text-align: justify; }

.about-stats {
    flex: 1; min-width: 300px; 
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 20px;
}

.stat-box {
    background: #ffffff; padding: 30px 20px; border-radius: 15px;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    text-align: center; transition: all 0.3s ease; border: 1px solid #f0f0f0;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 100%;
}
.stat-box:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.15); border-color: transparent; }

.icon-wrap {
    width: 65px; height: 65px; background-color: rgba(227, 30, 36, 0.08);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: 0.3s;
}
.stat-box:hover .icon-wrap { background-color: var(--primary); }
.stat-box i { font-size: 1.8rem; color: var(--primary); transition: 0.3s; }
.stat-box:hover i { color: #ffffff; }

.stat-box h4 { font-size: 1.2rem; font-weight: 700; color: var(--secondary); margin-bottom: 12px; }
.stat-box p { font-size: 0.95rem; color: #777; line-height: 1.5; margin: 0; font-weight: 500; }

/* =========================================
   6. AVANTAJLAR (KARTLAR & GRID)
   ========================================= */
.grid-container {
    max-width: 1200px; margin: 0 auto; display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px;
}
.card {
    background: white; padding: 30px 20px; border-radius: 20px;
    box-shadow: var(--shadow-soft); transition: all 0.4s ease; height: 100%; border: 1px solid rgba(0,0,0,0.03);
}
.card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--secondary); }
.card p { color: var(--text-grey); font-size: 1.05rem; }

/* =========================================
   7. HİZMETLER BÖLÜMÜ (Modern Stil)
   ========================================= */
.service-card {
    background: transparent; padding: 30px; border-radius: 15px;
    border: 2px solid #e0e0e0; display: flex; align-items: flex-start; gap: 20px;
    transition: all 0.3s ease;
}
.service-icon {
    font-size: 40px; min-width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    background-color: #f0f0f0; border-radius: 12px; transition: all 0.3s ease;
}
.service-content h3 { margin-bottom: 10px; font-size: 1.4rem; color: var(--secondary); }
.service-content p { color: var(--text-grey); font-size: 1rem; margin: 0; }

.service-card:hover { transform: translateY(-5px); background: white; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }

/* Renkli Hoverlar */
.service-card.montaj:hover { border-color: var(--secondary); }
.service-card.montaj:hover .service-icon { background-color: var(--secondary); color: white; }
.service-card.destek:hover { border-color: var(--primary); }
.service-card.destek:hover .service-icon { background-color: var(--primary); color: white; }
.service-card.danismanlik:hover { border-color: var(--accent); }
.service-card.danismanlik:hover .service-icon { background-color: var(--accent); color: var(--secondary); }

/* =========================================
   8. ÖZEL KIRMIZI ARKA PLAN (Kazanımlar)
   ========================================= */
.bg-red {
    background-color: var(--primary) !important; color: white !important;
    position: relative; padding-top: 100px; padding-bottom: 100px;
}
.bg-red .section-title h2,
.bg-red .section-title span,
.bg-red p { color: white !important; }
.bg-red .section-title h2::after { background-color: white !important; }
.bg-red .card { background-color: white !important; color: var(--text-dark) !important; }
.bg-red .card h3 { color: var(--secondary) !important; }
.bg-red .card p { color: var(--text-grey) !important; }

/* =========================================
   9. FAQ (SIK SORULAN SORULAR)
   ========================================= */
.faq-wrapper { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 30px; }
.faq-category {
    background: #ffffff; border-radius: 20px;
    box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden; transition: box-shadow 0.3s ease;
}
.faq-category:hover { box-shadow: var(--shadow-hover); }
.faq-category-btn {
    width: 100%; padding: 30px 34px; background: none; border: none;
    font-size: 1.25rem; font-weight: 700; font-family: 'Montserrat', sans-serif;
    color: var(--secondary); display: flex; justify-content: space-between; align-items: center; cursor: pointer;
}
.faq-category-content { display: none; background-color: #fcfdff; }
.faq-item { border-top: 1px solid #eef1f5; }
.faq-question {
    width: 100%; padding: 24px 34px; background: none; border: none;
    font-size: 1.05rem; font-weight: 600; color: var(--text-dark);
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; transition: background 0.3s ease;
}
.faq-question:hover { background-color: var(--bg-light); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 34px 26px; color: var(--text-grey); font-size: 1.05rem; line-height: 1.7; }
.faq-category-btn .icon, .faq-question .icon { font-size: 22px; color: var(--primary); transition: transform 0.3s ease; }
.faq-category-btn.active .icon, .faq-question.active .icon { transform: rotate(45deg); }

/* =========================================
   10. İLETİŞİM
   ========================================= */
.contact-split-wrapper {
    display: flex; max-width: 1200px; margin: 40px auto; gap: 50px;
    padding: 0 20px; align-items: stretch;
}
.contact-info-side { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.info-row {
    display: flex; align-items: flex-start; padding: 25px 0; border-bottom: 1px solid #eee; transition: 0.3s ease;
}
.info-row:last-child { border-bottom: none; }
.info-icon {
    font-size: 24px; min-width: 50px; height: 50px; background: white;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin-right: 20px; border: 1px solid #f1f1f1; box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}
.info-text h3 { font-size: 1.1rem; color: var(--secondary); margin-bottom: 4px; font-weight: 700; }
.info-text p { color: #666; font-size: 0.95rem; margin-bottom: 8px; line-height: 1.4; }
.map-side { flex: 1.5; min-height: 450px; }
.map-frame-inner {
    width: 100%; height: 100%; border-radius: 20px; overflow: hidden;
    border: 8px solid white; box-shadow: var(--shadow-soft);
}

/* =========================================
   11. FOOTER & POPUP
   ========================================= */
footer {
    background-color: #0a1429;
    color: #888;
    padding: 70px 24px 30px;
    text-align: center;
}

footer h3 {
    color: white;
    margin-bottom: 15px;
}

.footer-links {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    margin: 0 10px;
    color: #555;
}

copyright {
    font-size: 0.85rem;
}


.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 13, 36, 0.8); z-index: 2000; justify-content: center; align-items: center; backdrop-filter: blur(8px);
}
.modal-content {
    background-color: white; padding: 50px; border-radius: 24px; width: 90%; max-width: 480px;
    position: relative; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,0.3); animation: popupFadeIn 0.4s ease;
}
@keyframes popupFadeIn { from { opacity: 0; transform: scale(0.9) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.close-popup { position: absolute; top: 20px; right: 25px; font-size: 32px; color: #ccc; cursor: pointer; transition: 0.3s; }
.close-popup:hover { color: var(--primary); transform: rotate(90deg); }
.modal-form input { width: 100%; padding: 18px; margin-bottom: 20px; border: 2px solid #f0f0f0; border-radius: 12px; font-size: 1rem; background: #fcfcfc; }
.modal-btn { background: linear-gradient(45deg, var(--primary), #ff4b5c); color: white; border: none; padding: 18px; width: 100%; border-radius: 12px; font-weight: 700; cursor: pointer; }
.modal-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(227, 30, 36, 0.3); }

/* =========================================
   12. MOBİL UYUMLULUK
   ========================================= */
@media (max-width: 992px) {
    .contact-split-wrapper { flex-direction: column; }
    .map-side { min-height: 350px; }
    .contact-info-side { order: 1; }
    
    /* Tablette Hero */
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .hero-image { margin-bottom: 30px; width: 100%; }
    .hero-content { text-align: center; padding: 0 20px; }
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .nav-links { display: none; position: absolute; top: 100px; left: 0; width: 100%; background: white; flex-direction: column; padding: 40px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
    .nav-links.active { display: flex; }
    #navbar { height: 90px; }
    .logo-link img { height: 65px; }
    .about-wrapper { gap: 40px; }
    .about-stats { grid-template-columns: 1fr; }
    
    .hero { padding: 100px 20px; }
    .hero-content h1 { font-size: 2.2rem; line-height: 1.2; letter-spacing: -1px; }
    .hero-content p { font-size: 1rem; }
    .hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
    object-fit: contain;
}
}
/* =========================================
   YENİ BAYİLER BÖLÜMÜ (SOL MENÜ - SAĞ LİSTE)
   ========================================= */

/* =========================================
   YENİ BAYİLER BÖLÜMÜ (SOL MENÜ - SAĞ LİSTE)
   ========================================= */

.dealers-section {
    background-color: #f49f37;
    padding: 80px 0;
    border-top: 1px solid #faeecd;
    border-bottom: 1px solid #faeecd;
}

.dealers-layout-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
    min-height: 620px;
}

/* --- SOL SIDEBAR --- */
.dealers-sidebar {
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 120px;
    height: 620px;
    display: flex;
    flex-direction: column;
}

.sidebar-header h3 {
    margin: 0 0 6px 0;
    font-size: 1.35rem;
    color: #0b1b33;
    font-weight: 800;
}

.sidebar-header p {
    margin: 0 0 16px 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Search */
.search-container {
    position: relative;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.search-container input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.10);
    outline: none;
    font-size: 0.95rem;
}

.search-container i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* City buttons list */
.city-filter-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.city-filter-list::-webkit-scrollbar {
    width: 6px;
}

.city-filter-list::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 10px;
}

.city-filter-list::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.18);
    border-radius: 10px;
}

.city-btn {
    width: 100%;
    border: 1px solid rgba(0,0,0,0.08);
    background: #f8fafc;
    color: #0b1b33;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
    text-align: left;
}

.city-btn:hover {
    transform: translateY(-1px);
    background: #f1f5f9;
}

.city-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: transparent;
}

/* --- SAĞ İÇERİK --- */
.dealers-content {
    height: 620px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 8px;
}

.dealers-content::-webkit-scrollbar {
    width: 8px;
}

.dealers-content::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.35);
    border-radius: 10px;
}

.dealers-content::-webkit-scrollbar-thumb {
    background: rgba(0, 36, 78, 0.25);
    border-radius: 10px;
}

.dealers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-content: start;
}

/* Dealer card */
.dealer-card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.10);
    border: 1px solid rgba(0,0,0,0.06);
}

.dealer-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.dealer-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0b1b33;
}

.dealer-badge {
    background: #e7f6ea;
    color: #1b7a2f;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 8px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.dealer-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 10px 0;
    color: #475569;
    font-size: 0.97rem;
}

.dealer-row i {
    color: var(--primary);
    margin-top: 3px;
}

.dealer-row p {
    margin: 0;
    line-height: 1.45;
}

.dealer-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.dealer-btn {
    flex: 1;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.08);
    transition: 0.18s ease;
}

.dealer-btn.ghost {
    background: #f8fafc;
    color: #0b1b33;
}

.dealer-btn.primary {
    background: var(--secondary);
    color: #fff;
    border-color: transparent;
}

.dealer-btn:hover {
    transform: translateY(-1px);
}

.no-result-box {
    text-align: center;
    padding: 50px;
    color: #888;
    background: white;
    border-radius: 10px;
    width: 100%;
}

.no-result-box i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
}

/* Tablet */
@media (max-width: 1100px) {
    .dealers-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobil */
@media (max-width: 992px) {
    .dealers-layout-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .dealers-sidebar {
        position: static;
        height: auto;
    }

    .dealers-content {
        height: auto;
        overflow: visible;
        padding-right: 0;
    }

    .dealers-grid {
        grid-template-columns: 1fr;
    }
}



/* MOBİL UYUM */
@media (max-width: 992px) {
    .dealers-layout-wrapper {
        flex-direction: column;
    }
    .dealers-sidebar {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    .city-filter-list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .pg-city-btn {
        white-space: nowrap;
        background: #f8f9fa;
        border: 1px solid #eee;
    }
}

/* =========================================
   BAYİ LİSTESİ SCROLL (KAYDIRMA) AYARI
   ========================================= */

/* Sağ taraftaki bayi listesi alanı */
.dealers-grid {
    display: grid;
    grid-template-columns: 1fr; /* Kartlar tam genişlikte tek sütun olsun */
    gap: 20px; /* Kartlar arası boşluk */
    
    /* --- İŞTE İSTEDİĞİN ÖZELLİK BURADA --- */
    max-height: 800px; /* Yaklaşık 4 kartın sığacağı yükseklik */
    overflow-y: auto;  /* İçerik taşarsa dikey scrollbar (çubuk) çıkar */
    
    /* İçerik kenarlara yapışmasın */
    padding-right: 15px; 
    padding-bottom: 10px;
}

/* --- ÖZEL KAYDIRMA ÇUBUĞU TASARIMI (Modern Görünüm) --- */

/* Çubuğun genişliği */
.dealers-grid::-webkit-scrollbar {
    width: 8px;
}

/* Çubuğun arka plan yolu */
.dealers-grid::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

/* Hareket eden çubuk kısmı */
.dealers-grid::-webkit-scrollbar-thumb {
    background: #ccc; 
    border-radius: 10px;
    transition: background 0.3s;
}

/* Üzerine gelince çubuk rengi (Sitenin Kırmızısı) */
.dealers-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary); 
}

/* Mobil Uyumluluk: Mobilde scroll zor olmasın, hepsini açalım */
@media (max-width: 992px) {
    .dealers-grid {
        max-height: none; /* Sınırlamayı kaldır */
        overflow-y: visible;
    }
}
/* =========================================
   BAYİ LİSTESİ DÜZENİ (2 SÜTUNLU & SCROLL)
   ========================================= */

.dealers-grid {
    display: grid;
    /* BURASI DEĞİŞTİ: repeat(2, 1fr) yaparak yan yana 2 kutu olmasını sağladık */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; /* Kutular arası boşluk */
    
    /* Yükseklik Sınırı ve Kaydırma */
    max-height: 800px; /* Yaklaşık 3-4 sıra (6-8 bayi) görünür, gerisi için scroll çıkar */
    overflow-y: auto;  /* Dikey kaydırma çubuğu ekler */
    
    padding-right: 10px; /* Scroll çubuğu içeriğe yapışmasın */
    align-content: start; /* İçerik azsa yukarıda kalsın, yayılmasın */
}

/* Scrollbar Tasarımı (Aynen kalabilir) */
.dealers-grid::-webkit-scrollbar { width: 8px; }
.dealers-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.dealers-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.dealers-grid::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* --- MOBİL UYUMLULUK --- */
/* Telefondan girince kutular sıkışmasın diye tek sütuna düşür */
@media (max-width: 992px) {
    .dealers-grid {
        grid-template-columns: 1fr; /* Mobilde Tek Sütun */
        max-height: none; /* Mobilde scroll kutusu yerine hepsi açılsın */
        overflow-y: visible;
    }
}
/* ===== DEALERS UI (Eski tasarım gibi) ===== */
.city-btn{
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  color: #0f172a;
  transition: .2s ease;
}
.city-btn:hover{ background: rgba(0,0,0,0.03); }
.city-btn.active{
  background: var(--primary);
  color: #fff;
}

.dealers-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dealer-card{
  background:#fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.dealer-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom: 10px;
}

.dealer-name{
  margin:0;
  font-size: 1.1rem;
  color:#0b1b33;
  letter-spacing: .2px;
}

.dealer-badge{
  background: #e7f5ea;
  color: #1b7a2f;
  font-weight: 900;
  font-size: .75rem;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.dealer-row{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin: 10px 0;
  color:#475569;
}
.dealer-row i{
  color: var(--primary);
  margin-top: 3px;
}
.dealer-row p{
  margin:0;
  line-height:1.45;
}

.dealer-actions{
  display:flex;
  gap: 12px;
  margin-top: 14px;
}

.dealer-btn{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration:none;
  border: 1px solid rgba(0,0,0,0.08);
}

.dealer-btn.ghost{
  background: #f8fafc;
  color:#0b1b33;
}

.dealer-btn.primary{
  background: #0b2b4f; /* eski görseldeki lacivert */
  color:#fff;
  border-color: transparent;
}

@media (max-width: 1100px){
  .dealers-grid{ grid-template-columns: 1fr; }
}
/* =========================
   DEALERS (Hizmet Noktaları) - UI FIX
========================= */

.dealers-section{
  padding: 80px 0;
}

/* Layout: sol filtre + sağ içerik */
.dealers-layout-wrapper{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

/* Sol panel */
.dealers-sidebar{
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
}

.sidebar-header h3{
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: #0b1b33;
  font-weight: 800;
}
.sidebar-header p{
  margin: 0 0 16px 0;
  color: #64748b;
  font-size: 0.95rem;
}

/* Search input */
.search-container{
  position: relative;
  margin-bottom: 14px;
}
.search-container input{
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  outline: none;
  font-size: 0.95rem;
}
.search-container i{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

/* City buttons list */
.city-filter-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.city-btn{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  background: #f8fafc;
  color: #0b1b33;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.18s ease;
  text-align: left;
}
.city-btn:hover{
  transform: translateY(-1px);
}
.city-btn.active{
  background: var(--primary);
  color: #fff;
  border-color: transparent;
}

/* Sağ kart grid */
.dealers-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

/* Dealer card */
.dealer-card{
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
}

.dealer-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.dealer-name{
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0b1b33;
}

.dealer-badge{
  background: #e7f6ea;
  color: #1b7a2f;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

.dealer-row{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: #475569;
  font-size: 0.97rem;
}
.dealer-row i{
  color: var(--primary);
  margin-top: 3px;
}
.dealer-row p{
  margin: 0;
  line-height: 1.45;
}

/* Actions */
.dealer-actions{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.dealer-btn{
  flex: 1;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.08);
  transition: 0.18s ease;
}

.dealer-btn.ghost{
  background: #f8fafc;
  color: #0b1b33;
}

.dealer-btn.primary{
  background: var(--secondary);
  color: #fff;
  border-color: transparent;
}

.dealer-btn:hover{
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 1100px){
  .dealers-layout-wrapper{
    grid-template-columns: 1fr;
  }
  .dealers-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   FORCE DEALERS STYLES (override)
========================= */
#dealers .dealers-layout-wrapper{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: start;
}

#dealers .dealers-sidebar{
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
}

#dealers .sidebar-header h3{
  margin: 0 0 6px 0;
  font-size: 1.35rem;
  color: #0b1b33;
  font-weight: 800;
}
#dealers .sidebar-header p{
  margin: 0 0 16px 0;
  color: #64748b;
  font-size: 0.95rem;
}

#dealers .search-container{
  position: relative;
  margin-bottom: 14px;
}
#dealers .search-container input{
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.10);
  outline: none;
  font-size: 0.95rem;
}
#dealers .search-container i{
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

#dealers .city-filter-list{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* ✅ Butonları kesin uygula */
#dealers button.city-btn{
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08) !important;
  background: #f8fafc !important;
  color: #0b1b33 !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: 0.18s ease !important;
  text-align: left !important;
}
#dealers button.city-btn:hover{
  transform: translateY(-1px);
}
#dealers button.city-btn.active{
  background: var(--primary) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* Sağ taraf grid */
#dealers #dealersGrid.dealers-grid{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

/* ✅ Kartları kesin uygula */
#dealers .dealer-card{
  background: #fff !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
}

#dealers .dealer-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

#dealers .dealer-name{
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
  color: #0b1b33;
}

#dealers .dealer-badge{
  background: #e7f6ea;
  color: #1b7a2f;
  font-weight: 900;
  font-size: 0.75rem;
  padding: 8px 10px;
  border-radius: 10px;
  white-space: nowrap;
}

#dealers .dealer-row{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: #475569;
  font-size: 0.97rem;
}
#dealers .dealer-row i{
  color: var(--primary);
  margin-top: 3px;
}
#dealers .dealer-row p{
  margin: 0;
  line-height: 1.45;
}

#dealers .dealer-actions{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

#dealers a.dealer-btn{
  flex: 1;
  display: inline-flex !important;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px 14px !important;
  border-radius: 12px !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  transition: 0.18s ease !important;
}

#dealers a.dealer-btn.ghost{
  background: #f8fafc !important;
  color: #0b1b33 !important;
}

#dealers a.dealer-btn.primary{
  background: var(--secondary) !important;
  color: #fff !important;
  border-color: transparent !important;
}

#dealers a.dealer-btn:hover{
  transform: translateY(-1px);
}

@media (max-width: 1100px){
  #dealers .dealers-layout-wrapper{
    grid-template-columns: 1fr;
  }
  #dealers #dealersGrid.dealers-grid{
    grid-template-columns: 1fr !important;
  }
}
/* =========================
   FEATURES (Avantajlar) - FIX/OVERRIDE
========================= */

#features{
  padding: 90px 0;
}

/* Grid düzeni */
#features #cardGrid.grid-container{
  width: min(1180px, 92%);
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* Kart */
#features .feature-card{
  background: rgba(255,255,255,0.07) !important; /* kırmızı zemin üstünde cam gibi */
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: 18px !important;
  padding: 22px 22px 20px 22px !important;
  box-shadow: 0 22px 60px rgba(0,0,0,0.18) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(6px);
}

#features .feature-card h3{
  margin: 10px 0 8px 0 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 0.2px;
}

#features .feature-card p{
  margin: 0 !important;
  color: rgba(255,255,255,0.88) !important;
  line-height: 1.55 !important;
  font-size: 0.98rem !important;
}

/* İkon */
#features .feature-icon{
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,0.12) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
}

#features .feature-icon i{
  color: #fff !important;
  font-size: 1.15rem !important;
}

/* Hover efekti */
#features .feature-card:hover{
  transform: translateY(-3px);
  transition: 0.2s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,0.24) !important;
}

/* Mobil */
@media (max-width: 1000px){
  #features #cardGrid.grid-container{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px){
  #features #cardGrid.grid-container{
    grid-template-columns: 1fr !important;
  }
}
/* =========================================
   HIZLI BAŞVURU MODAL GÜNCELLEMESİ
   ========================================= */

.modal-content-wide {
    width: 100%;
    max-width: 500px;
    padding: 30px 28px 24px;
    border-radius: 22px;
}

.modal-header {
    margin-bottom: 18px;
    text-align: center;
}

.modal-header h3 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-weight: 800;
}

.modal-header p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-form input {
    width: 100%;
    height: 52px;
    border: 1.5px solid #d9dee7;
    border-radius: 12px;
    padding: 0 16px;
    font-size: 0.98rem;
    outline: none;
    transition: 0.25s ease;
    background: #fff;
}

.modal-form input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(0, 48, 99, 0.08);
}

.consent-row-enhanced {
    margin-top: 2px;
    margin-bottom: 2px;
}

.consent-label-enhanced {
    display: grid;
    grid-template-columns: 22px 1fr;
    column-gap: 12px;
    align-items: start;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #374151;
}

.consent-label-enhanced input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    accent-color: var(--primary);
}

.consent-label-enhanced span {
    display: block;
}

.consent-label-enhanced a {
    color: #0b63ce;
    font-weight: 700;
    text-decoration: underline;
}

.modal-btn {
    margin-top: 2px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.modal-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

@media (max-width: 576px) {
    .modal-content-wide {
        max-width: 92%;
        padding: 24px 18px 20px;
    }

    .modal-header h3 {
        font-size: 1.5rem;
    }

    .modal-header p {
        font-size: 0.94rem;
    }

    .consent-label-enhanced {
        font-size: 0.9rem;
        grid-template-columns: 20px 1fr;
        column-gap: 10px;
    }
}