/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Listings Container */
.listings {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Listing Box */
.listing-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: rgba(54, 130, 0, 1);
    border: 1px solid silver;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.listing-box:hover {
    transform: scale(1.02);
}

/* Image Styling */
.image-container {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Listing Details */
.listing-details {
    flex: 2;
    padding: 20px;
    background: white;
}

.listing-address {
    font-size: 22px;
    font-weight: bold;
    color: black;
}

.listing-lot,
.listing-price,
.listing-realtor,
.listing-contact {
    font-size: 16px;
    margin-top: 10px;
}

.listing-realtor i,
.listing-contact i {
    color: grey;
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .listing-box {
        flex-direction: column;
        text-align: center;
    }
    .image-container {
        max-width: 100%;
    }
}
