/* =========================================
   1. GENEL AYARLAR VE RENK PALETİ
========================================= */
:root {
    --bg-color: #121212;
    --bg-darker: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --primary-color: #f07f16;
    /* Premium Sarı/Gold Rengi */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   AÇILIR MENÜ (DROPDOWN) STİLLERİ
========================================= */
.desktop-nav ul li {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle .material-icons {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Hover durumunda ok döner */
.desktop-nav ul li.dropdown:hover .dropdown-toggle .material-icons {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    min-width: 220px;
    padding: 10px 0;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 3px solid var(--primary-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    
    /* Gizleme Efekti */
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.desktop-nav ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px !important;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: all 0.3s ease;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: rgba(243, 156, 18, 0.1);
    color: var(--primary-color) !important;
    padding-left: 30px; /* Üzerine gelince metin hafif sağa kayar */
}

/* =========================================
   MANUEL AKTİF MENÜ KONTROLÜ (GÜNCEL)
========================================= */
#sayfa-ana-sayfa .nav-ana-sayfa,
#sayfa-hakkimizda .nav-hakkimizda,
#sayfa-hizmetlerimiz .nav-hizmetlerimiz,
#sayfa-alim .nav-alim,
#sayfa-satim .nav-satim,
#sayfa-konsinye .nav-konsinye,
#sayfa-iletisim .nav-iletisim {
    color: var(--primary-color);
    opacity: 1;
}

/* =========================================
   YENİ PREMİUM HEADER TASARIMI
========================================= */
.main-header {
    position: absolute; /* Hero resminin üzerine binmesi için */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sayfa aşağı kayınca header arka planı kararsın isterseniz (Opsiyonel JS ile) */
.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    position: fixed;
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO STİLİ */
/* Logo Görsel Ayarı */
.brand-logo {
    height: 60px; /* İdeal görünüm yüksekliği, logonuzun oranına göre 50-60 arası değişebilir */
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.3)); /* Koyu zeminde daha net durması için hafif gölge */
    transition: transform 0.3s ease;
}

.logo a:hover .brand-logo {
    transform: scale(1.05); /* Üzerine gelince hafif büyüme efekti */
}

/* Header Container Düzenlemesi */
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Telefon dairesi logonuzdaki lacivertle çakışmaması için altın sarısı detayını koruyoruz */
.phone-icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

/* Sayfa aşağı kaydığında header'ın logonuzla uyumlu durması için */
.main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.98);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* MENÜ STİLİ */
.desktop-nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
}

.desktop-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    opacity: 0.8;
}

.desktop-nav ul li a:hover, 
.desktop-nav ul li a.active {
    color: var(--primary-color);
    opacity: 1;
}

/* TELEFON BÖLÜMÜ (Görseldeki gibi) */
.header-contact {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-icon-circle {
    width: 50px;
    height: 50px;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

.phone-icon-circle .material-icons {
    font-size: 20px;
}

.phone-text {
    display: flex;
    flex-direction: column;
}

.phone-sub {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 2px;
}

.phone-number {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.header-contact:hover .phone-icon-circle {
    background-color: var(--primary-color);
    color: #121212;
}

.header-contact:hover .phone-number {
    color: var(--primary-color);
}

/* MOBİL BUTON */
.hamburger-menu {
    display: none; /* Masaüstünde gizli */
}

/* MOBİL UYUMLULUK */
@media screen and (max-width: 1024px) {
    .desktop-nav, .header-contact {
        display: none;
    }
    .hamburger-menu {
        display: block;
    }
}

/* =========================================
   HERO SLIDER ÖZEL VE ORTAK STİLLERİ
========================================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Tam ekran yükseklik */
    background-color: #000;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

/* =========================================
   HERO SLIDER - SOLA YASLI TASARIM GÜNCELLEMESİ
========================================= */
.hero-slide-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: flex-start; /* İçeriği yatayda sola yaslar */
    align-items: center;        /* İçeriği dikeyde ortada tutar */
    text-align: left;           /* Yazıları sola yaslar */
    padding-left: 10%;          /* Yazıların ekrana yapışmaması için soldan boşluk */
}

.hero-content {
    z-index: 10;
    max-width: 700px; /* Sola yaslıyken kutuyu biraz daha daraltmak daha şık durur */
    padding: 0;
}

.hero-subtitle {
    margin-bottom: 15px;
    letter-spacing: 3px; /* Premium hissi için harf arası boşluk */
}

.hero-title {
    font-size: clamp(40px, 6vw, 75px); /* Ekran boyutuna göre dinamik başlık boyutu */
    margin-bottom: 30px;
    line-height: 1.1;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start; /* Butonları da sola yaslar */
}

/* Okların ve noktaların yerini sola yaslı tasarıma göre optimize edelim */
.hero-pagination {
    left: 10% !important; /* Noktalar da yazıların hizasında başlasın */
    text-align: left !important;
    width: auto !important;
    bottom: 50px !important;
}

/* Mobil için hizalamayı tekrar merkeze çekmek isteyebilirsin (isteğe bağlı) */
@media screen and (max-width: 768px) {
    .hero-slide-item {
        justify-content: center;
        text-align: center;
        padding-left: 0;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-pagination {
        left: 0 !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Yönlendirme Okları Stili (Kategori slider ile ortak) */
.hero-prev, .hero-next {
    color: var(--primary-color) !important;
    background-color: rgba(26, 26, 26, 0.8) !important;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50% !important;
    border: 1px solid var(--primary-color) !important;
    transition: var(--transition) !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 15;
}

.hero-prev::after, .hero-next::after {
    font-size: 18px !important;
    font-weight: bold;
}

/* Okların yerleşimi */
.hero-next { right: 30px !important; }
.hero-prev { left: 30px !important; }

/* Okların hover efekti */
.hero-prev:hover, .hero-next:hover {
    background-color: var(--primary-color) !important;
    color: #121212 !important;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.7);
}

/* Noktalı Paginasayon Stili (Kategori slider ile ortak) */
.hero-pagination {
    bottom: 30px !important;
    z-index: 15;
}

.hero-pagination .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    transition: var(--transition);
}

/* Aktif nokta */
.hero-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
    transform: scale(1.2);
}

/* Animasyon: Yazılar her slaytta yumuşakça belirsin */
.swiper-slide-active .hero-title {
    animation: fadeInUp 0.8s ease forwards;
}

.swiper-slide-active .hero-subtitle {
    animation: fadeInUp 0.8s ease forwards 0.2s;
}

/* Düğmeler image_7.png 'deki gibi */
.btn-primary {
    background-color: var(--primary-color);
    color: #121212;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #fff;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 23px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: #fff;
    color: #121212;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .hero-prev, .hero-next {
        display: none !important;
    }
}

/* =========================================
   PREMIUM FOOTER TASARIMI
========================================= */
.main-footer {
    background-color: #0a0a0a;
    color: #fff;
    padding-top: 80px;
}

/* 1. Üst İletişim Bandı */
.footer-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    padding: 0 5%;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255,255,255,0.03);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

.footer-contact-item .icon-box {
    color: var(--primary-color);
}

.footer-contact-item .text-box span {
    display: block;
    font-size: 13px;
    color: #888;
}

.footer-contact-item .text-box a, 
.footer-contact-item .text-box p {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

/* 2. Orta Bölüm */
.footer-middle {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    height: 60px; /* Logoyu burada da büyük tutuyoruz */
    margin-bottom: 25px;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* 3. Bülten Formu */
.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 20px;
    border-radius: 30px 0 0 30px;
    color: #fff;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    border: none;
    padding: 0 25px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #fff;
}

/* 4. Alt Telif Hakları */
.footer-bottom {
    background: #000;
    padding: 30px 0;
    margin-top: 60px;
}

.bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    color: #666;
    font-size: 14px;
}

.bottom-links a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
}

/* Mobil */
@media screen and (max-width: 768px) {
    .footer-top, .footer-middle {
        grid-template-columns: 1fr;
    }
    .bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
/* =========================================
   5. MOBİL UYUMLULUK (RESPONSIVE)
========================================= */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 50px;
    }
}

