* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

:root {
    /* --primary: #0056d2;
    --dark: #0d2144;
    --light: #ffffff;
    --gray: #666; */
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
} 
 
:root {
    --primary: #0A2A66;
    --primary-light: #123D8D;
    --secondary: #D4AF37;
    --secondary-light: #C89B3C;
    --white: #FFFFFF;
    --light-bg: #F8F9FC;
    --text-dark: #1E1E1E;
    --text-gray: #6B7280;
    --body: #f4f7f6;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    background-color:var(--body);
}

a,
button {
    transition: all 0.3s ease;
}

section,
div,
header,
nav {
    max-width: 100%;
}

/* MAIN SECTION */


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    flex-wrap: wrap;
	background: #fff;
	border-bottom: 1px solid #eee;
	position: fixed;
    width: 100%;
	top: 0;
	z-index: 1000;
    backdrop-filter: blur(10px);
    transition: 0.4s ease;
    height: 70px;
}

header:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-header h2 {
    font-size: 28px;
    font-weight: bold;
}
img {
    max-width: 100%;
    /* display: block; */
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
    transition: 0.4s ease;
}

.logo-img:hover {
    transform: scale(1.08) rotate(2deg);
}

.logo-text {
    color: #0d4095;
    font-size: 22px;
    font-weight: bold;
}

.logo-subtext {
    color: #777;
    font-size: 12px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: 0.4s ease;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 540;
	position: relative;
    transition: 0.3s ease;
    /* padding: 8px 0; */
}
		
/* nav ul li a:before{
	content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: var(--primary);
    transition: 0.4s ease;
}
		
nav ul li a:hover::before {
    width: 100%;
} */

nav ul li a:hover {
    background: var(--secondary);
    padding: 7px 20px;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}


.header-actions {
    display: flex;
    align-items: flex-end;
}
.header-actions .icon {
    font-size: 20px;
    margin-right: 20px;
    color: #555;
    cursor: pointer;
}

.btn-primary{
    width:100%;
    margin-top:15px;
    padding:14px;
    border-radius:12px;
    border:1px solid var(--secondary-light);
    background:white;
    color:var(--secondary-light);
    font-weight:700;
    cursor:pointer;
}

.btn-primary:hover{
    width:100%;
    border-radius:12px;
    border:1px solid var(--secondary-light);
    background:var(--primary);
    color:var(--secondary);
    font-weight:700;
    cursor:pointer;
}

.btn-login {
    background: transparent;
    color: var(--secondary-light);
    border: 1.5px solid var(--secondary-light); /* Gaya Outline yang lebih profesional */
    padding: 10px 28px;
    border-radius: 10px; /* Sudut presisi (tidak terlalu bulat) */
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.3px;
}

.btn-login:hover {
    background: var(--secondary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 42, 102, 0.15); /* Cahaya navy lembut */
}

.btn-login::before {
    display: none; /* Menghapus efek before lama yang mengganggu animasi */
}
.btn-post {
    border: none;
    color: white;
    background-color:var(--secondary);
    padding: 8px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
}

.btn-login,
.btn-post,.btn-search-main {
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.btn-login:hover,
.btn-post:hover,.btn-search-main:hover {
    /* transform: translateY(-3px); */
    /* box-shadow: 0 10px 20px rgba(212, 175, 55, 0.56); */
    background-color: var(--secondary-light);
}

.btn-post::before,
.btn-login::before,
.btn-search-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    /* background: rgba(255,255,255,0.2); */
    transition: 0.5s;
}

.btn-post:hover::before,
.btn-login:hover::before {
    left: 100%;
}

.menu-toggle{
    display: none; /* hidden di desktop */
}

.menu-toggle span {
    transition: 0.4s ease;
}
/*heroslider*/
.hero-slider,
.carousel-container {
    position: relative;
    width: 100%;
    height: auto; /* Biarkan tinggi otomatis mengikuti gambar */
    overflow: hidden;
    margin-top: 30px;
}

.carousel-slide {
    display: none; 
    width: 100%;
    position: relative;
}

.active-slide { 
    display: block; 
    animation: fade 0.8s; 
}

/* =========================================
   2. HAPUS OVERLAY GELAP (KARENA TEKS MENYATU DI GAMBAR)
========================================= */
.slider-overlay,
.overlay {
    display: none !important;
}

/* =========================================
   3. TOMBOL NAVIGASI (PANAH)
========================================= */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Memastikan persis di tengah secara vertikal */
    width: auto;
    padding: 12px 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.3); /* Dibuat agak gelap agar terlihat di gambar cerah */
    border: none;
    border-radius: 5px; /* Opsional: Membuat kotak panah sedikit melengkung */
    user-select: none;
    transition: 0.3s;
    z-index: 5;
}
.next { right: 20px; }
.prev { left: 20px; }

.prev:hover, .next:hover { 
    background-color: rgba(0, 0, 0, 0.8); 
    color: white; 
}

/* Animasi Fade */
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* =========================================
   4. FULL RESPONSIVE MOBILE / TABLET
========================================= */
@media (max-width: 768px) {

    
    /* Sembunyikan panah di layar HP agar tidak menutupi gambar banner */
    .prev, .next {
        display: none;
    }
}
/* Indikator Titik (Dots) */
.dots-container {
    position: absolute;
    bottom: 80px; /* Di atas kotak pencarian */
    width: 100%;
    text-align: center;
    z-index: 5;
}
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}
.active-dot { background-color: white; width: 25px; border-radius: 10px; }
/* Animasi Fade */
@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}


/* SEARCH SECTION */
.search-wrapper {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: -80px auto 40px; /* Mengambang di atas carousel */
    z-index: 20;
}
/* Tab Buy/Rent di pojok kiri */
.search-tabs-container {
    display: inline-flex;
    background: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}
.search-tab {
    padding: 15px 40px;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: 0.3s;
    border-bottom: 3px solid transparent;
}
.search-tab.active {
    color: var(--secondary);
    border-bottom: 3px solid var(--secondary);
}
/* Kotak Utama Putih */
.search-main-card {
    background: white;
    padding: 30px;
    border-radius: 0 12px 12px 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
/* Baris Input: Menggunakan Grid agar rapi */
.input-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr auto;
    gap: 20px;
    align-items: end;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}
.input-group label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}
.input-wrapper {
    position: relative;
}
.input-wrapper input, .input-wrapper select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #555;
    outline: none;
    box-sizing: border-box;
}

