/* ============================================================
   Armour Hub - Listings Module Styles
   ============================================================ */

.listings-section {
    background-color: #FFFFFF;
}

/* Filter Buttons */
.listings-filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: #F4F6F8;
    color: #444444;
    border: 1px solid #E0E0E0;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}

.filter-btn:hover {
    background-color: #ECEFF2;
    color: #0B1B2B;
    border-color: #D4AF37;
}

.filter-btn.active {
    background-color: #0B1B2B;
    color: #D4AF37;
    border-color: #0B1B2B;
    box-shadow: 0 4px 12px rgba(11, 27, 43, 0.2);
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.property-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #ECECEC;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(11, 27, 43, 0.12);
    border-color: rgba(212, 175, 55, 0.45);
}

.property-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-img-wrapper img {
    transform: scale(1.08);
}

.badge-featured-prop {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #D4AF37;
    color: #0B1B2B;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.badge-type-prop {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(11, 27, 43, 0.85);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    text-transform: capitalize;
}

.property-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #D4AF37;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.property-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0B1B2B;
    margin-bottom: 8px;
    line-height: 1.35;
}

.property-location {
    font-size: 0.82rem;
    color: #777777;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-location i {
    color: #D4AF37;
}

.property-specs {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #F0F0F0;
    padding-top: 12px;
    margin-top: auto;
    font-size: 0.82rem;
    color: #555555;
    margin-bottom: 15px;
}

.spec-chip {
    display: flex;
    align-items: center;
    gap: 5px;
}

.spec-chip i {
    color: #D4AF37;
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #F0F0F0;
}

.btn-prop-detail {
    color: #0B1B2B;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.25s ease;
}

.btn-prop-detail:hover {
    color: #D4AF37;
}

.btn-prop-wa {
    color: #25D366;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.btn-prop-wa:hover {
    transform: scale(1.15);
}

@media (max-width: 1200px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .listings-grid {
        grid-template-columns: 1fr;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