@media screen and (max-width: 768px) {

    /* Header Mobil Ayarları */
    .main-header {
        padding: 20px;
    }

    .main-header.scrolled {
        padding: 15px 20px;
    }

    .desktop-nav,
    .contact-phone {
        display: none;
        /* Masaüstü menüyü mobilde gizle */
    }

    .hamburger-menu {
        display: flex;
        /* Hamburger ikonunu göster */
    }

    /* Hero Bölümü Mobil Ayarları */
    .hero-section {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-title {
        font-size: 40px;
    }

    .btn-primary,
    .btn-outline {
        display: block;
        margin: 0 0 15px 0;
        width: 100%;
    }

    /* Footer Mobil Ayarları */
    .footer-top {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-middle {
        grid-template-columns: 1fr;
        /* Sütunları alt alta diz */
        text-align: center;
    }

    .footer-newsletter form {
        flex-direction: column;
    }
}

/* =========================================
   6. HAKKIMIZDA BÖLÜMÜ
========================================= */
.about-section {
    padding: 100px 10%;
    background-color: var(--bg-color);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

/* Tüm sectionlar için ortak başlık stilleri */
.section-subtitle {
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #fff;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.about-desc strong {
    color: var(--primary-color);
}

.about-features {
    margin-top: 25px;
}

.about-features li {
    margin-bottom: 10px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 20px;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    /* Resmin altındaki boşluğu alır */
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background-color: var(--primary-color);
    color: #121212;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    width: max-content;
}

.experience-badge .years {
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
}

.experience-badge .text {
    font-weight: bold;
    font-size: 14px;
    line-height: 1.2;
}

/* Hakkımızda Bölümü Mobil Uyumluluk (Bunu CSS'deki en alttaki @media (max-width: 768px) içine ekleyin) */
@media screen and (max-width: 768px) {
    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .experience-badge {
        left: 20px;
        bottom: -20px;
        padding: 20px;
    }
}

/* =========================================
   7. HİZMETLERİMİZ BÖLÜMÜ (YENİ TASARIM)
========================================= */
.services-section {
    padding: 100px 10%;
    background-color: var(--bg-darker);
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--bg-darker);
    /* Kartın arka planı bölümle aynı renk */
    border-radius: 20px;
    height: 450px;
    position: relative;
    cursor: pointer;
}

/* Görseldeki sol alt kıvrım efekti burada yapılıyor */
.service-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 90px;
    /* Alt kısımdaki yazıya yer açıyoruz */
    border-radius: 20px 20px 20px 80px;
    /* Sadece sol alt köşeyi 80px içeri kıvırıyoruz */
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: brightness(0.85);
    /* Resimleri biraz karartarak daha premium bir hava katıyoruz */
}

.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: brightness(1);
}

/* Kartın altındaki numaralandırma ve başlık alanı */
.service-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.service-number {
    width: 55px;
    height: 55px;
    min-width: 55px;
    /* Daralmayı önler */
    border: 1px solid var(--text-muted);
    /* Başlangıçta gri çerçeve */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    transition: var(--transition);
}

.service-card:hover .service-number {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.service-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

/* Mobil Uyumluluk Güncellemesi */
@media screen and (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-card {
        height: 400px;
    }
}


/* =========================================
   8. VİTRİNİMİZ BÖLÜMÜ (SWIPER SLIDER)
========================================= */
.featured-cars-section {
    padding: 100px 0;
    /* Yanlardan sıfırladık çünkü kartlar ekrandan taşacak */
    background-color: var(--bg-color);
    overflow: hidden;
}

.showcaseSwiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
    /* Alttaki bilgi kutusu için boşluk */
}

/* Swiper Slayt Yapısı (Taşıyıcı Kutu - EFEEKTSİZ OLMALI) */
.showcaseSwiper .swiper-slide {
    width: 60%;
    margin: 0 !important; 
    box-sizing: border-box; /* Genişliği net hesaplaması için gerekli */
    /* DİKKAT: transform ve opacity buradan silindi! */
    padding: 0 15px;
}

/* Aktif (Ortadaki) Kart */
.showcaseSwiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
    /* Orijinal boyuta getir */
    z-index: 2;
}

/* KARTIN KENDİSİ (Efektleri Buraya Veriyoruz) */
.showcase-card {
    position: relative;
    border-radius: 20px;
    height: 500px;
    width: 100%;
    
    /* EFEKTLER BURAYA TAŞINDI */
    transition: all 0.5s ease;
    opacity: 0.4;
    transform: scale(0.85); /* Aktif olmayanlar %15 küçük durur */
}

/* AKTİF (ORTADAKİ) KART */
.showcaseSwiper .swiper-slide-active .showcase-card {
    opacity: 1;
    transform: scale(1); /* Ortaya gelince tam boyuta ulaşır */
    z-index: 2;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

/* =========================================
   YENİ KOMPAKT BİLGİ KUTUSU TASARIMI
========================================= */
.showcase-info-compact {
    position: absolute;
    bottom: -30px;
    /* Başlangıçta biraz daha aşağıda durur */
    left: 5%;
    width: 90%;
    background-color: #222222;
    /* Referans görseldeki gibi koyu gri */
    padding: 15px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 10;
}

/* Sadece ortadaki (aktif) kartın bilgileri görünsün */
.showcaseSwiper .swiper-slide-active .showcase-info-compact {
    opacity: 1;
    visibility: visible;
    bottom: -15px;
    /* Resmin alt sınırından hafifçe dışarı taşar (Görseldeki efekt) */
}

.info-left h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 5px;
    /* Başlık ve özellikler arası boşluğu kısalttık */
    line-height: 1.2;
}

.car-specs-compact {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.car-specs-compact span {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
}

.car-specs-compact .material-icons {
    color: var(--primary-color);
    font-size: 18px; /* Boyutu buradan ayarla */
    margin-right: 8px;
    vertical-align: middle;
}

.info-right {
    flex-shrink: 0;
    /* Butonun sola doğru sıkışmasını engeller */
}

/* Kompakt buton tasarımı */
.compact-btn {
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #121212;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.compact-btn:hover {
    background-color: #fff;
}

/* Vitrin Bilgi Kutusu Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .showcase-info-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .info-right {
        width: 100%;
    }

    .compact-btn {
        width: 100%;
        text-align: center;
    }
}

/* =========================================
   9. GERÇEK 360 SANAL TUR (PANNELLUM)
========================================= */
.virtual-tour-360-section {
    position: relative;
    width: 100%;
    height: 65vh; /* Yüksekliği dilediğiniz gibi ayarlayabilirsiniz */
    background-color: #121212;
}

#panorama-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.tour-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 750px;
    
    /* ÖNEMLİ: Ziyaretçinin fareyle yazıların arkasındaki resmi tutabilmesini sağlar */
    pointer-events: none; 
}

/* Sadece butonun tıklanabilir olmasını geri açıyoruz */
/* Sadece butonun tıklanabilir olmasını geri açıyoruz */
.tour-overlay-content .btn-360-interactive {
    pointer-events: auto; 
    
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    margin-top: 35px; /* YAZILARLA BUTON ARASINDAKİ BOŞLUK BURADAN AYARLANIR */
    background-color: rgba(0, 0, 0, 0.5); /* Yarı şeffaf siyah arka plan */
    color: var(--primary-color);
    font-size: 18px;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
}

.btn-360-interactive:hover {
    background-color: var(--primary-color);
    color: #121212;
    transform: translateY(-5px);
}

.btn-360-interactive:hover .icon-360 {
    transform: rotate(180deg);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .tour-overlay-content .tour-title { font-size: 28px; }
    .virtual-tour-360-section { height: 50vh; }
}

i {
    color: red !important; /* İkonlar kırmızı olarak görünüyor mu bak */
    font-size: 30px !important;
}

/* =========================================
   10. GÜNCEL HABERLER - KESİN ÇÖZÜM (GRID + V2)
========================================= */
.news-section {
    padding: 100px 10%;
    background-color: var(--bg-darker);
}

/* Kartları yan yana dizen asıl yer burası */
.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 eşit sütun */
    gap: 30px; /* Kartlar arası boşluk */
    width: 100%;
}

.news-card-v2 {
    display: flex; /* İçeriği dikeyde dizmek için */
    flex-direction: column;
    background-color: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    position: relative;
    height: 100%; /* Kartların boyunu eşitlemek için */
}

.news-image-v2 {
    position: relative;
    height: 400px; /* Büyük görsel */
    width: 100%;
    overflow: hidden;
}

.news-image-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-overlay-v2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px 20px 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.95));
    z-index: 2;
}

.news-category-v2 {
    color: var(--primary-color);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.news-overlay-v2 h3 {
    color: #fff;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.news-date-v2 {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: #121212;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    z-index: 3;
    line-height: 1.1;
}

.news-date-v2 span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
}

.news-footer-v2 {
    padding: 20px;
    display: flex;
    justify-content: center;
    background-color: #1a1a1a;
    margin-top: auto; /* Footer'ı her zaman en alta iter */
}

.read-more-btn {
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.read-more-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

/* Hover Efektleri */
.news-card-v2:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.news-card-v2:hover .news-image-v2 img {
    transform: scale(1.1);
}

.news-card-v2:hover .read-more-btn::after {
    width: 100%;
}

/* --- BLOG MOBİL UYUMLULUK --- */
@media screen and (max-width: 1024px) {
    .news-container {
        grid-template-columns: repeat(2, 1fr); /* Tabletlerde 2 sütun */
    }
}

@media screen and (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        padding: 0 10px;
    }
    .news-section {
        padding: 60px 5%;
    }
}

