/* ═══════════════════════════════════════════
   LISTING PAGE — STRONG + BOLD CARD STYLE
   Scoped so it does NOT affect homepage or detail page
   ═══════════════════════════════════════════ */

/* Page Hero — POP VERSION */
.properties-section .page-hero {
    padding: 60px 0;
    background-image: url('/assets/img/forest.and.field.banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    margin-bottom: 50px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

    .properties-section .page-hero h1,
    .properties-section .page-hero h2,
    .properties-section .page-hero h3 {
        color: var(--white);
        font-size: 3rem;
        font-weight: 900;
        letter-spacing: -1px;
        margin-bottom: 12px;
    }

    .properties-section .page-hero p {
        font-size: 1.25rem;
        font-weight: 500;
        color: rgba(255,255,255,0.9);
        max-width: 700px;
        margin: 0 auto;
    }

/* Filter Bar */
.properties-section .filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    padding: 16px;
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--card-border);
}

.properties-section .filter-group select {
    padding: 10px 16px;
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    font-size: 0.9rem;
    background: var(--input-bg);
    color: var(--input-text);
    cursor: pointer;
    min-width: 150px;
}

    .properties-section .filter-group select:focus {
        border-color: var(--secondary);
        outline: none;
    }

/* No Results */
.properties-section .no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

    .properties-section .no-results h3 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        color: var(--text);
    }

/* Property Grid */
.properties-section .property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    padding-bottom: 2rem;
}

/* Strong + Bold Listing Cards */
.properties-section .property-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--prop-card-bg);
    border-radius: var(--radius-lg);
    border: 2px solid var(--prop-card-border);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .properties-section .property-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 10px 28px rgba(0,0,0,0.16);
    }

.properties-section .property-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 2px solid rgba(0,0,0,0.08);
    background: var(--card-bg);
}

    .properties-section .property-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s;
    }

.properties-section .property-card:hover .property-card-image img {
    transform: scale(1.05);
}

.properties-section .property-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
}

    .properties-section .property-card-body h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin-bottom: 10px;
    }

.properties-section .property-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.properties-section .property-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.properties-section .current-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.properties-section .original-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Financing badge — listing cards */
.properties-section .property-card-body .property-status-badge {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    color: #ffffff;
}

/* Light blue bubble */
.properties-section .property-card-body .status-financing {
    background: #3b82f6; /* light-ish blue */
}

/* Cash-only badge */
.properties-section .property-card-body .status-cashonly {
    background: #6b7280; /* neutral gray */
}

.properties-section .property-card-body .btn {
    margin-top: auto;
    margin-bottom: 6px;
}

/* No Image Placeholder */
.properties-section .no-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    color: var(--text-muted);
    font-size: 1rem;
    height: 100%;
    min-height: 180px;
}

/* Pagination */
.properties-section .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.properties-section .page-link {
    padding: 10px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s;
}

    .properties-section .page-link:hover {
        background: var(--primary-light);
        border-color: var(--primary);
    }

    .properties-section .page-link.active {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

/* Responsive */
@media (max-width: 768px) {
    .properties-section .property-card {
        border-radius: var(--radius);
    }
}

/* ═══════════════════════════════════════════
   PROPERTY DETAIL — PREMIUM + BOLD
   Matches listing-page bold aesthetic
   ═══════════════════════════════════════════ */

/* Layout */
.property-detail {
    padding: 60px 0 100px;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 50px;
    align-items: start;
}

/* ──────────────────────────────────────────
   GALLERY (Left Column)
   ────────────────────────────────────────── */

.property-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Main image wrapper */
.main-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border: 2px solid rgba(0,0,0,0.12);
}

/* Main image */
.main-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

    .main-image:hover {
        transform: scale(1.02);
    }

/* Thumbnails */
.thumbnail-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.thumbnail {
    width: 90px;
    height: 70px;
    border-radius: var(--radius);
    border: 3px solid transparent;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    object-fit: cover;
    transition: border-color 0.2s, transform 0.2s;
}

    .thumbnail:hover {
        transform: translateY(-2px);
    }

    .thumbnail.active {
        border-color: var(--primary);
    }

/* No-image placeholder */
.no-image-placeholder.large {
    min-height: 350px;
    border-radius: var(--radius-lg);
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    border: 2px solid rgba(0,0,0,0.1);
}

/* Description */
.property-description {
    margin-top: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

    .property-description h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        font-weight: 700;
    }

/* Loan Sample */
.loan-summary {
    max-width: 700px;
    text-align: center;
    margin: 1rem 0 .2rem 0;
    padding: 1rem 1.1rem;
    background: #ffffff;
    border-radius: 13px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

    .loan-summary h2 {
        margin: 0 0 0.5rem;
        text-align: center;
        font-size: 1.4rem;
        color: var(--primary);
        letter-spacing: 0.03em;
        border-bottom: 2px solid #c9c9c9;
        padding-bottom: 2px;
    }

.loan-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    border-top: 2px solid #e0e0e0;
    padding-top: 1px;
}

.loan-item {
    text-align: center;
}

.loan-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.loan-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

/* Responsive Section */
@media (max-width: 700px) {
    .loan-summary-grid {
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
        padding-top: 1rem;
    }

    .loan-item {
        text-align: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e6e6e6;
    }

        .loan-item:last-child {
            border-bottom: none;
        }
}

/* ──────────────────────────────────────────
   RIGHT COLUMN — INFO + PRICE + SPECS
   ────────────────────────────────────────── */

.property-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

/* Price box */
.property-price-box {
    background: #f0fdf4;
    border: 2px solid #bbf7d0;
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.big-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    display: block;
    margin-bottom: 6px;
}

.original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1rem;
    margin-right: 10px;
}

.savings-badge {
    background: #059669;
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
}

/* Specs table */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

    .specs-table th,
    .specs-table td {
        padding: 14px 18px;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .specs-table th {
        width: 40%;
        font-weight: 700;
        color: var(--text);
    }

    .specs-table td {
        color: var(--secondary);
    }

    /* Status badge inside table */
    .specs-table .property-status-badge {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

/* ──────────────────────────────────────────
   CTA BOXES (Available / Pending / Sold)
   ────────────────────────────────────────── */

.inquiry-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 2px solid var(--primary);
}

.cta-pending {
    border-color: var(--accent);
}

.cta-sold {
    border-color: #ef4444;
}

.inquiry-box h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.inquiry-box p {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.inquiry-box .btn {
    margin: 6px;
}

/* ──────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────── */

@media (max-width: 900px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}