/* Khusus Price Range */
.price-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0 10px;
}
.price-range-inputs input {
    border: none;
    padding: 12px 5px;
    width: 100%;
}
.price-range-divider { color: #ccc; }
/* Tombol Search Biru */
.btn-search-main {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}
.btn-search-main:hover { background: var(--secondary-light); }
/* Baris Kategori Ikon di Bawah */
.category-row {
    display: flex;
    justify-content: space-around;
    padding-top: 25px;
}
.cat-icon{
    width: 65px;
    height: 65px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff, #f3f6fb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    color: var(--secondary);
}

.cat-icon svg{
    width: 28px;
    height: 28px;
}

.cat-item{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.3s ease;
}

.cat-item span{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.cat-item:hover .cat-icon{
    transform: translateY(-8px) scale(1.05);
    background: var(--secondary);
    color: white;
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.cat-link{
    text-decoration: none;
    color: inherit;
    display: block;
}

.cat-link:hover{
    text-decoration: none;
}

/* =========================================
   PREMIUM LOCATION TABS
========================================= */
.filter-tabs-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 25px;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px 5px 20px 5px; /* Memberi ruang untuk bayangan tombol */
}

/* Tab Tidak Aktif (Netral, Rapi, Minimalis) */
.tab {
    flex-shrink: 0;
    padding: 10px 26px;
    background: white;
    border: 1px solid #E5E7EB; /* Garis abu-abu super halus, BUKAN EMAS */
    color: var(--text-gray); /* Teks abu-abu */
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* Efek saat kursor diarahkan ke Tab */
.tab:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #F8FAFC;
}

/* Tab Aktif (Mencolok dan Elegan) */
.tab.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 15px rgba(10, 42, 102, 0.25); /* Bayangan tebal warna navy */
    transform: translateY(-2px); /* Efek timbul */
}
.properties-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-top:30px;
}
/* viewport */
.property-carousel-viewport {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px; /* Tambahkan sedikit padding agar bayangan tidak terpotong */
    width: 100%;       /* Pastikan lebar viewport 100% dari container */
    box-sizing: border-box;
}

.property-carousel-viewport .card {
    min-width: 300px; /* Lebar minimum */
    width: 300px;     /* Lebar tetap agar seragam */
    transition:0.4s ease;
    display: flex;
    flex-direction: column;
}

.property-carousel-viewport .card:hover{
    transform:translateY(-10px);
    box-shadow:0 1px 20px rgba(0,0,0,0.15);
}

.property-carousel-viewport .card-content {
    min-width: 0; 
}

.property-carousel-viewport::-webkit-scrollbar {
    display: none;
}
.property-card{
    background: white;
    border-radius: 20px;
    overflow: visible !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.property-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-link:hover .card {
    transform: translateY(-5px);
    transition: 0.3s ease;
}
.card {
    min-width: 300px;
    flex: 0 0 auto;    /* Mencegah kartu menyusut */
    background: white;
    border-radius: 15px;
    overflow: hidden !important; 
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    flex-shrink: 0;
    position: relative;
    transition: 0.3s ease;
    
    /* Mengaktifkan Flexbox untuk menyelaraskan tinggi */
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    /* Transisi untuk kehalusan efek zoom */
    transition: transform 0.5s ease; 
}

.card:hover .card-img {
    transform: scale(1.05); /* Membesarkan gambar di dalam */
}

/* Pastikan badge dan wishlist tetap di atas gambar */
.badge, .wishlist-icon {
    z-index: 2;
}



.card-body{
    padding: 20px;
}

.card-title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 4px 0;
    display: block; /* Harus block atau -webkit-box */
    width: 100%;    /* Memastikan lebar tidak melampaui kartu */
    max-width: 100%; 
    white-space: nowrap;      /* Memaksa teks 1 baris */
    overflow: hidden;         /* Menyembunyikan teks yang meluap */
    text-overflow: ellipsis;  /* Menambahkan titik-titik (...) */
    
}
.card-loc {
    color: gray;
    font-size: 13.5px;
    margin: 0 0 8px 0; /* Jarak rapat ke Harga */
}
.card-price {
    color: var(--primary);
    font-weight: bold;
    margin: 0 0 15px 0; /* Menghapus margin 20px bawaan sebelumnya */
}
/* =========================================
   PREMIUM PROPERTY CARD (REFINED)
========================================= */
/* Membersihkan background abu-abu dari fitur agar terlihat lega */
.card-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 5px; /* Jarak pas ke tombol bawah */
}

.feature-item {
    background: #f8f9fc;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13.5px;
    color: var(--text-gray); /* Warna teks abu-abu elegan */
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.feature-icon{
    width: 18px;
    height: 18px;
    stroke: var(--secondary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.card-info{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.card-content {
    /* Padding atas dikurangi jadi 15px */
    padding: 15px 20px 20px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
}
.wishlist-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 8px;
    border-radius: 50%;
}
/* CARD HOVER PREMIUM */
.properties-grid .card{
    min-width:100%;
    transition:0.4s ease;
    position:relative;
}

.properties-grid .card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* IMAGE ZOOM */
.properties-grid .card-img{
    overflow:hidden;
}

.properties-grid .card-img::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    opacity:0;
    transition:0.4s;
}

.properties-grid .card:hover .card-img::before{
    opacity:1;
}

.properties-grid .card:hover .card-img{
    transform:scale(1.03);
}
.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    margin-top:40px;
    flex-wrap:wrap;
}

.page-btn{
    width:45px;
    height:45px;
    border:none;
    border-radius:12px;
    background:white;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
    box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

.page-btn:hover{
    background:var(--secondary-light);
    color:white;
    transform:translateY(-3px);
}

.page-btn.active{
    background:var(--secondary);
    color:white;
}

.next-btn{
    width:auto;
    padding:0 20px;
}

.see-all {
    text-decoration: none;
    color: var(--secondary);
    font-weight: 600;
}
/* nav button */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
}

.btn-left {
    left: 20px;
}

.btn-right {
    right: 20px;
}

/* dots */
.carousel-dots {
    text-align: center;
    margin-top: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    background: #ccc;
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
}

.carousel-dot.active {
    background: var(--secondary-light);
}
.view-all-wrapper{
    display: flex;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 20px;
}

.view-all-btn{
    background: var(--secondary);
    color: white;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(212,175,55,0.25);
}

.view-all-btn:hover{
    background: var(--secondary-light);
    /* transform: translateY(-3px); */
    box-shadow: 0 12px 25px rgba(212,175,55,0.35);
}
/* Area Tombol Bawah dengan Garis Pemisah */
.property-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    margin-top: auto; /* Memaksa tombol selalu di bawah */
}

