.houses-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 3rem auto;
    max-width: 1200px
}

.house-card {
    background-color: var(--dark-gray);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .3);
    display: flex;
    overflow: hidden;
}

.house-gallery {
    flex: 1;
    min-height: 500px;
    position: relative
}

.house-gallery img {
    height: 100%;
    left: 0;
    object-fit: cover;
    background-position: center;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity .5s ease;
    width: 100%
}

.house-gallery img.active {
    opacity: 1
}

.gallery-controls {
    bottom: 20px;
    display: flex;
    gap: 10px;
    position: absolute;
    right: 20px
}

.gallery-next,
.gallery-prev {
    background-color: rgba(0, 0, 0, .8);
    border: none;
    border-radius: 50%;
    color: var(--dark);
    cursor: pointer;
    font-size: 1rem;
    height: 40px;
    transition: all .3s;
    width: 40px
}

.gallery-next:hover,
.gallery-prev:hover {
    background-color: rgba(0, 0, 0, .7)
}

.house-details {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 2rem
}

.house-details h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem
}

.house-description {
    color: var(--light-gold);
    line-height: 1.6;
    margin-bottom: 1.5rem
}

.house-features {
    margin-bottom: 2rem
}

.house-features p {
    align-items: center;
    color: var(--light-gold);
    display: flex;
    gap: 10px;
    margin-bottom: .8rem
}

.house-features i {
    color: var(--gold);
    text-align: center;
    width: 20px
}

.house-pricing {
    margin-top: auto
}

.price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.price .amount {
    font-size: 2rem
}

.availability {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 1.5rem
}

.available {
    color: var(--light-gold)
}

.limited {
    color: #fc0
}

.book-btn {
    font-size: 1.1rem;
    margin-top: auto;
    padding: 1rem;
    width: 100%
}

@media (max-width:992px) {
    .house-card {
        flex-direction: column
    }

    .house-gallery {
        min-height: 300px
    }
}

@media (max-width:576px) {
    .houses-container {
        gap: 3rem
    }

    .house-details {
        padding: 1.5rem
    }
}