.residence-section {
    height: fit-content;
    display: flex;
    gap: 3rem;
    background: #faf7f2;
    flex-direction: column;
    align-items: center;
    padding: 5rem 150px;
}

.residence {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.residence-image  {
    flex: 1;
}



.residence-image img {
    width: 100%;
    height: 350px;
}

.residence-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.residence p {
    color: #000;
}

.residence-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.residence-info h2 {
    font-size: 48px;
}

.residence-amenities {
    display: flex;
    gap: 2rem;
}

li {
    list-style: none;
    font-family: var(--secondary-font);
}


/* Main container */
.residence {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

/* Image section */
.residence-image {
    flex: 1;
    overflow: hidden;
}

.residence-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* Info Section */
.residence-info {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.residence-info h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: .3rem;
    color: #2d2d2d;
}

.residence-info p span {
    font-weight: 600;
    color: #b57b4d; /* premium goldish tone */
}

/* Main description paragraph */
.residence-info p {
    color: #4b4b4b;
    line-height: 1.6;
    font-size: 1rem;
}

/* Amenities list */
.residence-amenities {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin-top: .5rem;
}

.residence-amenities li {
    text-align: center;
    margin-bottom: .4rem;
    position: relative;
    font-weight: 600;
    border-bottom: 1px solid #b57b4d;
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #b57b4d;
}



@media (max-width: 1024px) {

    .residence-section {
        padding: 5rem 1rem;
    }

    .residence {
        padding: 1.8rem;
        gap: 1.5rem;
    }

    .residence-image {
        width: 100%;
    }

    .residence-amenities {
        flex-direction: row;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .residence-amenities li {
        text-align: left;
    }

    .residence-info h2 {
        font-size: 1.8rem;
    }
}


@media (max-width: 768px) {
    .residence {
        flex-direction: column;
        padding: 1.8rem;
    }

    .residence-image {
        height: 300px;
    }

    .residence-info h2 {
        font-size: 1.6rem;
    }
}