/* =========================================
   11. ARAÇ KATEGORİLERİ BÖLÜMÜ
========================================= */
.car-types-section {
    padding: 100px 10%;
    background-color: var(--bg-color);
}

.types-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.type-card {
    text-decoration: none;
    display: block;
}

.type-image {
    position: relative;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
}

.type-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.type-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
}

.type-overlay h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Görseldeki meşhur sol alt ok butonu */
.type-arrow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background-color: var(--bg-darker); /* Bölüm arka planı ile aynı */
    border-radius: 0 40px 0 0; /* Sağ üstten kavis */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.type-arrow .material-icons {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    transition: var(--transition);
}

/* Hover Efektleri */
.type-card:hover .type-image img {
    transform: scale(1.1);
}

.type-card:hover .type-arrow .material-icons {
    background-color: var(--primary-color);
    color: #121212;
    border-color: var(--primary-color);
    transform: rotate(45deg); /* Okun hafif dönmesi şık durur */
}

/* Slider için özel ayarlar */
.categoriesSwiper {
    width: 100%;
    padding: 20px 0 60px 0; /* Alttaki noktalar için boşluk */
}

/* Noktaların rengini sitemizle uyumlu yapalım */
.types-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

.type-card {
    width: 100%; /* Kartın slide içine tam oturması için */
    text-decoration: none;
    display: block;
}

/* Grid ayarlarını silebilir veya devre dışı bırakabilirsin, Swiper bunu halledecek */

/* Mobil Uyumluluk */
@media screen and (max-width: 992px) {
    .types-container { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
    .types-container { grid-template-columns: 1fr; }
    .type-image { height: 300px; }
}

/* =========================================
   KATEGORİ SLIDER OKLARI ÖZELLEŞTİRME
========================================= */
.categoriesSwiper {
    position: relative;
    padding: 20px 40px 60px 40px; /* Oklar için yanlardan biraz boşluk bıraktık */
}

.categories-next, .categories-prev {
    color: var(--primary-color) !important; /* Okun rengi */
    background-color: rgba(26, 26, 26, 0.8); /* Yarı şeffaf koyu arka plan */
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    transition: var(--transition);
}

/* Okların boyutunu küçültmek için */
.categories-next::after, .categories-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.categories-next:hover, .categories-prev:hover {
    background-color: var(--primary-color);
    color: #121212 !important;
}

/* Okları mobilde gizleyip sadece tablette ve masaüstünde gösterebiliriz (Daha temiz durur) */
@media screen and (max-width: 768px) {
    .categories-next, .categories-prev {
        display: none !important;
    }
    .categoriesSwiper {
        padding: 20px 0 60px 0;
    }
}

/* =========================================
   VİTRİN OKLARINI KARTA YAKINLAŞTIRMA
========================================= */

/* Ortak stilimizi (sarı dairesel yapı) featured oklarına uyguluyoruz */
.featured-prev, .featured-next {
    color: var(--primary-color) !important;
    background-color: rgba(26, 26, 26, 0.9) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    border: 1px solid var(--primary-color) !important;
    transition: var(--transition) !important;
    z-index: 100 !important;
    top: 45% !important; /* Kartın dikeyde ortasında dursun */
}

.featured-prev::after, .featured-next::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* OKLARI MERKEZDEKİ KARTA YAKLAŞTIRAN ASIL KODLAR */
.featured-prev {
    left: 17% !important; /* Soldaki ok merkeze yaklaştı */
}

.featured-next {
    right: 17% !important; /* Sağdaki ok merkeze yaklaştı */
}

/* Hover Efekti */
.featured-prev:hover, .featured-next:hover {
    background-color: var(--primary-color) !important;
    color: #121212 !important;
    box-shadow: 0 0 20px rgba(243, 156, 18, 0.6);
}

/* Mobil ve Tablet İçin Uyumluluk */
@media screen and (max-width: 1200px) {
    .featured-prev { left: 10% !important; }
    .featured-next { right: 10% !important; }
}

@media screen and (max-width: 992px) {
    .featured-prev, .featured-next {
        top: auto !important;
        bottom: 20px !important; /* Mobilde alta alalım ki resmin üstünü kapatmasın */
        display: none !important; /* Mobilde parmakla kaydırma önceliklidir, isterseniz gizleyebilirsiniz */
    }
}


/* =================================================================================================================================================================================================================================================== */


/* =========================================
   BREADCRUMB (SAYFA NAVİGASYON YOLU)
========================================= */
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 25px; /* Başlıktan biraz ayırmak için */
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.8;
}

.breadcrumb a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.breadcrumb .separator {
    color: var(--primary-color);
    font-size: 18px; /* İkon boyutu */
    opacity: 0.8;
    display: flex;
    align-items: center;
}

.breadcrumb .current-page {
    color: var(--primary-color); /* Bulunulan sayfa altın sarısı olsun */
}

/* Alt sayfalarda header'ın arka planı her zaman siyah olsun ki okunsun */
.inner-header {
    background-color: rgba(10, 10, 10, 0.95) !important;
    position: relative !important; /* Absolute iptal, sayfa akışına girsin */
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Kaydırınca iç sayfalarda da sabit siyah header */
.main-header.inner-header.scrolled,
.main-header.scrolled {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.98) !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    z-index: 1000;
}

body.inner-page.galeri-header-scrolled {
    padding-top: var(--galeri-header-height, 88px);
}

.footer-contact-links li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer-contact-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-contact-links a:hover {
    color: var(--primary-color);
}

/* Sayfa Üstü (Hero Banner) */
.page-hero {
    height: 400px;
    background-image: url('../img/hero-background.jpg'); /* Lüks bir iç mekan resmi */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), rgba(18,18,18,1));
}

.page-hero-content {
    position: relative;
    z-index: 2;
}

.page-hero-content h1 {
    font-size: 50px;
    color: #fff;
    margin-bottom: 10px;
}

.page-hero-content p {
    color: var(--primary-color);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================================
   HİKAYEMİZ BÖLÜMÜ - DENGELİ TASARIM
========================================= */
.about-story-section {
    padding: 100px 10%;
    background-color: var(--bg-color); /* Siyah zemin */
}

.about-container {
    display: grid;
    /* İŞTE BURASI: Görsel 4 birim, Yazı 6 birim yer kaplayacak */
    grid-template-columns: 4fr 6fr; 
    gap: 70px; /* Aradaki boşluğu biraz artırdık ki ferahlasın */
    align-items: center; /* Dikeyde ortala */
    max-width: 1400px;
    margin: 0 auto;
}

/* Görsel Alanı */
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.about-image-wrapper img {
    width: 100%;
    height: 600px; /* Görselin çok uzamasını engelliyoruz */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--primary-color);
    color: #121212;
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(243, 156, 18, 0.3);
    text-align: center;
    border: 5px solid var(--bg-color); /* Çevresine zemin renginde kalın bir çerçeve (kesik efekti) */
}

.experience-badge .years {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Metin Alanı */
.about-text-content .section-title {
    font-size: 42px; /* Başlığı büyüttük */
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
}

.text-body p {
    font-size: 17px; /* Paragraf fontunu büyüttük */
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 20px;
}

.text-body strong {
    color: #fff;
}

/* İstatistikler */
.stats-grid {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-box h3 {
    font-size: 45px; /* Rakamları belirginleştirdik */
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 800;
}

.stat-box p {
    color: #aaa;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Mobil Uyumluluk */
@media screen and (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr; /* Tablet ve mobilde alt alta geçsin */
        gap: 50px;
    }
    
    .about-image-wrapper img {
        height: 400px;
    }
    
    .experience-badge {
        bottom: -20px;
        right: 20px; /* Mobilde rozet dışarı taşmasın */
    }
    
    .about-text-content .section-title {
        font-size: 32px;
    }
}

/* =========================================
   VİZYON & MİSYON BÖLÜMÜ - CAM EFEKTİ (GLASSMORPHISM)
========================================= */
.vision-mission-section {
    position: relative;
    padding: 120px 10%;
    /* Arka plana şık bir detay görseli ekliyoruz (örn: lüks direksiyon/deri detayı) */
    background-image: url('../img/about-vision-mission-background.png');
    background-attachment: fixed; /* Sayfa kayarken resim sabit kalır (Parallax) */
    background-size: cover;
    background-position: center;
}

.vm-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.85); /* Resmi çok hafif gösteren koyu siyah örtü */
    z-index: 1;
}

