/* =========================================
   HALAMAN KONTAK - PT ASTHA DWI ASTHA (828)
   ========================================= */

/* Wrapper Halaman Kontak */
.contact-page-wrapper {
    position: relative;
    z-index: 5;
    padding-top: 130px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 50% 0%, #0d1626 0%, #06090f 75%);
    min-height: 100vh;
    transition: background 0.3s ease;
}

body.light-theme .contact-page-wrapper {
    background: radial-gradient(circle at 50% 0%, #eef3fa 0%, #f8fafc 85%);
}

.contact-page-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Kontak */
.contact-header {
    margin-bottom: 38px;
}

.contact-main-title {
    font-family: var(--font-display);
    font-size: 2.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 12px;
}

body.light-theme .contact-main-title {
    color: #0b1528;
}

.contact-sub-title {
    font-size: 1.02rem;
    color: #94a3b8;
    line-height: 1.6;
    max-width: 620px;
    font-weight: 400;
}

body.light-theme .contact-sub-title {
    color: #475569;
}

/* Grid Tata Letak 2 Kolom */
.contact-grid {
    display: grid;
    grid-template-columns: 430px 1fr;
    gap: 36px;
    align-items: stretch;
}

/* =========================================
   KOLOM KIRI: KARTU KONTAK ELEGAN & MODERN (TACTICAL LUXURY)
   ========================================= */
.contact-card-info {
    position: relative;
    border-radius: 28px;
    background: linear-gradient(165deg, rgba(16, 26, 42, 0.95) 0%, rgba(9, 14, 24, 0.98) 100%);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(250, 204, 21, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(250, 204, 21, 0.32);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 34px 28px;
    color: #ffffff;
    transition: all 0.3s ease;
}

body.light-theme .contact-card-info {
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08), 0 0 25px rgba(234, 179, 8, 0.08);
    border: 1px solid rgba(234, 179, 8, 0.32);
    color: #0f172a;
}

/* Aksen Glow Halus di Sudut Kartu */
.contact-card-glow {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.16) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(25px);
    z-index: 1;
}

body.light-theme .contact-card-glow {
    background: radial-gradient(circle, rgba(234, 179, 8, 0.14) 0%, transparent 70%);
}

/* Watermark Grid Taktis Halus */
.contact-card-tech-grid {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(250, 204, 21, 0.18) 1.2px, transparent 1.2px);
    background-size: 14px 14px;
    mask-image: radial-gradient(circle at top right, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at top right, black 30%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

body.light-theme .contact-card-tech-grid {
    background-image: radial-gradient(rgba(234, 179, 8, 0.22) 1.2px, transparent 1.2px);
}

.contact-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Badge Markas Pusat */
.contact-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.1);
    border: 1px solid rgba(250, 204, 21, 0.3);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--accent, #facc15);
    margin-bottom: 16px;
    width: fit-content;
}

body.light-theme .contact-badge-pill {
    background: rgba(234, 179, 8, 0.12);
    border-color: rgba(234, 179, 8, 0.35);
    color: #b45309;
}

.badge-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 8px #facc15;
    animation: contactPulse 2s infinite ease-in-out;
}

body.light-theme .badge-pulse-dot {
    background: #eab308;
    box-shadow: 0 0 8px #eab308;
}

@keyframes contactPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.55; }
}

.contact-card-title {
    font-family: var(--font-display);
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

body.light-theme .contact-card-title {
    color: #0f172a;
}

.contact-card-desc {
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 22px;
    font-weight: 400;
}

body.light-theme .contact-card-desc {
    color: #64748b;
}

.contact-items-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.contact-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: all 0.22s ease;
    position: relative;
}

