/* Real Estate Listings - Minimal Styles */

/* Grid Layout */
.rel-properties-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.rel-properties-grid.rel-columns-1 {
    grid-template-columns: 1fr;
}

.rel-properties-grid.rel-columns-2 {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.rel-properties-grid.rel-columns-3 {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* Property Card */
.rel-property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.rel-property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.rel-property-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Property Image */
.rel-property-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f5f5f5;
}

.rel-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rel-property-card:hover .rel-property-image img {
    transform: scale(1.05);
}

.rel-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgba(255, 255, 255, 0.4);
}

/* Price Tag */
.rel-property-price-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Property Content */
.rel-property-content {
    padding: 20px;
}

.rel-property-title {
    margin: 0 0 12px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.rel-property-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.rel-property-location svg {
    flex-shrink: 0;
    color: #999;
}

/* Property Features */
.rel-property-features {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.rel-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.rel-feature svg {
    color: #999;
    flex-shrink: 0;
}

/* Single Property */
.rel-single-property {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.rel-single-header {
    margin-bottom: 1.5rem;
}

.rel-single-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.rel-single-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 16px;
}

.rel-single-location svg {
    color: #999;
}

.rel-single-price {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.rel-single-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.rel-single-image img {
    width: 100%;
    height: auto;
    display: block;
}

.rel-single-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.rel-single-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rel-single-feature svg {
    color: #667eea;
    flex-shrink: 0;
}

.rel-single-feature div {
    display: flex;
    flex-direction: column;
}

.rel-single-feature strong {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 4px;
}

.rel-single-feature span {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rel-single-description {
    line-height: 1.8;
    color: #333;
}

.rel-single-description h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.rel-single-description p {
    margin-bottom: 1rem;
}

/* No Properties Message */
.rel-no-properties {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rel-properties-grid {
        gap: 1.5rem;
    }
    
    .rel-properties-grid.rel-columns-2,
    .rel-properties-grid.rel-columns-3 {
        grid-template-columns: 1fr;
    }
    
    .rel-property-features {
        flex-wrap: wrap;
    }
    
    .rel-single-title {
        font-size: 24px;
    }
    
    .rel-single-price {
        font-size: 28px;
    }
    
    .rel-single-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
}
