/* --- MANDIRA MOLA MOBİL ÇÖZÜM DOSYASI --- */

/* Masaüstünde gizlenen mobil öğeler */
.mobile-menu-btn, .mobile-drawer, .drawer-overlay { display: none; }

@media (max-width: 992px) {
    /* Header Ayarları */
    .top-bar { 
        position: relative !important; 
        top: 0 !important; 
        width: 100%; 
        z-index: 1000; 
        border-bottom: 1px solid #eee; 
    }
    
    body { padding-top: 0 !important; }
    .main-nav { display: none !important; }
    
    .header-flex { 
        display: flex !important; 
        justify-content: space-between !important; 
        align-items: center !important; 
        padding: 10px 15px !important; 
    }
    
    .header-left { display: flex; align-items: center; gap: 15px; }
    
    /* Mobil Header Logosu (HTML içindeki .webp geçişiyle uyumlu) */
    .mobile-header-logo { 
        display: inline-block !important; 
        height: 35px; 
        width: auto; 
        border-radius: 5px; 
    }
    
    .logo-text a span { 
        font-size: 1.1rem !important; 
        letter-spacing: 0; 
    }

    .mobile-menu-btn { 
        display: flex !important; 
        align-items: center; 
        justify-content: center; 
        background: none; 
        border: none; 
        color: var(--chat-primary); 
        font-size: 1.4rem; 
        cursor: pointer; 
    }

    /* Sağ taraftaki logoları mobilde gizleyerek alan açıyoruz */
    .logo-area-right .top-logo { display: none; } 

    /* Arama Çubuğu Mobilde Küçülsün */
    .search-form { padding: 3px 6px 3px 12px !important; }
    .search-form input { width: 90px !important; font-size: 0.8rem !important; }

    /* MOBİL YAN MENÜ (DRAWER) */
    .mobile-drawer {
        display: block; 
        position: fixed; 
        top: 0; 
        left: -320px; 
        width: 300px; 
        height: 100%;
        background: var(--chat-bg); 
        z-index: 3000; 
        transition: left 0.4s ease;
        box-shadow: 5px 0 25px rgba(0,0,0,0.15); 
        padding: 25px;
    }
    
    .mobile-drawer.active { left: 0; }
    
    .drawer-header { 
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        border-bottom: 2px solid var(--chat-primary); 
        padding-bottom: 15px; 
        margin-bottom: 20px; 
    }
    
    .drawer-brand { display: flex; align-items: center; gap: 12px; }
    .drawer-logo { height: 40px; width: auto; border-radius: 5px; }
    .drawer-header span { 
        font-family: 'Playfair Display', serif; 
        color: var(--chat-primary); 
        font-weight: 700; 
        font-size: 1.2rem; 
    }
    
    .drawer-header button { 
        background: none; 
        border: none; 
        font-size: 1.3rem; 
        color: var(--chat-accent); 
    }

    .mobile-nav-links { list-style: none; padding: 0; }
    .mobile-nav-links li { margin-bottom: 12px; }
    .mobile-nav-links a { 
        display: block; 
        padding: 12px 15px; 
        color: var(--chat-primary); 
        text-decoration: none; 
        font-weight: 500; 
        background: #fff; 
        border-radius: 10px; 
    }

    .drawer-overlay { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100%; 
        background: rgba(0,0,0,0.4); 
        z-index: 2500; 
        display: none; 
    }
    
    .drawer-overlay.active { display: block; }

    /* Ürün Izgaraları (Yeni WebP görsellerle uyumlu 2'li düzen) */
    .product-grid { 
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 12px !important; 
    }
    
    /* Video ve Müze Izgaraları (WebP videolar için tek sütun) */
    .museum-grid, .mola-split-container { 
        grid-template-columns: 1fr !important; 
    }
    
    /* Mobil Sohbet Paneli Ayarları */
    #chat-window { 
        width: 92vw; 
        height: 75vh; 
        bottom: 85px; 
        right: 4vw; 
    }
    
    #chat-footer input { 
        padding: 12px 18px; 
        font-size: 0.9rem; 
    }
}