.vm-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cam Efektli Lüks Kartlar */
.vm-premium-card {
    background: rgba(20, 20, 20, 0.4); /* Yarı şeffaf siyah */
    backdrop-filter: blur(12px); /* Arka planı buzlu cam gibi bulanıklaştırır */
    -webkit-backdrop-filter: blur(12px); /* Safari uyumluluğu */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--primary-color); /* Üstte lüks hissi veren kalın sarı çizgi */
    border-radius: 15px;
    padding: 60px 50px;
    transition: var(--transition);
}

.vm-premium-card:hover {
    transform: translateY(-10px);
    background: rgba(20, 20, 20, 0.6);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border-top-color: #fff; /* Üzerine gelince çizgi beyaza dönsün */
}

/* İkonlar */
.vm-icon-large {
    margin-bottom: 30px;
}

.vm-icon-large .material-icons {
    font-size: 45px;
    color: var(--primary-color);
    background: rgba(243, 156, 18, 0.1);
    padding: 20px;
    border-radius: 50%;
}

/* Tipografi */
.vm-subtitle {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 600;
}

.vm-content h3 {
    color: #fff;
    font-size: 34px;
    margin-bottom: 25px;
}

.vm-content p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
}

/* Mobil Uyumluluk */
@media screen and (max-width: 992px) {
    .vm-container {
        grid-template-columns: 1fr;
    }
    .vision-mission-section {
        background-attachment: scroll; /* Mobilde kasmaması için parallax'ı kapatıyoruz */
        padding: 80px 5%;
    }
    .vm-premium-card {
        padding: 40px 30px;
    }
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.2);
}

/* =========================================
   HİZMET DETAY SAYFALARI (ALIM, SATIM, KONSİNYE)
========================================= */
.service-detail-section {
    padding: 100px 10%;
    background-color: var(--bg-color);
}

.sd-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.sd-content .section-title {
    font-size: 40px;
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.sd-content p {
    color: #bbb;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Özellikler Listesi (Onay İkonlu) */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.feature-list .material-icons {
    color: var(--primary-color);
    font-size: 30px;
}

.feature-list h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-list p {
    margin-bottom: 0;
    font-size: 14px;
    color: #999;
}

/* Sağ Taraf Görsel */
.sd-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
}

/* =========================================
   CTA (HAREKETE GEÇİRİCİ MESAJ) BANNER'I
========================================= */
.cta-banner {
    background: linear-gradient(rgba(10,10,10,0.9), rgba(10,10,10,0.9)), url('https://images.unsplash.com/photo-1603584173870-7f23fdae1b7a?q=80&w=2000') fixed center;
    background-size: cover;
    padding: 100px 5%;
    text-align: center;
    border-top: 1px solid rgba(243, 156, 18, 0.2);
    border-bottom: 1px solid rgba(243, 156, 18, 0.2);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-btn {
    padding: 15px 40px;
    font-size: 18px;
}

/* Mobil Uyumluluk */
@media screen and (max-width: 992px) {
    .sd-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* =========================================
   HİZMET DETAY SAYFALARI (GÜNCELLEME)
========================================= */
.sd-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start; /* DEĞİŞİKLİK: Görselin üstten, başlıkla aynı hizada başlamasını sağlar */
    max-width: 1400px;
    margin: 0 auto;
}

/* Sağ Taraf Taşıyıcı (Görsel + Menü) */
.sd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px; /* Görsel ile altındaki menü arasındaki boşluk */
}

/* Diğer Hizmetler Menü Tasarımı */
.other-services-menu {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
}

/* =========================================
   DİĞER HİZMETLER MENÜSÜ - YENİ BAŞLIK YAPISI
========================================= */
.other-services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Başlıktaki eski alt çizgiyi ve boşluğu siliyoruz, çünkü artık header div'i bunu yönetiyor */
.other-services-menu h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Yeni "Tüm Hizmetler" Linki */
.view-all-link {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.view-all-link .material-icons {
    font-size: 16px;
    transition: var(--transition);
}

/* Link Hover Efekti */
.view-all-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

.view-all-link:hover .material-icons {
    transform: translateX(3px); /* İkon üzerine gelince hafif sağa kayar */
}

.other-services-menu ul {
    list-style: none;
    padding: 0;
}

.other-services-menu ul li {
    margin-bottom: 15px;
}

.other-services-menu ul li:last-child {
    margin-bottom: 0;
}

.other-services-menu ul li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: rgba(10, 10, 10, 0.6);
    border-radius: 10px;
    color: #ccc;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.other-services-menu ul li a .material-icons {
    color: var(--primary-color);
    margin-right: 15px;
}

.other-services-menu ul li a .arrow {
    margin-left: auto; /* Oku en sağa yaslar */
    margin-right: 0;
    color: #555;
    transition: var(--transition);
}

.other-services-menu ul li a:hover {
    background: rgba(243, 156, 18, 0.1);
    border-color: rgba(243, 156, 18, 0.3);
    color: #fff;
    transform: translateX(5px); /* Üzerine gelince hafif sağa kayar */
}

.other-services-menu ul li a:hover .arrow {
    color: var(--primary-color);
}

/* =========================================
   İLETİŞİM SAYFASI STİLLERİ
========================================= */
.contact-section {
    padding: 100px 10%;
    background-color: var(--bg-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-area p {
    color: #bbb;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* Sol Taraf: İletişim Kartları */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(10px);
}

.info-item .material-icons {
    color: var(--primary-color);
    font-size: 35px;
    background: rgba(243, 156, 18, 0.1);
    padding: 15px;
    border-radius: 50%;
}

.info-item h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p, .info-item a {
    margin-bottom: 0;
    font-size: 16px;
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Sağ Taraf: Form Kartı (Cam Efekti) */
.contact-form-wrapper {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.contact-form-wrapper h3 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Premium Form Tasarımı */
.premium-form .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #aaa;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    color: #fff;
    border-radius: 10px;
    outline: none;
    font-family: 'Urbanist', sans-serif;
    font-size: 15px;
    transition: var(--transition);
}

/* Form Elemanlarına Tıklanınca Altın Sarısı Parlama */
.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    border-color: var(--primary-color);
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.2);
}

.form-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* Harita Tasarımı */
.map-section {
    width: 100%;
    line-height: 0; /* Alttaki boşluğu sıfırlamak için */
}

/* Siyah temaya uyması için haritayı CSS ile siyah-beyaz ve hafif soluk yapıyoruz */
.map-section iframe {
    filter: grayscale(100%) contrast(1.2) opacity(0.8);
    transition: var(--transition);
}

.map-section iframe:hover {
    filter: grayscale(0%) contrast(1) opacity(1); /* Üzerine gelince renklenir */
}

/* Mobil Uyumluluk */
@media screen and (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .premium-form .input-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 30px;
    }
}

/* =========================================
   MARKALARIMIZ ŞERİDİ
========================================= */
.brands-section {
    background-color: #111;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px; /* EKLENEN KISIM: Alt kısımla aradaki o küçük, nefes aldıran boşluk */
}

.brands-slider-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

/* Gölgeler (Pointer-events: none sayesinde altındaki logolar tutulabilir) */
.brands-fade-left,
.brands-fade-right {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none; 
}

.brands-fade-left {
    left: 0;
    background: linear-gradient(to right, #111 0%, rgba(17,17,17,0) 100%);
}

.brands-fade-right {
    right: 0;
    background: linear-gradient(to left, #111 0%, rgba(17,17,17,0) 100%);
}

/* Swiper Animasyon ve Kutu Ayarları */
.brandsSwiper {
    width: 100%;
    height: 100%;
}

.brandsSwiper .swiper-wrapper {
    display: flex;
    align-items: center;
    /* Kaymanın pürüzsüz (teklemeden) olması için zorunlu ayar */
    transition-timing-function: linear !important; 
}

.brandsSwiper .swiper-slide {
    width: auto !important; /* Logolar kendi genişliğini alsın */
    padding: 0 40px;
}

/* Logo Efektleri */
.brand-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5); /* Başlangıçta renksiz */
    transition: all 0.4s ease;
}

.brand-logo-img:hover {
    filter: grayscale(0%) opacity(1); /* Üzerine gelince renkli */
    transform: scale(1.15);
}

/* Mobil Uyumluluk */
@media screen and (max-width: 768px) {
    .brand-logo-img { height: 45px; }
    .brands-fade-left, .brands-fade-right { width: 60px; }
    .brandsSwiper .swiper-slide { padding: 0 20px; }
}

/* =========================================
   MENÜ: SAHİBİNDEN BUTONU
========================================= */
.sahibinden-menu-item {
    margin-left: 15px;
}

.btn-sahibinden {
    background-color: #ffe600; /* Sahibinden'in kurumsal sarısı */
    color: #222 !important;
    padding: 8px 18px !important;
    border-radius: 6px;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-sahibinden:hover {
    background-color: #fff;
    color: #000 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 230, 0, 0.3);
}

/* =========================================
   SABİT WHATSAPP BUTONU
========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp yeşili */
    color: #FFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: floatEffect 3s ease-in-out infinite;
}

