/* Menu CSS - Improved Design with Hero and Floating Nav */

:root {
    --lpq-bg: #fdfcf9;
    --lpq-text: #2d2d2d;
    --vnc-orange: #f26522;
    --vnc-green: #00a651;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
    --section-spacing: 80px;
    --header-height: 65px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--lpq-bg);
    color: var(--lpq-text);
    font-family: var(--font-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-top: var(--header-height);
    padding-bottom: 60px;
    /* space for fixed bottom nav bar */
}

/* Header Adjustments */
.site-header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Hero Banners Stacking Layout (LPQ Style) */
.hero-banners-wrapper {
    position: relative;
    /* Remove default menu-container padding behavior if needed */
}

.sticky-banner {
    position: sticky;
    top: 0;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    background-color: var(--lpq-bg);
    border-bottom: 1px solid #000;
}

/* Ensure they stack in correct order if overlapping identically */
#banner-1 {
    z-index: 11;
}

#banner-2 {
    z-index: 12;
}

#banner-3 {
    z-index: 13;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtle dark gradient overlay at bottom for text readability */
.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
    pointer-events: none;
}

.banner-content {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.banner-category {
    font-family: var(--font-sans);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 500;
}

.banner-title {
    font-family: var(--font-sans);
    font-size: clamp(28px, 4.5vw, 60px);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
    margin: 0;
    max-width: 80%;
}

/* Floating Info Button inside Banner */
.banner-info-btn {
    position: absolute;
    bottom: 24px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #000;
    transition: transform 0.3s ease;
}

.banner-info-btn:hover {
    transform: scale(1.1);
}

.banner-info-btn i {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 24px;
    font-weight: bold;
}

/* Split Banner Layout */
.split-banner {
    display: flex;
    flex-direction: row;
}

.split-side {
    position: relative;
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.split-left {
    border-right: 1px solid #000;
    z-index: 10;
    /* Maintain stacking context within the split */
}

/* Small adjustments for split banner text */
.split-side .banner-title {
    font-size: clamp(30px, 4vw, 60px);
}

@media (max-width: 768px) {
    .split-banner {
        flex-direction: column;
        height: auto;
    }

    .split-side {
        border-right: none;
        border-bottom: 1px solid #000;
        height: 30vh;
    }
}

/* Bottom Category Nav — Fixed full-width bar at the bottom */
.category-nav-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #000;
    padding: 0;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Hidden by default; shown via JS when appetizers section is reached */
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.category-nav-wrapper.nav-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
}

.category-nav-wrapper:not(.nav-hidden) {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Override GSAP-hidden state from style.css */
.category-nav-wrapper .category-link,
.category-nav-wrapper .category-nav-link {
    visibility: visible !important;
    opacity: 1 !important;
}

.category-nav {
    display: flex;
    width: 100%;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

/* Nav links inside the bottom bar */
.category-nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 16px 10px;
    text-decoration: none;
    color: #666;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid #e0e0e0;
    text-align: center;
    background: #fff;
}

.category-nav-link:last-child {
    border-right: none;
}

.category-nav-link:hover {
    color: #000;
    background: rgba(0, 0, 0, 0.04);
}

.category-nav-link.active {
    color: #000;
    font-weight: 700;
    border-top: 2px solid #000;
}

/* Menu Layout */
.menu-container {
    display: block;
    max-width: none;
    padding: 0;
    width: 100%;
    padding-bottom: 40px;
    margin: 0;
    counter-reset: vnc-section;
}

/* Removed old .menu-header text section */

/* Menu Grid LPQ Style */
.menu-section {
    padding: 60px 40px;
    margin-bottom: var(--section-spacing);
    scroll-margin-top: 80px;
}

.menu-section:last-of-type {
    margin-bottom: 0;
}

/* Section counter (reset on .menu-container above) */
.menu-section { counter-increment: vnc-section; }

.section-title {
    margin-bottom: 40px;
    text-align: left;
    overflow: visible;
}

/* Animated section number */
.section-title::before {
    content: counter(vnc-section, decimal-leading-zero);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--vnc-orange);
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.45s ease 0.1s, transform 0.45s ease 0.1s;
}
.section-title.gsap-visible::before {
    opacity: 1;
    transform: translateY(0);
}


.section-title h2 {
    font-family: var(--font-sans);
    font-size: clamp(24px, 2.8vw, 40px);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    border-bottom: none;
    line-height: 1.1;
}

/* counter override removed — underline handled in animation block below */

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .menu-section {
        padding: 40px 20px;
    }
}