/* Footer */
footer {
    background-color: #122141;
    color: #eee;
    padding: 20px 70px;
}
.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}
.footer-about {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}
.footer-links h4 {
    color: var(--secondary);
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li {
    list-style:none;
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:10px;
    color:#d6d6d6;
    font-size:14px;
    line-height:1.6;
    transition:0.3s ease;
}
.footer-links ul li:hover{
    color:white;
    transform:translateX(5px);
}

.footer-links ul li:hover .footer-icon{
    background:var(--secondary-light);
    color:white;
    transform:rotate(-5deg) scale(1.05);
    box-shadow:0 10px 25px rgba(0,86,210,0.25);
}
.footer-links ul li a {
    text-decoration: none;
    color: #ccc;
    font-size: 14px;
}
.footer-bottom{
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p{
    color: #ccc;
    font-size: 14px;
    margin: 0;
}
.footer-icon{
    min-width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:rgba(255,255,255,0.08);
    color:#4f8cff;
    transition:0.3s ease;
}



/*RESPONSIVE 1024px*/
@media (max-width: 1024px) {

header {
    padding: 15px 4%;
}

nav ul li {
    margin: 0 10px;
}

.btn-login,
.btn-post {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-login {
    border: 1px solid var(--secondary);
    color: var(--secondary);
    background-color: white;
    padding: 8px 25px;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;	

}

.btn-post {
border: none;
color: white;
background-color: var(--secondary);
padding: 8px 25px;
border-radius: 5px;
cursor: pointer;
}
    .input-row{
    grid-template-columns: repeat(2,1fr);
}
.category-row{
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.overlay h1{
    font-size: 38px;
}
.overlay p{
    font-size: 16px;
}
.properties-grid{
    grid-template-columns:repeat(2,1fr);
}
.card {
    min-width: 260px;
}
}



/*RESPONSIVE 768px*/
@media (max-width: 768px) {
header {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 12px 20px;
    position: sticky;
    width: 100%;
}

.header-actions { 
	display: none; 
} /* Sembunyikan tombol asli di kanan */

.logo-img {
    height: 35px;
}

.menu-toggle { 
	display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 990;
}
.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
    transition: 0.3s;

}

nav {
    width: 100%;
    
}
nav ul {
    display: none; /* Sembunyikan menu default */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    z-index: 999;
    gap: 0;
    animation: slideDown 0.4s ease;
}
nav ul.show { 
    display: flex; 
}
nav ul li {
    text-align: center;
    width: 100%;
    margin: 0;
}
nav ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 15px;
}
nav ul li a:hover {
    background: var(--secondary);
    padding: 5px 15px;
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    /* font-size: 16px; */
    margin:10px;
}

.header-actions{
        display: none;
    }

    /* Hero */
.hero-slider,
.carousel-container{
        margin-top:0px !important;
        height: auto;
}
.overlay{
    padding: 20px;
    text-align: center;
}
.overlay h1{
    font-size: 28px;
}
.overlay p{
    font-size: 14px;
}
.dots-container {
        bottom: 8px; /* Posisinya diturunkan, tapi tidak semepet versi 480px */
    }
    
.dot {
    height: 7px; 
    width: 7px;
    margin: 0 4px;
}

.active-dot {
    width: 16px; /* Ukuran transisi antara desktop dan HP kecil */
}
/* Search */
.search-wrapper{
    margin-top: 10px !important;
}
.input-row { 
        grid-template-columns: 1fr; /* Menumpuk ke bawah di HP */
        gap: 10px; 
    }
.btn-search-main{
    margin-top: 20px;
    width: 100%;
}

.category-row { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom ikon di HP */
    gap: 15px; 
}
.cat-item { flex-direction: column; font-size: 11px; text-align: center; }
/* Search Wrapper di Mobile */
    
.properties-grid{
    grid-template-columns:1fr;
    gap:20px;
}
.pagination{
    gap:10px;
}
.page-btn{
    height:40px;
    font-size:13px;
}
.next-btn{
    padding:0 16px;
}
.section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0px;
}
.nav-btn {
    display: none;
}
.card {
    min-width: 85%;
}
.card-img {
    height: 180px;
}
.card-title {
    font-size: 16px;
}

.view-all-wrapper{
    padding: 0 20px;
}
.view-all-btn{
    width: 100%;
    text-align: center;
}



footer{
    padding: 30px;
}

.footer-container { 
    grid-template-columns: 1fr; 
    text-align: center; 
}
.footer-logo{
        width: 140px;
}
.footer-links h4{
    color: var(--secondary);
    text-align: left;
}
.footer-links ul{
padding: 0;
}
.footer-links ul li{
    list-style: none;
    font-size:13px;
}
.footer-icon{
        min-width:34px;
        height:34px;
}
}



/*RESPONSIVE 480px*/
@media (max-width: 480px) {

header {
    padding: 12px 15px;
}

.logo-img {
    height: 30px;
}

nav ul li a {
    font-size: 14px;
    padding: 14px 20px;
}

.menu-toggle span {
    width: 22px;
}
.overlay h1{
        font-size: 22px;
}
.overlay p{
    font-size: 13px;
}
.search-main-card{
    padding: 20px;
}
.search-tab{
    padding: 12px 20px;
    font-size: 14px;
}
.cat-item{
    justify-content: center;
}
.card {
    min-width: 100%;
}
.carousel-section {
    padding: 20px 15px;
}
.section-header h2 {
    font-size: 22px;
}
.search-wrapper{
    margin-top:10px;
}
.dots-container {
        bottom: 2px; /* Posisi dibuat lebih mepet ke bawah gambar */
    }
.dot {
    height: 5px; 
    width: 5px;
    margin: 0 3px; /* Jarak antar titik dirapatkan */
}

.active-dot {
    width: 12px; /* Ukuran titik aktif sedikit diperkecil */
}
}


/*RESPONSIVE 992px*/
@media (max-width: 992px) {
.properties-layout {
    grid-template-columns: 1fr;
}
.filter-sidebar {
    order: -1; /* Filter muncul di atas grid pada mobile */
}
.filter-card {
    position: relative;
    top: 0;
}
}


/* ANIMASI SECTION */
/* =========================
   ANIMATION HAMBURGER 'X'
========================= */
.menu-toggle.change .bar1 { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-toggle.change .bar2 { opacity: 0; }
.menu-toggle.change .bar3 { transform: rotate(45deg) translate(-5px, -6px); }

/* =========================
   DROPDOWN ANIMATION
========================= */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}







/*=====================================================================*/
/* PREMIUM AD SLIDER (PAGE ALL PROPERTIES) */
/*=====================================================================*/
.property-ad-slider {
    position: relative;
    width: 100%;
    height: 480px; /* Dibuat sedikit lebih tinggi agar lega */
    overflow: hidden;
    border-radius: 0px 0px 30px 30px; /* Sudut lebih membulat elegan */
    padding: 0; /* Menghapus padding luar agar gambar full menempel ke tepi */
    margin-top: 70px; /* Jarak agar tidak tertutup navbar fixed */
    box-shadow: var(--shadow-md);
}

.ad-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.ad-slide.active {
    opacity: 1;
    z-index: 1;
}

.ad-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02); /* Sedikit di-zoom agar tidak ada border putih bocor */
}