.whatsapp-float .whatsapp-icon {
    width: 35px;
    height: 35px;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0px 12px 30px rgba(37, 211, 102, 0.6);
}

/* WhatsApp ikonu için hafif süzülme animasyonu */
@keyframes floatEffect {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* Mobil için boyutlandırma */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* =========================================
   MANUEL AKTİF MENÜ KONTROLÜ (EKLENEN SAYFALARLA GÜNCELLENDİ)
========================================= */
#sayfa-ana-sayfa .nav-ana-sayfa,
#sayfa-hakkimizda .nav-hakkimizda,
#sayfa-hizmetlerimiz .nav-hizmetlerimiz,
#sayfa-alim .nav-alim,
#sayfa-satim .nav-satim,
#sayfa-konsinye .nav-konsinye,
#sayfa-araclarimiz .nav-araclarimiz,  /* Yeni eklendi */
#sayfa-blog .nav-blog,                /* Yeni eklendi */
#sayfa-iletisim .nav-iletisim {
    color: var(--primary-color);
    opacity: 1;
}

/* =========================================
   HEADER VE MENÜ SIKIŞIKLIĞI ÇÖZÜMÜ
========================================= */
/* 1. Header genişliğini artırıp sağdan soldan daha fazla alan kazanalım */
.header-container {
    max-width: 1400px; /* Eğer daha önce 1200px falansa bu çok ferahlatır */
    padding: 0 3%; /* Sağ ve sol iç boşlukları optimize eder */
}

/* 2. Menü linkleri arasındaki boşluğu ve yazı boyutunu kompakt hale getirelim */
.desktop-nav ul {
    gap: 20px; /* Elemanlar arası boşluğu ayarladık (eski değere göre daha dar) */
}

.desktop-nav ul li a {
    font-size: 15px !important; /* Yazı boyutunu çok hafif küçülttük */
    letter-spacing: 0.3px;
}

/* 3. Dil Seçeneği menüsünün fontunu diğerlerine uyduralım */
.lang-menu .dropdown-toggle {
    font-size: 15px !important;
}

/* 4. Sahibinden butonunu biraz daha kompakt yapalım ki yer kaplamasın */
.btn-sahibinden {
    padding: 7px 14px !important;
    font-size: 14px !important;
}

/* =========================================
   BÜYÜK EKRANLAR İÇİN MOBİL MENÜYE ERKEN GEÇİŞ (OPSİYONEL)
========================================= */
/* Eğer ekran 1100px civarına küçüldüğünde hala sıkışıyorsa, 
   hamburger menüye daha erken (992px yerine 1100px'de) geçmesini sağlayabiliriz. */
@media screen and (max-width: 1100px) {
    .desktop-nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block; /* Mobil menü ikonunu göster */
    }
}

/* =========================================
   HİZMETLERİMİZ SAYFASI: GRID (3 + 2 TASARIMI)
========================================= */
.services-page-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.services-grid-container {
    display: flex;
    flex-wrap: wrap; /* Sığmayanları alt satıra atar */
    justify-content: center; /* Alt satıra inen 2 kartı tam ortaya hizalar */
    gap: 30px; /* Kartlar arasındaki boşluk */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Her bir kartın genişliğini tam olarak 3'e bölüyoruz */
.services-grid-container .type-card {
    /* 30px gap olduğu için hesaplamayı ona göre yapıyoruz ki 3 tanesi tam sığsın */
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    margin: 0; /* Kartın kendi iç marginlerini sıfırlarız */
}

/* Tablet Görünümü: Yan yana 2 kart (Altta 1 kart ortalanır) */
@media screen and (max-width: 992px) {
    .services-grid-container .type-card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

/* Mobil Görünüm: Alt alta tek kart */
@media screen and (max-width: 768px) {
    .services-grid-container .type-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* =========================================
   SOSYAL MEDYA İKONLARI (FOOTER)
========================================= */
.social-links {
    display: flex;
    align-items: center;
    gap: 20px; /* İkonlar arasındaki boşluk (İsteğe göre 15px veya 25px yapabilirsiniz) */
    margin-top: 20px; /* Üstündeki yazı ile arasına da biraz nefes aldırır */
}

.social-icon {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icon:hover {
    opacity: 1;
    transform: translateY(-3px);
    color: var(--primary-color); 
}

/* ============================================================
   ARAÇLARIMIZ SAYFASI - ANA SAYFA UYUMLU (DEĞİŞKENLİ KODLAR)
============================================================ */

/* 1. Sayfa Arka Planı */
.inventory-section {
    padding: 60px 0 100px;
    background-color: var(--bg-color); /* #121212 - Ana Sayfa Arka Planı */
}

.inventory-container {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    align-items: flex-start;
}

/* ================= SOL MENÜ (KATEGORİLER) ================= */

.inventory-sidebar {
    width: 280px;
    background: var(--bg-darker); /* #0a0a0a - Koyu Zemin */
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    position: sticky; 
    top: 100px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05); /* Koyu temada şık, ince bir çizgi */
}

/* Sol Menü Başlığı */
.sidebar-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    padding-bottom: 12px;
    color: var(--text-color); /* #ffffff - Beyaz Yazı */
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--primary-color); /* #f39c12 - Premium Sarı Alt Çizgi */
    display: inline-block;
}

.category-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-menu li {
    margin-bottom: 8px;
}

.category-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-muted); /* #a0a0a0 - Açık Gri Yazı */
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition); /* Yumuşak Geçiş */
    font-weight: 700;
    font-size: 15px;
}

/* Menü Linki Üzerine Gelince */
.category-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Hafif aydınlanma */
    color: var(--text-color);
    transform: translateX(5px);
}

.category-menu a:hover .material-icons {
    color: var(--primary-color);
}

/* Aktif (Seçili) Menü Elemanı */
.category-menu a.active {
    background-color: var(--primary-color); /* Premium Sarı Zemin */
    color: var(--bg-darker); /* İçindeki yazı zıtlık için çok koyu gri/siyah */
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.2);
}

.category-menu a.active .material-icons {
    color: var(--bg-darker); /* İkon da zıt renk */
}

.category-menu a span {
    font-size: 22px;
    transition: var(--transition);
}

/* ================= SAĞ İÇERİK VE MARKA FİLTRELERİ ================= */

.inventory-main {
    flex-grow: 1;
}

/* Marka Butonları Yatay Menü */
.brands-filter-menu {
    display: flex;
    gap: 12px;
    margin-bottom: 35px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: none; 
}

.brands-filter-menu::-webkit-scrollbar {
    display: none; 
}

/* Pasif Marka Butonu */
.brand-btn {
    padding: 10px 24px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: var(--bg-darker);
    border-radius: 50px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    font-size: 14px;
}

/* Marka Butonu Üzerine Gelince */
.brand-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-color);
}

/* Aktif (Seçili) Marka Butonu */
.brand-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg-darker); /* Zıtlık için koyu */
    box-shadow: 0 6px 15px rgba(243, 156, 18, 0.2);
}

/* ================= ARAÇ KARTLARI (2'Lİ MOD, DEĞİŞKENLİ) ================= */

.vehicle-list-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
}

.modern-card {
    position: relative;
    width: 100%;
    height: 380px; 
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modern-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    object-position: center 90%;
    transition: transform 0.6s ease;
}

.modern-card:hover > img {
    transform: scale(1.03); 
}

.modern-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%; /* 65%'ten 40%'a düşürdük, karanlık alan azaldı */
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    pointer-events: none;
}

/* Yüzen Bilgi Kutusu */
.modern-info-overlay {
    position: absolute;
    bottom: -20px;
    left: 15px;
    right: 15px;
    background-color: var(--bg-darker); /* Koyu Arka Plan Değişkeni */
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.05); /* Karanlık temada belirginleştirici şık çizgi */
}

