/* ==========================================================================
   İNOVATİF ORMAN İLKOKULU - SIFIR BOŞLUKLU & ALT KATMAN HARİTA
   ========================================================================== */

.home-map-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 0; /* Üst boşluk tamamen kaldırıldı */
    z-index: 1; /* Üst bölümün arka plan görselinin altında kalır */
    line-height: 0;
}

.home-map-container {
    position: relative;
    width: 100%;
    height: 480px; /* Masaüstü yüksekliği */
}

/* 🗺️ Full-Width Harita Görünümü */
.home-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: contrast(102%);
    transition: filter 0.3s ease;
}

/* 📍 Harita Üzerinde Yüzen Şık Bilgi Kartı */
.home-map-card {
    position: absolute;
    top: 40px;
    left: 6%;
    z-index: 5;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 24px 28px;
    max-width: 350px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    line-height: 1.5;
}

.home-map-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(163, 230, 53, 0.25);
    color: #1a3d13;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 30px;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.home-map-card-badge svg {
    width: 14px;
    height: 14px;
    stroke: #1a3d13;
}

.home-map-card-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-map-card-address {
    margin: 0 0 18px 0;
    font-size: 13.5px;
    color: #475569;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.home-map-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #112810;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(17, 40, 16, 0.25);
}

.home-map-card-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.home-map-card-btn:hover {
    background: #a3e635;
    color: #112810;
    box-shadow: 0 6px 20px rgba(163, 230, 53, 0.4);
}

.home-map-card-btn:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   📱 MOBİL VE TABLET UYUMLULUK
   ========================================================================== */
@media (max-width: 768px) {
    .home-map-section {
        margin-top: 0;
    }

    .home-map-container {
        height: 420px;
    }

    .home-map-card {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: none;
        padding: 18px 20px;
    }

    .home-map-card-title {
        font-size: 18px;
    }

    .home-map-card-address {
        font-size: 12.5px;
        margin-bottom: 12px;
    }

    .home-map-card-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
}