:root {
    --bg-dark: #1E2125; 
    --bg-card: #2B3035; 
    --accent-silver: #D1D5DB; 
    --accent-red: #C92A2A; 
    --text-white: #FFFFFF;
    --text-gray: #9CA3AF;
    --glass: rgba(30, 33, 37, 0.95); /* Arka planı biraz daha koyulaştırdık */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Rajdhani', sans-serif; } 
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* ============================================================
   1. HEADER VE LOGO (GÜNCELLENDİ)
   ============================================================ */
.main-header {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    /* Logo sol boşluğu düzeltildi (Daha az boşluk) */
    padding: 0 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    z-index: 1000; 
    background: var(--glass);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    height: 200px; /* Sabit yükseklik */
}

.brand-identity { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    text-decoration: none;
    margin-left: 0; /* Sol boşluğu sıfırla */
}

.brand-identity img { 
    height: 230px; /* Logo boyutu ideal hale getirildi */
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3)); 
}

.brand-title { font-size: 1.5rem; font-weight: 700; color: white; line-height: 1; }
.brand-title span { color: var(--accent-silver); font-weight: 400; }
.brand-subtitle { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-gray); display: block; font-weight: 600; }

.nav-container { display: flex; align-items: center; gap: 30px; }

/* ============================================================
   2. MENÜ VE DROPDOWN (TAMAMEN YENİLENDİ)
   ============================================================ */
.main-nav {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

/* Menü Öğeleri */
.nav-list > li {
    position: relative; /* Alt menü hizalaması için */
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-list a {
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    padding: 10px 0;
}

.nav-list a:hover { color: var(--accent-red); }

/* Ok İkonu Animasyonu */
.dropdown-link i {
    font-size: 0.7em;
    margin-left: 5px;
    transition: transform 0.3s;
    color: var(--text-gray);
}
.dropdown-item:hover .dropdown-link i {
    transform: rotate(180deg);
    color: var(--accent-red);
}

/* --- AÇILIR MENÜ (DROPDOWN) KUTUSU --- */
.dropdown-menu {
    display: none; /* Başlangıçta GİZLİ */
    position: absolute;
    top: 100%; /* Linkin tam altına */
    left: -20px;
    width: 240px;
    background-color: #15171a; /* Koyu Gri Arka Plan */
    border-top: 3px solid var(--accent-red); /* Kırmızı Çizgi */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    padding: 10px 0;
    z-index: 9999;
    flex-direction: column;
    border-radius: 0 0 5px 5px;
    animation: slideUp 0.3s ease;
}

/* Hover olunca GÖSTER */
.dropdown-item:hover .dropdown-menu {
    display: flex;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Alt Linkler */
.dropdown-menu li { width: 100%; }

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 0.85rem;
    color: #b0b3b8;
    text-transform: none; /* Büyük harf zorunluluğu yok */
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background-color: rgba(255,255,255,0.05);
    color: white;
    padding-left: 25px; /* Kayma efekti */
}

/* Menüdeki B2B Butonu */
.nav-b2b-btn {
    background-color: var(--accent-red);
    color: white !important;
    padding: 8px 15px !important;
    border-radius: 4px;
    font-size: 0.8rem !important;
    display: flex; align-items: center; gap: 8px;
    box-shadow: 0 4px 15px rgba(201, 42, 42, 0.3);
}
.nav-b2b-btn:hover {
    background-color: white;
    color: var(--accent-red) !important;
    transform: translateY(-2px);
}

/* ============================================================
   3. HERO SLIDER (YENİ EKLENDİ - SWIPER)
   ============================================================ */
.hero-slider-container {
    width: 100%;
    height: 100vh; /* Tam Ekran */
    position: relative;
    background-color: #000;
    margin-top: 0; /* Header fixed olduğu için margin gerekmez, ama padding gerekebilir */
}

.swiper { width: 100%; height: 100%; }

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-media {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; z-index: 1;
}

.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Karartma */
    z-index: 2;
}

.hero-content {
    position: relative; z-index: 3;
    text-align: center; max-width: 900px; padding: 0 20px;
    opacity: 0; transform: translateY(30px);
    transition: all 1s ease;
}

.swiper-slide-active .hero-content {
    opacity: 1; transform: translateY(0);
}

.hero-badge {
    display: inline-block; padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.5);
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px;
    margin-bottom: 20px; color: var(--accent-silver); font-weight: 700;
    border-radius: 2px;
}

.hero-content h1 {
    font-size: 4rem; line-height: 1.1; margin-bottom: 20px;
    font-weight: 700; text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.hero-content h1 span { color: transparent; -webkit-text-stroke: 1px var(--text-white); }
.hero-content p {
    font-size: 1.2rem; color: #e0e0e0; margin-bottom: 40px;
    max-width: 700px; margin-left: auto; margin-right: auto; font-weight: 400;
}

.btn-group { display: flex; justify-content: center; gap: 20px; }
.btn {
    padding: 15px 35px; border-radius: 4px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; cursor: pointer;
    transition: 0.3s; text-decoration: none;
}
.btn-primary { background: var(--text-white); color: var(--bg-dark); }
.btn-primary:hover { background: var(--accent-silver); transform: translateY(-3px); }
.btn-outline { border: 1px solid var(--text-white); color: var(--text-white); background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Slider Okları */
.swiper-button-next, .swiper-button-prev { color: white !important; }
.swiper-pagination-bullet-active { background-color: var(--accent-red) !important; }

/* ============================================================
   4. ARAMA KUTUSU VE DROPDOWN
   ============================================================ */
.search-container { position: relative; max-width: 400px; }
.search-box {
    display: flex; align-items: center; background: rgba(255,255,255,0.05);
    border-radius: 50px; padding: 5px 15px; border: 1px solid rgba(255,255,255,0.1);
}
.search-box input { 
    background: transparent; border: none; outline: none; color: white; 
    width: 140px; font-size: 0.9rem; 
}
.search-box button { background: transparent; border: none; color: var(--text-gray); cursor: pointer; }
.search-box button:hover { color: white; }

.search-dropdown {
    position: absolute; top: 100%; right: 0; width: 350px;
    background-color: #1a1d21; border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 1001; display: none; max-height: 400px; overflow-y: auto; margin-top: 10px; 
}
.search-result-item:hover { background-color: rgba(255,255,255,0.05); }

/* ============================================================
   5. İSTATİSTİK BAR
   ============================================================ */
.stats-bar {
    background: var(--bg-card); padding: 40px 5%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 30px;
    position: relative; z-index: 10; margin-top: -80px; /* Slider üzerine binme efekti */
    border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%; margin-left: 5%;
}
.stat-item { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--accent-red); line-height: 1; display: block; }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-gray); margin-top: 5px; }

/* ============================================================
   6. DİĞER BÖLÜMLER (Grid, Footer, vb.)
   ============================================================ */
.marquee-section {
    padding: 30px 0; background: #15171a; overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-title { text-align: center; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; color: var(--text-gray); margin-bottom: 20px; font-weight: 700; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; } 
.brand-logo { margin: 0 40px; opacity: 0.5; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.brand-logo img { height: 50px; filter: grayscale(100%); transition: 0.3s; }
.brand-logo:hover { opacity: 1; }
.brand-logo:hover img { filter: grayscale(0%); }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.reverse { animation-direction: reverse; }

.section { padding: 80px 5%; background-color: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; color: var(--text-white); margin-bottom: 10px; font-weight: 700; }
.section-header p { color: var(--text-gray); max-width: 600px; margin: 0 auto; }

.parts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.part-card {
    background: var(--bg-card); padding: 30px; border: 1px solid rgba(255,255,255,0.05);
    transition: 0.4s; border-radius: 6px; position: relative;
}
.part-card:hover { transform: translateY(-5px); border-color: var(--text-gray); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.part-icon { font-size: 2rem; color: var(--accent-silver); margin-bottom: 20px; }
.part-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: white; }
.part-card p { font-size: 0.9rem; color: var(--text-gray); margin-bottom: 20px; min-height: 80px; }
.part-link { color: white; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

.corporate-section {
    padding: 100px 5%; background: linear-gradient(to bottom, #2B3035, #1E2125); 
    display: flex; gap: 50px; flex-wrap: wrap; align-items: center;
}
.corporate-content { flex: 1; min-width: 300px; }
.corporate-image { flex: 1; min-width: 300px; max-width: 450px; margin: 0 auto; }
.corporate-image img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); filter: grayscale(80%); transition: 0.5s; }
.corporate-image:hover img { filter: grayscale(0%); transform: scale(1.01); }

.vision-mission-grid { display: flex; gap: 30px; margin-top: 30px; }
.vm-card {
    flex: 1; padding: 25px; background: rgba(255,255,255,0.05);
    border-radius: 6px; border-left: 4px solid var(--accent-red);
}
.vm-card h4 { font-size: 1.2rem; color: white; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.vm-card i { color: var(--accent-red); font-size: 1.4rem; }
.vm-card p { font-size: 0.95rem; color: var(--text-gray); }

.map-section { width: 100%; height: 550px; background: var(--bg-card); padding: 5%; }
.map-wrapper { width: 100%; height: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.5); filter: grayscale(80%); transition: 0.5s; }
.map-wrapper:hover { filter: grayscale(0%); }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }

footer { background-color: #0F1114; padding: 70px 5% 20px; color: var(--text-gray); border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-brand h4 { color: white; font-size: 1.2rem; margin-bottom: 15px; }
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 10px; display: flex; align-items: flex-start; }
.footer-col ul li i { margin-right: 10px; margin-top: 4px; color: var(--accent-silver); }
.footer-col a { color: var(--text-gray); font-size: 0.9rem; transition: 0.2s; }
.footer-col a:hover { color: white; padding-left: 5px; }
.social-icons { margin-top: 20px; display: flex; gap: 15px; }
.social-icons a { color: white; background: rgba(255,255,255,0.1); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.social-icons a:hover { background: var(--accent-red); }
.footer-bottom { text-align: center; font-size: 0.8rem; color: #555; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }

.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px; z-index: 1050; background-color: #f00000ee;
    color: white; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 2rem; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(5deg); background-color: var(--accent-red); }

/* Responsive */
@media (max-width: 900px) {
    .main-header { flex-direction: column; padding: 15px; gap: 15px; height: auto; }
    .nav-container { flex-direction: column; width: 100%; gap: 15px; }
    .nav-list { flex-direction: column; gap: 10px; text-align: center; }
    .dropdown-menu { position: static; width: 100%; box-shadow: none; border-top: none; background: rgba(255,255,255,0.05); }
    .stats-bar { width: 100%; margin: 0; border-radius: 0; margin-top: 0; }
    .hero-content h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
/* ============================================================
   FOOTER LOGO AYARLARI
   ============================================================ */
/* ============================================================
   FOOTER ARKAPLAN RESMİ AYARLARI
   ============================================================ */
/* ============================================================
   FOOTER ARKAPLAN RESMİ AYARLARI
   ============================================================ */
/* ============================================================
   TAMİR EDİLMİŞ FOOTER CSS (EN GÜNCEL)
   ============================================================ */

/* ============================================================
   SADECE FOOTER İÇİN DÜZELTİLMİŞ CSS
   ============================================================ */

/* ============================================================
   FOOTER: RESİM ARKA PLANDA, YAZILAR ÜSTTE
   ============================================================ */

footer {
    position: relative; /* Arka plan perdesi için gerekli */
    
    /* RESİM DOSYANIZIN ADINI BURAYA YAZIN */
    background-image: url('ww.jpeg'); 
    
    background-size: cover;      /* Resmi tüm footer'a yay */
    background-position: center; /* Resmi ortala */
    background-repeat: no-repeat;
    
    padding: 80px 5% 30px; /* İç boşluklar */
    color: #b0b3b8;        /* Yazı rengi (Hafif gri) */
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* SİYAH KARARTMA PERDESİ (Yazıların okunması için şart) */
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 0.85 = %85 Karanlık. Resmi daha net görmek için 0.7 yapabilirsiniz */
    background-color: rgba(10, 10, 15, 0.3); 
    z-index: 1; /* Resmin üstünde */
}

/* İÇERİK KATMANI (Perdenin üstüne çıkar) */
.footer-grid, .footer-bottom {
    position: relative;
    z-index: 2; /* Perdenin (z-index:1) üstünde durmalı */
}

/* Footer Logosu */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    display: block;
    /* Logoyu biraz beyazlatıp parlatalım ki koyu zeminde belli olsun */
    filter: brightness(0) invert(1) opacity(0.8); 
}
.footer-logo:hover { opacity: 1; }

/* Grid Yapısı */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* 3 Sütun */
    gap: 50px;
    margin-bottom: 50px;
}

/* Başlıklar */
.footer-col h4 {
    color: white; /* Başlıklar Beyaz */
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Linkler */
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #b0b3b8; transition: 0.3s; text-decoration: none; }
.footer-col a:hover { color: white; padding-left: 5px; color: #C92A2A; /* Kırmızı vurgu */ }

/* Sosyal İkonlar */
.social-icons { display: flex; gap: 15px; margin-top: 25px; }
.social-icons a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: white; transition: 0.3s;
}
.social-icons a:hover { background: #C92A2A; transform: translateY(-3px); }

/* Alt Telif Kısmı */
.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* MOBİL UYUMU */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Mobilde tek sütun */
        gap: 40px;
        text-align: center;
    }
    .footer-brand, .social-icons {
        align-items: center; justify-content: center;
    }
    .footer-logo { margin: 0 auto 20px auto; }
}

/* ============================================================
   7. GELİŞMİŞ ARAMA SONUÇLARI (EN ALTA EKLE)
   ============================================================ */

/* Arama kutusu açılır menüsü için ince ayar */
.search-dropdown {
    padding: 0; /* İç boşluğu sıfırlayalım */
    max-height: 450px; /* Biraz daha uzun olabilir */
    border: 1px solid rgba(255,255,255,0.15);
    background-color: #1a1d21;
}

/* Her bir sonuç satırı */
.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none; /* Link alt çizgisini kaldır */
}