.modern-info-left h3 {
    color: var(--text-color); /* Beyaz Metin Değişkeni */
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 700;
    font-family: 'Urbanist', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-specs {
    display: flex;
    flex-wrap: wrap; 
    gap: 12px;
    color: var(--text-muted); /* Gri Metin Değişkeni */
    font-size: 13px; 
    font-weight: 600;
}

.modern-specs span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.modern-specs span .material-icons {
    color: var(--primary-color); /* Sarı/Gold İkon Değişkeni */
    font-size: 16px; 
}

/* Buton */
.modern-btn {
    background-color: var(--primary-color); /* Ana Buton Rengi */
    color: var(--bg-darker); /* Siyah yazı kontrastı */
    padding: 10px 20px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0; 
}

.modern-btn:hover {
    filter: brightness(1.1); /* Butonu biraz aydınlatır */
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* ================= MOBİL VE TABLET UYUM ================= */
@media screen and (max-width: 1200px) {
    .modern-info-overlay {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .modern-info-right, .modern-btn {
        width: 100%;
        text-align: center;
        display: block;
    }
}

@media screen and (max-width: 992px) {
    .vehicle-list-grid-modern {
        grid-template-columns: 1fr;
    }
    .modern-card {
        height: auto;
        min-height: 400px;
    }
    .inventory-container {
        flex-direction: column;
    }
    .inventory-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    .inventory-main {
        width: 100%;
    }
}

/* ================= KART İÇİ ÇOKLU RESİM GALERİSİ ================= */
.card-image-gallery {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    /* Kartların tam ekran hizalanması için (Scroll Snap) */
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Kaydırma çubuğunu gizliyoruz ki şık dursun */
    scrollbar-width: none; 
}

.card-image-gallery::-webkit-scrollbar {
    display: none; 
}

.card-image-gallery img {
    flex: 0 0 100%; /* Her resim kartın %100'ünü kaplar */
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 75%; /* Dilediğiniz odak noktası ayarı burada korundu */
    scroll-snap-align: center; /* Kaydırınca tam ortaya oturmasını sağlar */
    transition: transform 0.6s ease;
}

/* Hover (Yaklaşma) efekti artık galerideki resimlere uygulanacak */
.modern-card:hover .card-image-gallery img {
    transform: scale(1.03);
}

/* ================= GALERİ SOL/SAĞ YÖN BUTONLARI ================= */
.gallery-btn {
    position: absolute;
    top: 40%; /* Bilgi kutusuna değmemesi için tam orta değil, biraz daha yukarıda durur */
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.6); /* Yarı saydam çok koyu siyah arka plan */
    border: 1px solid var(--primary-color); /* Premium sarı/turuncu çerçeve */
    color: var(--primary-color); /* Sarı/Turuncu ok rengi */
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5; /* Resmin ve gölgenin üzerinde durması için */
    transition: var(--transition);
    opacity: 0; /* Kartın üzerine gelmeden butonlar gizli durur (daha şık bir görünüm) */
}

/* Sadece farenizle kartın üzerine geldiğinizde butonlar görünür olur */
.modern-card:hover .gallery-btn {
    opacity: 1;
}

/* Butonun üzerine gelindiğinde içi turuncu dolar, ok siyah olur */
.gallery-btn:hover {
    background: var(--primary-color);
    color: var(--bg-darker);
    box-shadow: 0 0 15px rgba(243, 156, 18, 0.4);
}

.gallery-btn .material-icons {
    font-size: 24px;
}

/* Konumlandırma */
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

/* Mobilde fare ile "üzerine gelme (hover)" olmadığı için butonlar hep hafif görünür kalır */
@media screen and (max-width: 992px) {
    .gallery-btn {
        opacity: 0.8;
    }
}


/* ============================================================
   BLOG SAYFASI / BÖLÜMÜ - GÖRSELDEKİ MODERN TASARIM
============================================================ */

.blog-section {
    padding: 80px 0;
    background-color: var(--bg-color); /* Ana koyu arka plan */
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Yan yana 3 kart */
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.blog-card {
    background-color: #1a1a1a; /* Devamını Oku şeridi için ayrılan koyu gri zemin */
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.03); /* Kartı belli eden ince hat */
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.blog-card-body {
    position: relative;
    height: 360px; /* Fotoğrafın alanı */
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05); /* Fareyle gelince resim hafif yaklaşır */
}

/* Resmin altına doğru koyulaşan ve yazıları okutan gölge efekti */
.blog-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10, 1) 0%, rgba(10,10,10, 0.6) 40%, transparent 100%);
    pointer-events: none;
}

/* ================= TARİH KUTUSU (SOL ÜST) ================= */
.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color); /* Premium Sarı/Turuncu */
    color: var(--bg-darker); /* Koyu siyah yazı */
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: 'Urbanist', sans-serif;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 2;
}

.blog-date .day {
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.blog-date .month {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-top: 4px;
}

/* ================= YAZI İÇERİKLERİ ================= */
.blog-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    z-index: 2;
}

.blog-category {
    display: block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.blog-title {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    font-family: 'Urbanist', sans-serif;
}

/* ================= ALT ŞERİT (DEVAMINI OKU) ================= */
.blog-footer {
    display: block;
    background-color: #1c1c1c; /* Resimden bağımsız şık koyu gri alt bar */
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
}

/* Fareyle kartın üzerine gelindiğinde alt şeridin turuncu olup dikkat çekmesi (UX) */
.blog-card:hover .blog-footer {
    background-color: var(--primary-color);
    color: var(--bg-darker);
}

/* ================= MOBİL UYUM ================= */
@media screen and (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-card-body {
        height: 320px; /* Mobilde çok devasa durmaması için boyu hafif kısalttık */
    }
}

/* ============================================================
   BLOG DETAY SAYFASI
============================================================ */

.blog-detail-section {
    padding: 80px 0 100px;
    background-color: var(--bg-color); /* Koyu Arka Plan */
    max-width: 900px; /* Okuma kolaylığı için genişliği daralttık */
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* ================= DETAY ÜST KISIM (BAŞLIK & META) ================= */
.blog-detail-header {
    text-align: center;
    margin-bottom: 45px;
}

.blog-detail-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-darker);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.blog-detail-title {
    color: var(--text-color);
    font-size: 42px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 25px 0;
    font-family: 'Urbanist', sans-serif;
}

.blog-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    flex-wrap: wrap;
}

.blog-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-detail-meta .material-icons {
    color: var(--primary-color);
    font-size: 18px;
}

/* ================= KAPAK FOTOĞRAFI ================= */
.blog-detail-hero-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.blog-detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* ================= YAZI İÇERİĞİ (TİPOGRAFİ) ================= */
.blog-detail-content {
    color: #cccccc; /* Çok parlak beyaz göz yorar, hafif gri yaptık */
    font-size: 18px;
    line-height: 1.8;
    font-weight: 400;
}

.blog-detail-content p {
    margin-bottom: 25px;
}

/* Alt Başlıklar */
.blog-detail-content h2 {
    color: var(--text-color);
    font-size: 28px;
    font-weight: 700;
    margin: 50px 0 20px 0;
}

.blog-detail-content h3 {
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 15px 0;
}

/* Alıntı Kutusu (Vurgulu) */
.blog-detail-content blockquote {
    background-color: var(--bg-darker);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    font-size: 20px;
    font-style: italic;
    color: var(--text-color);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.2);
}

/* Yazı içi resimler */
.content-inline-image {
    width: 100%;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* ================= ALT KISIM (DÖNÜŞ & PAYLAŞ) ================= */
.blog-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-muted);
    font-weight: 700;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-color);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.share-btn:hover {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
}

/* ================= MOBİL UYUM ================= */
@media screen and (max-width: 768px) {
    .blog-detail-title {
        font-size: 32px;
    }
    .blog-detail-hero-image {
        height: 300px;
    }
    .blog-detail-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .blog-detail-footer {
        flex-direction: column;
        gap: 20px;
    }
}

/* ================= TAM ORTALANMIŞ BUTON ================= */
.center-btn-wrapper {
    display: flex;
    justify-content: center; /* Yatayda tam ortalar */
    align-items: center;     /* Dikeyde tam ortalar */
    width: 100%;
    margin: 50px 0;          /* Üstten ve alttan 50px boşluk bırakır, nefes aldırır */
}

/* Premium Buton Görünümü */
.premium-center-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color); /* Neva Otomotiv Turuncusu/Sarısı */
    color: #121212; /* Koyu yazı rengi */
    font-family: 'Urbanist', sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px; /* Kenarları tam yuvarlak yapar */
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.3); /* Hafif turuncu/sarı bir parlama efekti */
    transition: all 0.4s ease;
}

