/*
Theme Name: Jabodetabek PMS
Theme URI: https://example.com
Author: Developer
Description: Tema WordPress Property Management System untuk wilayah Jabodetabek. Desain Premium Biru & Emas.
Version: 1.0.0
Text Domain: jabopms
*/

/* =========================================
   CSS VARIABLES & RESET
   ========================================= */
:root {
    --primary-blue: #0A3D62;
    --primary-gold: #D4AF37;
    --primary-gold-hover: #b5952f;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f4f6f8;
    --shadow-sm: 0 2px 5px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.1);
    --shadow-premium: 0 10px 30px rgba(10, 61, 98, 0.15);
    --sidebar-width: 260px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', sans-serif; background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 60px 0; }
.text-center { text-align: center; }
.text-blue { color: var(--primary-blue); }
.text-gold { color: var(--primary-gold); }
.btn { display: inline-block; padding: 10px 24px; border-radius: 4px; font-weight: 600; cursor: pointer; border: none; transition: 0.3s; }
.btn-primary { background: var(--primary-blue); color: var(--white); }
.btn-gold { background: var(--primary-gold); color: var(--white); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.d-flex { display: flex; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.hidden { display: none !important; }

/* Header */
header { background: var(--white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary-blue); }
.logo span { color: var(--primary-gold); }
.nav-links a { margin-left: 30px; font-weight: 500; color: var(--primary-blue); }
.nav-links a:hover { color: var(--primary-gold); }

/* Hero */
.hero { height: 90vh; background: linear-gradient(rgba(10, 61, 98, 0.7), rgba(10, 61, 98, 0.7)), url('https://picsum.photos/seed/jabodetabek/1920/1080.jpg') no-repeat center/cover; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }

/* Search Box */
.search-box { background: var(--white); padding: 30px; border-radius: 12px; box-shadow: var(--shadow-premium); margin-top: -60px; position: relative; z-index: 10; }
.search-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 4px; }

/* Cards */
.property-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid #eee; }
.card-img-wrapper { height: 250px; position: relative; }
.card-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; }
.price { color: var(--primary-blue); font-size: 1.5rem; font-weight: 700; }
.features { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 15px; margin: 15px 0; color: var(--text-light); }
.features i { color: var(--primary-gold); margin-right: 5px; }

/* Floating WA */
.floating-wa { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 2000; }

/* Footer */
footer { background: var(--primary-blue); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; opacity: 0.7; }

/* Admin Dashboard Styles (Frontend) */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar { width: var(--sidebar-width); background: var(--primary-blue); color: white; padding: 20px 0; position: fixed; height: 100%; overflow-y: auto; }
.sidebar-menu a { display: flex; padding: 12px 20px; color: rgba(255,255,255,0.7); }
.sidebar-menu a:hover, .sidebar-menu a.active { background: rgba(255,255,255,0.1); color: var(--primary-gold); border-right: 3px solid var(--primary-gold); }
.main-content { margin-left: var(--sidebar-width); flex: 1; padding: 30px; }
.table-container { background: white; padding: 20px; border-radius: 8px; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px; border-bottom: 1px solid #eee; text-align: left; }
th { background: #f8f9fa; color: var(--primary-blue); }
/* Responsive Breakpoints for Single Property */
@media (max-width: 768px) {
    /* Adjust the grid layout inside single-property.php */
    .single-property-content-wrapper { 
        display: block !important; 
    }
}