/* ============================================
   KONTAK - GAYA KHUSUS
   ============================================ */

.kontak-page {
    padding: 120px 0 80px;
    background: var(--gray-light);
    min-height: 100vh;
}
.kontak-page .kontak__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
    margin-top: 32px;
}
.kontak-page .kontak__form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak-page .kontak__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.kontak-page .kontak__form input,
.kontak-page .kontak__form textarea {
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
}
.kontak-page .kontak__form input:focus,
.kontak-page .kontak__form textarea:focus {
    border-color: var(--primary-dark);
    outline: none;
    box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.1);
}
.kontak-page .kontak__map-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.kontak-page .kontak__map {
    flex: 1;
    min-height: 300px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #eee;
}
.kontak-page .kontak__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}
.kontak-page .kontak__info {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.kontak-page .kontak__info p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.kontak-page .kontak__info img {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    filter: invert(27%) sepia(51%) saturate(1000%) hue-rotate(316deg) brightness(100%);
}
.kontak-page .kontak__info a {
    color: var(--primary-dark);
    text-decoration: none;
}
.kontak-page .kontak__info a:hover {
    text-decoration: underline;
}

/* ===== MAP PLACEHOLDER (CLICK-TO-LOAD) ===== */
.map-placeholder {
    background: var(--gray-light);
    border-radius: var(--radius);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary);
}

.map-placeholder__content {
    width: 100%;
    max-width: 400px;
}

.map-placeholder__buttons {
    display: flex;
    flex-direction: column; /* default: vertical (desktop) */
    gap: 12px;
    align-items: stretch;
}

.map-placeholder__buttons .map-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.95rem;
    border-radius: 50px;
    text-align: center;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.map-placeholder__buttons .map-btn:hover {
    transform: translateY(-2px);
}

/* Tombol WhatsApp */
.map-placeholder__buttons .btn--whatsapp {
    background: #25D366 !important;
    color: #fff !important;
}
.map-placeholder__buttons .btn--whatsapp:hover {
    background: #1da851 !important;
}

/* Tombol Lihat Peta */
.map-placeholder__buttons .btn--primary {
    background: var(--primary-dark);
    color: #fff;
}
.map-placeholder__buttons .btn--primary:hover {
    background: #c2185b;
}

/* Tombol Buka di Google Maps (biru) */
.map-placeholder__buttons .btn--whatsapp[style*="background: #4285F4"] {
    background: #4285F4 !important;
}
.map-placeholder__buttons .btn--whatsapp[style*="background: #4285F4"]:hover {
    background: #3367d6 !important;
}

/* Mobile: horizontal */
@media (max-width: 768px) {
    .map-placeholder__buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .map-placeholder__buttons .map-btn {
        flex: 0 1 auto;
        min-width: 120px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Dark mode */
body.dark-mode .kontak-page {
    background: #0f0f1a;
}
body.dark-mode .kontak-page .kontak__form-wrapper,
body.dark-mode .kontak-page .kontak__info {
    background: #1a1a2e;
}
body.dark-mode .kontak-page .kontak__form input,
body.dark-mode .kontak-page .kontak__form textarea {
    background: #1a1a2e;
    border-color: #333;
    color: #eaeaea;
}
body.dark-mode .map-placeholder {
    background: #1a1a2e;
    border-color: var(--primary-dark);
}
body.dark-mode .map-placeholder h3 {
    color: #eaeaea;
}
body.dark-mode .map-placeholder p {
    color: #aaa;
}

/* Responsif */
@media (max-width: 992px) {
    .kontak-page .kontak__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .kontak-page .kontak__map {
        min-height: 250px;
    }
    .kontak-page .kontak__map iframe {
        min-height: 250px;
    }
}
@media (max-width: 768px) {
    .kontak-page .kontak__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .kontak-page .kontak__map {
        min-height: 200px;
        order: -1;
    }
    .kontak-page .kontak__map iframe {
        min-height: 200px;
    }
    .kontak-page .kontak__form-wrapper {
        padding: 24px;
    }
    .kontak-page .kontak__info {
        padding: 16px;
    }
    .map-placeholder {
        min-height: 200px;
        padding: 24px 16px;
    }
    .map-placeholder__icon {
        font-size: 3rem;
    }
    .map-placeholder h3 {
        font-size: 1.2rem;
    }
}

/* ===== TOMBOL WHATSAPP DI FORM KONTAK (tidak dipakai lagi) ===== */
/* tetap dipertahankan untuk style jika ada elemen lain */
.kontak__whatsapp-wrapper {
    /* tidak digunakan lagi, tetapi tetap ada untuk kompatibilitas */
}

/* ===== SEMBUNYIKAN FLOATING WHATSAPP DI HALAMAN KONTAK ===== */
body.page-kontak .whatsapp-float {
    display: none !important;
}