body.light-theme .contact-item-row {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

a.contact-item-row:hover {
    background: rgba(250, 204, 21, 0.08);
    border-color: rgba(250, 204, 21, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

body.light-theme a.contact-item-row:hover {
    background: #fefce8;
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.contact-icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #facc15;
    flex-shrink: 0;
    transition: all 0.22s ease;
}

body.light-theme .contact-icon-bubble {
    background: rgba(234, 179, 8, 0.14);
    border-color: rgba(234, 179, 8, 0.38);
    color: #b45309;
}

.contact-item-row:hover .contact-icon-bubble {
    background: #facc15;
    color: #0b111e;
    transform: scale(1.05);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

body.light-theme .contact-item-row:hover .contact-icon-bubble {
    background: #eab308;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.35);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.info-label {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 700;
    color: #facc15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.light-theme .info-label {
    color: #b45309;
}

.info-val {
    font-size: 0.92rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.4;
    transition: color 0.2s ease;
}

body.light-theme .info-val {
    color: #0f172a;
}

.info-address {
    font-size: 0.86rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.45;
}

body.light-theme .info-address {
    color: #334155;
}

.contact-item-arrow {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.1rem;
    transition: transform 0.2s ease, color 0.2s ease;
    margin-left: auto;
}

body.light-theme .contact-item-arrow {
    color: rgba(15, 23, 42, 0.3);
}

a.contact-item-row:hover .contact-item-arrow {
    transform: translateX(4px);
    color: #facc15;
}

body.light-theme a.contact-item-row:hover .contact-item-arrow {
    color: #b45309;
}

/* Jam Operasional Taktis */
.contact-hours-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-radius: 12px;
    background: rgba(250, 204, 21, 0.05);
    border: 1px dashed rgba(250, 204, 21, 0.28);
    margin-bottom: 18px;
}

body.light-theme .contact-hours-box {
    background: rgba(234, 179, 8, 0.06);
    border-color: rgba(234, 179, 8, 0.3);
}

.hours-icon-box {
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.light-theme .hours-icon-box {
    color: #b45309;
}

.hours-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.hours-tag {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

body.light-theme .hours-tag {
    color: #64748b;
}

.hours-schedule {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

body.light-theme .hours-schedule {
    color: #0f172a;
}

.hours-status-chip {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    letter-spacing: 0.06em;
}

/* Wadah Peta */
.contact-map-container {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    background: #091a38;
    transition: all 0.25s ease;
}

body.light-theme .contact-map-container {
    border-color: rgba(226, 232, 240, 0.95);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    background: #e2e8f0;
}

.contact-map-container:hover {
    border-color: rgba(250, 204, 21, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(250, 204, 21, 0.12);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: contrast(1.05);
}

.map-overlay-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(8, 14, 26, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 204, 21, 0.3);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #ffffff;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.light-theme .map-overlay-badge {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(234, 179, 8, 0.4);
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.map-open-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(8, 14, 26, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #facc15;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

body.light-theme .map-open-link {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.12);
    color: #b45309;
}

.map-open-link:hover {
    background: #facc15;
    color: #080e1a;
    border-color: #facc15;
    transform: translateY(-1px);
}

body.light-theme .map-open-link:hover {
    background: #eab308;
    color: #ffffff;
    border-color: #eab308;
}

.map-overlay-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(8, 15, 30, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 4px 10px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #ffffff;
    pointer-events: none;
}

/* =========================================
   KOLOM KANAN: FORMULIR TULIS PESAN
   ========================================= */
.contact-card-form {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(14, 22, 36, 0.92) 0%, rgba(8, 13, 22, 0.98) 100%);
    border: 1px solid rgba(250, 204, 21, 0.28);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 28px rgba(250, 204, 21, 0.08);
    padding: 42px 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

body.light-theme .contact-card-form {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 26px;
    letter-spacing: -0.01em;
}

body.light-theme .form-title {
    color: #0b1528;
}

.contact-form-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.01em;
}

body.light-theme .form-group label {
    color: #1e293b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(250, 204, 21, 0.2);
    color: #f1f5f9;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #64748b;
    font-weight: 400;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
    background: #f1f3f9;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
    box-shadow: none;
}

body.light-theme .form-group input::placeholder,
body.light-theme .form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #facc15;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.25);
}

body.light-theme .form-group input:focus,
body.light-theme .form-group textarea:focus {
    border-color: #ca8a04;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.2);
}

.form-group textarea {
    min-height: 125px;
    resize: vertical;
    line-height: 1.5;
}

/* Tombol Kirim Pesan (Warna Kuning Emas Elegan) */
.form-actions {
    margin-top: 8px;
}

.btn-submit-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: #0a0e17 !important;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 13px 36px;
    border-radius: 999px;
    border: 1px solid #fde047;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(250, 204, 21, 0.38);
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-submit-message:hover {
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(250, 204, 21, 0.55);
    color: #0a0e17 !important;
}

body.light-theme .btn-submit-message {
    background: linear-gradient(135deg, #ca8a04 0%, #b45309 100%);
    color: #ffffff !important;
    border: 1px solid #d97706;
    box-shadow: 0 8px 24px rgba(202, 138, 4, 0.38);
}

body.light-theme .btn-submit-message:hover {
    background: linear-gradient(135deg, #d97706 0%, #ca8a04 100%);
    box-shadow: 0 12px 30px rgba(202, 138, 4, 0.5);
    color: #ffffff !important;
}

.btn-submit-message:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.btn-submit-message:hover .btn-arrow {
    transform: translateX(3px);
}

/* Notifikasi Toast Sukses */
.form-toast-msg {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-toast-msg.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.toast-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.88rem;
}

.toast-text strong {
    display: block;
    font-size: 0.88rem;
    color: #10b981;
    margin-bottom: 2px;
}

.toast-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

body.light-theme .toast-text p {
    color: #475569;
}

/* =========================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE)
   ========================================= */
@media (max-width: 960px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-card-info {
        padding: 34px 28px 24px;
    }

    .contact-card-form {
        padding: 34px 28px 30px;
    }
}

@media (max-width: 640px) {
    .contact-page-wrapper {
        padding-top: 110px;
        padding-bottom: 60px;
    }

    .contact-main-title {
        font-size: 1.95rem;
    }

    .contact-sub-title {
        font-size: 0.92rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .btn-submit-message {
        width: 100%;
    }
}

/* Anti-Autofill Helper: Pastikan kursor dan select tetap aktif layaknya input biasa */
#contact-form input[readonly],
#contact-form textarea[readonly] {
    cursor: text !important;
    user-select: text !important;
}

