h1 {
    line-height: 95px;
}

/* SLIDESHOW STYLING */
.menu-page {
    display: grid;
    grid-template-columns: 40% 60%;
    height: 100vh;
    overflow: hidden; /* body doesn’t scroll */
}

/* Slideshow */
.slideshow {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Scrollable content */
.scrollable-content {
    min-height: 100vh;
    overflow-y: auto;
    background-color: var(--lightBg);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Chrome, Safari, Edge (WebKit) */
.scrollable-content::-webkit-scrollbar {
  display: none;
}

.scrollable-content > div {
    height: auto; /* each section is a “slide height” */
    padding: 0 0 150px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
}
#vh-100 {
    height: 100vh;
    padding: 0 0 0 0;
}

/* ------------------------- */
/* Media query for smaller screens: one column layout */
/* ------------------------- */
@media (max-width: 1150px) {
    .menu-page {
        display: block;
        height: auto;
        overflow: visible;
    }

    .slideshow {
        position: relative;
        height: 500px; /* fixed height for slideshow area */
        overflow: hidden;
    }

    .slideshow img {
        position: absolute; /* for slide effect */
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .slideshow img.active {
        opacity: 1;
    }

    .slideshow .prev,
    .slideshow .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        cursor: pointer;
        font-size: 1.5rem;
        z-index: 10;
    }

    .slideshow .prev { left: 10px; }
    .slideshow .next { right: 10px; }

    .scrollable-content {
        height: auto;
        overflow: visible;
    }

    .scrollable-content div {
        height: auto;
    }
}
/* ------------------------- */
/* Other stuff */
/* ------------------------- */
.menu-section {
    width: 50vw;
}

.hr-1 {
    border: none;
    background-color: var(--main);
    height: 9px;
    margin: 30px 0 5px 0;
}
.hr-2 {
    border: none;
    background-color: var(--main);
    height: 3px;
}

.sp-item-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.sp-item-flex > div:first-of-type {
    width: 70%;
}

.sp-item-flex h2 {
    color: var(--black);
    font-family: var(--bodyFont);
    font-weight: 700;
    text-align: left;
    padding-top: 0;
    padding-right: 30px;
    line-height: 1.1;
    font-size: 4rem;
    margin-bottom: 5px;
    margin-top: 30px;
}

.sp-item-chinese {
    font-weight: 500;
    font-size: 3rem;
    margin-bottom: 5px;
}
.sp-price {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 30px;
}

/* ------------------------- */
/* start of general menu styling */
/* ------------------------- */
.noodle-details {
    color: var(--main);
    font-size: 1.6rem;
    margin-bottom: 30px;
}
.list-header {
    font-size: 2.5rem;
    margin-top: 10px;
}
ol {
    margin: 0 0 10px 40px;
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
    margin-top: 30px;
}
.item-grid-sm {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 columns */
    gap: 30px;
    margin-top: 30px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* padding-left: 20px; */
}

.menu-item .price {
    margin-top: auto; /* pushes price down */
}

h2 {
    color: var(--black);
    font-family: var(--bodyFont);
    font-weight: 700;
    text-align: left;
    padding-top: 0;
    line-height: 1.2;
    font-size: 2.5rem;
}
.extra-p {
    font-size: 1.6rem;
    margin-top: -2.5px;
}
.item-chinese {
    font-weight: 500;
    font-size: 1.6rem;
    padding-top: 2.5px;
}
.price {
    font-size: 1.8rem;
    font-weight: 700;
    padding-top: 7.5px;
}

@media (max-width: 1150px) {
    .menu-section {
        width: 80vw;
    }
    h1 {
        padding-top: 10rem;
        line-height: 1.25;
    }
    .hr-1 {
        margin: 20px 0 5px 0;
    }
}
@media (max-width: 950px) {
    .sp-item-flex {
        flex-direction: column;
    }
    .sp-item-flex > div:first-of-type {
        width: 100%;
    }
    .sp-item-flex h2 {
        padding-right: 0px;
    }
}
@media (max-width: 450px) {
    .slideshow {
        height: 400px; 
    }
    
    .sp-item {
        display: flex;
        flex-direction: column;
    }
    .sp-price {
        font-size: 3rem;
        font-weight: 700;
        padding-left: 0;
        padding-top: 10px;
    }
    h1 {
        padding-top: 5rem;       
        font-size: 5.5rem;
    }
}
/* -------- Responsive Breakpoints for the menu item grids -------- */

@media (max-width: 850px) {
    .item-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 400px) {
    .item-grid,
    .item-grid-sm {
        grid-template-columns: 1fr;
    }
}