/**
 * Property Manager Frontend CSS
 */

/* Property Grid Layout */
.property-grid {
    display: block;
    width: 100%;
    margin-bottom: 2rem;
}

.property-grid * {
    font-family: 'Montserrat', sans-serif;
}

.property-grid-inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .property-grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-grid-inner {
        grid-template-columns: 1fr;
    }
}

/* Property Item Styling */
.property-item {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    border-radius: 10px;
}

.property-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Property Image */
.property-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    border-radius: 10px 10px 0 0;
}

.property-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-image:hover img {
    transform: scale(1.05);
}

/* Property Content */
.property-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Property Title */
.property-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.3;
    color: #c4856a;
}

.property-title a {
    color: #c4856a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Playfair Display', serif;
}

.property-title a:hover {
    color: #a66d54;
}

/* Property Address */
.property-address {
    margin: 0;
    font-size: .875rem;
    color: #8b8b8b;
    line-height: 1.4;
}

/* Property Price */
.property-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #c4856a;
    margin: 0.25rem 0;
}

/* Property Features */
.property-features {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

.property-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.property-feature .feature-value {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    display: block;
    margin-bottom: 0.25rem;
}

.property-feature .feature-label {
    font-size: 0.8rem;
    color: #8b8b8b;
    display: block;
}

/* WhatsApp Button */
.property-whatsapp-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: #ffffff;
    color: #333;
    text-align: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.property-whatsapp-btn:hover {
    background-color: #CC7E68;
    color: #ffffff;
}

/* Tab Navigation Styling */
.property-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.property-tab-item {
    padding: 1rem 2rem;
    cursor: pointer;
    font-family: sans-serif;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
}

.property-tab-item.active {
    color: #333;
}

.property-tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
}
