/* This file depends on css variables and .btn-navy-pill / .section-tag / .section-title
   already defined in home.css - always load home.css BEFORE this file. */

/* ===== PAGE HERO (banner used on all inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--pb-navy) 0%, var(--pb-navy-mid) 60%, var(--pb-navy) 100%);
    padding: 3.5rem 0 3rem;
}

.breadcrumb-pb {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.breadcrumb-pb a {
    color: #c3d2e8;
    text-decoration: none;
    font-size: 13px;
}

.breadcrumb-pb a:hover {
    color: #fff;
}

.breadcrumb-pb .sep {
    color: #5a7295;
    margin: 0 8px;
    font-size: 13px;
}

.breadcrumb-pb .current {
    color: var(--pb-gold-light);
    font-size: 13px;
}

.page-hero-title {
    font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.4rem;
}

.page-hero-sub {
    color: #c3d2e8;
    font-size: 14.5px;
    max-width: 600px;
    margin: 0;
}

/* ===== FILTER TABS (category switch on listing pages) ===== */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.filter-tab {
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid #dde2ed;
    background: #fff;
    color: var(--pb-navy);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: border-color .15s, background .15s, color .15s;
}

.filter-tab:hover {
    border-color: var(--pb-navy);
    color: var(--pb-navy);
}

.filter-tab.active {
    background: var(--pb-navy);
    color: #fff;
    border-color: var(--pb-navy);
}

/* ===== LISTING CARD (used on projects/plots/flats/shops/rent pages) ===== */
.listing-card {
    background: #fff;
    border: 1px solid #e6dfca;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    transition: box-shadow .18s, transform .15s;
}

.listing-card:hover {
    box-shadow: 0 10px 28px rgba(15, 32, 68, .12);
    transform: translateY(-3px);
}

.listing-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.listing-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}

.listing-body {
    padding: 1.25rem;
}

.listing-location {
    font-size: 12px;
    color: #7a8aa0;
    margin-bottom: 6px;
}

.listing-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pb-navy);
    margin-bottom: 8px;
}

.listing-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--pb-navy);
    margin-bottom: 10px;
}

.listing-specs {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: #7a8aa0;
    border-top: 1px solid #eee;
    padding-top: 12px;
    margin-top: 4px;
    margin-bottom: 14px;
}

/* status badge color variants (base .prop-badge already defined in home.css) */
.badge-available { background: #0f7a5a; }
.badge-sold { background: #6b7280; }
.badge-new { background: var(--pb-gold); color: var(--pb-navy); }
.badge-ongoing { background: #1a5aad; }

/* ===== CONTACT PAGE ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}

.contact-form .form-control-pb {
    width: 100%;
    border: 1px solid #dde2ed;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 1rem;
    background: #fff;
    color: var(--pb-navy);
}

.contact-form textarea.form-control-pb {
    min-height: 130px;
    resize: vertical;
}

.contact-info-card {
    background: var(--pb-cream);
    border: 1px solid #e6dfca;
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-info-row {
    display: flex;
    gap: 14px;
    margin-bottom: 1.4rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pb-navy);
    font-size: 17px;
    flex-shrink: 0;
}

.contact-info-row strong {
    display: block;
    font-size: 14px;
    color: var(--pb-navy);
    margin-bottom: 2px;
}

.contact-info-row p, .contact-info-row a {
    font-size: 13px;
    color: #6b6354;
    margin: 0;
    text-decoration: none;
}

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 0.5rem;
    border: 1px solid #e6dfca;
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

@media (max-width: 767px) {
    .contact-wrap {
        grid-template-columns: 1fr;
    }
}