/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(28px, 6vw, 62px);
    letter-spacing: 0.5px;
    text-transform: none;
    margin-bottom: 10px;
    white-space: normal;
}   

.hero h2 {
    font-size: clamp(20px, 4.4vw, 46px);
    margin: 8px 0 0;
    text-transform: none;
    white-space: nowrap;
}

.hero span {
    color: #2ecc71;
    text-transform: uppercase;
}

.hero p {
    width: 680px;
    max-width: 100%;
    margin: 20px auto 0;
    line-height: 32px;
    font-size: 16px;
    transition: transform .3s ease, color .3s ease;
}

.hero h1, .hero h2, .hero span, .hero p {
    transition: transform .3s ease, color .3s ease;
}

.hero h1:hover, .hero h2:hover, .hero p:hover {
    transform: translateY(-4px);
}

.hero span:hover {
    transform: scale(1.04);
    color: #a8f7a2;
}

.btn {
    display: inline-block;
    position: relative;
    z-index: 3;
    margin-top: 28px;
    padding: 14px 42px;
    border-radius: 40px;
    background: #2ecc71;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn:hover {
    background: #219548;
}

.hero-scroll-cue {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-top: 32px;
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-scroll-cue i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid rgba(255,255,255,.8);
    border-radius: 50%;
    color: #fff;
    font-size: 15px;
    animation: heroScrollArrow 1.2s ease-in-out infinite;
    transition: background .25s ease, color .25s ease;
}

.hero-scroll-cue:hover { color: #9af5b8; }
.hero-scroll-cue:hover i { background: #2ecc71; border-color: #2ecc71; }

@keyframes heroScrollArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

/* ================= MODAL DETAIL RUMAH ================= */
.lihat-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    margin-left: 8px;
    padding: 14px 25px;
    border: 1px solid #19864f;
    border-radius: 10px;
    background: #fff;
    color: #19864f;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.lihat-detail-btn:hover {
    background: #19864f;
    color: #fff;
    transform: translateY(-2px);
}

.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);
}