/* Farenizle Üzerine Geldiğinizde (Hover) */
.premium-center-btn:hover {
    background-color: #ffffff; /* Rengi beyaza döner */
    color: #121212;
    transform: translateY(-5px); /* Hafifçe yukarı zıplar */
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* ============================================================
   12. KESİN ÇÖZÜM: EKSTRA MOBİL UYUMLULUK (EN SONA EKLENECEK)
============================================================ */

@media screen and (max-width: 992px) {
    /* HİZMET DETAY (Alım, Satım vb.) YAPIŞMA SORUNU ÇÖZÜMÜ */
    /* Önceden aşağıda tekrar tanımlandığı için ezilen kodu burada kesinleştiriyoruz (!important ile) */
    .sd-container {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    /* ARAÇLARIMIZ SAYFASI */
    .inventory-container {
        flex-direction: column !important;
        padding: 0 20px !important;
    }
    .inventory-sidebar {
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        margin-bottom: 30px !important;
    }
    .vehicle-list-grid-modern {
        grid-template-columns: 1fr !important;
    }
    
    /* BREADCRUMB (SAYFA YOLU) TAŞMA ÇÖZÜMÜ */
    /* Uzun menü isimleri mobilde ekrandan taşmasın diye alt satıra atar */
    .breadcrumb {
        flex-wrap: wrap !important;
        text-align: center;
        justify-content: center;
        line-height: 1.8;
    }
}

@media screen and (max-width: 768px) {
    /* ALT SAYFALARIN ÜST BANNER (HERO) KISMI */
    .page-hero {
        height: 300px !important;
    }
    .page-hero-content h1 {
        font-size: 32px !important;
        padding: 0 15px;
    }
    .page-hero-content p {
        font-size: 14px !important;
    }

    /* HİZMET DETAY İÇERİK BOŞLUKLARI */
    .service-detail-section {
        padding: 60px 5% !important;
    }
    .sd-content .section-title {
        font-size: 32px !important;
    }
    .sd-sidebar {
        gap: 20px !important;
    }

    /* ARAÇLARIMIZ KARTLARI (Mobilde Yazıların Sıkışmaması İçin) */
    .modern-card {
        height: auto !important;
        min-height: 420px !important;
    }
    .modern-info-overlay {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        padding: 15px !important;
        bottom: 5px !important; /* Mobilde kutuyu iyice aşağı yaslar */
    }
    .modern-info-right {
        width: 100% !important;
    }
    .modern-btn {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* VİZYON & MİSYON MOBİL KARTLAR */
    .vm-premium-card {
        padding: 30px 20px !important;
    }
    .vm-content h3 {
        font-size: 26px !important;
    }
    
    /* ORTALANMIŞ BUTON MOBİL (Ekrana tam yayılması daha şık durur) */
    .premium-center-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    .center-btn-wrapper {
        padding: 0 20px;
    }
}

/* ============================================================
   PREMİUM MOBİL AÇILIR MENÜ (OFF-CANVAS)
============================================================ */

/* 1. Hamburger Butonu */
.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001; /* Header'ın üstünde kalması için */
    transition: var(--transition);
}

.hamburger-menu .material-icons {
    font-size: 35px;
}

/* 2. Menünün Arka Planındaki Buzlu Cam Örtü */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2000; /* Tüm sitenin en üstünde */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 3. Sağdan Çıkan Siyah Menü Paneli (KAYMA SORUNU DÜZELTİLDİ) */
.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0; /* Ekranın tam sağına hizala */
    transform: translateX(100%); /* Kendi genişliği kadar sağa itip gizle (Ekran dışı) */
    width: 80%;
    max-width: 320px; 
    height: 100vh;
    background-color: var(--bg-darker);
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1); 
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 2px solid var(--primary-color);
    
    overflow-y: auto;
}

/* 3.1. Aktif olunca ekrana girecek kod */
.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0); /* Aktif olunca saklandığı yerden çıkıp tam yerine otursun */
}

/* 4. Kapatma Butonu (Çarpı) */
.close-menu-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.close-menu-btn .material-icons {
    font-size: 35px;
}

.close-menu-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg); /* Üzerine gelince döner */
}

/* 5. Menü İçi Logolar ve Linkler */
.mobile-logo {
    margin-bottom: 40px;
}

.mobile-logo img {
    height: 50px;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.mobile-nav-links li {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.mobile-nav-links li:last-child {
    border-bottom: none;
}

.mobile-nav-links li a {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.mobile-nav-links li a:hover,
.mobile-nav-links li a.active {
    color: var(--primary-color);
    padding-left: 10px; /* Tıklanırken çok hafif sağa kayar */
}

/* 6. En Alt İletişim ve Buton */
.mobile-contact {
    margin-top: auto; /* Kalan boşluğu itip en alta yaslanır */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.mobile-phone .material-icons {
    color: var(--primary-color);
}

.mobile-sahibinden {
    text-align: center;
    width: 100%;
}

/* Hamburger ikonunu sadece tablette/mobilde göster */
@media screen and (max-width: 1024px) {
    .hamburger-menu {
        display: block;
    }
}

/* ============================================================
   SOL MENÜ - İÇ İÇE AÇILIR MARKA LİSTESİ
============================================================ */
.category-menu a {
    justify-content: space-between; /* İkonu sağa, metni sola yaslar */
}

.category-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

/* Kategori açıkken ok döner */
.has-submenu.open .category-arrow {
    transform: rotate(180deg);
    opacity: 1;
}

/* Alt Menü (Markalar) Taşıyıcısı */
.sidebar-submenu {
    list-style: none;
    margin: 5px 0 15px 35px; /* Soldan girinti vererek hiyerarşiyi gösteriyoruz */
    padding-left: 15px;
    border-left: 2px solid rgba(255,255,255,0.05); /* Şık bir dikey çizgi */
}

.sidebar-submenu li {
    margin-bottom: 2px !important;
}

/* Marka Filtre Butonları */
.sidebar-brand-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Urbanist', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 10px;
    width: 100%;
    text-align: left;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Markaların yanındaki estetik küçük nokta */
.sidebar-brand-btn::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.sidebar-brand-btn:hover {
    color: var(--text-color);
    transform: translateX(5px); /* Üzerine gelince hafif sağa kayar */
}

.sidebar-brand-btn:hover::before {
    background-color: var(--text-color);
}

/* Aktif (Seçili) Marka Görünümü */
.sidebar-brand-btn.active {
    color: var(--primary-color) !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.sidebar-brand-btn.active::before {
    background-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(243, 156, 18, 0.6); /* Noktaya parlama efekti */
}

/* ================= KART FİYAT ETİKETİ ================= */
.modern-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(10, 10, 10, 0.75); /* Koyu, yarı saydam cam hissi */
    backdrop-filter: blur(8px); /* Arkasındaki resmi bulanıklaştırır */
    -webkit-backdrop-filter: blur(8px);
    color: var(--primary-color); /* Premium Sarı/Turuncu Yazı */
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 800;
    font-family: 'Urbanist', sans-serif;
    letter-spacing: 0.5px;
    z-index: 10; /* Resmin ve butonların üstünde durması için */
    border: 1px solid rgba(243, 156, 18, 0.5); /* Hafif turuncu/sarı çerçeve */
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    transition: var(--transition);
}

/* Farenizle karta geldiğinizde fiyat etiketi çok hafif parlar */
.modern-card:hover .modern-price-tag {
    background-color: rgba(10, 10, 10, 0.95);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(243, 156, 18, 0.2);
    transform: translateY(-2px);
}

/* ============================================================
   ARAÇ DETAY SAYFASI TASARIMI
============================================================ */

/* 1. ÜST SLIDER (Hero) */
.detail-hero-section {
    position: relative;
    width: 100%;
    height: 65vh; 
    background-color: #000;
    
    /* İŞTE SİHİRLİ KOD: Bu fotoğrafı sitenin normal akışındaki mutlak mutlak katman hakimi yapar. 
       Böylece sticky kutu (z-index 10) sayfa kaysın veya büzüşsün, fotoğrafın arkasına girer. */
    z-index: 99 !important; 
}

.detailHeroSwiper {
    width: 100%;
    height: 100%;
}

.detailHeroSwiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gönderdiğiniz tasarımdaki altı kararan siyah geçiş (Fade out) */
.detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-color) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.detail-pagination {
    bottom: 30px !important;
    z-index: 5;
}

/* 2. ANA İÇERİK IZGARASI */
.detail-main-content {
    background-color: var(--bg-color);
    padding-bottom: 100px;
    position: relative;
}

.detail-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 400px; 
    gap: 60px;
    align-items: flex-start; /* STICKY KUTUNUN ÇALIŞMASI İÇİN ZORUNLUDUR */
}

/* 3. SOL TARAF (Açıklama ve Özellikler) */
.detail-left {
    padding-top: 20px;
    z-index: 3; /* Overlay'in üstünde kalması için */
}

.detail-car-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-color);
    margin: 15px 0 25px 0;
    font-family: 'Urbanist', sans-serif;
}

.detail-car-desc {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.detail-sub-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Check İkonlu Özellik Listesi (Tasarımdaki gibi) */
.detail-check-list {
    list-style: none;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki sütunlu liste */
    gap: 15px;
}

.detail-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ccc;
    font-size: 15px;
}

.detail-check-list .material-icons {
    color: var(--primary-color);
    font-size: 18px;
}

