/* =========================
   MOBİL DÜZENİ - FİNAL VERSİYON
   768px ve altı
   ========================= */

@media (max-width: 768px) {

    /* ================= TOP BAR (SOSYAL MEDYA SOL, WHATSAPP SAĞ) ================= */
    .top-bar .top-bar-inner {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 6px 12px !important;
        flex-wrap: nowrap !important;
    }

    /* SOSYAL MEDYA - EN SOLDA */
    .top-bar .sosyal-medya {
        display: flex !important;
        gap: 8px !important;
        margin: 0 !important;
        order: 1 !important;
    }

    .top-bar .sosyal-medya a {
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: rgba(255,255,255,0.1) !important;
    }

    .top-bar .sosyal-medya i {
        font-size: 13px !important;
        color: #ffffff !important;
    }

    /* WHATSAPP BUTONU - EN SAĞDA */
    .top-whatsapp {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: #25D366 !important;
        color: #fff !important;
        padding: 5px 12px !important;
        border-radius: 20px !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        margin-left: auto !important;
        order: 2 !important;
    }

    .top-whatsapp i {
        font-size: 13px !important;
    }

    .top-whatsapp span {
        display: inline !important;
        font-size: 11px !important;
        color: #fff !important;
    }

    /* ❌ TELEFON, E-POSTA, DİL GİZLE */
    .top-bar span:not(.top-whatsapp span),
    .top-bar a[href^="tel"],
    .top-bar a[href^="mailto"],
    .top-bar .dil-secenegi {
        display: none !important;
    }

    /* ================= HEADER ================= */
    .main-header .header-inner {
        padding: 12px 15px !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }

    .main-header .logo img {
        height: 38px !important;
        width: auto !important;
    }

    /* ================= HAMBURGER MENU ================= */
    .main-header .mobile-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 50px !important;
        height: 50px !important;
        cursor: pointer !important;
        background: transparent !important;
        z-index: 99999 !important;
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .main-header .mobile-menu i {
        display: block !important;
        line-height: 1 !important;
    }

    /* Hamburger çizgileri SİYAH */
    .main-header .mobile-menu,
    .main-header .mobile-menu i,
    .main-header .mobile-menu i::before {
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
        opacity: 1 !important;
        font-size: 34px !important;
        visibility: visible !important;
        display: inline-block !important;
    }

    /* ================= DESKTOP MENU GIZLE ================= */
    .main-header nav ul {
        display: none !important;
    }

    /* ================= MOBIL MENU AÇILINCA ================= */
    .main-header #navList.nav-open {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 100% !important;
        left: 0;
        width: 100%;
        background: var(--ana-header-bg) !important;
        padding: 25px !important;
        gap: 18px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
        z-index: 999;
    }

    .main-header nav a {
        font-size: 18px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 10px;
        display: block;
    }

    /* ================= SLIDER ================= */
    .slider {
        height: 260px !important;
    }
    .slider-item img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }

    .slider-content {
        padding: 12px !important;
        text-align: center !important;
    }

    .slider-content h1 {
        font-size: 18px !important;
        line-height: 1.3;
    }

    .slider-content p {
        font-size: 12px !important;
    }

    /* ================= GRID SISTEMLERI ================= */
    .services-grid,
    .grid-3,
    .grid-4,
    .grid-gallery {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    /* ================= ILETISIM SAYFASI ================= */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    /* ================= FOOTER ================= */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        text-align: center;
    }

    /* ================= GENEL ================= */
    .container {
        padding: 0 16px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .section-sub {
        font-size: 14px !important;
    }

    /* ================= MOBİL SABİT İLETİŞİM BUTONLARI ================= */
    .mobile-sticky-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        display: flex;
        z-index: 999999;
        background: transparent;
        box-shadow: 0 -3px 15px rgba(0,0,0,0.2);
    }

    .sticky-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 10px;
        text-decoration: none !important;
        font-weight: 700;
        font-size: 15px;
        color: #ffffff !important;
        transition: 0.2s ease;
        border: none;
    }

    .sticky-btn i {
        font-size: 18px;
    }

    .sticky-btn.whatsapp {
        background-color: #25D366 !important;
    }

    .sticky-btn.call {
        background-color: #1e3a8a !important;
    }

    .sticky-btn:active {
        opacity: 0.85;
        transform: scale(0.98);
    }

    /* Sayfa içeriğinin alt butonların altında kalmaması için */
    body {
        padding-bottom: 60px !important;
    }
}