/* ==========================================================================
   White Rock Bistro - Menu Hero & Starters Section (menu.css)
   ========================================================================== */

/* Load the same typography used by the Home page so this page renders
   consistently even when opened directly. */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap'); */

/* --------------------------------------------------------------------------
   1. Hero Banner
   -------------------------------------------------------------------------- */
.menu-hero-section {
    position: relative;
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    padding: 80px 24px 60px;
    overflow: hidden;
}

/* HTML Hero Image Styling */
.menu-hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}

.menu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(18, 36, 27, 0.45) 0%,
        rgba(15, 28, 22, 0.65) 60%,
        rgba(10, 20, 15, 0.88) 100%
    );
    z-index: 1;
}

.menu-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
}

.hero-eyebrow {
    display: block;
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-gold, #BFA069);
    margin-bottom: 14px;
    opacity: 0.95;
}


.menu-hero-title {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 52px;
    font-weight: 600;
    letter-spacing: 6px;
    line-height: 1.1;
    color: var(--text-main, #FFFFFF);
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.menu-hero-lead {
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: #DDE5E0;
    max-width: 620px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   2. Pill Category Navigation Bar
   -------------------------------------------------------------------------- */
.menu-category-nav {
    width: 100%;
    background-color: var(--bg-color, #F8F5EE);
    padding: 36px 24px 24px;
    margin-top: 70px;
    overflow-x: auto; /* Allows horizontal scrolling without showing scrollbars */
    scrollbar-width: none; /* Hides scrollbar on Firefox */
    -ms-overflow-style: none; /* Hides scrollbar on IE and Edge */
}

/* Hides scrollbar on Chrome, Safari, and Opera */
.menu-category-nav::-webkit-scrollbar {
    display: none;
}

.menu-category-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap; /* Keeps pills on a single line */
    gap: 12px;
}

.menu-pill {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 50px;
    background-color: transparent;
    border: 1px solid var(--border-color, #D2C9BB);
    color: var(--text-muted, #677069);
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0; /* Prevents pill buttons from shrinking */
}

.menu-pill:hover {
    border-color: var(--accent-gold, #BFA069);
    color: var(--dark-pill, #1D3A2A);
    background-color: rgba(191, 160, 105, 0.08);
}



/* --------------------------------------------------------------------------
   3. Starters & Shareables Content Layout
   -------------------------------------------------------------------------- */
.menu-section {
    width: 100%;
    background-color: var(--bg-color, #F8F5EE);
    padding: 60px 24px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 68px;
    align-items: flex-start;
}

.menu-feature-img-col {
    position: relative;
    width: 100%;
}

.menu-feature-img-wrap {
    width: 100%;
    height: 420px;
    border-radius: var(--radius, 2px);
    overflow: hidden;
    background-color: #E3DCD1;
    box-shadow: 0 16px 40px rgba(36, 43, 39, 0.12);
}

.menu-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-feature-img-wrap:hover .menu-feature-img {
    transform: scale(1.03);
}

.menu-items-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.menu-cat-header {
    width: 100%;
    margin-bottom: 38px;
}

.menu-cat-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
}

.menu-cat-title {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.18;
    color: var(--text-dark, #242B27);
    margin: 0;
}

.menu-cat-tag {
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--accent-gold, #BFA069);
    white-space: nowrap;
}

.menu-cat-divider {
    width: 46px;
    height: 1px;
    background-color: var(--accent-gold, #BFA069);
    margin: 16px 0;
}

.menu-cat-intro {
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted, #677069);
    margin: 0;
}

.menu-dishes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 32px;
    width: 100%;
}

.menu-dish-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dish-name {
    font-family: var(--font-heading, 'Fraunces', serif);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    color: var(--text-dark, #242B27);
    margin: 0;
}

.dish-desc {
    font-family: var(--font-body, 'Karla', sans-serif);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-muted, #677069);
    margin: 0;
}

/* --------------------------------------------------------------------------
   Reversed Menu Category Layout (Text Left, Image Right)
   -------------------------------------------------------------------------- */
.menu-section-reversed .menu-section-container {
    grid-template-columns: 1.35fr 1fr;
}

@media (max-width: 992px) {
    .menu-section-reversed .menu-section-container {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column-reverse; /* Keeps text above image on mobile/tablet */
    }
}



/* --------------------------------------------------------------------------
   4. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .menu-category-nav {
        padding: 20px 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .menu-category-container {
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .menu-section-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .menu-feature-img-wrap {
        height: 380px;
    }
}

@media (max-width: 600px) {
    .menu-hero-title {
        font-size: 34px;
    }

    .menu-cat-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .menu-cat-title {
        font-size: 28px;
    }

    .menu-dishes-grid {
        grid-template-columns: 1fr;
        row-gap: 22px;
    }

    .menu-feature-img-wrap {
        height: 260px;
    }
}