/* Mouse ile üzerine gelince */
.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Son elemanın alt çizgisini kaldır */
.search-result-item:last-child {
    border-bottom: none;
}

/* Ürün Resmi */
.item-img {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #333;
    background: #fff;
}

/* Resim yoksa çıkan kutu */
.item-placeholder {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #555;
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Yazı alanı */
.item-details {
    flex: 1;
    overflow: hidden; /* Taşmaları gizle */
}

/* Kod ve Fiyat Satırı */
.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.item-code {
    color: #fff;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.item-price {
    color: #4ade80; /* Yeşil Fiyat */
    font-weight: bold;
    font-family: monospace;
    font-size: 1rem;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.item-price.ask {
    color: #9ca3af; /* Gri "Fiyat Sor" */
    font-size: 0.75rem;
    font-style: italic;
    background: transparent;
}

.item-name {
    display: block;
    color: #9ca3af;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Çok uzun isimleri ... ile bitir */
}

/* Butonlar Grubu */
.item-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
}

.btn-action {
    flex: 1;
    text-align: center;
    padding: 5px 0;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 800;
    transition: 0.3s;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-order {
    background: #C92A2A;
    color: white !important;
}

.btn-order:hover {
    background: #e03131;
}

.btn-whatsapp {
    background: transparent;
    border: 1px solid #25D366;
    color: #25D366 !important;
}

.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

/* Sonuç Bulunamadı */
.no-result {
    padding: 30px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}


/* ============================================================
   8. EKLENEN MOBİL UYUMLULUK SATIRLARI (768px ve altı)
   ============================================================ */
@media screen and (max-width: 768px) {
    /* Header ve Menü Düzeni - Mevcut yapıyı bozmadan ek ayarlar */
    .main-header {
        position: relative; /* Mobilde sabit olmasın, sayfa aksın */
        height: auto;
    }

    .brand-identity img {
        height: 60px; /* Logo mobilde çok büyük kalmasın */
    }

    /* Slider Yüksekliğini Ayarla */
    .hero-slider-container {
        height: 60vh; /* Telefondan girince tüm ekranı kaplamasın, aşağısı görünsün */
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2rem; /* Başlık telefonda çok büyük durmasın */
    }

    .btn-group {
        flex-direction: column; /* Butonları alt alta al */
        gap: 15px;
    }

    .btn {
        width: 100%; /* Butonları tam genişlik yap */
    }

    /* İstatistik Barı */
    .stats-bar {
        flex-direction: column; /* Yan yana olan sayıları alt alta diz */
        gap: 30px;
        padding: 40px 20px;
    }

    /* Kurumsal Bölüm (Yan yana duranları alt alta al) */
    .corporate-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .corporate-image {
        width: 100%;
        margin-top: 20px;
    }

    /* Vizyon Misyon Kartları */
    .vision-mission-grid {
        flex-direction: column; /* Kartları alt alta diz */
    }
    
    /* Arama Kutusu Genişliği */
    .search-box input {
        width: 100%;
    }
}
/* =========================================
   PERFORMANS OPTİMİZASYONU (EKLE)
   ========================================= */

/* 1. Hardware Acceleration: Animasyonları GPU'ya aktarır (Takılmaları önler) */
.part-card, 
.btn, 
.slide-media,
.map-wrapper,
.dropdown-menu {
    will-change: transform, opacity;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* 2. Content Visibility: Ekran dışındaki öğeleri tarayıcı çizmez (Çok büyük hız artışı sağlar) */
footer,
.map-section,
.marquee-section,
.parts-grid {
    content-visibility: auto;
    contain-intrinsic-size: 1px 500px; /* Tahmini yükseklik vererek kaymayı önler */
}

/* 3. Yazı Fontu Performansı: Font yüklenene kadar sistem fontunu gösterir */
body, h1, h2, h3, h4, p, a {
    font-display: swap;
}

/* 4. Resimler için Layout Shift Koruması */
img {
    max-width: 100%;
    height: auto;
    font-style: italic; /* Resim yüklenemezse alt text eğik görünsün */
    vertical-align: middle;
}
/* =========================================
   SOL TARAFTAKİ TELEFON BUTONU
   ========================================= */
/* --- SOL ALT KÖŞE SABİT TELEFON BUTONU --- */
.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Ekranın solunda */
    z-index: 99999; /* EN ÜST KATMAN (Kesin Görünürlük İçin) */
    
    background-color: #007bff; /* Mavi Renk */
    color: #ffffff !important; /* İkon Rengi Beyaz */
    
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    
    /* Dikkat çekmesi için nabız animasyonu */
    animation: phonePulse 2s infinite;
}

/* Üzerine gelince */
.phone-float:hover {
    background-color: #0056b3;
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 0 25px rgba(0, 123, 255, 0.9);
    color: #ffffff !important;
}

/* Animasyon */
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* MOBİL İÇİN AYARLAR (Çakışmayı önlemek için) */
@media (max-width: 768px) {
    .phone-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}
/* Mobilde butonların birbirine girmemesi için ayar */
@media (max-width: 768px) {
    .phone-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
    /* Mevcut WhatsApp butonunu da uyumlu hale getirelim */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem; /* İkonu biraz küçült */
        bottom: 20px;
        right: 20px;
    }
}
/* Resimlerin taşmasını ve titremesini önle */
img {
    max-width: 100%;
    height: auto;
    display: block; 
}

/* Slider Alanı için Yer Tutucu (CLS Çözümü) */
/* Hero alanının yüksekliği neyse buraya onu yazmalısın (Örn: 600px) */
.hero-section, .myHeroSwiper {
    min-height: 600px; /* Mobilde farklıysa @media ile ayarla */
    background-color: #1E2125; /* Resim gelene kadar görünecek renk */
}

/* Font performans ayarı */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}
.estetik-kutu-3 {
    background: #1e293b; /* Koyu tema için örnek */
    color: #fff;
    padding: 20px;
    border-left: 4px solid #38bdf8;
    
    /* Çubuğun etrafına parlama efekti */
    box-shadow: -5px 0 15px -3px rgba(189, 192, 194, 0.6);
}
/* --- HERO BÖLÜMÜ BAŞLANGIÇ --- */

/* Genel Kapsayıcı */
.hero-wrapper {
    display: flex;
    align-items: center; /* Dikey ortalama */
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- SOL TARAFTAKİ MAVİ TELEFON BUTONU --- */
.hero-icon-box {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mavi Yuvarlak Buton Tasarımı */
.phone-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;  /* Buton genişliği */
    height: 100px; /* Buton yüksekliği */
    background-color: #0d6efd; /* Mercedes/Bootstrap Mavisi */
    border-radius: 50%; /* Tam yuvarlak yapar */
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4); /* Mavi gölge */
    text-decoration: none;
    transition: transform 0.3s ease;
    
    /* Hafif nefes alma animasyonu */
    animation: pulse-blue 2s infinite;
}

.phone-btn:hover {
    transform: scale(1.1); /* Üzerine gelince biraz büyür */
    background-color: #0b5ed7; /* Hover rengi */
}

/* İçindeki Telefon İkonu (SVG) Rengi */
.phone-btn svg {
    fill: #ffffff; /* Beyaz ikon */
    width: 45px;
    height: 45px;
}

/* Animasyon Keyframes */
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* --- SAĞ TARAFTAKİ TAM ŞEFFAF YAZI ALANI --- */
.hero-text-box {
    flex: 1;
    background: transparent; /* Şeffaf */
    border: none;
    padding-left: 25px;
    border-left: 6px solid #0d6efd; /* Sol çizgi */
}

.hero-text-box h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #000;
    font-weight: 800;
    /* Yazı Parlaması (Kontur) */
    text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, 0 0 15px rgba(255,255,255,0.9);
}

