* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f5f5f5;
    color: #333;
}

/* ================= NAVBAR ================= */
header {
    background: #111;
    position: sticky;
    top: 0;
    z-index: 2000;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    color: #00b894;
    font-size: 24px;
}

/* ================= SEARCH BAR NAVBAR (MOBILE ONLY) ================= */
.search-bar {
    display: none;
    align-items: center;
    background: white;
    border-radius: 5px;
    padding: 5px 10px;
    max-width: 400px;
    text-decoration: none;
    flex: 1;
    margin: 0 20px;
}

.search-bar .search-icon {
    margin-right: 10px;
    font-size: 16px;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    padding: 6px 5px;
    font-size: 16px;
    border-radius: 5px;
}

/* ================= SEARCH DESKTOP ================= */
.search-desktop {
    background: #111;
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    border-top: 1px solid #222;
}

.search-box {
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    width: 300px;
}

.search-box span {
    margin-right: 8px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    padding: 6px;
    font-size: 14px;
}

.search-desktop button {
    background: #00b894;
    border: none;
    padding: 10px 20px;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.search-desktop button:hover {
    background: #019875;
}

/* ================= MENU ================= */
.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.menu.ready {
    opacity: 1;
}

.menu a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    color: #00b894;
}



/* ================= HERO ================= */
.hero {
    height: 90vh;
    background: url("https://images.unsplash.com/photo-1560518883-ce09059eeffa") center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    background: rgba(0,0,0,0.6);
    padding: 40px;
    border-radius: 10px;
    max-width: 600px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    margin-bottom: 20px;
}

.hero button {
    padding: 12px 25px;
    border: none;
    background: #00b894;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
}

.hero button:hover {
    background: #019875;
}

/* ================= LOKASI PROPERTI ================= */
.lokasi {
    padding: 40px 20px;
    background: #f9f9f9;
    text-align: center;
}

.lokasi-title {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.lokasi-title:hover {
    background: #1a252f;
}

.lokasi-list {
    max-height: 0;
    overflow: hidden;
    transition: 0.4s ease;
    margin-top: 20px;
}

.lokasi-list.show {
    max-height: 2000px;
}

/* ================= PROVINSI ================= */
.lokasi-prov {
    background: #34495e;
    color: white;
    padding: 12px;
    margin: 10px auto;
    width: 300px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
}

/* ================= KABUPATEN ================= */
.lokasi-kab {
    background: #3d566e;
    color: white;
    padding: 12px;
    margin: 5px auto;
    width: 280px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
}

/* ================= KECAMATAN ================= */
.lokasi-kec {
    display: block;
    background: #5d6d7e;
    color: white;
    padding: 12px;
    margin: 5px auto;
    width: 260px;
    border-radius: 6px;
    text-align: left;
    text-decoration: none;
    transition: 0.3s;
}

.lokasi-kec:hover {
    background: #1abc9c;
}

/* ================= CONTAINER ANAK ================= */
.lokasi-kabupaten-container,
.lokasi-kecamatan-container,
.lokasi-desa-container {
    display: none;
}

.show {
    display: block;
}

/* ================= PROPERTY ================= */
.property {
    background: white;
    padding: 60px 20px;
}

.property h2 {
    text-align: center;
    margin-bottom: 30px;
}

.property-list {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 15px;
}

.card-content h3 {
    margin-bottom: 10px;
}

.price {
    color: #00b894;
    font-weight: bold;
}

/* ================= LAYANAN ================= */
.layanan {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.layanan-box {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ================= GALERI ================= */
.galeri {
    padding: 60px 20px;
    background: white;
    text-align: center;
}

.galeri-list {
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.galeri-list img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.galeri-list img:hover {
    transform: scale(1.05);
}

/* ================= KONTAK ================= */
.kontak {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.kontak form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kontak input,
.kontak textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.kontak button {
    padding: 10px;
    border: none;
    background: #00b894;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.kontak button:hover {
    background: #019875;
}

/* ================= FOOTER ================= */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 15px;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {

    .search-bar {
        display: none;
    }

    .search-box {
        width: 250px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .menu {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 200px;
    display: none;
    border-radius: 5px;
    padding: 10px 0;
    z-index: 2001;
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        margin: 10px 0;
        text-align: center;
    }

    .menu a {
        color: white;
    }

    /* SEARCH BAR MOBILE */
    .search-bar {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    margin: 10px;
    max-width: 100%;
    background: white;
    z-index: 100;
    padding: 4px 10px;
    border-radius: 5px;
    }

    /* SEARCH DESKTOP HILANG */
    .search-desktop {
        display: none;
    }
}

/* ================= WHATSAPP ================= */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    padding: 10px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: 0.3s;
}

.whatsapp-float img {
    width: 30px;
}

.whatsapp-float span {
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.whatsapp-float:hover {
    transform: scale(1.05);
}


/* ================= SEARCH FULL MOBILE ================= */

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.back-btn {
    text-decoration: none;
    font-size: 24px;
    color: #00b894;
}

.search-header h2 {
    color: #00b894;
}

.search-full {
    padding: 20px;
}

.search-full-box {
    border: 2px solid #00695c;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
}

.search-full-box input {
    border: none;
    outline: none;
    width: 100%;
    margin-left: 10px;
    font-size: 18px;
}

.search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.search-top-btn {
    background: none;
    border: none;
    color: #00a651;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* ================= DAFTAR PROPERTI MOBILE ================= */

@media (max-width: 768px) {

    .daftar-page .menu {
        display: flex;
        position: static;
        background: transparent;
        width: auto;
        flex-direction: row;
        padding: 0;
    }

    .daftar-page .navbar {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

}