/* Galeri (3'lü ızgara) */
.detail-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.detail-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.detail-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* 4. SAĞ TARAF (Sabit Fiyat ve Özellik Kutusu) */
/* Tasarımdaki üstüne binme (overlap) ve sabitleme (sticky) efekti */
/* ================= SAĞ TARAF SABİT KUTU (DÜZELTİLDİ) ================= */
.detail-sticky-box {
    position: sticky;
    
    /* 1. Sayfa aşağı kayarken header'a çarpmasını engellemek için Turn 31'deki top ayarını koruduk */
    top: 130px; 
    
    /* 2. İŞTE DÜZELTME: Aracın fotoğrafının üzerine binmesini engellemek için o negatif marjini ( -80px veya -120px ) SIFIRLAYIP,
       araç resminden efendi gibi 20px aşağıda başlamasını söyledik. */
    margin-top: 20px; 
    
    background-color: #1a1a1a;
    border-radius: 15px;
    z-index: 10; /* Katman seviyesi fotoğrafın ( z-index 99 ) altında kalacak şekilde düşük tutuldu. */
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Gönderdiğiniz resimdeki O meşhur Sarı Fiyat Kutusu */
.detail-price-box {
    background-color: var(--primary-color);
    padding: 35px 20px;
    text-align: center;
    border-radius: 15px; /* Üstteki iki köşesi ve alt köşeleri yuvarlak */
    position: relative;
}

.price-val {
    color: #121212;
    font-size: 36px;
    font-weight: 900;
    font-family: 'Urbanist', sans-serif;
    letter-spacing: -1px;
}

/* Özellikler Tablosu */
.detail-specs-list {
    list-style: none;
    padding: 30px;
}

.detail-specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 15px;
}

.detail-specs-list li:last-child {
    border-bottom: none;
}

.spec-left {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
}

.spec-left .material-icons {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0.8;
}

.spec-right {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

/* ================= SATIN ALMA / İLETİŞİM BUTONLARI ================= */
.detail-action-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0 30px 30px 30px;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
}

/* 1. Tam Genişlik Sahibinden Butonu (YENİ) */
.btn-sahibinden-full {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 0;
    background-color: #ffe600; /* Kurumsal Sahibinden Sarısı */
    color: #121212;
    font-weight: 800;
    font-size: 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    margin: 0;
}

.btn-sahibinden-full:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 230, 0, 0.3);
}

/* Alt Satır Taşıyıcı */
.contact-buttons-row {
    display: flex;
    gap: 10px;
    width: 100%;
}

/* 2. Bizi Arayın Butonu */
.btn-call {
    flex: 1.5; 
    padding: 14px 10px;
    font-size: 14px;
    white-space: nowrap;
}

/* 3. Kompakt WhatsApp Butonu (YENİ) */
.btn-whatsapp-small {
    flex: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background-color: var(--primary-color);
    color: #121212;
    font-weight: 800;
    font-size: 14px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-whatsapp-small:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}
.btn-detail-solid {
    justify-content: center !important; /* Yatayda tam ortalar (Zorunlu) */
    align-items: center !important;     /* Dikeyde tam ortalar (Zorunlu) */
    text-align: center;                 /* Metni merkeze hizalar */
    background-color: var(--primary-color);
    color: #121212;
}

.btn-detail-solid:hover {
    background-color: #fff;
}

/* ================= TAM GENİŞLİK WHATSAPP BUTONU (KESİN ÇÖZÜM) ================= */
.btn-whatsapp-full {                /* Metni merkeze hizalar */
    display: flex;
    justify-content: center !important; /* Yatayda tam ortalar (Zorunlu) */
    align-items: center !important;     /* Dikeyde tam ortalar (Zorunlu) */
    text-align: center;                 /* Metni merkeze hizalar */
    gap: 8px;
    width: 100%;
    box-sizing: border-box; /* Padding'in genişliği bozmasını kesin olarak engeller */
    padding: 15px 0;
    background-color: var(--primary-color);
    color: #121212;
    font-weight: 800;
    font-size: 15px;
    border-radius: 30px;
    text-decoration: none;
    transition: var(--transition);
    margin: 0; /* Eğer dışarıdan gelen bir boşluk varsa sıfırlar */
}

.btn-whatsapp-full:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* 5. EN ALT CTA (İlgileniyor Musunuz?) */
.detail-cta-section {
    position: relative;
    padding: 100px 5%;
    background-image: url('../img/vehicles/bmw1.jpg'); /* Aynı resmi koyulaştırıp arka plana koyuyoruz */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.85); /* Çok koyu siyah filtre */
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-subtitle {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 15px;
}

.cta-content h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-content p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}
.cta-buttons a {
    flex: none;
    padding: 15px 35px;
    
    /* İŞTE SİHİRLİ KODLAR */
    border-radius: 30px; /* Kenarları tamamen yuvarlayıp oval (hap) şekline getirir */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

/* MOBİL UYUM */
@media screen and (max-width: 1024px) {
    .detail-container {
        grid-template-columns: 1fr; /* Sağdaki menü alta geçer */
        gap: 40px;
    }
    .detail-sticky-box {
        margin-top: 0; /* Mobilde resmin üstüne binmez, normal akar */
        position: relative;
        top: 0;
    }
    .detail-gallery-grid {
        grid-template-columns: 1fr 1fr; /* Mobilde 2 sütun galeri */
    }
    .detail-check-list {
        grid-template-columns: 1fr; /* Mobilde alt alta özellikler */
    }
    .cta-buttons {
        flex-direction: column;
    }
}
@media screen and (max-width: 768px) {
    .detail-hero-section {
        height: 40vh;
    }
    .detail-car-title {
        font-size: 28px;
    }
    .detail-gallery-grid {
        grid-template-columns: 1fr; /* Tek sütun galeri */
    }
}

/* Alt Satır Taşıyıcı */
.contact-buttons-row {
    display: flex;
    gap: 15px; /* İki buton arasına şık bir boşluk */
    width: 100%;
    box-sizing: border-box;
}

/* İki buton için ORTAK ve ZORUNLU kurallar (Birebir aynı boyutta olmaları için) */
.contact-buttons-row > a {
    flex: 1 1 0; /* İŞTE SİHİRLİ KOD: İçeriğin uzunluğuna bakmaksızın alanı tam ikiye böler */
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px;
    padding: 14px 0; /* Yan boşlukları sıfırladık çünkü flex zaten %50 yapacak */
    font-size: 14px;
    font-weight: 800;
    border-radius: 30px;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box; /* Sınırların dışa taşmasını engeller */
}

/* 2. Bizi Arayın Butonu Özel Stilleri */
.btn-call {
    background-color: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.2); /* 2px kenarlık */
    transition: var(--transition);
}

.btn-call:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
}

/* 3. Kompakt WhatsApp Butonu Özel Stilleri */
.btn-whatsapp-small {
    background-color: var(--primary-color);
    color: #121212;
    /* DİKKAT: Diğer butonla aynı yükseklikte olması için onunla aynı boyutta kendi renginde kenarlık ekliyoruz */
    border: 2px solid var(--primary-color); 
    transition: var(--transition);
}

.btn-whatsapp-small:hover {
    background-color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

/* ================= AÇILIR GALERİ (LIGHTBOX) STİLLERİ ================= */
.lightbox-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh;
    background: rgba(5, 5, 5, 0.95); /* Arkasını hafif gösteren elit siyah */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* İŞTE SİHİRLİ KOD: Katman seviyesini en yükseğe çektik ve zorunlu (!) kıldık */
    z-index: 999999 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* JavaScript bu sınıfı ekleyince görünür olur */
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Resim Taşıyıcısı */
.lightbox-content-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

#lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain; /* Resmin orantısını bozmadan ekrana sığdırır */
    transition: opacity 0.3s ease;
}

/* Yön Okları ve Kapatma Çarpısı */
.lightbox-close {
    position: absolute;
    top: 30px; 
    right: 40px;
    color: #fff; 
    font-size: 40px; 
    cursor: pointer; 
    transition: var(--transition); 
    z-index: 10000;
}

.lightbox-close:hover { 
    color: var(--primary-color); 
    transform: rotate(90deg); /* Üzerine gelince döner */
}

.lightbox-prev, .lightbox-next {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
    color: #fff; 
    font-size: 50px; 
    cursor: pointer; 
    transition: var(--transition); 
    z-index: 10000;
    background: rgba(255,255,255,0.05); /* Okların arkasına hafif tıklanabilir alan */
    border-radius: 50%;
    padding: 10px;
}

.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

.lightbox-prev:hover, .lightbox-next:hover { 
    color: #121212; 
    background-color: var(--primary-color); 
}

/* Orijinal küçük resimlere tıklanabileceğini (büyüteç işaretiyle) gösterir */
.detail-gallery-grid img {
    cursor: zoom-in;
}

/* Mobilde okları biraz küçültelim */
@media screen and (max-width: 768px) {
    .lightbox-prev, .lightbox-next { font-size: 35px; padding: 5px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 15px; right: 15px; font-size: 35px; }
}