.hero-text-box p {
    color: #111;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 1px 1px 1px #fff, 0 0 5px rgba(255,255,255,1);
}

.custom-h1 {
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.7);
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .hero-text-box {
        border-left: none;
        border-top: 5px solid #0d6efd;
        padding-left: 0;
        padding-top: 20px;
    }
    .phone-btn {
        width: 80px; /* Mobilde biraz daha küçük buton */
        height: 80px;
    }
    .phone-btn svg {
        width: 35px;
        height: 35px;
    }
}
/* --- SOL ALT KÖŞE SABİT TELEFON BUTONU --- */
.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Ekranın solunda */
    z-index: 99999; /* En üstte durması için */
    
    background-color: #0d6efd; /* Mercedes Mavisi */
    color: #ffffff !important; /* İkon Rengi Beyaz */
    
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%; /* Yuvarlak */
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.6); /* Gölge */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    
    /* Nabız Animasyonu */
    animation: phonePulse 2s infinite;
}

/* Üzerine gelince */
.phone-float:hover {
    background-color: #0b5ed7;
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.9);
    color: #ffffff !important;
}

/* Animasyon Tanımı */
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Mobilde Çakışmayı Önlemek İçin */
@media (max-width: 768px) {
    .phone-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}
/* --- SOL ALT KÖŞE SABİT TELEFON BUTONU --- */
.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Ekranın solunda */
    z-index: 99999; /* En üstte durması için */
    
    background-color: #0d6efd; /* Mercedes Mavisi */
    color: #ffffff !important; /* İkon Rengi Beyaz */
    
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    border-radius: 50%; /* Yuvarlak */
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.6); /* Gölge */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    
    /* Nabız Animasyonu */
    animation: phonePulse 2s infinite;
}

/* Üzerine gelince */
.phone-float:hover {
    background-color: #0b5ed7;
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.9);
    color: #ffffff !important;
}

/* Animasyon Tanımı */
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Mobilde Çakışmayı Önlemek İçin */
@media (max-width: 768px) {
    .phone-float {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        bottom: 20px;
        left: 20px;
    }
}
/* ========================================================================
   BURADAN AŞAĞISINI style.css DOSYANIZIN EN ALTINA YAPIŞTIRIN
   (MEVCUT KODLARI SİLMEYİN)
   ======================================================================== */

/* 1. KUTU ARKAPLANLARINI TAMAMEN SAYDAM YAPMA (Buzlu görüntüyü kaldırır) */
.glass-effect, 
.card, 
.part-card, 
.vm-card, 
.container-box, 
.form-wrapper {
    background: transparent !important;       /* Arka plan rengini sil */
    backdrop-filter: none !important;         /* Bulanıklığı sil */
    -webkit-backdrop-filter: none !important; /* Safari bulanıklığını sil */
    box-shadow: none !important;              /* Gölgeleri sil */
    border: none !important;                  /* Çizgileri sil */
}

/* 2. HERO BÖLÜMÜ (Slider Üzerindeki Mavi Telefonlu Alan) */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10; /* Sliderın üstünde dursun */
}

.hero-icon-box {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mavi Yuvarlak Buton */
.phone-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #0d6efd; /* Mavi Renk */
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(13, 110, 253, 0.4);
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: pulse-blue 2s infinite;
}

.phone-btn:hover {
    transform: scale(1.1);
    background-color: #0b5ed7;
}

.phone-btn svg {
    fill: #ffffff;
    width: 45px;
    height: 45px;
}

/* Sağdaki Şeffaf Yazı Alanı */
.hero-text-box {
    flex: 1;
    background: transparent !important;
    border: none !important;
    padding-left: 25px;
    border-left: 6px solid #0d6efd !important; /* Sadece sol çizgi kalsın */
}

.hero-text-box h3 {
    font-size: 2.5rem; /* Yazı boyutu büyütüldü */
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5); /* Okunabilirlik için gölge */
}

.hero-text-box p {
    color: #e0e0e0;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* 3. SOL ALT KÖŞE SABİT TELEFON BUTONU */
.phone-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99999;
    background-color: #0d6efd;
    color: #ffffff !important;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.2);
    animation: pulse-blue 2s infinite;
}

.phone-float:hover {
    background-color: #0b5ed7;
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 0 25px rgba(13, 110, 253, 0.9);
}

/* Animasyon Keyframes */
@keyframes pulse-blue {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* 4. MOBİL UYUMLULUK (Bu kısım telefonda bozulmayı engeller) */
@media screen and (max-width: 768px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 40px 20px;
    }
    
    .hero-text-box {
        border-left: none !important;
        border-top: 5px solid #0d6efd !important;
        padding-left: 0;
        padding-top: 20px;
    }
    
    .hero-text-box h3 { font-size: 1.8rem; }
    
    .phone-btn {
        width: 80px;
        height: 80px;
    }
    
    /* Mobilde butonların çakışmaması için konumlar */
    .phone-float {
        width: 50px; height: 50px; font-size: 1.2rem;
        bottom: 20px; left: 20px;
    }
}

/* ============================================================
   MOBİL UYUMLULUK (MEVCUT YAPIYI KORUYARAK)
   ============================================================ */

