/* About page title */
section {
    min-height: 500px;
}

.amenities-page-about {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.amenities-page-about::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;

    display: block;
    background-image: url(/assets/amenities/elevated-img2.png);
    background-size:cover;
    width: 100%;
    height: 100%;

    filter: brightness(60%);

    background-repeat: no-repeat;
    background-position: center;
}

.amenities-page-about h2 {
    color: rgb(255, 255, 255);
    margin-top: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

.amenities-page-about-text {
    padding: 50px 0 50px 0;
    /* border-top: 1px solid white;
    border-bottom: 1px solid white; */
    margin-bottom: 45px;
}

/* Amenities intro */

.amenities-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    background-color: white;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: -50px;
    border-bottom: 150px solid var(--warmgray);
}

.amenities-intro-text-title {
    margin-bottom: 50px;
    font-family: "classico-urw", sans-serif;
    font-size: 25px;
}

.amenities-intro-text {
    margin: 0 20% 0 20%;
}

.amenities-intro-images {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.amenities-intro-images img{
    width: 22%;
    margin: 10px;
    position: relative;
    top: 100px;
}

/* Amenity Section Defaults */

.amenity-section {
    padding: 0px;
}

/* .amenity-section:nth-child(odd) {
    flex-direction: row-reverse;
} */

.amenities-section-images {
    flex-basis: 70%;
    display: flex;
}

.amenities-section-images-wrapper {
    /* margin: 0 15%;
    aspect-ratio: 1/1; */
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.amenities-section-images-wrapper img{
    width: 32%;
    margin: 2px;
}

.amenities-section-text {
    padding: 100px 0;
    flex-basis: 30%;
    position: relative;
    top: 75px;
    flex-basis: calc(30%-30px);
    margin: 0px 25px 0px 5px;
}

.amenities-section-text p {
    margin: 0 50px 0;
}

.amenities-section-text h2{
    margin: 40px 60px;
}

/* Amenities subsection defaults */

.amenity-subsection {
    padding: 0;
    display: flex;
    min-height: 400px;
    flex-direction: row-reverse;
    justify-content: flex-end;
    padding-top: 75px;
}

.amenities-subsection-images{
    display:flex;
    align-items: center;
    flex-basis: 70%;
}

.amenities-subsection-images-wrapper {
    /* margin: 0 15%;
    aspect-ratio: 1/1; */
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    margin:20px;
    width: 85%;
}

.amenities-subsection-images-wrapper img{
    width: 32%;
    margin: 2px;
}

.amenities-subsection-text {
    padding: 100px 0;
    flex-basis: 30%;
}

.amenities-subsection-text p{
    padding: 0px 50px;
}
/* Amenities Restaurant */

.amenities-restaurant {
    display: flex;
    background-color: var(--offwhite);
    border-top: 5px solid rgb(121, 106, 20);
    /* border-bottom: 100px solid var(--sage); */
}

.amenities-restaurant-text {
    background-color: rgb(226, 226, 226);
    
}

/* Amenities Cafe */

.amenities-cafe {
    background-color: var(--calmtan);  
}

.amenities-cafe-images-wrapper{
    justify-content: flex-start;
    margin:20px;
}

/* Amenities Courtyard */

.amenities-courtyard {
    display: flex;
    background-color: var(--sage);
}

.amenities-courtyard-text {
    background-color: #8a8a77;
}

.amenities-courtyard-text h2 {
    color: white;
}

.amenities-courtyard-text p {
    color: white;
}

/* Amenities Public */

.amenities-public {
    background-color: var(--warmbrown);
}

.amenities-public h2{
    color: var(--calmtan);
}

.amenities-public p{
    color: var(--calmtan);
}

/* Amenities Salon */

.amenities-salon {
    display: flex;
    background-color: var(--calmtan);
}

.amenities-salon-text {
    background-color: #d6c5a6;
}

/* Amenities Fitness */

.amenities-fitness {
    background-color: var(--offwhite);
}

/* .amenities-fitness h2{
    color: var(--offwhite);
}

.amenities-fitness p{
    color: var(--offwhite);
} */

@media (max-width: 1350px) {
    .amenities-section-images-wrapper {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        margin: 12%;
        gap: 2px;
        aspect-ratio: 1/1;
    }

    .amenities-section-images-wrapper img:last-child {
        display: block !important;
    }

    .amenities-restaurant-images-wrapper img {
        border: 2px solid var(--offwhite);
    }

    .amenities-courtyard-images-wrapper img {
        border: 2px solid var(--sage);
    }

    .amenities-section-images-wrapper img{
        width: 100%;
    }
}

@media (max-width: 1261px) {
    .amenity-section {
        flex-direction: column-reverse !important;
    }

    .amenities-section-text {
        margin: 0px;
        position: initial;
    }

    .amenities-section-text p {
        margin: 0 10% 0;
    }

    .amenities-section-text {
        padding-bottom: 0px;
    }

    .amenities-restaurant-text {
        background-color: var(--offwhite);
    }

    .amenities-courtyard-text {
        background-color: var(--sage);
    }

    .amenities-salon-text {
        background-color: var(--calmtan);
    }

    .amenity-subsection {
        flex-direction: column-reverse;
    }

    .amenities-subsection-text {
        padding: 50px 0;
    }

    .amenities-subsection-images {
        justify-content: center;
    }

    .amenities-subsection-images-wrapper {
        justify-content: center;
    }


}