/* ================= HALAMAN PRODUK ================= */
.produk-header {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)), url("../images/hero.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 20px 80px;
    box-sizing: border-box;
}

.produk-title {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
}

.produk-title h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    margin-bottom: 12px;
    transition: transform .3s ease, color .3s ease;
}

.produk-title h1:hover { transform: translateY(-4px); }
.produk-title p { font-size: 18px; color: #f5f5f5; }

/* ================= PRODUK CARD ================= */
.produk-card {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    background: #ffffff; /* Memastikan background kartu berwarna putih solid */
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 35px;
    padding: 35px;
    box-shadow: 0 18px 35px rgba(0,0,0,.35);
    box-sizing: border-box;
}

.produk-image { 
    flex: 1; 
    width: 100%;
}

.produk-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform .35s ease, box-shadow .35s ease;
    object-fit: cover;
}

.produk-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}

.produk-detail { 
    flex: 1.2; 
    color: #333; 
}

.status {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.produk-detail h2 { margin-top: 15px; font-size: 30px; color: #111; line-height: 1.3; }
.produk-detail h3 { margin: 12px 0; font-size: 26px; color: #16a34a; font-weight: 700; }
.produk-detail p { font-size: 15px; color: #444; line-height: 1.7; margin: 16px 0; }

/* ================= SPESIFIKASI ================= */
.spesifikasi {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 25px 0;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
}

.spesifikasi div {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
}

.spesifikasi i {
    color: #16a34a;
    font-size: 22px;
    transition: transform .3s ease, color .3s ease;
}

.spesifikasi div:hover i {
    transform: translateY(-3px) scale(1.05);
    color: #2ecc71;
}

.spesifikasi strong { 
    display: block; 
    font-size: 15px; 
    color: #111; 
}

.spesifikasi span {
    font-size: 13px;
    color: #666;
}

/* ================= TOMBOL WA PRODUK ================= */
.wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: #1ebd59;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    overflow: hidden;
    position: relative;
    transition: .35s;
    box-shadow: 0 10px 20px rgba(30,189,89,.3);
    margin-top: 10px;
}

.wa::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: rgba(255,255,255,.25);
    transform: skewX(-25deg);
    transition: .6s;
}

.wa:hover::before { left: 130%; }
.wa:hover {
    background: #18a84d;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30,189,89,.4);
}

.wa i { font-size: 20px; }

/* ================= KEUNGGULAN ================= */
.keunggulan {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    background: #fff;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 30px;
    box-shadow: 0 18px 35px rgba(0,0,0,.25);
    text-align: center;
    box-sizing: border-box;
}

.keunggulan div { padding: 15px; }
.keunggulan i { font-size: 38px; color: #16a34a; margin-bottom: 12px; }
.keunggulan h4 { font-size: 17px; color: #222; margin-bottom: 8px; }
.keunggulan p { font-size: 13px; color: #666; line-height: 1.6; }
/* Efek transisi smooth pada icon keunggulan */
.keunggulan i {
    font-size: 42px;
    color: #16a34a;
    margin-bottom: 15px;
    display: inline-block; /* Sangat penting agar efek transform/gerakan bekerja presisi */
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

/* 1. Efek ketika KURSOR DIATAS KOTAK (Setiap ikon melompat & sedikit membesar) */
.keunggulan div:hover i {
    transform: translateY(-8px) scale(1.15);
    color: #2ecc71; /* Warna hijau menyala saat di-hover */
}

/* OPTIONAL: Jika kamu pakai gambar <img> dan bukan FontAwesome/Icon Font */
.keunggulan img {
    width: 45px;
    height: auto;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.keunggulan div:hover img {
    transform: translateY(-8px) scale(1.15);
}

/* ================= PRODUK RESPONSIVE ================= */
@media (max-width: 992px) {
    .produk-card { 
        flex-direction: column; 
        padding: 25px; 
    }
    .produk-image img { max-width: 100%; }
    .spesifikasi { grid-template-columns: repeat(2, 1fr); }
    .keunggulan { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .produk-header { padding: 110px 15px 50px; }
    .spesifikasi { grid-template-columns: 1fr; }
    .keunggulan { grid-template-columns: 1fr; }
    .wa { width: 100%; }
}
.lihat-detail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 14px 28px;
    margin-left: 10px;

    background: #0d6efd;
    color: #fff;

    border: none;
    border-radius: 50px;

    font-weight: 700;
    cursor: pointer;

    transition: .3s ease;
}

.lihat-detail-btn:hover {
    background: #229430;
    transform: translateY(-3px);
}

.lihat-detail-btn i {
    font-size: 18px;
}
/* ================= MODAL DETAIL RUMAH ================= */
.detail-rumah-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5,18,9,.76);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}

.detail-rumah-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.detail-rumah-dialog {
    position: relative;
    width: min(820px, 100%);
    max-height: 92vh;
    overflow: auto;
    padding: 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0,0,0,.35);
    transform: translateY(18px) scale(.98);
    transition: transform .25s ease;
}

.detail-rumah-modal.is-open .detail-rumah-dialog {
    transform: translateY(0) scale(1);
}

.detail-rumah-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    color: #176b3e;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.detail-rumah-kicker {
    color: #19864f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.detail-rumah-dialog h2 {
    margin: 8px 0 22px;
    color: #132219;
    font-size: 30px;
}

.detail-rumah-hero {
    overflow: hidden;
    border-radius: 16px;
    background: #f3f8f3;
}

.detail-rumah-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: contain;
}

.detail-rumah-copy {
    margin-top: 26px;
}

.detail-rumah-copy h3,
.detail-rumah-features h3 {
    margin-bottom: 10px;
    color: #176b3e;
    font-size: 21px;
}

.detail-rumah-copy p {
    margin-bottom: 12px;
    color: #506056;
    font-size: 14px;
    line-height: 1.8;
}

.detail-rumah-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.detail-rumah-highlights div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 15px 8px;
    border-radius: 12px;
    background: #f1f8f2;
    color: #506056;
    text-align: center;
}

.detail-rumah-highlights i {
    margin-bottom: 4px;
    color: #19864f;
    font-size: 22px;
}

.detail-rumah-highlights strong {
    color: #163d25;
    font-size: 18px;
}

.detail-rumah-highlights span {
    font-size: 11px;
}

.detail-rumah-features {
    padding: 20px;
    border-left: 4px solid #2ecc71;
    border-radius: 0 12px 12px 0;
    background: #f8fbf8;
}

.detail-rumah-features ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 24px;
    margin: 0;
    padding-left: 18px;
    color: #506056;
    font-size: 13px;
    line-height: 1.6;
}

.detail-rumah-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 13px 20px;
    border-radius: 10px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: background .25s ease, transform .25s ease;
}

.detail-rumah-contact:hover {
    background: #128c7e;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width:600px){
    .detail-rumah-dialog {
        padding: 26px 20px;
    }
    .detail-rumah-dialog h2 {
        font-size: 24px;
    }
    .detail-rumah-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-rumah-features ul {
        grid-template-columns: 1fr;
    }
}