/* Masaüstünde butonu gizle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 5px;
    margin-right: 15px;
}

/* --- 991px ve Altı (Tablet & Telefon) --- */
@media screen and (max-width: 991px) {

    /* 1. Header Düzeni */
    .main-header {
        height: 80px; /* Mobilde header boyunu kısalt */
        padding: 0 15px;
        justify-content: space-between;
        background: #1E2125; /* Koyu arka plan */
    }

    /* Logoyu küçült */
    .brand-identity img { height: 45px; } 
    .brand-title { font-size: 1.2rem; }
    .brand-subtitle { display: none; }

    /* Butonu göster */
    .menu-toggle { display: block; z-index: 1002; }

    /* 2. Menüyü Gizle ve Yan Menü Yap */
    .nav-container {
        position: fixed;
        top: 80px;
        left: -100%; /* Ekran dışına it */
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #15171a;
        flex-direction: column; /* İçeriği alt alta diz */
        align-items: center;
        padding: 30px;
        transition: 0.4s ease;
        overflow-y: auto;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* JS ile 'aktif' sınıfı eklenince menü gelsin */
    .nav-container.aktif { left: 0; }

    /* Linkleri düzenle */
    .nav-list {
        flex-direction: column;
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    .nav-list li { margin: 10px 0; width: 100%; }
    .nav-list a { font-size: 1.2rem; display: block; padding: 10px; }

    /* Arama Kutusunu Düzenle */
    .search-container { width: 100%; margin-top: 20px; }
    .search-box { width: 100%; background: #fff; }
    .search-box input { width: 100%; color: #000; }
    .search-dropdown { position: static; width: 100%; }

    /* Alt Menüler (Dropdown) */
    .dropdown-menu {
        position: static; /* Mobilde açılır kapanır yerine sıralı olsun */
        display: none; /* Tıklayınca açılsın (JS gerekebilir) veya CSS ile: */
        width: 100%;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 0;
    }
    /* Mobilde üzerine gelince açılması zor olacağı için basit çözüm: */
    .dropdown-item:hover .dropdown-menu { display: flex; background: rgba(255,255,255,0.05); }

    /* 3. Sayfa İçeriğini Mobilleştir (Alt Alta Dizme) */
    .hero-slider-container { height: 60vh; min-height: 400px; } /* Slider boyunu kısalt */
    .hero-content h1 { font-size: 2rem; } /* Başlığı küçült */
    
    .stats-bar {
        margin-top: 0;
        border-radius: 0;
        width: 100%;
        margin-left: 0;
        flex-direction: column; /* İstatistikleri alt alta al */
        gap: 20px;
        padding: 30px;
    }

    .corporate-section, .footer-grid, .parts-grid, .vision-mission-grid {
        flex-direction: column;
        grid-template-columns: 1fr; /* Izgaraları tek sütun yap */
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .corporate-image, .map-section { width: 100%; max-width: 100%; }
    
    /* Footer düzenlemesi */
    .footer-grid { display: flex; gap: 30px; text-align: center; }
    .footer-brand, .social-icons { align-items: center; justify-content: center; }
}
/* ============================================================
   MOBİL ARAMA (UX İYİLEŞTİRMESİ)
   ============================================================ */

@media screen and (max-width: 991px) {

    /* 1. Arama Kutusunu Menünün En Tepesine Taşı */
    .search-container {
        width: 100%;
        order: -1; /* Flex yapısında en başa al */
        margin-bottom: 25px; /* Menü linkleriyle arasına boşluk koy */
        position: relative;
    }

    /* 2. Kutuyu Güzelleştir (Parmak Dostu Yap) */
    .search-box {
        display: flex;
        width: 100%;
        height: 50px; /* Yüksekliği artır (UX için en az 44px olmalı) */
        background: #ffffff;
        border-radius: 8px; /* Köşeleri yuvarlat */
        overflow: hidden; /* Taşmaları gizle */
        box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Hafif gölge */
    }

    /* 3. Yazı Alanı Ayarları */
    .search-box input {
        flex: 1; /* Kalan tüm alanı kapla */
        height: 100%;
        border: none;
        outline: none;
        padding: 0 15px;
        font-size: 16px; /* 16px altı yaparsan iPhone otomatik zoom yapar, bu UX sorunudur */
        color: #333;
        background: transparent;
    }

    /* 4. Arama Butonu (Renkli ve Büyük) */
    .search-box button {
        width: 60px; /* Geniş tıklama alanı */
        height: 100%;
        background: var(--accent-red); /* Kırmızı (Marka rengin) */
        color: white;
        border: none;
        font-size: 1.2rem;
        cursor: pointer;
        transition: background 0.2s;
    }
    
    .search-box button:active {
        background: #a00; /* Tıklanınca koyulaşsın */
    }

    /* 5. Arama Sonuçları (Dropdown) Mobilde Nasıl Görünecek? */
    .search-dropdown {
        position: static; /* Menünün akışına girsin, üzerine binmesin */
        width: 100%;
        background: #2B3035; /* Menüden biraz daha açık ton */
        margin-top: 10px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.1);
        max-height: 60vh; /* Ekranın %60'ından fazla uzamasın */
        overflow-y: auto;
    }

    /* Sonuç öğeleri mobilde daha rahat okunsun */
    .search-result-item {
        padding: 15px;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}
/* =========================================
   SÜREKLİ GÖRÜNEN TELEFON YAZISI
   ========================================= */

.phone-tooltip {
    position: absolute;
    left: 75px; /* Butonun sağında sabit durur */
    top: 50%;
    transform: translateY(-50%); /* Dikey ortalar */
    
    background-color: white; 
    color: #0d6efd; /* Mavi yazı */
    padding: 8px 15px; /* Biraz daha dolgun kutu */
    border-radius: 50px; /* Kenarları tam yuvarlatılmış (kapsül şeklinde) */
    
    font-size: 0.9rem;
    font-weight: 800; /* Kalın yazı */
    white-space: nowrap; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Belirgin gölge */
    border: 2px solid #0d6efd; /* Mavi çerçeve ekledim dikkat çeksin diye */

    /* SÜREKLİ GÖRÜNÜRLÜK AYARLARI */
    opacity: 1 !important; 
    visibility: visible !important;
    display: block !important;
    z-index: 10000;
}

/* Sol taraftaki ok işareti */
.phone-tooltip::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 7px 7px 7px 0;
    border-style: solid;
    border-color: transparent #0d6efd transparent transparent; /* Ok rengi çerçeveyle aynı olsun */
}

/* MOBİL İÇİN AYAR (Telefonda çok yer kaplamasın) */
@media screen and (max-width: 768px) {
    .phone-tooltip {
        left: 65px; /* Butona biraz daha yaklaştır */
        font-size: 0.75rem; /* Yazıyı küçült */
        padding: 6px 10px;
        border-width: 1px;
    }
}
/* =========================================
   MOBİL MENÜ: BUTON SOLDA & KAYMA EFEKTİ
   ========================================= */

@media screen and (max-width: 991px) {
    /* Butonu SOLA alıyoruz */
    .menu-toggle {
        position: absolute; 
        left: 20px;   /* Sol kenardan 20px içeride */
        right: auto;  /* Sağ ayarını sıfırla */
        top: 50%;     
        transform: translateY(-50%);
        
        z-index: 1002;
        display: block;
        font-size: 1.6rem;
        color: white; /* İkon rengi */
        padding: 5px 10px;
    }

    /* Logo ortada veya sağda kalsın istersen */
    .brand-identity {
        margin-left: -50px; /* Butonun üstüne binmemesi için logoyu itiyoruz */
    }
    
    /* Menü soldan çıkacak (Önceki kodun aynısı, garanti olsun diye tekrar veriyorum) */
    .nav-container {
        position: fixed;
        top: 0;
        left: -100%; /* Solda gizli */
        width: 80%;  /* Ekranın %80'i */
        height: 100vh;
        background-color: #15171a;
        transition: left 0.3s ease-out; /* Kayma hızı */
        z-index: 1001;
        box-shadow: 5px 0 15px rgba(0,0,0,0.5);
    }

    .nav-container.aktif {
        left: 0; /* İçeri kayar */
    }
}

/* ==========================================================================
   SEO MAKALE ALANI - ZORLANMIŞ GRİ ZEMİN (FORCED GREY)
   ========================================================================== */

/* 1. ZEMİN RENGİ (Biraz daha koyulaştırdık: #ebebeb) */
.seo-article-section {
    background-color: #ebebeb !important; /* !important ile zorla uyguluyoruz */
    padding: 80px 0;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}

.seo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 2. ÇAKIŞMA ÖNLEYİCİ (Eski beyaz kart varsa şeffaf yap) */
.seo-card {
    background: transparent !important; /* Arkadaki griyi göstersin */
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* 3. BAŞLIK */
.seo-header {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 6px solid #d90429; /* Sol kırmızı çizgi */
}

.seo-header .sub-badge {
    display: block;
    color: #d90429;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.seo-header h2 {
    color: #222;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

/* 4. METİN OKUNABİLİRLİĞİ */
.article-content {
    font-family: 'Open Sans', sans-serif;
    color: #333; /* Daha koyu yazı, gri zeminde rahat okunur */
    font-size: 1.05rem;
    line-height: 1.8;
    
    /* Çift Sütun */
    column-count: 2;
    column-gap: 50px;
    column-rule: 1px solid #ccc; /* Sütun arası çizgi */
}

.article-content h3 {
    font-family: 'Rajdhani', sans-serif;
    color: #000;
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 700;
    break-inside: avoid;
}

.article-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.article-content strong {
    color: #c90000;
    font-weight: 700;
}

/* MOBİL */
@media (max-width: 768px) {
    .article-content {
        column-count: 1;
    }
}

/* ==========================================================================
   SEO MAKALE ALANI - PREMIUM DARK MODE (Görseldeki Renk)
   ========================================================================== */

.seo-article-section {
    /* Gönderdiğin görseldeki koyu renk kodu */
    background-color: #2c2f33 !important; 
    padding: 80px 0;
    
    /* Üst ve alt çizgileri zemine uyumlu koyu gri yapalım */
    border-top: 1px solid #232529; 
    border-bottom: 1px solid #232529;
}

.seo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Eski kart yapısını sıfırla */
.seo-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* --- BAŞLIK GRUBU --- */
.seo-header {
    margin-bottom: 35px;
    padding-left: 20px;
    border-left: 5px solid #d90429; /* Kırmızı çizgi aynen kalsın, çok şık durur */
}

.seo-header .sub-badge {
    display: block;
    color: #d90429; /* Marka kırmızısı */
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.seo-header h2 {
    /* Başlık Rengi: BEYAZ */
    color: #ffffff !important; 
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

/* --- METİN GRUBU (Okunabilirlik Ayarı) --- */
.article-content {
    font-family: 'Open Sans', sans-serif;
    
    /* Metin Rengi: Açık Gri (Gözü yormayan beyaz) */
    color: #e0e0e0 !important; 
    
    font-size: 1.05rem;
    line-height: 1.8;
    
    /* Çift Sütun */
    column-count: 2;
    column-gap: 60px;
    
    /* Sütun arasına hafif gri çizgi */
    column-rule: 1px solid #444; 
}

/* Alt Başlıklar (H3) */
.article-content h3 {
    font-family: 'Rajdhani', sans-serif;
    
    /* Alt başlıklar da Beyaz olsun */
    color: #ffffff !important; 
    
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 15px;
    break-inside: avoid;
}

.article-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Anahtar Kelimeler */
.article-content strong {
    color: #ff4d6d; /* Kırmızının koyu zeminde parlayan açık tonu */
    font-weight: 700;
}

/* MOBİL UYUM */
@media (max-width: 768px) {
    .article-content {
        column-count: 1;
    }
}
/* ==========================================================================
   SOL ÇENTİK MENÜ TASARIMI (SIDE NOTCH)
   ========================================================================== */

/* 1. ÇENTİK BUTONU (Sadece Mobilde Görünür) */
.mobile-notch-btn {
    display: none; /* Masaüstünde gizle */
}

/* KARARTMA PERDESİ */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    backdrop-filter: blur(2px);
}
.menu-overlay.active { display: block; }

/* --- MOBİL GÖRÜNÜM (991px altı) --- */
@media (max-width: 991px) {
    
    /* Çentik Butonunu Göster */
    .mobile-notch-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        position: fixed;
        top: 140px; /* Yukarıdan mesafe */
        left: 0;
        z-index: 1001;
        
        background-color: #d90429; /* Marka Kırmızısı */
        color: #fff;
        padding: 12px 8px 12px 6px;
        border-radius: 0 12px 12px 0; /* Sağ tarafa oval */
        box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .mobile-notch-btn i { font-size: 1.4rem; margin-bottom: 3px; }
    .mobile-notch-btn span { font-size: 0.6rem; font-weight: 700; writing-mode: vertical-rl; transform: rotate(180deg); }

    /* Menü Açılınca Çentiği Kaydır (Opsiyonel) */
    .mobile-notch-btn.active {
        left: 280px; /* Menü genişliği kadar sağa kayar */
    }

    /* 2. MENÜYÜ YAN MENÜYE (SIDEBAR) ÇEVİR */
    .nav-container .main-nav {
        display: block !important;
        position: fixed;
        top: 0;
        left: -300px; /* Ekran dışında başlat */
        width: 280px; /* Menü genişliği */
        height: 100vh;
        background: #fff;
        z-index: 1000;
        padding-top: 60px; /* Üstten boşluk */
        transition: left 0.3s ease-in-out; /* Kayma animasyonu */
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    /* Menü Aktifken İçeri Kaydır */
    .main-nav.active {
        left: 0 !important;
    }

    /* Link Düzeni */
    .nav-list {
        flex-direction: column;
    }

    .nav-list li {
        border-bottom: 1px solid #eee;
    }

    .nav-list li a {
        color: #333;
        padding: 15px 20px;
        font-size: 1rem;
        font-weight: 600;
    }

    /* Dropdown Oklarını Sağa Al */
    .dropdown-link {
        display: flex;
        justify-content: space-between;
    }
    
    /* B2B Butonu Mobilde */
    .nav-b2b-btn {
        margin: 20px;
        text-align: center;
    }
}

/* ============================================================
   HEADER GÜNCELLEME: DAHA BÜYÜK LOGOLAR (SON HALİ)
   ============================================================ */

/* 1. Header Genel Çerçevesi */
.main-header {
    height: 120px !important; 
    padding: 0 20px 0 0 !important; /* SOL: 0, SAĞ: 20px */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: #1E2125 !important;
    position: fixed;
    top: 0; left: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- SOL GRUP AYARLARI --- */
.header-left-group {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Logo ve İsim Alanı */
.brand-identity {
    display: flex;
    align-items: center;
    gap: 12px; /* Boşluğu biraz artırdık */
    height: 100%;
    text-decoration: none;
    background: transparent;
    padding-left: 0 !important;
}

/* --- GÜNCELLEME 1: ANA VM LOGOSU BÜYÜTÜLDÜ --- */
.main-logo-img {
    height: 150px !important; /* Eskiden 60px idi, büyüdü */
    width: auto;
    object-fit: contain;
    margin-left: 0 !important; 
}

/* Yazıyı da logoya orantılı hafif büyüttük */
/* --- 1. MASAÜSTÜ (Genel Kural) --- */
/* Burası bilgisayarda nasıl görünmesini istiyorsan öyle ayarla */
.brand-title {
    font-size: 1.5em;  /* Masaüstü için ideal boyut (Bunu göz zevkine göre artırabilirsin: 1.8em, 2em vs.) */
    white-space: nowrap; /* Masaüstünde tek satır kalsın */
}

/* --- 2. MOBİL (İstisna Kuralı) --- */
/* Ekran 768px'ten küçükse burası devreye girer ve üsttekini ezer */
@media (max-width: 768px) {
    .brand-title {
        font-size: 1.2em; /* İşte senin bulduğun ve sorunu çözen o sihirli ayar! */
        white-space: normal; /* Mobilde sığmazsa alt satıra geçmesine izin verelim mi? Gerekirse burayı açabilirsin. */
    }
}


/* --- GÜNCELLEME 2: MARKA ŞERİDİ BÜYÜTÜLDÜ --- */
.brand-strip-container {
    display: flex;
    align-items: center;
    margin-left: 25px;
    padding-left: 25px;
    border-left: 1px solid rgba(255,255,255,0.2);
    height: 70px; /* Kapsayıcı yükseklik arttı (Eskiden 50px) */
}

.brand-strip-container img {
    height: 300px !important; /* Zoom oranı arttı (Eskiden 160px) */
    width: auto;
    max-width: 600px;
    object-fit: contain;
    /* Beyaz yapma filtresi */
    filter: invert(1) grayscale(1) brightness(100); 
    mix-blend-mode: screen;
    opacity: 1;
}

/* --- SAĞ GRUP (MENÜLER) AYARLARI (Aynı Kaldı) --- */
.header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 100%;
    margin-left: auto;
}

.nav-list {
    display: flex;
    gap: 20px;
    margin: 0; padding: 0;
    list-style: none;
}

.nav-list a {
    color: #e0e0e0;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 0;
}
.nav-list a:hover { color: #C92A2A; }

.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- GİZLEME VE MOBİL AYARLARI --- */
/* Logolar büyüdüğü için menüye daha erken çarpabilir, gizleme sınırını artırdık */
@media (max-width: 1500px) {
    .brand-strip-container { display: none !important; }
}

@media (max-width: 1100px) {
    .main-nav, .action-buttons { display: none; }
    .mobile-notch-btn { display: flex; }
}

/* ============================================================
   SOL ALT TELEFON WIDGET (SOLA YASLI - SAĞA AÇILIR)
   ============================================================ */

.phone-widget-container {
    position: fixed;
    bottom: 30px; /* WhatsApp butonu ile aynı yükseklik */
    left: 30px;   /* Ekranın solundan mesafe */
    z-index: 99999;
    display: flex;
    flex-direction: column-reverse; /* Liste yukarı doğru açılır */
    align-items: flex-start; /* Her şeyi sola yasla */
    width: auto;
}

/* --- ANA BUTON --- */
.phone-main-trigger {
    background-color: #0d6efd;
    color: white;
    width: 60px;  /* WhatsApp ile aynı boyut */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.5);
    transition: 0.3s;
    position: relative;
    border: 2px solid rgba(255,255,255,0.2);
    animation: phonePulse 2s infinite;
}

/* Telefon İkonu (Düzeltildi) */
.phone-main-trigger i {
    transform: none; /* Ters çevirmeyi iptal ettik */
}

/* "Bize Ulaşın" Baloncuğu */
.main-tooltip {
    position: absolute;
    left: 70px; /* Butonun sağına */
    background: white;
    color: #0d6efd;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
}
/* Ok İşareti */
.main-tooltip::before {
    content: ''; position: absolute; left: -6px; top: 50%; 
    transform: translateY(-50%);
    border-width: 6px 6px 6px 0; border-style: solid; 
    border-color: transparent white transparent transparent;
}

/* Hover Efekti */
.phone-widget-container:hover .phone-main-trigger {
    transform: scale(1.1);
    background-color: #0b5ed7;
}

/* --- AÇILIR LİSTE --- */
.phone-list-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
    
    /* Küçük ikonları büyük butonun ortasına hizalamak için */
    padding-left: 7.5px; /* (60px - 45px) / 2 = 7.5px */
    
    /* Gizleme Efektleri */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.phone-widget-container:hover .phone-list-group {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- LİSTE ELEMANLARI (İKON SOLDA, YAZI SAĞDA) --- */
.phone-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

/* Küçük İkonlar */
.phone-item .icon-box {
    width: 45px;
    height: 45px;
    background: white;
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border: 1px solid #eee;
    transition: 0.2s;
    flex-shrink: 0; /* Küçülmesini engelle */
}

/* Yazı Kutusu */
.phone-item .txt {
    background: #1E2125;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    min-width: 150px;
    /* Yazı sağa doğru açılsın */
    transform-origin: left center;
}

.phone-item .role {
    font-size: 0.7rem;
    color: #aaa;
    font-weight: 700;
    margin-bottom: 2px;
}
.phone-item .number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

/* Eleman Hover */
.phone-item:hover .icon-box {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
}
.phone-item:hover .txt {
    border-color: #0d6efd;
    background: #25282c;
}

/* Animasyon */
@keyframes phonePulse {
    0% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(13, 110, 253, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 110, 253, 0); }
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .phone-widget-container { bottom: 20px; left: 20px; }
    .main-tooltip { display: none; } /* Mobilde yan yazıyı gizle */
}

/* ============================================================
   AÇILIR MENÜ DÜZELTMESİ (ORTALI VE DENGELİ)
   ============================================================ */

/* 1. KUTUYU MENÜYE GÖRE ORTALA */
.dropdown-menu {
    left: 50% !important;   /* Kutunun sol kenarını, üstteki yazının ortasına getir */
    transform: translateX(-50%) !important; /* Sonra kutuyu kendi genişliğinin yarısı kadar geri çek (Tam orta) */
    
    width: 260px; /* Genişliği biraz artırdık, yazılar rahat sığsın */
    text-align: center; /* İçindeki yazıları ortala */
    
    /* Görsel Güzelleştirme */
    background-color: #1E2125; /* Koyu gri (Header ile uyumlu) */
    border-top: 3px solid #C92A2A; /* Kırmızı şerit */
    border-radius: 0 0 8px 8px; /* Alt köşeleri yuvarlat */
    padding: 10px 0;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5); /* Derinlik gölgesi */
}

/* 2. MENÜ İÇİNDEKİ YAZILARI DÜZENLE */
.dropdown-menu a {
    display: block;
    padding: 12px 15px; /* İç boşluk */
    
    /* Yazı Ayarları */
    color: #b0b3b8;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase; /* Hepsini büyük harf yap (Düzenli durur) */
    letter-spacing: 0.5px;
    
    /* Ortalama ve Çizgi */
    text-align: center !important; /* Yazıyı tam ortala */
    border-bottom: 1px solid rgba(255,255,255,0.05); /* İnce ayırıcı çizgi */
    transition: all 0.3s ease;
}

/* Son elemanın altındaki çizgiyi kaldır */
.dropdown-menu li:last-child a {
    border-bottom: none;
}

/* 3. HOVER (ÜZERİNE GELİNCE) EFEKTİ */
.dropdown-menu a:hover {
    background-color: rgba(201, 42, 42, 0.1); /* Hafif kırmızı zemin */
    color: #ffffff; /* Yazı parlasın */
    padding-left: 15px; /* Kayma efektini İPTAL ETTİK (Ortalı yazıda kayma kötü durur) */
    transform: scale(1.02); /* Çok hafif büyüme efekti verelim */
}

/* 4. MENÜNÜN TEPESİNE MİNİK OK İŞARETİ (Görsel bütünlük için) */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px; /* Kutunun hemen üstüne */
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 8px 8px 8px; /* Üçgen oluştur */
    border-style: solid;
    border-color: transparent transparent #C92A2A transparent; /* Kırmızı ok */
}

/* ============================================================
   ARAMA SONUÇLARI DÜZENLEMESİ (GÖRÜNTÜ + BUTONLAR)
   ============================================================ */

/* 1. ARAMA KUTUSU VE DROPDOWN GENEL AYARLARI */
.search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background-color: #1E2125; /* Koyu Gri Zemin */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    z-index: 10001; /* En üstte görünsün */
    display: none;
    max-height: 450px;
    overflow-y: auto;
    margin-top: 10px;
}

/* 2. SONUÇ SATIRI (KAPSAYICI) */
.search-result-item {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column; /* Alt alta dizilim (Bilgi üstte, butonlar altta) */
    gap: 12px;
    transition: background 0.2s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* 3. ÜRÜN BİLGİSİ (TIKLANMAZ ALAN) */
/* Javascript'te "item-info-view" sınıfı verdik */
.item-info-view {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    
    /* ÖNEMLİ: Tıklamayı engelleme kodları */
    cursor: default; 
    pointer-events: none; /* Bu satır resme veya yazıya tıklanmasını İPTAL eder */
    user-select: none;    /* Yazının seçilmesini de engeller (Opsiyonel) */
}

.item-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #333;
    background: #fff;
}

.item-placeholder {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: #555;
    font-size: 1.2rem;
}

.item-details {
    flex: 1;
    overflow: hidden;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.item-code {
    color: #fff;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
}

.item-price {
    color: #4ade80; /* Yeşil */
    font-weight: bold;
    font-family: monospace;
    font-size: 0.9rem;
    background: rgba(74, 222, 128, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}
.item-price.ask { color: #9ca3af; background: transparent; font-size: 0.75rem; }

.item-name {
    display: block;
    color: #9ca3af;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 4. BUTONLAR GRUBU (TIKLANABİLİR ALAN) */
.item-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 5px;
    
    /* ÖNEMLİ: Üstteki pointer-events: none etkisinden kurtar */
    pointer-events: auto; 
}

/* Ortak Buton Stili */
.btn-action {
    flex: 1; /* Butonları eşit genişliğe yay */
    padding: 10px 0; /* Mobilde parmakla basması kolay olsun */
    text-align: center;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: 0.2s;
    cursor: pointer;
}

/* B2B Giriş Butonu (Kırmızı) */
.btn-order {
    background: #C92A2A;
    color: white !important;
    border: 1px solid #C92A2A;
}
.btn-order:hover {
    background: #b01e1e;
}

/* WhatsApp Butonu (Yeşil Çerçeveli) */
.btn-whatsapp {
    background: transparent;
    border: 1px solid #25D366;
    color: #25D366 !important;
}
.btn-whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

/* Sonuç Bulunamadı Yazısı */
.no-result {
    padding: 20px;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

/* ============================================================
   MOBİL MENÜ İÇİN GEREKLİ CSS (KAYDIRMA EFEKTİ İÇİN)
   ============================================================ */

/* ==========================================================================
   MOBİL MENÜ VE KAYDIRMA DÜZELTMESİ (SON HALİ)
   ========================================================================== */

/* 1. MASAÜSTÜNDE NORMAL GÖRÜNÜM (Varsayılan) */
.main-nav {
    display: flex;
    height: 100%;
    align-items: center;
}

/* 2. MOBİL GÖRÜNÜM (991px ve altı) */
@media screen and (max-width: 991px) {
    
    /* Menüyü YAN PANEL (Sidebar) Yapma */
    .main-nav {
        display: block !important; /* Flex yapısını boz, blok yap */
        position: fixed;
        top: 0;
        left: -100%; /* Ekranın soluna gizle */
        width: 280px; /* Panel genişliği */
        height: 100vh; /* Tam boy */
        background-color: #15171a; /* Koyu arka plan */
        z-index: 9999; /* En üstte durmalı */
        padding-top: 80px; /* Üstten boşluk (Header altı) */
        overflow-y: auto; /* Uzunsa kaydır */
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Kayma Animasyonu */
        box-shadow: 5px 0 25px rgba(0,0,0,0.5); /* Gölge */
        border-right: 1px solid rgba(255,255,255,0.1);
    }

    /* JS ile 'active' sınıfı eklenince İÇERİ KAY */
    .main-nav.active {
        left: 0 !important;
    }

    /* Menü Linklerini Alt Alta Diz */
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 0;
        margin: 0;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 25px;
        font-size: 1rem;
        color: #e0e0e0;
        width: 100%;
    }

    .nav-list a:hover {
        background-color: rgba(255,255,255,0.05);
        color: var(--accent-red);
        padding-left: 30px; /* Hover'da kayma efekti */
    }

    /* Açılır Menüler (Dropdown) Mobilde */
    .dropdown-menu {
        position: static !important; /* Havada asılı kalmasın */
        width: 100% !important;
        background-color: rgba(0,0,0,0.2) !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: 3px solid var(--accent-red);
        display: none; /* Tıklayınca/Hoverda açılsın */
        margin: 0;
        padding: 0;
        transform: none !important;
        animation: none !important;
    }

    /* Mobilde üzerine gelince veya tıklayınca alt menüyü göster */
    .dropdown-item:hover .dropdown-menu,
    .dropdown-item:active .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a {
        padding: 12px 30px !important;
        font-size: 0.9rem !important;
        color: #aaa !important;
        text-align: left !important;
    }

    /* Mobil Çentik Butonu (Kırmızı) Konumlandırma */
    .mobile-notch-btn {
        display: flex; /* Görünür yap */
        left: 0; /* Sol kenara yapışık */
        top: 130px; /* Header'ın hemen altında */
    }
    
    /* Menü açılınca Çentik butonu da sağa kaysın (Menüyle beraber) */
    .mobile-notch-btn.active {
        left: 280px; /* Menü genişliği kadar it */
        background-color: transparent; /* Rengi kapat */
        box-shadow: none;
    }
    .mobile-notch-btn.active i { color: transparent; } /* İkonu gizle */
}

/* ========================================================================
   TAMİR PAKETİ: HEADER, NAV & MOBİL ÇAKIŞMA GİDERİCİ (EN ALTA EKLE)
   ======================================================================== */

/* 1. MASAÜSTÜ TEMEL AYARLARI (992px ve üzeri) */
.main-header {
    height: 120px !important; /* Header yüksekliği sabit */
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 20px 0 0 !important;
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
}

/* Masaüstünde Çentik ASLA görünmesin */
.mobile-notch-btn {
    display: none !important;
}

/* Masaüstünde Menü Yatay Olsun */
.main-nav {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: 100% !important;
    background: transparent !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    transform: none !important; /* Kayma efektini iptal et */
}

/* Masaüstünde Mobil Kutu Gizlensin */
.mobile-menu-container {
    display: none !important;
}

/* Masaüstü Menüsü Görünsün */
.desktop-only-nav {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px;
    align-items: center;
}

/* 2. MOBİL AYARLARI (991px ve altı) */
@media screen and (max-width: 991px) {

    /* Header küçülsün */
    .main-header {
        height: 80px !important;
        padding: 0 15px !important;
    }

    /* Büyük Marka Şeridini Gizle */
    .brand-strip-container {
        display: none !important;
    }
    
    /* Masaüstü Menüyü ve B2B Butonlarını Gizle */
    .desktop-only-nav, 
    .action-buttons {
        display: none !important;
    }

    /* Çentik Butonu (Solda Sabit) */
    .mobile-notch-btn {
        display: flex !important;
        position: fixed;
        top: 100px; /* Header'ın hemen altı */
        left: 0 !important; /* SOLA YAPIŞIK */
        z-index: 1001;
        background-color: #d90429;
        color: white;
        padding: 12px 10px 12px 6px;
        border-radius: 0 12px 12px 0; /* Sağ taraf oval */
        cursor: pointer;
        width: 40px;
        height: 50px;
        align-items: center;
        justify-content: center;
        box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
        transition: left 0.3s ease;
    }
    
    .mobile-notch-btn i { font-size: 1.4rem; }

    /* Mobil Menü Paneli (Soldan Çıkan) */
    .main-nav {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important; /* Ekran dışında başla */
        width: 280px !important;
        height: 100vh !important;
        background-color: #1a1d21 !important;
        padding: 0 !important;
        transition: left 0.3s ease-in-out !important;
        z-index: 1002; /* Çentikten daha üstte olsun */
        box-shadow: 10px 0 30px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    /* Menü Aktif Olunca İçeri Girsin */
    .main-nav.active {
        left: 0 !important;
    }
    
    /* Menü açılınca Çentik butonu da kayarak menünün sağına gelsin */
    .mobile-notch-btn.active {
        left: 280px !important;
        background: transparent !important;
        box-shadow: none !important;
        color: white;
    }
    
    /* Çentik ikonu menü açıkken çarpı olsun (JS yapıyor ama renk ayarı) */
    .mobile-notch-btn.active i {
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        padding: 5px;
        width: 35px; height: 35px;
        display: flex; align-items: center; justify-content: center;
    }

    /* Mobil İçerik Kutusu Görünsün */
    .mobile-menu-container {
        display: block !important;
        padding: 20px;
        margin-top: 60px; /* Üstten boşluk */
    }

    /* Mobil Arama Kutusu */
    .mobile-search-wrapper {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 6px;
        padding: 5px 10px;
        margin-bottom: 25px;
    }
    .mobile-search-wrapper input {
        width: 100%;
        border: none;
        outline: none;
        height: 40px;
        color: #333;
    }
    .mobile-search-wrapper button {
        background: transparent;
        border: none;
        color: #d90429;
        font-size: 1.2rem;
    }
    
    /* Basit Mobil Liste */
    .mobile-simple-list {
        list-style: none;
        padding: 0;
    }
    .mobile-simple-list li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        margin-bottom: 10px;
    }
    .mobile-simple-list a {
        display: flex;
        align-items: center;
        gap: 15px;
        color: white;
        font-size: 1.1rem;
        padding: 10px 0;
        text-decoration: none;
    }
    .mobile-simple-list a i {
        width: 25px;
        text-align: center;
        color: #d90429;
    }
    
    /* Menü açılınca arkaplan karartma */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.7);
        z-index: 1001;
        backdrop-filter: none;
    }
    .menu-overlay.active {
        display: block !important;
    }
}
/* ============================================================
   MOBİL ARAMA SONUÇLARI KONUMLANDIRMA DÜZELTMESİ
   ============================================================ */

@media screen and (max-width: 991px) {
    
    /* 1. Kapsayıcıya 'Relative' veriyoruz ki sonuç kutusu buna göre hizalansın */
    .mobile-search-wrapper {
        position: relative !important; 
        z-index: 1005; /* Menüdeki diğer öğelerden üstte olsun */
        overflow: visible !important; /* Sonuçların taşmasına izin ver */
    }

    /* 2. Sonuç Kutusu (Dropdown) Ayarları */
    #searchResultsMobile {
        position: absolute !important; /* Yüzen kutu yap */
        top: 100% !important; /* Hemen inputun altına */
        left: 0 !important;
        width: 100% !important;
        
        background-color: #1E2125 !important; /* Arka plan rengi */
        border: 1px solid rgba(255,255,255,0.2) !important;
        border-radius: 0 0 8px 8px; /* Alt köşeleri yuvarlat */
        box-shadow: 0 10px 30px rgba(0,0,0,0.8) !important;
        
        margin-top: 5px !important; /* Hafif boşluk */
        z-index: 1006 !important; /* En üstte görünsün */
        
        /* Eğer çok sonuç varsa kutu içinde kaydırma çubuğu çıksın */
        max-height: 350px !important; 
        overflow-y: auto !important;
    }

    /* 3. Menü Linkleri (Arama kutusunun altında kalmasınlar) */
    .mobile-simple-list {
        position: relative;
        z-index: 1000; /* Arama sonuçları bunun üstüne çıkabilsin */
        margin-top: 0; 
    }
}

/* ============================================================
   MOBİL LOGO ORTALAMA DÜZELTMESİ
   ============================================================ */

@media screen and (max-width: 991px) {
    
    /* 1. Header Kapsayıcısını Ortala */
    .main-header {
        justify-content: center !important;
        position: relative;
    }

    /* 2. Logo Grubunu Tam Genişlik Yap ve İçini Ortala */
    .header-left-group {
        width: 100% !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        flex: 1; /* Esnek alanın tamamını kapla */
    }

    /* 3. Sağ Grubu Akıştan Çıkar (Logoyu itmemesi için) */
    /* İçindeki çentik butonu 'fixed' olduğu için kaybolmaz, yerinde kalır */
    /* 4. Sağ Grubu Akıştan Çıkar ama GÖRÜNÜR YAP */
    .header-right-group {
        position: absolute;
        width: 0;
        height: 0;
        /* overflow: hidden; yerine visible yapıyoruz ki içinden buton taşabilsin */
        overflow: visible !important; 
        right: 0;
        z-index: 1001; /* Butonun üstte kalmasını garantile */
    }
    
    /* 4. Marka Alanını Ortala */
    .brand-identity {
        justify-content: center !important;
        width: 100%;
    }
}


/* ============================================================
   MOBİL LOGO ORTALAMA (SON KARAR)
   ============================================================ */

@media screen and (max-width: 991px) {
    
    /* 1. Header'ı Ortala */
    .main-header {
        justify-content: center !important;
        position: relative;
    }

    /* 2. Logo Grubunu Tam Genişlik Yap ve İçini Ortala */
    .header-left-group {
        width: 100% !important;
        justify-content: center !important;
        padding-left: 0 !important; /* Sola yaslama boşluğunu iptal et */
        margin: 0 !important;
    }

    /* 3. Marka Alanını Ortala */
    .brand-identity {
        justify-content: center !important;
        width: auto !important;
    }

    /* 4. Sağ Grubu Gizle/Sıfırla (Logoyu itmemesi için) */
    /* 4. Sağ Grubu Gizle/Sıfırla */
    .header-right-group {
        position: absolute;
        width: 0;
        height: 0;
        /* overflow: hidden; yerine visible yapıyoruz veya bu satırı siliyoruz */
        overflow: visible !important; 
        right: 0;
    }
}
/* ============================================================
/* ============================================================
   TELEFON MENÜSÜ RESİM AYARLARI (DÜZELTİLDİ)
   ============================================================ */

/* 1. Kutunun içindeki taşmaları gizle, beyaz zemin ver ve YUVARLAT */
.phone-item .icon-box {
    overflow: hidden !important;       /* Resim taşmasın */
    padding: 0 !important;             /* İç boşluğu sıfırla */
    background: #fff;                  /* Arka plan beyaz */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* İŞTE EKSİK OLAN KOD BU: */
    border-radius: 50% !important;     /* Kutuyu tam yuvarlak yap */
    
    /* Boyutları garantiye alalım */
    width: 45px !important;
    height: 45px !important;
}

/* 2. Resmin boyutunu kutuya uydur */
.phone-item .icon-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover; /* Resmi kutuya doldur */
    border-radius: 50% !important; /* Resim de yuvarlak olsun */
    display: block;
    margin: 0 !important;
}

/* ============================================================
   MOBİL MENÜ KAYDIRMA (SCROLL) TAMİRİ
   ============================================================ */

@media screen and (max-width: 991px) {
    
    /* Menü Kapsayıcısı */
    .main-nav {
        /* Kaydırmayı Aktif Et */
        overflow-y: auto !important; 
        
        /* iPhone'larda takılmadan kayması için */
        -webkit-overflow-scrolling: touch !important; 
        
        /* Ekranın tamamını kapla */
        height: 100vh !important;
        max-height: 100vh !important;
        
        /* Alt kısımda telefonun kendi çubuğu için boşluk bırak */
        padding-bottom: 100px !important; 
        
        /* Kaydırma zincirini kır (Arka plan oynamasın) */
        overscroll-behavior: contain;
    }

    /* Menü içeriğinin taşmasını garantiye al */
    .mobile-menu-container {
        height: auto !important;
        min-height: 100% !important;
        padding-bottom: 50px;
    }
}

/* Butonu zorla en üste al ve tıklanabilir yap */
    .mobile-notch-btn {
        pointer-events: auto !important; /* Tıklamayı aç */
        cursor: pointer !important;
        z-index: 2000 !important; /* En, en üstte olsun */
    }

/* ============================================================
   KATEGORİLİ ÜRÜN SAYFASI DÜZENİ (SIDEBAR + CONTENT)
   ============================================================ */

/* 1. Sayfa İskeleti */
.page-layout-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px; /* Sidebar ile ürünler arası boşluk */
}

/* 2. Sol Sidebar Tasarımı */
.left-sidebar {
    flex: 0 0 260px; /* Genişliği sabitle */
    background: #222529;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    height: fit-content; /* İçerik kadar uza */
    position: sticky;
    top: 140px; /* Header'ın altında yapışık kalsın */
}

.category-sidebar h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-red);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.category-sidebar ul {
    list-style: none;
    padding: 0;
}

.category-sidebar ul li {
    margin-bottom: 5px;
}

.category-sidebar ul li a {
    display: block;
    color: #aaa;
    padding: 10px 15px;
    border-radius: 4px;
    transition: 0.2s;
    font-weight: 600;
    font-size: 0.95rem;
    border-left: 3px solid transparent; /* Sol çizgi efekti için */
    text-decoration: none;
}

.category-sidebar ul li a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    padding-left: 20px; /* Sağa kayma efekti */
}

.category-sidebar ul li a.active {
    background: var(--accent-red);
    color: white;
    border-left-color: white;
}

/* 3. Sağ Taraf (Ürün Alanı) */
.main-products {
    flex: 1; /* Kalan tüm alanı kapla */
}

/* Ürün Grid'i (Önceki koddan uyarlı, burada sadece eziyoruz) */
.product-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Daha sıkı dizilim */
    gap: 25px;
    padding: 0; /* Sayfa paddingini sildik çünkü container'da var */
    margin-bottom: 50px;
}

/* Ürün bulunamadı kutusu */
.no-product {
    width: 100%;
    padding: 50px;
    background: rgba(255,255,255,0.05);
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 1.1rem;
}

/* --- MOBİL UYUM (SIDEBAR ÜSTE GEÇSİN) --- */
@media (max-width: 900px) {
    .page-layout-container {
        flex-direction: column; /* Alt alta diz */
    }

    .left-sidebar {
        flex: none;
        width: 100%; /* Tam genişlik */
        position: static; /* Yapışkanlığı kaldır */
        margin-bottom: 30px;
    }
    
    .category-sidebar ul {
        display: flex; /* Markaları yan yana diz (Scroll yapılabilir) */
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-sidebar ul li a {
        white-space: nowrap; /* Yazılar alt satıra geçmesin */
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
    }
}

/* ============================================================
   ARAMA KUTUSU: İDEAL GENİŞLİK (500px)
   ============================================================ */
.search-dropdown {
    width: 500px !important; /* Genişliği 650px'den 500px'e düşürdük */
    max-width: 90vw !important;
    right: 0 !important;
    left: auto !important;
    background-color: #222529 !important;
    border: 1px solid #444 !important;
    border-top: 2px solid #C92A2A !important;
    border-radius: 0 0 6px 6px !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.6) !important;
    padding: 0 !important;
}

/* Mobilde tam genişlik */
@media (max-width: 768px) {
    .search-dropdown {
        width: 100% !important;
        position: absolute !important;
        left: 0 !important;
    }
}

/* ============================================================
   MOBİL ARAMA DÜZENLEMESİ (KOMPAKT & TAM GENİŞLİK)
   ============================================================ */
@media screen and (max-width: 991px) {
    
    /* 1. Kutuyu Ekrana Yay (500px sınırını kaldır) */
    .search-dropdown {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        position: absolute !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.8) !important;
        background: #222529 !important;
    }

    /* 2. İçindeki Satırları Sıkılaştır */
    .search-item {
        padding: 10px !important; /* Mobilde kenar boşluğunu azalt */
        gap: 10px !important;     /* Öğeler arası boşluğu azalt */
    }

    /* 3. Yazı Boyutlarını Telefona Göre Ayarla */
    .search-item .item-details div:first-child {
        font-size: 0.9rem !important; /* Stok kodu */
    }
    .search-item .item-details div:last-child {
        font-size: 0.8rem !important; /* Ürün adı */
    }

    /* 4. Butonları Hizala */
    .search-item > div:last-child {
        width: 90px !important; /* Buton kutusunu mobilde azıcık daralt */
    }
    
    .search-item a[target="_blank"] {
        font-size: 0.65rem !important; /* Buton yazılarını küçült */
        padding: 6px 2px !important;
    }
}

