/* === Form Survey Page Style (Untuk form-survey.html) === */
/* Import Font Poppins dari Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --color-primary: #1a237e;
    /* Biru Tua */
    --color-secondary: #ffc107;
    /* Kuning */
    --color-text-light: #f4f4f4;
    --color-text-dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* === Navbar === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo a {
    color: var(--color-secondary);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li a {
    color: var(--color-text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--color-secondary);
}

.hamburger {
    display: none;
    /* Sembunyikan di desktop */
    cursor: pointer;
    font-size: 1.5rem;
}

/* Tombol CTA di Navbar */
.cta-nav {
    background-color: var(--color-secondary);
    color: var(--color-primary) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-nav:hover {
    background-color: #ffeb3b;
    /* Kuning lebih terang */
}

/* === Hero Section (Parallax) === */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--color-text-light);
    /* Untuk Parallax Effect */
    background-attachment: fixed;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    /* Overlay */
    padding: 2rem;
    border-radius: 10px;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #ffeb3b;
}

/* === Sections Umum === */
section {
    padding: 4rem 5%;
    text-align: center;
}

section h2 {
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* === Keuntungan Section === */
.keuntungan-grid ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.keuntungan-grid li {
    background: var(--color-text-light);
    border: 2px solid var(--color-secondary);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 300px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* === Fasilitas Section === */
.fasilitas-section {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.fasilitas-section h2 {
    color: var(--color-secondary);
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.fasilitas-grid div {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.fasilitas-grid i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    display: block;
}

.sold-info {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-secondary);
}

/* === Gallery Section === */
.gallery-section {
    background-color: #f4f4f4;
}

.gallery-slider {
    /* Atur tampilan slider, perlu JS */
    overflow: hidden;
    margin-bottom: 2rem;
    /* Ini hanya dummy, gunakan library seperti Swiper */
    white-space: nowrap;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slider-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    /* Tambahkan jika menggunakan JS slider */
}

.gallery-four-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-four-cols img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.gallery-four-cols img:hover {
    transform: scale(1.05);
}

/* === Pilihan Blok Section === */
.block-options {
    margin-top: 2rem;
}

.block-options ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 1rem;
}

.block-options li {
    font-weight: 600;
    color: var(--color-primary);
    background: var(--color-secondary);
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.block-options i {
    margin-right: 5px;
}

/* === Footer === */
footer {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 1.5rem 5%;
}

/* === Floating WhatsApp Button === */
.floating-wa-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    /* Hijau WhatsApp */
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    cursor: pointer;
    transition: transform 0.2s;
}

.floating-wa-btn:hover {
    transform: scale(1.1);
}

/* === WhatsApp Pop-up Form === */
.whatsapp-popup {
    display: none;
    /* Sembunyikan secara default */
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.popup-content {
    background-color: var(--color-text-light);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
    text-align: left;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--color-primary);
    text-decoration: none;
}

.whatsapp-popup h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.whatsapp-popup form input,
.whatsapp-popup form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.whatsapp-popup .cta-button {
    width: 100%;
}

/* === Responsive (Mobile) === */
@media (max-width: 768px) {

    .navbar {
        padding: 1rem 5%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: var(--color-primary);
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .gallery-four-cols {
        grid-template-columns: repeat(2, 1fr);
        /* 2 kolom di mobile */
    }

    .block-options ul {
        flex-direction: column;
        gap: 10px;
    }

    .whatsapp-popup .popup-content {
        margin: 50% auto;
    }
}

/* === Kontak/Ajakan Survey Section === */
.contact-section {
    background-color: var(--color-secondary);
    /* Kuning */
    padding: 5rem 5%;
}

.contact-section h2 {
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-section .cta-text {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    max-width: 800px;
    margin: 0 auto 3rem;
}

.cta-action {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.cta-motto {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
    /* Merah untuk penekanan */
    margin-bottom: 1rem;
}

.survey-link-btn {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    background-color: var(--color-primary);
    color: var(--color-secondary) !important;
}

.survey-link-btn:hover {
    background-color: #3f51b5;
    /* Biru sedikit lebih terang */
}

.form-container {
    padding-top: 100px;
    /* Jarak dari fixed navbar */
    min-height: 100vh;
    background-color: #e8eaf6;
    /* Background ringan */
    display: flex;
    justify-content: center;
    align-items: center;
}

.survey-form-box {
    background: var(--color-text-light);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    text-align: left;
}

.survey-form-box h1 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--color-secondary);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group .radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.form-group .radio-group label {
    display: inline-block;
    font-weight: 400;
    margin-bottom: 0;
    color: var(--color-text-dark);
}

.form-group .radio-group input[type="radio"] {
    width: auto;
    margin-right: 5px;
}