#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    color: var(--primary);
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/media/resort-view.jpeg");
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-size: 7rem;
    margin-top: 6rem;
    h1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 1;
        line-height: 80%;
        font-size: 1em;
        top: 50%;
        left: 50%;
        font-family: var(--heading);
        font-weight: 700;
        margin: 0;
        user-select: none;
        span {
            font-size: 1.36em;
            line-height: 80%;
        }
    }
    p {
        font-size: 0.15em;
        font-weight: 300;
        margin: 0;
        letter-spacing: 0.5em;
        user-select: none;
    }
    a {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 3rem;
        font-size: 2rem;
        font-weight: 600;
        padding: 0.5em 0.75em;
        border-radius: 0.3em;
        color: var(--secondary);
        background-color: var(--accent);
        transition: transform 0.2s ease, opacity 0.1s ease-in-out;
        cursor: pointer;
    }
    a:hover {
        transform: scale(1.1);
    }
    a:active {
        transform: scale(1);
        opacity: 0.5;
    }
}

#rooms-suites {
    h2 {
        font-family: var(--heading);
        font-size: 3rem;
        font-weight: 600;
        color: var(--primary);
        background-color: var(--secondary);
        margin: 0;
        padding: 1rem 3rem;
    }
    #rooms {
        position: relative;
        overflow: hidden;
        #room-cont {
            background-color: var(--secondary);
            transition: background-color 0.5s ease;
            border-top: 0.2rem solid var(--accent);
            border-bottom: 0.2rem solid var(--accent);
            .room {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                color: var(--primary);
                font-size: 1.75rem;
                min-width: 100%;
                padding: 2em 4em;
                gap: 1em 3em;
                transition: opacity 1s ease-in-out;
                img {
                    height: 7.875em;
                    width: 14em;
                    object-fit: cover;
                    border-radius: 1em;
                }
                div {
                    width: 15em;
                    text-wrap: balance;
                    h3 {
                        font-size: 1.5em;
                        font-family: var(--heading);
                        font-weight: 700;
                        margin: 0;
                    }
                    hr {
                        margin: 0.5em 0 0.5em 0;
                        border: 0.1rem solid var(--accent);
                    }
                    p {
                        font-size: 0.75em;
                    }
                }
                hr {
                    width: 100%;
                    margin: 1em 0 0.5em 0;
                    border: 1px solid var(--secondary-light);
                }
                .room-details {
                    display: flex;
                    flex-direction: column;
                    list-style: none;
                    justify-content: space-around;
                    align-items: center;
                    margin: 0;
                    padding: 0;
                    width: 100%;
                    gap: 1em 3em;
                    font-size: 0.75em;
                    
                    .room-amenities {
                        width: 100%;
                        ul {
                            list-style: circle outside;
                            margin: 0 0 0 3em;
                            padding: 0.5em;
                        }
                    }

                    .booking-details {
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;
                        gap: 0 1em;
                        width: 100%;
                        p {
                            font-family: var(--heading);
                            font-weight: 600;
                            margin: 0.5em;
                            text-align: center;
                        }
                    }
                }
            }
        }
        .prev, .next {
            font-size: 3em;
            position: absolute;
            background-color: transparent;
            top: 4em;
            transform: translateY(-50%);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            z-index: 1;
            opacity: 0.5;
            transition: opacity 0.2s ease;
        }
        .prev {
            left: 10px;
        }
        .next {
            right: 10px;
        }
        .prev:hover, .next:hover {
            opacity: 1;
        }
        .prev:active, .next:active {
            opacity: 0.5;
        }
    }
}

#amenities {
    h2 {
        font-size: 3em;
        font-family: var(--heading);
        font-weight: 600;
        margin: 0;
        padding: 0.5em;
        padding-top: 1em;
        text-align: center;
    }
    #amenity-cont {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5em;
        padding: 1em 2em 5em 2em;
        .amenity {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 3em;
            img {
                object-fit: cover;
                width: 32.5em;
                height: 20em;
                z-index: 0;
                transform-origin: center;
                border: 1em solid var(--primary);
                border-bottom: 3.5em solid var(--primary);
                box-shadow: 0 0 0.5em 0.05em var(--secondary);
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
            p {
                font-size: 1.5em;
                width: 20em;
                z-index: 1;
                text-wrap: balance;
            }
        }
        .amenity:nth-child(odd) {
            img {
                transform: rotate(5deg) scale(1);
            }
            img:hover {
                transform: rotate(1deg) scale(1.1);
                box-shadow: 0 0 1em 0.1em var(--secondary);
            }
        }
        .amenity:nth-child(even) {
            flex-direction: row-reverse;
            img {
                transform: rotate(-5deg) scale(1);
            }
            img:hover {
                transform: rotate(-1deg) scale(1.1);
                box-shadow: 0 0 1em 0.1em var(--secondary);
            }
        }
    }
}

#guest-reviews {
    color: var(--primary);
    background-color: var(--secondary);
    padding: 3rem;
    h2 {
        font-size: 2.5rem;
        font-weight: 700;
        font-family: var(--heading);
        text-align: center;
        margin: 0;
    }
    hr {
        border: 0.1rem solid var(--accent);
        margin: 1rem 3rem;
    }
    #reviews {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        font-size: 1.5rem;
        gap: 2em;
        margin-top: 3em;
        .review {
            display: flex;
            flex-direction: column-reverse;
            align-items: center;
            text-align: center;
            text-wrap: pretty;
            width: 10em;
            transition: transform 0.2s ease;
            h3 {
                font-family: var(--heading);
                font-weight: 500;
                font-size: 1em;
                margin: 0.5em 0;
            }
            p {
                font-style: italic;
                font-weight: 300;
                margin: 0;
            }
        }
        .review:hover {
            transform: scale(1.1);
        }
    }
}

footer {
    padding: 1em 2em;
    background-color: var(--accent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    h2 {
        font-size: 2em;
        font-family: var(--heading);
        font-weight: 700;
        margin: 0;
        padding: 1rem;
    }
    #contact-us {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1em 4em;
        margin: 0;
        width: 50%;
        font-style: normal;
        text-align: center;
        h3 {
            margin: 0;
        }
        p {
            margin: 0;
        }
    }
}


@media (min-width: 1025px) and (max-width: 1280px) {
    #home {
        font-size: 7.5rem;
        margin-top: 4rem;
        a {
            font-size: 1.2rem;
        }
    }
    #rooms-suites #rooms #room-cont .room {
        font-size: 2rem;
        .room-details {
            width: 80%;
        }
    }
}