/* ============================================================
   FILE: assets/css/detail.css
   Styles spesifik untuk halaman detail aset (detail.php)
   ============================================================ */

/* --- Foto Hero / Carousel --- */
.foto-hero { width:100%; height:420px; object-fit:cover; border-radius: var(--radius); box-shadow: var(--shadow); }
#carousel-aset { border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow); margin-bottom: 1.5rem; }
#carousel-aset .carousel-item img { width:100%; height:420px; object-fit:cover; }
#carousel-aset .carousel-control-prev,
#carousel-aset .carousel-control-next {
    width: 44px; height: 44px; background: rgba(13,33,55,.65);
    border-radius: 50%; top: 50%; transform: translateY(-50%);
    margin: 0 10px;
}
#carousel-aset .carousel-indicators [data-bs-target] {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.6); border: none;
}
#carousel-aset .carousel-indicators .active { background: var(--accent); }

/* Thumbnail strip */
.foto-thumb-wrap { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:1.5rem; }
.foto-thumb {
    width: 72px; height: 56px; object-fit:cover; border-radius:8px;
    cursor:pointer; opacity:.65; border: 2px solid transparent;
    transition: opacity .18s, border-color .18s;
}
.foto-thumb.active, .foto-thumb:hover { opacity:1; border-color: var(--accent); }

/* --- Card Info --- */
.info-card { background:#fff; border-radius: var(--radius); box-shadow: var(--shadow); padding:28px; }
.info-card .harga-besar { font-family:'Sora',sans-serif; font-size:1.8rem; color:var(--navy); font-weight:800; }
.info-card .info-row { display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:1px solid #f0f0f0; }
.info-card .info-row:last-child { border-bottom:none; }
.info-card .info-icon { width:36px; height:36px; background:var(--light); border-radius:8px; display:flex; align-items:center; justify-content:center; color:var(--blue); flex-shrink:0; }
.info-card .info-label { font-size:.8rem; color:#888; }
.info-card .info-val { font-weight:600; font-size:.95rem; }

/* --- Tombol Ajukan Minat --- */
.btn-minat { background: linear-gradient(135deg, var(--accent) 0%, #e67e00 100%); color:#fff !important; border:none; border-radius:999px; padding:14px 36px; font-size:1rem; font-weight:700; font-family:'Sora',sans-serif; box-shadow: 0 4px 16px rgba(240,165,0,.4); transition: transform .2s, box-shadow .2s; display:inline-flex; align-items:center; gap:10px; }
.btn-minat:hover { transform:translateY(-2px); box-shadow: 0 8px 24px rgba(240,165,0,.5); }
.btn-minat:disabled { opacity:.6; cursor:not-allowed; transform:none; }

/* --- Mini Peta --- */
#mini-peta { height: 280px; border-radius: var(--radius); }

/* --- Modal --- */
.modal-content { border-radius: 18px; border:none; overflow:hidden; }
.modal-header { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.form-label { font-weight:600; font-size:.9rem; }
.form-control, .form-select { border-radius: 10px; border: 1.5px solid #dee2e6; padding: 10px 14px; }
.form-control:focus, .form-select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,82,118,.12); }
.btn-kirim { background: var(--navy); color:#fff; border:none; border-radius:999px; padding:12px 36px; font-weight:700; transition:background .2s; }
.btn-kirim:hover { background: var(--blue); }

/* --- Breadcrumb --- */
.breadcrumb-item a { color: var(--blue); text-decoration:none; }
.breadcrumb-item.active { color: #666; }

/* --- Badge --- */
.badge-lg { font-size:.88rem; padding: 7px 16px; border-radius:999px; }

/* --- Upload KTP Dropzone --- */
.ktp-dropzone {
    border: 2px dashed #dee2e6; border-radius: 12px;
    padding: 28px 20px; text-align: center; cursor: pointer;
    transition: border-color .18s, background .18s; background: #f8fafc;
}
.ktp-dropzone:hover, .ktp-dropzone.drag-over { border-color: var(--blue); background: #eef4fb; }
.ktp-dropzone.has-file { border-color: var(--accent); background: #fffbf0; }
.ktp-dropzone.is-invalid { border-color: #dc3545; }
#ktp-preview-img { max-height: 160px; max-width: 100%; border-radius: 8px; object-fit: contain; }

/* --- Tombol WhatsApp --- */
.btn-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: #25D366; color: #fff !important;
    border: none; border-radius: 999px; padding: 12px 24px;
    font-size: .95rem; font-weight: 700; font-family: 'Sora', sans-serif;
    box-shadow: 0 4px 14px rgba(37,211,102,.35);
    transition: transform .2s, box-shadow .2s;
    text-decoration: none; width: 100%;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,.45); }