/* ============================================================ */
/* MOBİL DÜZENİ - LİSTE BAĞIMSIZLIĞI VE SABİTLEME (Max 991px)   */
/* ============================================================ */
@media screen and (max-width: 991px) {

    /* 1. ANA KAPSAYICIYI SABİTLE */
    .phone-widget-container {
        position: fixed !important;
        left: 20px !important;       /* Sol köşe */
        bottom: 20px !important;     /* Aşağıdan 20px (WhatsApp ile aynı) */
        right: auto !important;      /* Sağ tarafı serbest bırak */
        top: auto !important;        /* Yukarıyı serbest bırak */
        z-index: 9999 !important;
        
        /* KRİTİK AYAR: Kapsayıcı sadece buton kadar yer kaplasın */
        width: 60px !important;      /* Tahmini buton genişliği */
        height: 60px !important;     /* Tahmini buton yüksekliği */
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* 2. LİSTEYİ BAĞIMSIZ HALE GETİR (Absolute) */
    /* Liste ne kadar uzun olursa olsun butonu itmez, üstüne biner */
    .phone-list-group {
        position: absolute !important; 
        bottom: 70px !important;     /* Butonun 70px tepesinden başla */
        left: 0 !important;          /* Butonla aynı hizada */
        width: 250px !important;     /* Genişlik ver (Ekrandan taşmasın) */
        
        /* Görünüm Ayarları */
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px; /* Numaralar arası boşluk */
    }

    /* 3. İPUCU YAZISINI AYARLA */
    .phone-widget-container .main-tooltip {
        position: absolute !important;
        left: 70px !important;       /* Butonun sağında */
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: max-content !important; /* Yazı kadar genişle */
    }
    
    /* 4. WHATSAPP BUTONUNU KORU */
    .whatsapp-float {
        right: 20px !important;
        bottom: 20px !important;
    }
}
/* ============================================================ */
/* İSTATİSTİK BAR MOBİL DÜZENLEMESİ (Max 991px)                 */
/* ============================================================ */
@media screen and (max-width: 991px) {
    
    /* 1. ANA KAPSAYICIYI DÜZENLE */
    .stats-bar {
        display: flex !important;
        flex-direction: row !important; /* Yan yana dizmeye çalışsın */
        flex-wrap: wrap !important;     /* Sığmayan aşağı geçsin */
        justify-content: center !important; /* Yatayda ortala */
        padding: 20px 10px !important;
        gap: 20px !important; /* Kutular arası boşluk */
    }

    /* 2. HER BİR İSTATİSTİK KUTUSU */
    .stat-item {
        /* Genişlik Ayarı: İster %100 yapıp alt alta diz, ister %45 yapıp 2'li diz */
        width: 100% !important; /* Mobilde tam genişlik (daha okunaklı) */
        /* width: 45% !important; */ /* Eğer yan yana 2 tane sığsın istersen bunu aç */
        
        /* Hizalama Komutları */
        display: flex !important;
        flex-direction: column !important; /* Sayı üstte, yazı altta olsun */
        align-items: center !important;    /* Yatayda tam ortaya gel! */
        justify-content: center !important;
        text-align: center !important;     /* Metinleri de ortala */
        
        /* Temizlik */
        border: none !important; /* Kenar çizgilerini kaldır, temiz dursun */
        margin: 0 !important;
        padding: 15px 0 !important;
        background: rgba(255,255,255,0.02); /* Çok hafif bir arka plan (isteğe bağlı) */
        border-radius: 8px; /* Köşeleri yumuşat */
    }

    /* 3. SAYILAR VE YAZILAR */
    .stat-number, .suffix {
        font-size: 2.5rem !important; /* Sayıları biraz büyüt, heybetli dursun */
        font-weight: 700 !important;
        color: #C92A2A !important; /* Senin kırmızı rengin */
        line-height: 1 !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
        margin-top: 5px !important;
        color: #ccc !important;
        font-weight: normal !important;
    }
}


@media screen and (max-width: 768px) {
    
    /* 1. KUTU YÜKSEKLİĞİ: "vh" (Ekran Yüzdesi) kullanıyoruz. 
       Böylece 'px' verip boşluk yaratmıyoruz. Ekranın %55'i kadar olsun. */
    .hero-slider-container, 
    .swiper, 
    .myHeroSwiper {
        height: 55vh !important; /* Bu değeri artırıp azaltarak boyunu ayarlayabilirsin */
        min-height: auto !important;
        background-color: #1a1d21 !important;
        position: relative !important;
        overflow: hidden !important;
    }

    /* 2. SLIDER KİLİDİNİ AÇMA: display:none YERİNE opacity KULLAN */
    .swiper-slide {
        display: block !important; /* Slaytlar DOM'da var olmalı */
        width: 100% !important;
        height: 100% !important;
        opacity: 0 !important; /* Pasif olanlar görünmez olsun (Hayalet resim önlemi) */
        visibility: hidden !important;
        position: absolute !important; /* Hepsi üst üste binsin */
        top: 0; left: 0;
        transition: opacity 0.4s ease-in-out !important; /* Geçiş animasyonu */
        z-index: 1;
    }

    /* 3. AKTİF SLAYT: Görünür yap */
    .swiper-slide-active {
        opacity: 1 !important;
        visibility: visible !important;
        z-index: 10 !important;
        position: relative !important; /* Sadece bu yer kaplasın? Hayır, absolute kalsın layout bozulmasın */
        position: absolute !important; 
    }

    /* 4. RESİM AYARI: Kutuyu doldur (Cover) */
    .slide-media {
        position: absolute !important;
        top: 0; left: 0;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important; /* Kutuyu tam doldur, boşluk kalmasın */
        object-position: center center !important; /* Resmi ortala */
        opacity: 0.5; /* Yazılar okunsun diye hafif karartma */
    }

    /* 5. İÇERİK (Yazılar): Ortala */
    .hero-content {
        position: relative !important;
        z-index: 20 !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Dikey ortalama */
        align-items: center !important; /* Yatay ortalama */
        text-align: center !important;
        padding: 20px !important;
    }

    /* 6. Yazı Boyutları (Mobil Uyumlu) */
    .hero-content h1 { font-size: 1.6rem !important; line-height: 1.2; margin-bottom: 10px; }
    .hero-content h2 { font-size: 1.2rem !important; margin-bottom: 10px; }
    .hero-content p { display: none !important; } /* Uzun yazıları gizle */
    
    /* 7. Pagination (Noktalar) - En alta sabitle */
    .swiper-pagination {
        bottom: 15px !important;
        z-index: 30 !important;
    }

    /* 8. Çentik Menü Butonu (Yeri sabit kalsın) */
    .mobile-notch-btn {
        top: 90px !important;
    }
}


/* ============================================================
   MOBİL HEADER: LOGO VE MARKA ŞERİDİ (TAM GENİŞLİK)
   ============================================================ */
@media screen and (max-width: 991px) {

    /* 1. ANA HEADER KUTUSU */
    .main-header {
        height: auto !important;
        min-height: 120px !important;
        padding: 0 !important; /* Boşlukları sıfırladık, tam dolsun */
        background-color: #1E2125 !important;
        
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Dikey ortala */
        align-items: center !important;
        
        position: fixed !important;
        top: 0; width: 100%; z-index: 1000;
        box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
    }

    /* 2. İÇ YAPI: SOL GRUP */
    .header-left-group {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* --- ÜST KISIM: VM LOGOSU VE YAZISI --- */
    .brand-identity {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        
        width: 100% !important;
        padding-top: 10px !important; /* Üstten biraz boşluk */
        padding-bottom: 5px !important;
        background-color: #1E2125 !important; /* Zemin rengi garanti olsun */
    }

    .main-logo-img {
        height: 80px !important; /* VM Logosu boyutu */
        width: auto !important;
        object-fit: contain !important;
    }

    .brand-title {
        font-size: 1.4rem !important;
        font-weight: 800 !important;
        color: white !important;
        white-space: nowrap !important;
        margin-left: 10px !important;
    }

    /* --- ALT KISIM: MARKA ŞERİDİ (FULL WIDTH) --- */
    /* Container (O mor taralı alan) */
    .brand-strip-container {
        display: flex !important;
        width: 100% !important; /* Kapsayıcı %100 genişlik */
        height: auto !important; /* Yükseklik resme göre ayarlansın */
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        
        position: relative !important;
        justify-content: center !important;
        align-items: flex-end !important; /* Aşağı yasla */
    }

    /* Şerit Resmi (İçindeki mavi alan) */
    .brand-strip-container img {
        width: 100% !important;  /* KRİTİK NOKTA: Genişliği fulle! */
        height: auto !important; /* Genişliğe göre orantılı uzasın */
        max-width: 100% !important; /* Sınırlamayı kaldır */
        max-height: 80px !important; /* Çok aşırı uzamasını engellemek için sınır */
        
        object-fit: cover !important; /* Kutuyu tamamen kapla */
        display: block !important;
        
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important; /* Tam netlik */
        margin: 0 !important;
    }

    /* 3. GİZLEMELER */
    .header-right-group, 
    .desktop-only-nav {
        display: none !important;
    }

    /* 4. GÖVDE VE BUTON AYARI */
    /* Header dolu dolu olduğu için aşağı itme payını artırıyoruz */
    body {
        padding-top: 140px !important; 
    }
    
    .mobile-notch-btn {
        top: 145px !important;
    }
}


/* ============================================================
   FİNAL MOBİL BAR (AYRIK VE KART GÖRÜNÜMLÜ MENÜ)
   ============================================================ */

/* 1. MASAÜSTÜNDE GİZLE */
@media screen and (min-width: 992px) {
    .final-sticky-bar, 
    .final-popup-wrapper { 
        display: none !important; 
    }
}

/* 2. MOBİL GÖRÜNÜM */
@media screen and (max-width: 991px) {

    /* --- BAR GENEL YAPISI --- */
    .final-sticky-bar {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important; left: 0 !important; width: 100% !important; height: 65px !important;
        z-index: 2147483647 !important;
        
        background-color: #1E2125 !important; 
        box-shadow: 0 -5px 20px rgba(0,0,0,0.8) !important;
        border-top: 2px solid #C92A2A !important; /* Sadece barın üstünde çizgi kalsın */
        font-family: 'Rajdhani', sans-serif !important; 
    }

    /* --- BUTONLAR --- */
    .fs-btn {
        flex: 1 !important; 
        display: flex !important; flex-direction: column !important;
        align-items: center !important; justify-content: center !important;
        text-decoration: none !important; 
        background: transparent !important;
        cursor: pointer !important;
        border-right: 1px solid rgba(255,255,255,0.05) !important;
        -webkit-tap-highlight-color: transparent;
    }
    .fs-btn:last-child { border-right: none !important; }

    .fs-btn span {
        color: #ddd !important; font-size: 0.75rem !important;
        font-weight: 600 !important; margin-top: 4px !important;
        letter-spacing: 0.5px !important;
    }

    .fs-btn i { 
        font-size: 1.5rem !important; margin-bottom: 2px !important;
        transition: transform 0.2s !important;
    }
    .fs-btn:active i { transform: scale(0.9) !important; }

    /* İKON RENKLERİ */
    .vm-icon-red i { color: #ff4d4d !important; text-shadow: 0 0 15px rgba(255, 77, 77, 0.5) !important; }
    .vm-icon-green i { color: #25D366 !important; text-shadow: 0 0 15px rgba(37, 211, 102, 0.5) !important; }
    .vm-icon-white i { color: #ffffff !important; text-shadow: 0 0 10px rgba(255, 255, 255, 0.4) !important; }


    /* --- POPUP MENÜ (DÜZELTİLDİ: HAVADA DURACAK) --- */
    .final-popup-wrapper {
        display: none; 
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        z-index: 2147483648; /* Barın üstünde */
        flex-direction: column; justify-content: flex-end; /* Aşağı yasla */
        padding-bottom: 0 !important;
    }
    
    .final-popup-backdrop {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.85); backdrop-filter: blur(4px);
    }
    
    .final-popup-box {
        position: relative; z-index: 2;
        background: #1E2125; 
        
        /* KRİTİK DÜZELTME: Margin ile yukarı itiyoruz */
        margin-left: 10px !important;
        margin-right: 10px !important;
        margin-bottom: 75px !important; /* 65px Bar + 10px Boşluk */
        
        border-radius: 12px !important; /* Dört köşe de yuvarlak */
        padding-bottom: 10px !important; /* İçerik alttan nefes alsın */
        
        transform: translateY(120%); /* Başlangıçta aşağıda */
        transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
        
        border: 1px solid rgba(255,255,255,0.1) !important; /* Hafif çerçeve */
        border-top: 4px solid #C92A2A !important; /* Üst kırmızı çizgi */
        box-shadow: 0 5px 25px rgba(0,0,0,0.8) !important;
    }
    
    .final-popup-box.active { transform: translateY(0); }
    
    /* İçerik Stilleri */
    .final-popup-header { display: flex; justify-content: space-between; padding: 15px 20px; color: white; font-weight: bold; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .final-popup-item { display: flex; align-items: center; padding: 15px 20px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
    .final-popup-item:last-child { border-bottom: none !important; } /* Son çizgi kalksın */
    .final-popup-item:active { background-color: rgba(255,255,255,0.05); }
    
    .fp-img-circle { width: 45px; height: 45px; background: white; border-radius: 50%; padding: 5px; margin-right: 15px; display: flex; align-items: center; justify-content: center; }
    .fp-img-circle img { width: 100%; height: 100%; object-fit: contain; }
    .fp-info-group { flex: 1; display: flex; flex-direction: column; }
    .fp-title { color: #888; font-size: 12px; font-weight: bold; }
    .fp-phone { color: white; font-size: 17px; font-weight: bold; font-family: 'Rajdhani', sans-serif; letter-spacing: 0.5px; }
    .fp-arrow-icon { color: #C92A2A; font-size: 18px; }
    .final-close-btn { color: #aaa; cursor: pointer; font-size: 20px; padding: 5px; }

    /* Eskileri yok et */
    .whatsapp-float, .phone-widget-container, .phone-float { display: none !important; }
    body { padding-bottom: 70px !important; }
}


/* ============================================================
   MOBİL SLIDER RESİM DÜZELTMESİ (FİNAL)
   ============================================================ */
@media screen and (max-width: 991px) {
    
    /* 1. SLIDER ALANINI SABİTLE (Zıplamayı Önle) */
    .hero-slider-container, 
    .swiper, 
    .myHeroSwiper {
        /* 55vh çok yüksekti, bunu ideal mobil slider boyuna (280px) çekiyoruz */
        height: 280px !important; 
        min-height: 280px !important;
        max-height: 280px !important;
    }

    /* 2. RESİMLERİ KUTUYA TAM OTURT */
    .swiper-slide .slide-media {
        width: 100% !important;
        height: 100% !important;
        
        /* ÖNEMLİ AYAR:
           cover = Resmi kutuya tam yayar, boşluk kalmaz (Modern ve şık durur).
           Eğer resmin tamamı görünsün, kenarlar boş kalsın istersen 'contain' yap.
        */
        object-fit: cover !important; 
        
        /* Resmi tam ortadan hizala */
        object-position: center center !important;
    }

    /* 3. MOBİLDE YAZILARI DÜZENLE (Resmin önüne çok geçmesin) */
    .hero-content {
        justify-content: center !important;
        padding: 15px !important;
    }
    
    .hero-content h1 {
        font-size: 1.5rem !important; /* Başlığı küçült */
        margin-bottom: 5px !important;
        text-shadow: 0 2px 10px rgba(0,0,0,0.8) !important; /* Okunabilirlik için gölge */
    }
    
    .hero-content h2 {
        font-size: 1.1rem !important;
    }

    .hero-badge {
        padding: 4px 8px !important;
        font-size: 0.7rem !important;
        margin-bottom: 8px !important;
    }
    
    .btn-group .btn {
        padding: 8px 20px !important;
        font-size: 0.8rem !important;
    }
}