/* Overlay Mewah: Gradasi dari Navy ke Transparan */
.ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 42, 102, 0.95) 0%, rgba(10, 42, 102, 0.5) 45%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%; /* Padding proporsional agar teks tidak mentok layar */
}

/* Wrapper untuk animasi masuk */
.ad-content-wrapper {
    max-width: 700px;
    animation: fadeUpSlider 0.8s ease-out;
}

@keyframes fadeUpSlider {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Badge Premium */
.ad-badge {
    background: var(--secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.ad-overlay h1 {
font-size: 44px;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
    
    /* Tambahan agar teks terpotong dengan (...) */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Batasi maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Fitur dengan Ikon */
.ad-features {
    font-size: 15px;
    color: #F3F4F6;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    font-weight: 500;
}

.ad-features i {
    color: var(--secondary);
    font-size: 16px;
}

.dot-separator {
    color: rgba(255,255,255,0.4);
    font-size: 20px;
}

.ad-price {
    font-size: 34px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 35px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* Tombol CTA (Call to Action) Modern */
.ad-btn {
    background: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.ad-btn:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

/* Responsivitas Layar Kecil untuk Slider Baru */
@media(max-width:768px) {
    .ad-content-wrapper {
        max-width: 100%;
        width: 100%;
    }
    .property-ad-slider {
        height: 380px;
    }
    .ad-overlay {
        background: linear-gradient(to top, rgba(10, 42, 102, 0.95) 0%, rgba(10, 42, 102, 0.6) 60%, transparent 100%);
        padding: 0 5%;
        justify-content: flex-end;
        padding-bottom: 40px;
    }
    .ad-overlay h1 { font-size: 28px; }
    .ad-price { font-size: 24px; margin-bottom: 20px; }
    .ad-features { flex-wrap: wrap; font-size: 13px; gap: 8px; margin-bottom: 15px;}
    .dot-separator { display: none; } /* Sembunyikan titik pemisah di HP */
}

/* =========================================
   PREMIUM STICKY SEARCH BAR
========================================= */
.sticky-filter-container {
    background-color: var(--body);
    padding: 25px 0; /* Memberi ruang bernapas di atas/bawah */
    position: sticky;
    top: 70px; 
    z-index: 900;
    width: 100%;
}

.search-filter-wrapper {
    background: white;
    padding: 10px 15px 10px 25px; /* Padding tidak simetris (kiri lebih lebar) untuk ruang teks */
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0px 5%;
    box-shadow: 0 8px 30px rgba(10, 42, 102, 0.08); /* Efek melayang elegan */
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.search-filter-wrapper:focus-within {
    box-shadow: 0 12px 40px rgba(10, 42, 102, 0.12); /* Bayangan membesar saat diklik */
    transform: translateY(-2px);
}

.search-main {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid #E5E7EB; /* Garis pemisah yang sangat halus */
    padding-right: 15px;
}

.search-main i {
    color: var(--text-gray);
    font-size: 18px;
}

.search-main input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
    background: transparent;
}

.search-main input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

/* =========================================
   PERBAIKAN POSISI TOMBOL FILTER & CARI
========================================= */
.filter-actions {
    display: flex !important;
    flex-direction: row !important; /* Memaksa tombol berbaris ke samping */
    align-items: center !important; /* Memastikan keduanya rata tengah secara vertikal */
    gap: 12px !important; /* Jarak yang pas antar tombol */
    flex-shrink: 0; /* Mencegah area tombol menyusut/tergencet */
}

.btn-filter-popup, 
.btn-search-trigger {
    white-space: nowrap; /* Mencegah teks turun ke baris baru */
    margin: 0 !important; /* Mereset margin agar sejajar sempurna */
    height: 45px; /* Menyamakan tinggi kedua tombol */
}

/* Tombol Filter di Search Bar */
.btn-filter-popup {
    background: var(--light-bg);
    color: var(--primary);
    border: 1px solid transparent;
    padding: 12px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-filter-popup:hover {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.1);
}

/* Tombol Cari (Cari) di Search Bar */
.btn-search-trigger {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
    transition: all 0.3s ease;
}

.btn-search-trigger:hover {
    background: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* =========================================
   PREMIUM FILTER MODAL (POP-UP)
========================================= */
.filter-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(10, 25, 50, 0.6); /* Latar belakang blur lebih gelap (premium) */
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}

.filter-modal.active {
    display: flex;
}

.modal-content {
    background-color: #FFFFFF;
    margin: 5% auto;
    width: 90%;
    height: 550px;
    max-height: 85vh;
    max-width: 600px;
    border-radius: 24px; /* Sudut lebih membulat elegan */
    overflow: hidden;
    animation: slideUpModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

@keyframes slideUpModal {
    from { transform: translateY(40px) scale(0.98); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Header Bersih dan Minimalis */
.modal-header {
    padding: 24px 30px;
    background: #FFFFFF; /* Diubah menjadi putih bersih */
    border-bottom: 1px solid #E5E7EB; /* Garis pemisah super halus */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark); /* Warna teks gelap netral */
    margin: 0;
}

/* Tombol X elegan dalam lingkaran abu-abu */
.close-modal {
    font-size: 22px;
    color: #9CA3AF;
    background: #F3F4F6;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: #E5E7EB;
    color: var(--text-dark);
    transform: rotate(90deg); /* Efek putar kecil saat di-hover */
}

/* Body Modal */
.modal-body { 
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    background: #FFFFFF;
}

/* Scrollbar Elegan (Menggantikan warna emas) */
.modal-body::-webkit-scrollbar {
    width: 6px;
}
.modal-body::-webkit-scrollbar-track {
    background: #FFFFFF;
}
.modal-body::-webkit-scrollbar-thumb {
    background: #D1D5DB; /* Abu-abu netral */
    border-radius: 10px;
}

/* Label Filter */
.filter-group { margin-bottom: 30px; }
.filter-group label {
    display: block; 
    font-weight: 700; 
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-dark); /* Warna lebih kalem, tidak biru mencolok */
    letter-spacing: 0.3px;
}

/* Tag / Tombol Pilihan */
.tag-cloud { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 12px; 
}

.tag {
    padding: 10px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: #FFFFFF;
    color: var(--text-gray);
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.tag:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #F8FAFC;
}

/* Tag Aktif (Navy Blue agar selaras dengan tombol Cari) */
.tag.active { 
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 42, 102, 0.2);
    transform: translateY(-1px);
}

/* Input Range Harga */
.range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.range-inputs input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #E5E7EB;
    background: #F9FAFB; /* Latar abu-abu sangat muda */
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
}

.range-inputs input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.range-inputs input:focus {
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 42, 102, 0.08); /* Glow biru khas MacOS/Modern Web */
}

/* Footer Modal */
.modal-footer {
    padding: 24px 30px;
    background: #FFFFFF;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 15px;
}

.btn-reset {
    flex: 1;
    padding: 14px;
    border: none;
    background: #F3F4F6;
    color: var(--text-gray);
    border-radius: 14px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    background: #E5E7EB;
    color: var(--text-dark);
}

.btn-apply-full {
    flex: 2.5; /* Proporsi tombol utama lebih besar */
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.2);
}

.btn-apply-full:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.3);
}
.modal-header h3{
    font-size: 20px;
    font-weight: 600;
}

.close-modal{
    font-size: 26px;
    cursor: pointer;
    transition: 0.3s;
}

.close-modal:hover{
    color: var(--secondary);
}
.range-inputs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.range-inputs input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #E5E7EB;
    background: #F9FAFB;
    outline: none;
    transition: 0.3s ease;
    font-family: inherit;
}

.range-inputs input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(10, 42, 102, 0.1);
}
.btn-group-row{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-group-row button{
    padding: 10px 18px;
    border: none;
    border-radius: 30px;
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.3s;
}

.btn-group-row button:hover{
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}
.share-wrapper{
    position: relative;
}

/* Tombol Share yang Netral */
.share-btn {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.share-btn:hover {
    background: var(--primary);
    border-color: #D1D5DB;
    transform: translateY(-2px); /* Efek melayang sama seperti tombol WA */
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.action-icon {
    width: 18px;
    height: 18px;
    stroke: white; /* Warna ikon share lebih gelap */
    fill: white;
}

/* =========================
   SHARE POPUP
========================= */
.share-popup-global{
    position: fixed;
    width: 180px;
    background: white;
    border-radius: 14px;
    padding: 10px;
    display: none;   /* penting */
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 99999;
}
.share-popup-global.show{
    display: flex;
}
.share-popup-global a,
.share-popup-global button{
    width: 100%;
    padding: 10px;
    border: none;
    background: #f5f7fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    text-align: left;
}


/* =========================
   WHATSAPP BUTTON
========================= */
/* Tombol WhatsApp Solid & Mencolok */
.whatsapp-btn {
    flex: 1;
    height: 42px;
    background: #25D366; /* Warna solid hijau WhatsApp */
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Jarak ikon dan teks */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); /* Glow hijau lembut */
}


.whatsapp-btn:hover {
    background: #20BA56;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.share-popup-global{
    position: fixed;
    width: 220px;
    background: white;
    border-radius: 18px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    z-index: 99999;
    animation: fadeUp 0.25s ease;
}

.share-popup-global.show{
    display: flex;
}

/* item */
.share-item{
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    background: #f8f9fc;
    color: #333;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s ease;
}

/* icon */
.share-icon{
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* hover colors */
.whatsapp-share:hover{
    background: #25D366;
    color: white;
}

.facebook-share:hover{
    background: #1877F2;
    color: white;
}

.telegram-share:hover{
    background: #229ED9;
    color: white;
}

.copy-share:hover{
    background: #0f2b6b;
    color: white;
}

/* animation */
@keyframes fadeUp{
    from{
        opacity: 0;
        transform: translateY(10px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

/*RESPONSIVE 678px*/
@media(max-width:768px){
    
    .property-ad-slider{
        margin-top: 0px;
        height: 380px; /* Diperbesar agar konten tidak menyempit */
        border-radius: 0px 0px 18px 18px;
        margin-bottom: 0px;
    }

    .ad-overlay{
        /* Ubah flex-end menjadi center agar konten berada di tengah */
        justify-content: center; 
        padding: 20px;
        padding-top: 0px; /* Memberi jarak aman ekstra dari navbar */
    }

    /* .ad-slide{

    } */
    .ad-overlay h1{
        font-size: 20px;
        max-width: 100%;
    }
    .ad-overlay p{
        max-width: 100%;
        font-size: 12px;
        margin-top: 2px;
    }
    .ad-price{
        font-size: 20px;
    }

    .ad-btn{
        padding: 10px 20px;
        font-size: 14px;
    }

.modal-content{
        max-width: 95%;
        max-height: 85vh;
    }
    .share-popup-global{
        width: 140px;
    }
}

/*RESPONSIVE 480px*/
@media(max-width:480px){

    
    .property-ad-slider{
        margin-top: 0px;
        height: 340px; /* Diperbesar dari 220px */
        border-radius: 0px 0px 15px 15px;
    }

    .ad-overlay{
        padding: 15px;
        padding-top: 0px; /* Jarak aman dari navbar untuk HP layar kecil */
    }

    .ad-badge{
        padding: 6px 14px;
        font-size: 11px;
    }

    .ad-btn{
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    .sticky-filter-container { 
        top: 60px; 
        padding: 10px 10px;
         }
    .hide-mobile { display: none; }
    .search-filter-wrapper { border-radius: 15px; margin: 0px; margin-top: 10px;}
    .btn-filter-popup span { display: none; } /* Hanya tampil ikon di mobile */
    .modal-content { 
        margin: 20% auto; 
        width: 95%; 
        height: 90vh;
        margin-top: 80px;
    }
.filter-modal{
        padding: 0;
        align-items: flex-end;
    }


    .range-inputs{
        grid-template-columns: 1fr;
    }

    .modal-footer{
        flex-direction: column;
    }

    .btn-reset,
    .btn-apply-full{
        width: 100%;
    }

    .tag,
    .btn-group-row button{
        font-size: 13px;
        padding: 9px 14px;
    }
    .share-popup-global{
        width: 190px;
        height: 200px;
        padding: 10px;

    }

    .share-item{
        font-size: 13px;
        padding: 10px;
    }

    .property-actions{
        gap: 8px;
    }

    .share-btn{
        width: 45px;
        height: 45px;
    }

    .whatsapp-btn{
        height: 45px;
        font-size: 14px;
    }

    .share-popup-global{
        width: 130px;
        bottom: 55px;
    }

    .share-popup-global a,
    .share-popup-global button{
        font-size: 12px;
        padding: 8px;
    }
}

/*====================*/

/* =========================
   MOBILE MENU
========================= */
.mobile-menu{
    position:fixed;
    top:80px;
    right:-100%;
    width:100%;
    height:calc(100vh - 80px);
    background:white;
    z-index:999;
    transition:.4s;
    padding:40px;
    display:flex;
    flex-direction:column;
    gap:25px;
}

.mobile-menu.active{
    right:0;
}

.mobile-menu a{
    font-size:22px;
    color:var(--dark);
    font-weight:600;
}

/* =========================
   BREADCRUMB
========================= */
.breadcrumb{
    width:90%;
    max-width:1400px;
    margin:30px auto;
    display:flex;
    gap:10px;
    font-size:14px;
    color:var(--text);
}

.breadcrumb a{
    color:var(--text);
}

/* =========================
   DETAIL PAGE
========================= */
.detail-page{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 400px;
    gap:30px;
    align-items:start;
}

/* =========================================
   PREMIUM MAIN IMAGE & GALLERY
========================================= */
.main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(10, 42, 102, 0.08); /* Bayangan lembut */
    background: #000; /* Antisipasi gambar loading */
    margin-top: 100px;
}

.main-image img {
    height: 500px;
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Badge di dalam Main Image */
.main-image .badge {
    position: absolute;
    top: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 10;
}
/* Tombol Panah Kiri Kanan (Glassmorphism) */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7); /* Putih transparan */
    color: var(--text-dark);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px); /* Efek kaca */
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
    opacity: 0.7;
}

.main-image:hover .arrow {
    opacity: 1; /* Panah muncul jelas saat gambar di-hover */
}

.arrow:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1); /* Sedikit membesar saat diklik */
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.arrow.left { left: 25px; }
.arrow.right { right: 25px; }

/* =========================================
   PREMIUM THUMBNAIL GALLERY
========================================= */
.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Ukuran proporsional dinamis */
    gap: 15px;
    margin-top: 25px;
}

.thumb-gallery img {
    height: 90px;
    width: 100%;
    object-fit: cover;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5; /* Gambar yang tidak dipilih dibuat redup */
    border: 2px solid transparent;
}

/* Efek saat Thumbnail disentuh atau aktif */
.thumb-gallery img:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.thumb-gallery img.active {
    opacity: 1;
    border: 3px solid var(--secondary); /* Garis emas */
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-4px); /* Efek timbul */
}

/* Sembunyikan foto setelah foto ke-5 */
.thumb-gallery img:nth-child(n+6) {
    display: none;
}

/* Tombol "More Photos" (+3 dsb) */
.more-photo {
    height: 90px;
    width: 100%;
    background: rgba(10, 42, 102, 0.05); /* Biru sangat transparan */
    border: 2px dashed #D1D5DB; /* Garis putus-putus abu-abu */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.more-photo:hover {
    background: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(10, 42, 102, 0.2);
}

/* =========================
   PROPERTY TITLE
========================= */


.property-title h1{
    font-size:25px;
}

.location{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--text);
}

