/* SECTION FULL WIDTH */
.map-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    background-color: #fff;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Container override agar tidak mengunci area map */
.map-section .container {
    max-width: 100%;
    padding: 0;
    position: relative;
}

/* MAP FULL AREA */
.map-section iframe {
    width: 100%;
    height: 80dvh;
    border: none;
    display: block;
}

/* LABEL ORANGE (posisi seperti gambar) */
.map-label {
    position: absolute;
    top: 40px;
    left: 40px;
    background: #f35b1f;
    color: white;
    padding: 10px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* WRAPPER CARD */
.location-info-wrapper {
    position: absolute;
    top: 50%;
    right: 4%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 32px;
    z-index: 15;
}

/* CARD STYLE */
.location-card {
    background: #fff;
    border: 2px solid #ff6a2c;
    border-radius: 12px;
    padding: 22px 26px;
    width: 365px;
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Title style */
.location-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Text */
.location-card p {
    margin: 0 0 6px;
    line-height: 1.55;
    font-size: 15px;
    color: #333;
}

.location-card span {
    font-weight: 700;
}

/* ===== Tablet Landscape / Medium Screens ===== */
@media (max-width: 1200px) {
    .location-info-wrapper {
        right: 2%;
        gap: 24px;
    }

    .location-card {
        width: 320px;
        padding: 18px 22px;
    }

    .map-section iframe {
        height: 85vh;
    }
}

/* ===== Tablet Portrait ===== */
@media (max-width: 992px) {
    .location-info-wrapper {
        right: 1.5%;
        gap: 22px;
    }

    .location-card {
        width: 280px;
        padding: 16px 20px;
    }

    .map-section iframe {
        height: 80vh;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .map-section {
        flex-direction: column;
        padding-top: 60px;
        min-height: auto !important;
        height: auto !important; /* INI YANG PENTING */
        display: block; /* JANGAN FLEX DI MOBILE */
    }

    .location-info-wrapper {
        position: static;
        transform: none;
        padding: 24px 16px;
        width: 100%;
        align-items: center;
    }

    .location-card {
        width: 100%;
        max-width: 380px;
        padding: 18px 20px;
    }

    .map-section iframe {
        height: 60vh; /* lebih natural di mobile */
    }

    .map-label {
        top: 16px;
        left: 16px;
        padding: 8px 20px;
        font-size: 12px;
    }
}

/* ===== Extra Small Phones ===== */
@media (max-width: 480px) {
    .location-card {
        padding: 16px;
    }

    .map-section iframe {
        height: 55vh;
    }

    .map-label {
        font-size: 11px;
        padding: 6px 16px;
    }
}

/* ===== FIX AGAR SECTION SETELAH MAP TIDAK KETIMPA ===== */
.map-section + * {
    position: relative;
    z-index: 5;
}

@media (min-resolution: 115dpi) and (max-resolution: 140dpi) {
    .map-label{
        font-size: 14px !important;
        padding: 6px 16px !important;
        margin-bottom: 30px !important;
    }
}
