body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f8fb;
    color: #1f2937;
}
.container {
    width: min(1100px, 92%);
    margin: 0 auto;
}
.site-header {
    background: #0f4c5c;
    color: #fff;
    padding: 18px 0;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.brand {
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}
.tagline {
    font-size: .92rem;
    opacity: .9;
}
nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 14px;
}
.main-content { padding: 28px 0; }
.card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    margin-bottom: 20px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.btn {
    display: inline-block;
    background: #0f4c5c;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: 0;
    cursor: pointer;
}
.btn.secondary { background: #6b7280; }
.btn.danger { background: #b91c1c; }
label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}
input, textarea, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    margin-bottom: 14px;
    box-sizing: border-box;
}
textarea { min-height: 120px; }
.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 16px;
}
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.listing-card h3, .category-card h3 { margin-top: 0; }
.badge {
    display: inline-block;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: .85rem;
    margin-right: 8px;
}
.badge.green { background: #dcfce7; color: #166534; }
.badge.yellow { background: #fef3c7; color: #92400e; }
.badge.red { background: #fee2e2; color: #991b1b; }
img.listing-logo {
    max-width: 110px;
    max-height: 110px;
    border-radius: 10px;
    object-fit: cover;
}
img.cover-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    object-fit: cover;
}
.hero {
    background: linear-gradient(135deg, #0f4c5c, #2c7a7b);
    color: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 24px;
}
.inline-form { display: inline; }
.table {
    width: 100%;
    border-collapse: collapse;
}
.table th, .table td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;
}
.site-footer {
    text-align: center;
    padding: 20px 0 30px;
    color: #6b7280;
}
.footer-links a {
    color: #0f4c5c;
    text-decoration: none;
    margin: 0 8px;
}
.actions-row a {
    margin-right: 8px;
    margin-bottom: 8px;
}
.small { font-size: .9rem; color: #6b7280; }
.hero-estate {
    background:
        linear-gradient(rgba(15, 76, 92, 0.58), rgba(44, 122, 123, 0.58)),
        url('images/estate-hero.jpg') center center / cover no-repeat;
    padding: 0;
    overflow: hidden;
}

.hero-overlay {
    padding: 48px 32px;
    border-radius: 16px;
}

.hero-content {
    max-width: 760px;
}

.hero-kicker {
    display: inline-block;
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.28);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    margin-bottom: 14px;
}

.hero-search {
    margin-top: 18px;
    max-width: 520px;
}

.hero-search input {
    background: rgba(255,255,255,0.96);
    border: 0;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.intro-card p {
    max-width: 900px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.info-box {
    background: #f8fbfc;
    border: 1px solid #dce8ec;
    border-radius: 12px;
    padding: 18px;
}

.info-box h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.scenic-card {
    overflow: hidden;
}

.scenic-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: center;
}

.scenic-text p:last-child {
    margin-bottom: 0;
}

.scenic-image-wrap {
    min-height: 280px;
}

.scenic-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 18px;
}

.section-heading h2 {
    margin-bottom: 6px;
}

.section-subtitle {
    margin: 0;
    color: #6b7280;
}

.empty-state {
    text-align: left;
}

.callout-card {
    background: linear-gradient(135deg, #edf7f8, #f8fcfd);
    border: 1px solid #d9ebee;
}

.callout-card h2 {
    margin-top: 0;
}

@media (max-width: 800px) {
    .hero-overlay {
        padding: 32px 22px;
    }

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

    .section-heading {
        align-items: flex-start;
    }
}
