.card-section h2,
.bar-section h2,
.kitchen-facilities h2,
.video-section h2 {
    margin-top: 0;
}

.functions-hero {
    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%
    );
}

.functions-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.7),
            rgba(0, 0, 0, 0.7)
        ),
        url("./assets/functions-hero.webp") center/cover no-repeat;

    animation: functionZoom 15s ease-out forwards;
    z-index: -1;
}

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

    to {
        transform: scale(1.0);
    }
}

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

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

/* Function Cards */

.card-section {
    min-height: 100vh;
    padding-top: 100px;
}

.card-grid {
    width: min(1200px, 90%);
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-card {
    background: var(--accent);
    color: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    min-height: 320px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.highlight-card i {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--gold);
}

.highlight-card h3 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.highlight-card p {
    font-family: var(--body-font);
    line-height: 1.6;
    opacity: .95;
}

/* Bar Section */

.bar-section {
    min-height: 100vh;   
    margin-top: 100px;
    background-color: #EAF7E5;
    padding: 100px 0 50px;
}

.bar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.bar-images {
    padding: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
}

.bar-container p {
    font-family: var(--body-font);
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    text-align: center;
    max-width: 900px;
    margin: 2rem auto 0;
}

.bar-container img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 25px;
    margin: 20px;
    display: block;
}

/* Kitchen Facilities */

.kitchen-facilities {
    background: var(--bg);
    padding: 100px 0;
}

.kitchen-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.kitchen-content h2 {
    font-family: "League Spartan", sans-serif;
    font-size: 3rem;
    color: var(--accent-dark);
    text-align: center;
    margin-bottom: 2rem;
}

.kitchen-content p {
    max-width: 900px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.kitchen-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 3rem;
}

.kitchen-images img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

/* Video Section */

.video-section {
    padding: 100px 0;
    background-color: var(--accent-dark)!important;
}

.welcome-h2.video {
    color: var(--white);
}

.video-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

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

.function-video {
    width: 100%;
    max-width: 500px;
    height: 550px;
    object-fit: cover;
    display: block;
    border: 15px solid var(--gold);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.video-right p {
    font-family: var(--body-font);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--white);
}

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

@media (max-width: 900px) {

    /* Functions Hero */

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

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

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

    /* Function Cards */

    .card-section {
        min-height: auto;
        padding: 80px 0;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin: 40px auto 0;
    }

    .highlight-card {
        min-height: 300px;
        padding: 35px 25px;
    }

    /* Bar Section */

    .bar-section {
        min-height: auto;
        margin-top: 0;
        padding: 80px 0;
    }

    .bar-container {
        width: min(900px, 90%);
        margin: 0 auto;
    }

    .bar-images {
        width: 100%;
        padding: 40px 0;
        display: grid;
        grid-template-rows: 1fr 1fr;
        gap: 30px;
    }

    .bar-container img {
        height: 420px;
        margin: 0;
    }

    .bar-container p {
        max-width: 750px;
        padding: 0 20px;
    }

    /* Kitchen */

    .kitchen-facilities {
        padding: 80px 0;
    }

    .kitchen-content h2 {
        font-size: 2.7rem;
    }

    .kitchen-images img {
        height: 300px;
    }

    /* Video */

    .video-section {
        padding: 80px 0;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .function-video {
        max-width: 600px;
        height: 500px;
    }

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

    .video-right p {
        max-width: 750px;
    }
}

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

@media (max-width: 768px) {

    /* Functions Hero */

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

    .functions-hero::before {
        background-position: center;
    }

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

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

    /* Function Cards */

    .card-section {
        min-height: auto;
        padding: 70px 0;
    }

    .card-grid {
        width: 90%;
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 35px auto 0;
    }

    .highlight-card {
        width: 100%;
        min-height: auto;
        padding: 35px 22px;
    }

    .highlight-card i {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .highlight-card h3 {
        font-size: 1.6rem;
    }

    .highlight-card p {
        font-size: 1rem;
    }

    /* Bar Section */

    .bar-section {
        min-height: auto;
        margin-top: 0;
        padding: 70px 0;
    }

    .bar-container {
        width: 90%;
        margin: 0 auto;
    }

    .bar-images {
        width: 100%;
        padding: 30px 0;
        display: block;
    }

    .bar-container img {
        width: 100%;
        height: 300px;
        margin: 0;
        border-radius: 16px;
    }

    .bar-images {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .bar-images img {
        margin: 0;
    }

    .bar-container p {
        padding: 0;
        margin-top: 1.5rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    /* Kitchen */

    .kitchen-facilities {
        padding: 70px 0;
    }

    .kitchen-container {
        width: 90%;
    }

    .kitchen-content h2 {
        font-size: clamp(2rem, 9vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }

    .kitchen-content p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .kitchen-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .kitchen-images img {
        height: 280px;
        border-radius: 16px;
    }

    /* Video */

    .video-section {
        padding: 70px 0;
    }

    .video-container {
        width: 90%;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .function-video {
        width: 100%;
        max-width: none;
        height: 420px;
        border-width: 12px;
        border-radius: 16px;
    }

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

    .video-right p {
        font-size: 1rem;
        line-height: 1.7;
    }
}