/* ====================================================
   YAPALI İNŞAAT - MASAÜSTÜ YAN MENÜ CSS
   ==================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Sadece Masaüstünde Çalışmasını Sağlayan Kural --- */
@media (min-width: 1025px) {

    /* --- Arka Plan Karartması --- */
    .hmb-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 999998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }
    
    .hmb-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* --- Sağdan Gelen Panel (Off-Canvas) --- */
    .hmb-panel {
        position: fixed;
        top: 0;
        right: -420px; /* Ekran dışında başlar */
        width: 380px;
        height: 100vh;
        background: #ffffff;
        z-index: 999999;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
        font-family: 'Inter', sans-serif;
    }

    .hmb-panel.active {
        right: 0; /* Menü açıldığında yerine gelir */
    }

    /* --- Mavi Kapatma Çubuğu (Sol Üst Köşedeki Çıkıntı Görünümü) --- */
    .hmb-close-bar {
        position: absolute;
        top: 0;
        left: -45px;
    }
    
    .hmb-close-btn {
        width: 45px;
        height: 45px;
        background-color: #0cacf0; /* Yapalı Açık Mavi */
        border: none;
        color: #ffffff;
        font-size: 22px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: background 0.3s;
    }
    
    .hmb-close-btn:hover {
        background-color: #0047b3; /* Yapalı Koyu Mavi */
    }

    /* --- İçerik Alanı --- */
    .hmb-content {
        padding: 60px 40px;
        flex-grow: 1;
        overflow-y: auto; /* İçerik sığmazsa kaydırılır */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* --- Logo --- */
    .hmb-logo {
        margin-bottom: 20px;
    }
    .hmb-logo-img {
        max-width: 180px;
        height: auto;
    }

    /* --- İnce Gri Ayraç --- */
    .hmb-divider {
        width: 100%;
        height: 1px;
        background-color: #e2e8f0;
        margin: 30px 0;
    }

    /* --- Tipografi --- */
    .hmb-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: #4a5568;
        margin-bottom: 20px;
    }

    .hmb-text {
        display: block;
        font-size: 0.95rem;
        color: #64748b;
        line-height: 1.6;
        margin-bottom: 12px;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
    }
    
    a.hmb-text:hover {
        color: #0cacf0;
    }

    /* --- Sosyal İkonlar --- */
    .hmb-social-icons {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 25px;
    }

    .hmb-social-icons a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid #cbd5e1;
        display: flex;
        justify-content: center;
        align-items: center;
        color: #64748b;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .hmb-social-icons a:hover {
        background-color: #0cacf0;
        border-color: #0cacf0;
        color: #ffffff;
        transform: translateY(-2px);
    }

    /* --- Bize Ulaşın Butonu --- */
    .hmb-cta-section {
        margin-top: 10px;
    }

    .hmb-cta-btn {
        display: inline-block;
        background-color: #0cacf0;
        color: #ffffff;
        font-size: 13px;
        font-weight: 700;
        padding: 12px 30px;
        border-radius: 4px;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: background 0.3s, transform 0.2s;
    }

    .hmb-cta-btn:hover {
        background-color: #0047b3;
        transform: translateY(-2px);
    }
}

/* --- Mobilde Gizleme --- */
@media (max-width: 1024px) {
    .hmb-overlay, .hmb-panel {
        display: none !important;
    }
}