/* =========================
   DETAIL CARD
========================= */
.detail-card{
    margin-top: 20px;
    background:white;
    padding:35px;
    border-radius:20px;
    margin-bottom:25px;
    box-shadow:var(--shadow);
}

.detail-card h2{
    margin-bottom:30px;
    font-size:24px;
}

/* INFO GRID */
.info-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.info-item{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.info-item span{
    color:var(--text);
    font-size:14px;
}

.info-item strong{
    font-size:16px;
}

/* DESCRIPTION */
.detail-card p{
    line-height:1.8;
    color:var(--text);
}

.desc-list{
    margin-top:25px;
    padding-left:20px;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.desc-list li{
    color:var(--text);
}

/* FACILITY */
.facility-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.facility-grid div{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--dark);
}

.facility-grid i{
    color:var(--primary);
}

/* =========================
   SIDEBAR
========================= */
.detail-sidebar{
    position:sticky;
    top:100px;
}

.sidebar-card{
    background:white;
    padding:30px;
    border-radius:20px;
    box-shadow:var(--shadow);
    margin-bottom:20px;
}

.sidebar-card h2{
    font-size:38px;
    color:var(--primary);
    margin-bottom:15px;
}

.sidebar-card p{
    color:var(--text);
    margin-bottom:10px;
}

/* =========================
   PREMIUM SIDEBAR CARD
========================= */
.premium-sidebar {
    padding: 35px 30px;
    border: 1px solid rgba(0,0,0,0.04);
}

.premium-sidebar h1 {
    font-size: 22px;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.location-premium {
    color: var(--text-gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.location-premium i {
    color: var(--secondary);
}

/* Kotak Highlight Harga */
.price-wrapper {
    background: var(--light-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--secondary); /* Garis emas di kiri */
    margin-bottom: 5px;
}

.price-label {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.price-wrapper h2 {
    font-size: 28px !important; 
    color: var(--primary);
    margin: 0 !important;
    font-weight: 800;
}

/* Garis Pemisah */
.sidebar-divider {
    border: none;
    border-top: 1px dashed #E5E7EB;
    margin: 25px 0;
}

/* =========================
   SOLID BUTTONS (PREMIUM)
========================= */
.btn-agent-solid {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.15);
}

.btn-agent-solid:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.25);
}

.btn-wa-solid {
    width: 100%;
    background: #25D366; /* Warna Resmi WhatsApp */
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-wa-solid:hover {
    background: #20BA56;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.full{
    width:100%;
    margin-top:20px;
}

.btn-wa{
    width:100%;
    margin-top:15px;
    padding:14px;
    border-radius:12px;
    border:1px solid #25D366;
    background:white;
    color:#25D366;
    font-weight:700;
    cursor:pointer;
}

.btn-save{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid var(--border);
    background:white;
    cursor:pointer;
    font-weight:600;
}

/* =========================================
   PREMIUM SHARE ICONS (SIDEBAR)
========================================= */
.sidebar-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    border-bottom: 1px dashed #E5E7EB; /* Garis pemisah halus di bawah judul */
    padding-bottom: 15px;
}

.share-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.share-icons div {
    width: 45px;
    height: 45px;
    border-radius: 12px; /* Menggunakan sudut membulat modern, bukan lingkaran penuh */
    background: #F3F4F6; /* Latar abu-abu sangat lembut */
    color: #4B5563; /* Warna ikon abu-abu gelap netral */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

/* Efek Hover dengan Warna Merek (Brand Colors) */
.share-icons div:nth-child(1):hover { 
    /* Facebook Blue */
    background: #1877F2;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.share-icons div:nth-child(2):hover { 
    /* Twitter/X Dark */
    background: #14171A; 
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(20, 23, 26, 0.25);
}

.share-icons div:nth-child(3):hover { 
    /* WhatsApp Green */
    background: #25D366;
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.share-icons div:nth-child(4):hover { 
    /* Copy Link (Warna Utama Anda) */
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(10, 42, 102, 0.3);
}

/* =========================
   SIMILAR PROPERTY
========================= */
.similar-section{
    width:90%;
    max-width:1400px;
    margin:80px auto;
}

.section-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    margin-bottom:30px;
}

.section-header h2{
    font-size:32px;
}

.section-header a{
    color:var(--primary);
    font-weight:600;
}

.property-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.property-card{
    background:white;
    border-radius:20px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.3s;
}

.property-card:hover{
    transform:translateY(-6px);
}

.property-image{
    position:relative;
}

.property-image img{
    height:240px;
    object-fit:cover;
}

.property-content{
    padding:20px;
}

.property-content h3{
    font-size:20px;
    margin-bottom:10px;
}

.property-content p{
    color:var(--text);
    margin-bottom:15px;
}

.property-content h4{
    color:var(--primary);
    font-size:24px;
    margin-bottom:20px;
}

.property-meta{
    display:flex;
    gap:20px;
    color:var(--text);
}
/* =========================
   RESPONSIVE
========================= */
@media(max-width:1200px){

    .detail-page{
        grid-template-columns:1fr;
    }

    .detail-sidebar{
        position:relative;
        top:0;
    }

}

@media(max-width:992px){

    .nav-menu{
        display:none;
    }

    .menu-toggle{
        display:flex;
    }

    .property-grid{
        grid-template-columns:repeat(2,1fr);
    }

 
}

@media(max-width:768px){

    .btn-outline,
    .btn-primary{
        display:none;
    }

    .main-image{
        margin-top: 20px;
    }

    .main-image img{
        height:350px;
    }

    .thumb-gallery{
        grid-template-columns:repeat(3,1fr);
    }

    .property-title h1{
        font-size:30px;
    }

    .info-grid{
        grid-template-columns:1fr;
    }

    .facility-grid{
        grid-template-columns:1fr;
    }

    .property-grid{
        grid-template-columns:1fr;
    }

 

}

@media(max-width:480px){

    .header-container{
        width:95%;
    }

    .breadcrumb{
        width:95%;
    }

    .detail-page{
        width:95%;
    }

    .similar-section{
        width:95%;
    }
    .main-image{
        margin-top: 20px;
    }

    .main-image img{
        height:280px;
    }

    .thumb-gallery{
        grid-template-columns:repeat(2,1fr);
    }

    .property-title h1{
        font-size:24px;
    }

    .detail-card{
        padding:25px;
    }

    .sidebar-card{
        padding:25px;
    }

    .sidebar-card h2{
        font-size:28px;
    }

}

.search-tabs-container{position:relative}
.search-tab{width:120px;text-align:center;position:relative;z-index:2}
.search-tab.active{transform:translateY(-2px)}

/* Lightbox Popup */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
}
.close-lightbox {
    position: absolute;
    top: 20px; right: 40px;
    color: white; font-size: 40px; cursor: pointer;
}
/* =========================================
   LIGHTBOX ARROWS (TOMBOL NEXT/PREV)
========================================= */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15); /* Putih transparan */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px); /* Efek kaca */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2005;
}

.lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.1); /* Sedikit membesar saat disentuh */
}

.lightbox-arrow.left { left: 40px; }
.lightbox-arrow.right { right: 40px; }

/* Responsif untuk layar HP */
@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    .lightbox-arrow.left { left: 15px; }
    .lightbox-arrow.right { right: 15px; }
}

/* Thumbnail Gallery */
.thumb-gallery img.active {
    border: 3px solid var(--secondary);
}

.thumb-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); /* Responsif otomatis */
    gap: 10px;
    margin-top: 15px;
}

.thumb-gallery img {
    height: 80px;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.thumb-gallery img.active {
    border: 3px solid var(--secondary);
}

/* Sembunyikan foto setelah foto ke-8 dan tampilkan indikator */
.thumb-gallery img:nth-child(n+8) {
    display: none;
}

.more-photo {
    height: 80px;
    background: #111827;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

/* =========================================
   STICKY BOTTOM ACTIONS (MOBILE)
========================================= */
/* Tampilan Default (Desktop): Berbaris ke bawah */
.mobile-fixed-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.mobile-fixed-actions .btn-wa-solid {
    margin-top: 0; /* Mereset margin lama agar sejajar dengan gap */
}

/* Tampilan Layar HP (max-width: 768px) */
@media (max-width: 768px) {
    /* Memberi ruang di bawah body agar konten tidak tertutup bar melayang */
    body.properties-page {
        padding-bottom: 80px; 
    }

    /* Menyulap wadah menjadi bar yang menempel di bawah */
    .mobile-fixed-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row; /* Membuat tombol berdampingan kiri-kanan */
        background: #FFFFFF;
        padding: 15px 20px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1); /* Bayangan ke arah atas */
        z-index: 9999;
        gap: 12px;
        border-top: 1px solid #E5E7EB;
    }

    /* Mengubah tombol Contact Agent menjadi Outline (Garis Luar) di HP */
    .mobile-fixed-actions .btn-agent-solid {
        flex: 1; /* Lebar seimbang */
        background: #FFFFFF;
        color: var(--primary);
        border: 1.5px solid var(--primary);
        box-shadow: none; /* Hilangkan shadow agar terlihat flat elegan */
        padding: 12px;
    }

    .mobile-fixed-actions .btn-agent-solid:hover {
        background: #F8FAFC;
    }

    /* Memastikan tombol WhatsApp juga memiliki lebar seimbang */
    .mobile-fixed-actions .btn-wa-solid {
        flex: 1;
        padding: 12px;
        margin: 0; 
    }
}

