:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #f59e0b;
    --accent: #ec4899;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --danger: #ef4444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--dark);
}

.container { max-width: 900px; margin: 0 auto; padding: 40px 20px; }

/* Header Banner */
.header-banner {
    margin-bottom: 30px; border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: rgba(255,255,255,0.95);
}
.header-banner img {
    width: 100%; height: auto; max-height: 450px; object-fit: cover;
    display: block;
}
.header-title {
    text-align: center; padding: 35px 20px; color: var(--dark);
}
.header-title h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 10px; }
.header-title p { font-size: 1.2rem; color: var(--gray); }

@media (max-width: 768px) {
    .header-title h1 { font-size: 1.8rem; }
    .header-title p { font-size: 1rem; }
}

/* Overview Image */
.overview-image {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}
.overview-image img {
    width: 100%; height: auto; max-height: 350px; object-fit: cover;
    display: block;
}

/* Poster Section */
.poster-section {
    margin-bottom: 30px; border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: white;
}
.poster-section img {
    width: 75%; height: auto; display: block;
    border-radius: 24px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Poster Section */
.hero-poster-section { margin-bottom: 40px; }
.hero-poster {
    border-radius: 24px; overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: white;
}
.hero-poster img {
    width: 100%; height: auto; display: block;
}
.poster-info-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px;
    margin-top: 25px; margin-bottom: 25px;
}
.poster-info-item {
    background: rgba(255,255,255,0.95); border-radius: 16px;
    padding: 20px; display: flex; align-items: center; gap: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.poster-info-item .poster-icon { font-size: 1.8rem; }
.poster-info-item div { display: flex; flex-direction: column; }
.poster-info-item strong { font-size: 1.1rem; color: var(--dark); }
.poster-info-item small { font-size: 0.8rem; color: var(--gray); }
.poster-cta { text-align: center; margin-top: 20px; }

/* Gallery Section */
.gallery-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.gallery-item {
    position: relative; border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white; padding: 30px 15px 15px; font-weight: 600; font-size: 0.95rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .poster-info-bar { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
}

.card {
    background: rgba(255,255,255,0.95);
    border-radius: 24px; padding: 35px; margin-bottom: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.section-title {
    font-size: 1.8rem; font-weight: 700; margin-bottom: 25px;
    display: flex; align-items: center; gap: 12px;
}

.overview-text { font-size: 1.05rem; line-height: 1.8; color: var(--gray); margin-bottom: 20px; }
.overview-text strong { color: var(--primary-dark); }

.cta-container { text-align: center; margin: 30px 0; }
.cta-button {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; text-decoration: none; padding: 18px 36px;
    border-radius: 50px; font-weight: 600; font-size: 1.1rem;
}

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 25px; }
.info-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 25px; border-radius: 16px; border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}
.info-item:hover { transform: scale(1.03); }
.info-item .label { font-size: 0.9rem; color: var(--gray); margin-bottom: 8px; }
.info-item .value { font-size: 1.15rem; font-weight: 600; }

.location-card { cursor: pointer; position: relative; }
.location-card::after {
    content: '👆 Klik untuk detail'; position: absolute;
    bottom: 8px; right: 12px; font-size: 0.7rem;
    color: var(--primary); opacity: 0.8;
}

.payment-list { background: #f8fafc; border-radius: 12px; padding: 20px; margin-top: 15px; }
.payment-list ul { list-style: none; }
.payment-list li { padding: 8px 0; border-bottom: 1px dashed #e2e8f0; color: var(--gray); }
.payment-list li:last-child { border-bottom: none; }

.confirmation-box {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 12px; padding: 18px; margin-top: 20px; border-left: 4px solid var(--success);
}
.confirmation-box a { color: var(--success); font-weight: 600; text-decoration: none; }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 25px; }
.benefit-card { background: white; border: 2px solid #e2e8f0; border-radius: 16px; padding: 22px; text-align: center; }
.benefit-card .emoji { font-size: 2.5rem; margin-bottom: 10px; display: block; }

.certificate-note { background: #fef3c7; border-radius: 12px; padding: 15px; margin: 15px 0 25px; border-left: 4px solid #f59e0b; font-style: italic; color: #92400e; }

.htm-section { border-radius: 16px; padding: 25px; margin-bottom: 20px; }
.htm-included { background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); border-left: 5px solid var(--success); }
.htm-excluded { background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); border-left: 5px solid var(--danger); }
.htm-section h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-size: 1.2rem; }
.htm-section ul { list-style: none; padding-left: 10px; }
.htm-section li { padding: 8px 0; padding-left: 25px; position: relative; }
.htm-section li::before { content: '•'; position: absolute; left: 0; color: var(--primary); font-weight: bold; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: white; border: 2px solid #e2e8f0; border-radius: 16px; overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px 25px; border: none; background: transparent;
    text-align: left; font-family: 'Poppins', sans-serif; font-size: 1rem;
    font-weight: 600; cursor: pointer; display: flex; justify-content: space-between;
}
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s ease; padding: 0 25px; }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 25px 20px; }

.footer { text-align: center; padding: 40px 20px; color: rgba(255,255,255,0.8); }
.social-links { display: flex; justify-content: center; gap: 15px; margin-top: 15px; }
.social-links a { display: inline-flex; width: 45px; height: 45px; background: rgba(255,255,255,0.2); border-radius: 50%; color: white; text-decoration: none; align-items: center; justify-content: center; font-size: 1.2rem; }

/* Villa Popup */
#villaPopup {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 9999; padding: 20px; align-items: center; justify-content: center;
}
#villaPopup.active { display: flex; }
.villa-popup-box { background: white; border-radius: 20px; max-width: 500px; width: 100%; overflow: hidden; }
.villa-popup-box img { width: 100%; height: 250px; object-fit: cover; }
.villa-popup-content { padding: 25px; }
.villa-popup-content h3 { margin-bottom: 12px; }
.villa-popup-content p { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.villa-popup-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.villa-popup-buttons a, .villa-popup-buttons button {
    flex: 1; min-width: 130px; padding: 14px 20px; border-radius: 10px;
    text-align: center; font-weight: 600; text-decoration: none; border: none; cursor: pointer;
    font-family: 'Poppins', sans-serif; font-size: 0.95rem;
}
.villa-popup-buttons a { background: var(--success); color: white; }
.villa-popup-buttons button { background: #e2e8f0; color: var(--dark); }
