/* Light & Clean Property Card Styles */
/* Minimalist design with subtle shadows and elegant typography */

.property-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

/* Clean hover effect - just subtle elevation */
.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: #e8e8e8;
}

.property-card .card-link {
    text-decoration: none;
    color: inherit;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Image Wrapper */
.property-card .card-img-wrapper {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    height: 220px;
    background: #f8f9fa;
}

/* Subtle image overlay for better text readability */
.property-card .card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.08) 100%);
    z-index: 2;
    pointer-events: none;
}

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

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

/* Simple Badge Designs - Light and clean */
.property-card .new-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: #22c55e;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}

.property-card .both-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: #f59e0b;
    color: #ffffff;
    padding: 4px 12px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

/* Feature Icons - Clean and minimal */
.property-card .features-icons {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 5;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 5px 10px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.property-card .features-icons i {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.property-card .features-icons i:hover {
    opacity: 1;
}

.property-card .features-icons img,
.property-card .features-icons svg {
    filter: none;
}

/* Card Body - Clean spacing */
.property-card .card-body {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 8px;
    background: #ffffff;
}

/* Title - Clean and simple */
.property-card .card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Location */
.property-card .card-location {
    font-size: 0.8rem;
    color: #8899aa;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.property-card .card-location i {
    color: #e17055;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Price Section */
.property-card .card-price {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* Both prices layout */
.property-card .both-prices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.property-card .rent-price,
.property-card .sell-price {
    display: flex;
    flex-direction: column;
    padding: 6px 10px;
    border-radius: 8px;
    background: #fafafa;
    transition: background 0.2s ease;
}

.property-card .rent-price:hover,
.property-card .sell-price:hover {
    background: #f5f5f5;
}

.property-card .price-label {
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aab;
    margin-bottom: 1px;
}

/* Price values - Clean colors */
.property-card .price-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e17055;
    letter-spacing: -0.3px;
}

.property-card .rent-price .price-value {
    color: #4a90d9;
}

.property-card .sell-price .price-value {
    color: #22b573;
}

.property-card .price-unit {
    font-size: 0.65rem;
    font-weight: 500;
    color: #aab;
    margin-left: 2px;
}

/* Soom/Limit prices */
.property-card .soom-limit-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.property-card .soom-price,
.property-card .limit-price {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
}

.property-card .soom-price span:first-child,
.property-card .limit-price span:first-child {
    font-weight: 600;
    color: #8899aa;
    font-size: 0.6rem;
    text-transform: uppercase;
}

/* Card Type Section */
.property-card .card-type {
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
}

.property-card .property-type {
    background: #f0f0f0;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 500;
    color: #556;
    font-size: 0.65rem;
}

/* Offer type badges - Soft colors */
.property-card .offer-type {
    padding: 3px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.65rem;
    transition: all 0.2s ease;
}

.property-card .offer-type.for-sale {
    background: #e8f5e9;
    color: #2e7d32;
}

.property-card .offer-type.for-rent {
    background: #e3f2fd;
    color: #1565c0;
}

.property-card .offer-type.both {
    background: #f3e5f5;
    color: #6a1b9a;
}

/* Area */
.property-card .property-area {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #8899aa;
    margin-left: auto;
}

.property-card .property-area i {
    color: #8899aa;
    font-size: 0.65rem;
}

/* Features Section */
.property-card .card-features {
    display: flex;
    gap: 12px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.property-card .feature-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #445566;
}

.property-card .feature-item img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-card .card-img-wrapper {
        height: 180px;
    }

    .property-card .card-body {
        padding: 14px;
    }

    .property-card .price-value {
        font-size: 1rem;
    }

    .property-card .both-prices {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

@media (max-width: 576px) {
    .property-card {
        border-radius: 12px;
    }

    .property-card .card-img-wrapper {
        height: 160px;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    }

    .property-card .card-body {
        padding: 12px 12px 14px;
        gap: 6px;
    }

    .property-card .card-title {
        font-size: 0.95rem;
    }

    .property-card .price-value {
        font-size: 0.95rem;
    }

    .property-card .new-badge,
    .property-card .both-badge {
        font-size: 0.55rem;
        padding: 3px 10px;
        top: 8px;
    }

    .property-card .new-badge {
        left: 8px;
    }

    .property-card .both-badge {
        right: 8px;
    }

    .property-card .features-icons {
        padding: 4px 8px;
        gap: 4px;
        bottom: 8px;
        left: 8px;
    }

    .property-card .features-icons i {
        width: 18px;
        height: 18px;
    }

    .property-card .card-features {
        gap: 8px;
    }

    .property-card .feature-item {
        font-size: 0.65rem;
    }

    .property-card .feature-item img {
        width: 14px;
        height: 14px;
    }

    .property-card .card-type {
        gap: 4px;
    }

    .property-card .property-type,
    .property-card .offer-type {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
}

/* Optional: Hover effect on the whole card (light touch) */
.property-card .card-link {
    transition: all 0.3s ease;
}

/* Smooth price animation on hover */
.property-card:hover .price-value {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Clean divider with gradient line (optional) */
.property-card .card-price {
    position: relative;
}

.property-card .card-price::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
}