/* =========================================
   PROPERTY MAIN HEADER (ATAS DETAIL INFO)
========================================= */
.property-main-header {
    display: none; /* 1. SEMBUNYIKAN SECARA DEFAULT DI DESKTOP */
    background: #FFFFFF;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid rgba(0,0,0,0.03);
}

.property-main-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.location-main {
    font-size: 15px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.location-main i {
    color: var(--secondary);
}

.price-main {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

/* Responsivitas untuk layar HP */
@media (max-width: 768px) {
    .property-main-header {
        display: block; /* 2. MUNCULKAN KEMBALI KHUSUS DI LAYAR HP */
        padding: 20px;
        margin-top: 20px;
    }
    
    .property-main-header h1 {
        font-size: 24px;
    }
    
    .price-main {
        font-size: 26px;
    }
}


/* =========================================
   SEMBUNYIKAN INFO SIDEBAR DI HP (MENCEGAH DOBEL)
========================================= */
@media (max-width: 768px) {
    /* 1. Sembunyikan bagian Judul, Lokasi, Harga, dan Garis Pemisah di Sidebar */
    .premium-sidebar .property-title,
    .premium-sidebar .sidebar-divider {
        display: none !important;
    }
    
    /* 2. Menghilangkan "sisa" kotak putih kosong di sidebar agar tidak ada jarak berlebih */
    .premium-sidebar {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* =========================================
   PREMIUM LOGIN PAGE
========================================= */
/* Memastikan halaman login memenuhi layar dan posisinya di tengah */
body.login-page {
    background-color: var(--body);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
}

/* Kartu Login Mewah */
.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(10, 42, 102, 0.08); /* Bayangan Navy yang lembut */
    border: 1px solid rgba(0,0,0,0.03);
}

/* Header Login */
.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.back-home:hover {
    color: var(--primary); /* Berubah Navy saat disentuh */
    transform: translateX(-4px); /* Efek geser kecil */
}

.login-header h2 {
    color: var(--text-dark);
    font-size: 26px;
    margin: 0 0 10px 0;
    font-weight: 800;
}

.login-header p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

/* Form Styling */
.login-form .input-group-login {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.input-wrapper-login {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper-login i {
    position: absolute;
    left: 16px;
    color: #9CA3AF;
    font-size: 16px;
}

.input-wrapper-login input {
    width: 100%;
    padding: 14px 15px 14px 45px; /* Padding kiri dilonggarkan untuk ikon */
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-size: 14px;
    font-family: inherit;
    background: #F9FAFB;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.input-wrapper-login input:focus {
    background: var(--white);
    border-color: var(--primary); /* Border berubah Navy */
    box-shadow: 0 0 0 4px rgba(10, 42, 102, 0.08); /* Cahaya glow Navy */
}

/* Opsi Ingat Saya & Lupa Password */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 13.5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-weight: 500;
    cursor: pointer;
}

.forgot-pass {
    color: var(--secondary); /* Warna Emas untuk link lupa sandi */
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.forgot-pass:hover {
    color: var(--secondary-light);
    text-decoration: underline;
}

/* Tombol Submit */
.btn-login-submit {
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(10, 42, 102, 0.15);
}

.btn-login-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 42, 102, 0.25);
}

/* Footer (Link Daftar) */
.login-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-gray);
}

.login-footer a {
    color: var(--primary); /* Navy */
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

.login-footer a:hover {
    color: var(--secondary); /* Emas saat disentuh */
}

/* Responsif untuk Layar Handphone */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }
    
    .login-header h2 {
        font-size: 22px;
    }
}

