html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f7f8fb;
    color: #1f2937;
}

/* Dev database status */
.jhb-dev-status {
    font-size: 12px;
    padding: 4px 10px;
    text-align: center;
}

.jhb-dev-status-ok {
    background-color: #e6ffed;
    color: #0f5132;
}

.jhb-dev-status-error {
    background-color: #ffe6e6;
    color: #842029;
}

/* Navbar */
.jhb-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.jhb-nav-logo-symbol {
    height: 38px;
    width: auto;
    display: block;
}

.jhb-nav-logo-text {
    height: 30px;
    width: auto;
    display: block;
}

.jhb-nav-link {
    font-weight: 500;
    color: #374151 !important;
}

    .jhb-nav-link:hover {
        color: #111827 !important;
    }

.jhb-admin-link {
    color: #6b7280 !important;
    font-weight: 500;
}

/* Hero */
.jhb-hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f3f6fb 100%);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.jhb-eyebrow {
    display: inline-block;
    padding: 0.45rem 0.9rem;
    background: #eef2ff;
    color: #374151;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.jhb-hero-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
}

.jhb-hero-text {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 650px;
}

.jhb-hero-visual {
    padding: 1rem;
}

.jhb-hero-logo {
    max-height: 380px;
    width: auto;
    filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.12));
}

/* Buttons */
.jhb-btn-primary {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    border-radius: 12px;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
}

    .jhb-btn-primary:hover {
        background: #000000;
        border-color: #000000;
        color: #ffffff;
    }

.jhb-btn-secondary {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #111827;
    border-radius: 12px;
    padding: 0.7rem 1.25rem;
    font-weight: 600;
}

    .jhb-btn-secondary:hover {
        background: #f9fafb;
        color: #111827;
    }

/* Cards / sections */
.jhb-feature-card,
.jhb-content-panel {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.jhb-feature-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.jhb-feature-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.jhb-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111827;
}

.jhb-inline-link {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

    .jhb-inline-link:hover {
        text-decoration: underline;
    }

/* Property cards */
.jhb-property-card {
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

    .jhb-property-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
    }

.jhb-property-card-image {
    height: 250px;
    object-fit: cover;
}

.jhb-property-card-image-placeholder {
    height: 250px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jhb-badge-dark {
    background: #111827;
    color: #ffffff;
}

.jhb-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

/* Footer */
.jhb-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 1.25rem 0;
}

.jhb-footer-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.jhb-footer-brand {
    font-weight: 700;
    color: #111827;
}

.jhb-footer-copy {
    color: #6b7280;
}

.jhb-footer-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
}

    .jhb-footer-link:hover {
        text-decoration: underline;
    }

/* Forms */
.form-control,
.form-select {
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    border-color: #d1d5db;
}

    .form-control:focus,
    .form-select:focus {
        border-color: #9ca3af;
        box-shadow: 0 0 0 0.15rem rgba(17, 24, 39, 0.08);
    }

/* Responsive */
@media (max-width: 991.98px) {
    .jhb-nav-logo-text {
        height: 24px;
    }

    .jhb-hero-section {
        padding: 2rem;
        border-radius: 20px;
    }

    .jhb-hero-logo {
        max-height: 260px;
    }
}

@media (max-width: 575.98px) {
    .jhb-nav-logo-symbol {
        height: 30px;
    }

    .jhb-nav-logo-text {
        max-width: 170px;
        height: auto;
    }

    .jhb-hero-section {
        padding: 1.5rem;
    }
}