/* LPQ Style Vertical Cards */
.menu-item {
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.item-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.item-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.menu-item:hover .item-img-container img {
    transform: scale(1.05);
}

/* Tray icon placeholder — shown when no photo is available */
.item-emoji {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef9f0 0%, #fde8c8 100%);
}

.item-emoji img {
    width: 52%;
    height: auto;
    opacity: 0.35;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.menu-item:hover .item-emoji img {
    transform: scale(1.1);
    opacity: 0.55;
}

/* Internal card info button */
.card-info-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #000;
    z-index: 5;
    transition: transform 0.3s ease;
}

.card-info-btn:hover {
    transform: scale(1.1);
}

.card-info-btn i {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 20px;
    font-weight: bold;
}

.item-content {
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.item-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    line-height: 1.2;
    padding-right: 10px;
}

.item-price {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--vnc-orange);
    font-size: 16px;
}

.item-description {
    font-size: 14px;
    color: #444;
    margin-bottom: 12px;
    font-weight: 400;
    line-height: 1.5;
    flex-grow: 1;
}

.item-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-sans);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag-vegan {
    background: #f1f8e9;
    color: #33691e;
}

.tag-jain {
    background: #fff3e0;
    color: #e65100;
}

.tag-nutfree {
    background: #e3f2fd;
    color: #0d47a1;
}

/* Replaced Featured Card with Banners above */

/* Floating Navigation - Hidden */
.floating-nav-container {
    display: none;
}

/* Footer Improvements */
.menu-footer {
    background: var(--lpq-bg);
    padding: 80px 40px 40px;
    border-top: none;
}

.footer-top {
    max-width: 1400px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}

.footer-logo-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
}

.footer-actions {
    display: flex;
    flex: 2;
    gap: 20px;
}

.footer-btn {
    text-decoration: none;
    color: var(--lpq-text);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 26px;
    border: 1px solid var(--lpq-text);
    border-radius: 12px;
    transition: all 0.3s;
    flex: 1;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
}

.footer-btn:hover {
    background: rgba(0, 0, 0, 0.03);
}

.footer-bottom-bar {
    max-width: 1400px;
    margin: 0 auto;
    border: 1px solid var(--lpq-text);
    border-radius: 12px;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--lpq-text);
}

.footer-copy {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.footer-social a {
    color: var(--lpq-text);
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 25px;
    justify-content: flex-end;
}

.footer-links a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer-btn {
        aspect-ratio: auto;
        min-height: 200px;
    }
}

@media (max-width: 768px) {
    .menu-footer {
        padding: 60px 20px 20px;
    }

    .footer-actions {
        flex-direction: column;
    }

    .footer-btn {
        min-height: 150px;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-copy,
    .footer-links {
        justify-content: center;
        flex: none;
    }
}

/* =============================================
   MENU PAGE — ANIMATIONS & MICRO-INTERACTIONS
   ============================================= */

/* Banner image — subtle zoom on hover */
.banner-bg img {
    transition: transform 7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sticky-banner:hover .banner-bg img {
    transform: scale(1.05);
}

/* Banner info button — rotate on hover */
.banner-info-btn {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}

.banner-info-btn:hover {
    transform: rotate(45deg) scale(1.12);
    background-color: #000;
    color: #fff;
}

/* Menu card — lift + shadow on hover */
.menu-item {
    transition: box-shadow 0.45s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-item:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
}

/* Image scale — more dramatic */
.item-img-container img {
    transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-item:hover .item-img-container img {
    transform: scale(1.08);
}

/* Card info button — same rotation as banner */
.card-info-btn {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.3s ease,
        color 0.3s ease;
}

.card-info-btn:hover {
    transform: rotate(45deg) scale(1.1);
    background-color: #000;
    color: #fff;
}

/* Item price — warm accent on hover */
.menu-item:hover .item-price {
    color: #c7541e;
    transition: color 0.3s ease;
}

/* Tags — gentle scale on hover */
.tag {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-item:hover .tag {
    transform: scale(1.06);
}

/* Category nav — sliding bottom indicator replacing border-top */
.category-nav-link {
    position: relative;
    overflow: hidden;
}

.category-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-nav-link.active {
    border-top: none;
    background: rgba(0, 0, 0, 0.03);
    color: #000;
    font-weight: 700;
}

.category-nav-link.active::after,
.category-nav-link:hover::after {
    transform: scaleX(1);
}

/* Section title — underline draw on scroll reveal */
.section-title h2::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2.5px;
    background: var(--vnc-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.55s;
    opacity: 1;
    border-radius: 2px;
}

.section-title.gsap-visible h2::after {
    transform: scaleX(1);
}