.upload-container {
        border: 2px dashed #D1D5DB;
        border-radius: 8px;
        padding: 20px;
        background-color: #F9FAFB;
        transition: all 0.3s ease;
    }
    
    .upload-container:hover {
        border-color: #D97706;
        background-color: #FEF3C7;
    }
    
    .upload-area {
        cursor: pointer;
        padding: 30px 0;
        text-align: center;
    }
    
    .upload-area i {
        color: #9CA3AF;
        margin-bottom: 15px;
    }
    
    .upload-area p {
        font-weight: 600;
        color: #4B5563;
        margin: 0 0 5px 0;
        font-size: 16px;
    }
    
    .upload-area small {
        color: #6B7280;
    }
    
    /* Grid untuk Foto Preview */
    .preview-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
        margin-top: 20px;
    }
    
    /* Kotak masing-masing foto */
    .preview-item {
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        aspect-ratio: 1; /* Membuatnya persegi presisi */
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .preview-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    /* Tombol Silang Merah */
    .btn-remove-preview {
        position: absolute;
        top: 8px;
        right: 8px;
        background: rgba(220, 38, 38, 0.9);
        color: white;
        border: none;
        border-radius: 50%;
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 14px;
        transition: 0.2s;
    }
    
    .btn-remove-preview:hover {
        background: rgb(185, 28, 28);
        transform: scale(1.1);
    }

    /* =========================================
   CUSTOM CONTAINER & SECTION PADDING
========================================= */
.carousel-section {
    /* Atur jarak area section dari elemen atas dan bawahnya (Header / Footer) */
    padding-top: 60px;
    padding-bottom: 60px;
    width: 100%;
}

.custom-container {
    /* Lebar maksimal konten di monitor besar (ubah ke 100% jika ingin full width) */
    max-width: 100%;
    margin:0 auto;
    
    /* Atur jarak elemen dengan batas kiri dan kanan layar */
    padding-left: 20px;
    padding-right: 20px;
}

.section-header {
    /* Jarak antara judul "Featured Properties" dengan Card di bawahnya */
    margin-bottom: 30px; 
}

/* =========================================
   RESPONSIVE UNTUK MOBILE (HP)
========================================= */
@media (max-width: 768px) {
    .carousel-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .custom-container {
        /* Jarak kiri kanan biasanya dibuat lebih kecil di layar HP */
        padding-left: 15px; 
        padding-right: 15px;
    }
}