* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: #f5f7fb;
    color: #1f2937;
    line-height: 1.5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Navbar */
.navbar {
    background: white;
    padding: 12px 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
}

.btn-login {
    background: #2563eb;
    color: white !important;
    padding: 8px 16px;
    border-radius: 999px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 60px 16px;
    text-align: center;
    border-radius: 0 0 24px 24px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-button {
    background: white;
    color: #2563eb;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

/* Section */
.section {
    padding: 48px 0;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Card Properti */
.properti-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .properti-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .properti-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #e5e7eb;
}

.card-content {
    padding: 16px;
}

.card-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.card-price {
    color: #2563eb;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 8px 0;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 8px 0;
}

/* Banner Iklan */
.banner-iklan {
    background: #fef3c7;
    padding: 24px;
    text-align: center;
    border-radius: 16px;
    margin: 24px 0;
}

.banner-iklan img {
    max-width: 100%;
    border-radius: 12px;
}

/* Form */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 1rem;
}

.btn-primary {
    background: #2563eb;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
}

/* Dashboard Table (mobile friendly) */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

/* Flash Message */
.flash {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.flash.success { background: #dcfce7; color: #166534; }
.flash.error { background: #fee2e2; color: #991b1b; }