.bowling-greens-section,
.club-rooms-section,
.club-bar-section {
    min-height: 100vh;
    padding: 100px 0;
}

.facilities-hero-section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0,
            100% 0,
            100% 100%,
            0 96%);
}

.div-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.facilities-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)),
        url("./assets/facilities-hero.webp") center/cover no-repeat;
    animation: facilitiesZoom 15s ease-out forwards;
    z-index: -1;
}

@keyframes facilitiesZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1.0);
    }
}

.facilities-h1 {
    text-align: center;
    color: var(--white);
    font-size: 3.6rem;
    font-family: "League Spartan", sans-serif;
    font-weight: 800;
}

.facilities-hero-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.7;
}

/* Bowling Green Section */

.greens-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
}

.greens-left img {
    height: 450px;
    border-radius: 25px;
}

.greens-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.greens-right img {
    height: 150px;
}

.greens-para {
    font-family: var(--body-font);
    padding: 25px;
    color: var(--text);
    line-height: 1.7;
}

/* Club Rooms Section */

.club-rooms-section {
    min-height: 100vh;
    background-color: #ECEFF1;
}

.club-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 50px;
}

.club-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.club-left-para {
    font-family: var(--body-font);
    padding: 25px;
    color: var(--text);
    line-height: 1.7;
}

.club-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.club-right img {
    height: 450px;
    border-radius: 25px;
}

/* Bar Section */

.club-bar-section {
    min-height: 100vh;
}

.bar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
    padding: 50px;
}

.bar-left {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bar-left img {
    width: 100%;
    max-width: 650px;
    height: 450px;
    object-fit: cover;
    border-radius: 25px;
}

.bar-right {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.bar-para {
    font-family: var(--body-font);
    color: var(--text);
    line-height: 1.7;
    padding: 25px;
}

/* ================================= */
/* Tablet Responsiveness - 900px */
/* ================================= */

@media (max-width: 900px) {

    /* Facilities Hero */

    .bowling-greens-section,
    .club-rooms-section,
    .club-bar-section {
        min-height: auto;
        padding: 80px 0;
    }

    .facilities-hero-section {
        height: auto;
        min-height: calc(100svh - 100px);
        padding: 80px 30px 110px;
    }

    .facilities-h1 {
        padding-top: 0;
        font-size: 3rem;
        line-height: 1.05;
    }

    .facilities-hero-section p {
        width: 100%;
        max-width: 650px;
        padding: 0 20px;
        font-size: 1.1rem;
        line-height: 1.7;
        text-align: center;
    }

    /* Bowling Greens */

    .greens-container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: min(800px, 90%);
        margin: 0 auto;
        padding: 0;
    }

    .greens-left {
        display: flex;
        justify-content: center;
    }

    .greens-left img {
        width: 100%;
        height: 430px;
        object-fit: cover;
    }

    .greens-right {
        text-align: center;
    }

    .greens-right img {
        width: auto;
        height: 130px;
    }

    .greens-para {
        max-width: 700px;
        padding: 25px 0;
        line-height: 1.7;
    }

    /* Club Rooms */

    .club-container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: min(800px, 90%);
        margin: 0 auto;
        padding: 0;
    }

    .club-left {
        order: 2;
        text-align: center;
    }

    .club-right {
        order: 1;
    }

    .club-left-para {
        max-width: 700px;
        padding: 25px 0;
        line-height: 1.7;
    }

    .club-right img {
        width: 100%;
        height: 430px;
        object-fit: cover;
    }

    /* Bar */

    .bar-container {
        grid-template-columns: 1fr;
        gap: 40px;
        width: min(800px, 90%);
        margin: 0 auto;
        padding: 0;
    }

    .bar-left img {
        max-width: none;
        height: 430px;
    }

    .bar-right {
        align-items: center;
        text-align: center;
    }

    .bar-para {
        max-width: 700px;
        padding: 25px 0;
    }
}

/* ================================= */
/* Mobile Responsiveness - 768px */
/* ================================= */

@media (max-width: 768px) {

    /* Facilities Hero */

    .facilities-hero-section {
        height: auto;
        min-height: calc(100svh - 90px);
        padding: 60px 20px 90px;
        clip-path: polygon(0 0,
                100% 0,
                100% 96%,
                0 100%);
    }

    .facilities-hero-section::before {
        background-position: center;
    }

    .facilities-h1 {
        padding-top: 0;
        font-size: clamp(2.3rem, 11vw, 3rem);
        line-height: 1;
    }

    .facilities-hero-section p {
        width: 100%;
        max-width: 600px;
        padding: 0;
        margin-top: 1.25rem;
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
    }

    /* Bowling Greens */

    .greens-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .greens-left img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 16px;
    }

    .greens-right {
        width: 100%;
        text-align: center;
    }

    .greens-right img {
        width: auto;
        max-width: 100%;
        height: 100px;
    }

    .greens-para {
        padding: 20px 0 0;
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Club Rooms */

    .club-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .club-left {
        order: 2;
        width: 100%;
        text-align: center;
    }

    .club-right {
        order: 1;
        width: 100%;
    }

    .club-left-para {
        padding: 20px 0 0;
        font-size: 1rem;
        line-height: 1.7;
    }

    .club-right img {
        width: 100%;
        height: 300px;
        object-fit: cover;
        border-radius: 16px;
    }

    /* Bar */

    .bar-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 90%;
        margin: 0 auto;
        padding: 0;
    }

    .bar-left {
        width: 100%;
    }

    .bar-left img {
        width: 100%;
        max-width: none;
        height: 300px;
        object-fit: cover;
        border-radius: 16px;
    }

    .bar-right {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .bar-para {
        padding: 20px 0 0;
        font-size: 1rem;
        line-height: 1.7;
    }

    .bowling-greens-section,
    .club-rooms-section,
    .club-bar-section {
        min-height: auto;
        padding: 70px 0;
    }

}