/* ================= BOOTH MARKETING ================= */
.booth-marketing {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.booth-marketing-content {
    max-width: 1100px;
    width: 100%;
    background: rgba(10,25,15,.85);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}

.booth-kicker { display: inline-block; color: #63d471; font-weight: 700; letter-spacing: 3px; margin-bottom: 15px; }
.booth-marketing-content h2 { font-size: 52px; color: #fff; margin-bottom: 20px; }
.booth-marketing-content p { color: #f5f5f5; font-size: 20px; margin-bottom: 35px; line-height: 1.6; }
.booth-marketing-content strong { display: block; margin-top: 25px; color: #fff; font-size: 18px; letter-spacing: 1px; }

.booth-image {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    height: 800px;
}

.booth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 25px;
    transition: transform .6s ease;
}

.booth-image:hover img { transform: scale(1.08); }

.booth-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding-bottom: 40px;
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,.70), rgba(0,0,0,.20), transparent);
    color: #fff;
}

.booth-overlay h3 { font-size: 52px; font-weight: 700; margin-bottom: 10px; text-shadow: 0 5px 15px rgba(0,0,0,.4); }
.booth-overlay p { font-size: 24px; margin-bottom: 20px; color: #fff; text-shadow: 0 3px 10px rgba(0,0,0,.4); }

.booth-image .wa-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    box-shadow: 0 12px 25px rgba(0,0,0,.35);
    opacity: 0;
    transform: translateY(70px);
    transition: opacity .4s ease, transform .4s ease, background .3s ease;
    pointer-events: none;
}

.booth-image .wa-label i { font-size: 22px; }
.booth-image:hover .wa-label { opacity: 1; transform: translateY(0); pointer-events: auto; }
.booth-image .wa-label:hover { background: #1EBE5D; transform: translateY(0) scale(1.08); }

/* ================= FITUR SECTION ================= */
.fitur-wrapper {
    position: relative;
    width: calc(100% - 40px);
    max-width: 980px;
    margin: 50px auto 0;
    padding: 20px 22px;
    background: rgba(19,23,32,0.45);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 22px 60px rgba(0,0,0,.22);
    border: 2px solid #009951;
    z-index: 0;
}

.fitur {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 18px;
    justify-content: center;
    align-items: flex-start;
}

.card {
    flex: 1 1 220px;
    max-width: 280px;
    min-width: 200px;
    background: transparent;
    border-radius: 16px;
    padding: 16px 14px;
    text-align: center;
    border: none;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.card img {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    padding: 16px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    object-fit: contain;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.card:hover img {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 38px rgba(0,0,0,.2);
    background: #f5fff5;
}

.card h3 { margin-bottom: 12px; color: #fff; font-size: 18px; }
.card p { color: #f0f4ff; line-height: 1.8; font-size: 14px; margin: 0 auto; max-width: 220px; }

/* ================= INDEX RESPONSIVE ================= */
@media screen and (max-width:1024px) {
    .hero p { width: 90%; }
    .booth-image { height: 500px; }
}

@media (max-width:768px) {
    .hero { position: relative; top: auto; left: auto; transform: none; width: 90%; margin: 30px auto 0; }
    .hero p { width: 100%; font-size: 15px; line-height: 28px; }
    .btn { padding: 14px 28px; }
    .booth-marketing-content { padding: 25px; }
    .booth-marketing-content h2 { font-size: 34px; }
    .booth-marketing-content p { font-size: 17px; }
    .booth-overlay h3 { font-size: 30px; }
    .booth-overlay p { font-size: 17px; }
    .booth-image .wa-label { padding: 12px 24px; font-size: 15px; }
    .fitur-wrapper { position: relative; bottom: auto; left: auto; transform: none; margin: 50px auto 0; width: 95%; }
    .fitur { flex-direction: column; }
    .card { width: 100%; }
    .booth-image { height: 350px; }
}

@media (max-width:600px) {
    .lihat-detail-btn { margin-left: 0; width: 100%; justify-content: center; }
    .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; }
    .hero-scroll-cue { margin-top: 25px; font-size: 9px; letter-spacing: 1px; }
    .hero-scroll-cue i { width: 34px; height: 34px; }
    .booth-marketing { min-height: 620px; padding: 60px 16px; }
    .booth-marketing-content { padding: 24px 16px; border-radius: 18px; }
    .booth-marketing p { font-size: 14px; }
    .booth-marketing img { max-height: 420px; }
}

@media screen and (max-width:480px) {
    .hero p { font-size: 14px; }
}

/* =========================================================
   USER DROPDOWN MENU (SINGLE CLEAN & FIXED BLOCK)
   ========================================================= */

/* Pastikan container navbar tidak memotong dropdown */
header, nav, nav ul, nav ul li, .hero {
    overflow: visible !important;
}

/* Pembungkus utama dropdown */
.user-dropdown-wrapper {
    position: relative !important;
    display: inline-block !important;
    margin-left: 15px !important;
    z-index: 99999 !important;
}

/* Tombol Lingkaran Hijau */
.btn-user-menu {
    background-color: #2ecc71 !important;
    color: #ffffff !important;
    border: none !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3) !important;
}

.btn-user-menu:hover {
    background-color: #27ae60 !important;
    transform: scale(1.05) !important;
}

/* Kotak Dropdown Pilihan Menu */
.user-dropdown-menu {
    display: none;
    position: absolute !important;
    right: 0 !important;
    top: calc(100% - 2px) !important;
    margin-top: 0 !important;
    background: rgba(22, 32, 28, 0.98) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(46, 204, 113, 0.3) !important;
    min-width: 220px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7) !important;
    z-index: 999999 !important;
    overflow: visible !important;
    padding: 8px 0 !important;
}

/* Jembatan penahan kursor agar tidak terputus */
.user-dropdown-menu::before {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    left: 0 !important;
    width: 100% !important;
    height: 15px !important;
    background: transparent !important;
}

/* Kunci tampilan saat hover kursor ATAU saat diklik (.open) */
.user-dropdown-wrapper:hover .user-dropdown-menu,
.user-dropdown-wrapper.open .user-dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    animation: fadeIn 0.2s ease-in-out !important;
}

.dropdown-header {
    padding: 10px 18px !important;
    font-size: 13px !important;
    color: #a0aec0 !important;
}

.dropdown-header strong {
    color: #2ecc71 !important;
}

.dropdown-divider {
    border: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    margin: 5px 0 !important;
}

.user-dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 18px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    transition: background 0.2s ease !important;
}

.user-dropdown-menu a i {
    color: #2ecc71 !important;
    width: 18px !important;
    text-align: center !important;
}

.user-dropdown-menu a:hover {
    background: rgba(46, 204, 113, 0.15) !important;
    color: #2ecc71 !important;
}

.user-dropdown-menu a.logout-link:hover {
    background: rgba(231, 76, 60, 0.2) !important;
    color: #ff6b6b !important;
}

.user-dropdown-menu a.logout-link i {
    color: #e74c3c !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}