.properties-filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    justify-content: flex-end;
}

.property-filter {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 1rem;
    min-width: 150px;
    cursor: pointer;
}

.properties-grid {
    display: grid;
    gap: 20px;
    width: 100%;
}

.property-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.property-card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.property-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.property-card-link:hover .property-title {
    color: #3498db;
}

.property-card[style*="display: none"] {
    opacity: 0;
    transform: scale(0.95);
}

.property-image-container {
    position: relative;
    width: 100%;
}

.property-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.property-image-placeholder {
    background-color: #f0f0f0;
}

.property-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    font-size: 0.8rem;
    z-index: 2;
}

.badge-available {
    background-color: #2ecc71; /* Green */
}

.badge-sold-out {
    background-color: #e74c3c; /* Red */
}

.badge-default {
    background-color: #3498db; /* Blue */
}

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

.property-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.property-meta {
    margin-bottom: 20px;
    flex-grow: 1;
}

.meta-item {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: bold;
}

.property-actions {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    position: relative;
    z-index: 2;
}

.btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.btn i {
    font-size: 1em;
}

.btn-email {
    background-color: #3498db;
}

.btn-email:hover {
    filter: brightness(0.9);
}

.btn-call {
    background-color: #f39c12;
}

.btn-call:hover {
    filter: brightness(0.9);
}

.properties-no-results {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #666;
    grid-column: 1 / -1;
}