/* Property Cards */
.property-card {
    cursor: pointer;
    transition: all 0.35s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.18);
}

/* Modal Background */
.property-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

/* Enlarged Card */
.modal-content .property-card {
    max-width: 950px;
    width: 95%;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
    transform: scale(1);
    cursor: default;
}

.modal-content .property-card img {
    width: 100%;
    height: auto;
    display: block;
}

.modal-content .property-info {
    padding: 25px;
    text-align: center;
}

.modal-content .property-info h3 {
    margin-bottom: 12px;
}

.modal-content .property-info span {
    color: var(--gold, #d4af37);
    font-weight: 700;
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: #ff4d4d;
    transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}