/* ==========================================================================
   Madkunyah 100% Screenshot Match Layout Stylesheet (Perfect Mobile Overlay Fix)
   ========================================================================== */

:root {
    --bg-cream: #FAF5E8;
    --red-banner: #B62A23;
    --green-title: #133E23;
    --price-red: #DE5041;
    --arrow-red: #DE5041;
    
    --font-banner: 'Fredoka', 'Sniglet', 'Bricolage Grotesque', sans-serif;
    --font-title: 'Montserrat', sans-serif;
    --font-desc: 'Playfair Display', serif;
    --font-price: 'Outfit', sans-serif;
    --font-address: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

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

html, body {
    background-color: var(--bg-cream);
    color: #111111;
    font-family: var(--font-title);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    width: 100%;
}

/* Keyframe Animations */
@keyframes heroFadeIn {
    0% { opacity: 0; transform: scale(1.03); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Full Width Web Wrapper */
.full-web-wrapper {
    width: 100%;
    margin: 0 auto;
    background-color: var(--bg-cream);
    position: relative;
}

/* 1. Hero Table Section */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-img-box {
    position: relative;
    width: 100%;
    max-height: 600px;
    overflow: hidden;
    background-color: #EFEAE0;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-table-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-img-box:hover .hero-table-img {
    transform: scale(1.02);
}

/* 2. Red Banner Section */
.red-banner {
    background-color: var(--red-banner);
    padding: 2.8rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 6px 12px rgba(0,0,0,0.15), inset 0 -6px 12px rgba(0,0,0,0.15);
}

.red-banner-title {
    font-family: var(--font-banner);
    font-size: clamp(1.1rem, 3.8vw, 2.8rem);
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.25;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    white-space: nowrap;
    width: 100%;
    transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.red-banner:hover .red-banner-title {
    letter-spacing: 0.06em;
}

.explore-btn {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.22);
    color: #FFFFFF;
    font-family: var(--font-price);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.explore-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.explore-btn:hover::before {
    left: 100%;
}

.explore-btn:hover {
    background-color: #FFFFFF;
    color: var(--red-banner);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* 3. Horizontal Menu Slider Section */
.menu-slider-section {
    padding: 4.5rem 0 3.5rem 0;
    background-color: var(--bg-cream);
    position: relative;
    width: 100%;
}

.slider-max-width {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.slider-container::-webkit-scrollbar {
    display: none;
}

.slider-track {
    display: flex;
    width: 100%;
}

.slide-page {
    flex: 0 0 100%;
    min-width: 100%;
    scroll-snap-align: start;
    padding: 1rem 0.5rem 2rem 0.5rem;
}

.menu-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Dish Card & Circular Crop */
.dish-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
    opacity: 0.95;
}

.dish-card:hover {
    transform: translateY(-10px);
    opacity: 1;
}

/* Circular Crop Wrapper */
.plate-img-wrap {
    border-radius: 50%;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    margin-bottom: 1.2rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FAF5E8;
    transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.circular-crop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.dish-card:hover .plate-img-wrap {
    box-shadow: 0 24px 44px rgba(222, 80, 65, 0.28);
}

.dish-card:hover .circular-crop {
    transform: scale(1.08) rotate(3deg);
}

/* Medium Side Plates (Left & Right) */
.medium-plate {
    width: 270px;
    height: 270px;
}

/* Large Center Plate (MUCH LARGER & PUSHED LOWER DOWN) */
.center-card {
    margin-top: 4rem;
    z-index: 2;
    animation: floatGentle 4s ease-in-out infinite;
}

.large-plate {
    width: 380px;
    height: 380px;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

/* Dish Meta Typography */
.dish-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dish-title {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--green-title);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.dish-card:hover .dish-title {
    color: var(--red-banner);
    transform: translateY(-2px);
}

.center-card .dish-title {
    font-size: 1.5rem;
}

.dish-desc {
    font-family: var(--font-desc);
    font-style: italic;
    font-weight: 700;
    font-size: 0.9rem;
    color: #111111;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.center-card .dish-desc {
    font-size: 1rem;
}

.dish-price {
    font-family: var(--font-price);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--price-red);
    transition: transform 0.3s ease;
}

.dish-card:hover .dish-price {
    transform: scale(1.08);
}

.center-card .dish-price {
    font-size: 1.3rem;
}

/* Custom Line Arrow Navigation Controls */
.slider-arrows-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3.5rem;
}

.line-arrow-btn {
    background: none;
    border: none;
    color: var(--arrow-red);
    cursor: pointer;
    padding: 0.6rem 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
}

.line-arrow-btn svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.line-arrow-btn.disabled {
    opacity: 0.3;
    cursor: default;
}

.prev-slide-btn:not(.disabled):hover svg {
    transform: translateX(-6px) scale(1.15);
}

.next-slide-btn:not(.disabled):hover svg {
    transform: translateX(6px) scale(1.15);
}

/* 4. Storefront Footer Banner Section (Desktop) */
.storefront-section {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    background-color: #0A0A0A;
}

.storefront-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #0A0A0A;
}

.storefront-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.60) contrast(1.05);
    transition: filter 0.4s ease;
}

.storefront-wrapper:hover .storefront-img {
    filter: brightness(0.70) contrast(1.08);
}

.storefront-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: clamp(0.6rem, 3.2vw, 2.5rem) clamp(0.7rem, 3.6vw, 3.5rem);
    color: #FFFFFF;
    font-family: var(--font-address);
    font-size: clamp(0.48rem, 1.25vw, 1.05rem);
    font-weight: 500;
    line-height: 1.35;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,0.65) 100%);
    pointer-events: auto;
    user-select: text;
    z-index: 5;
}

.left-col {
    text-align: left;
    margin-bottom: 0.4rem;
}

.left-col p {
    margin-bottom: 0.2rem;
}

.right-col {
    text-align: right;
}

.right-col .company-heading {
    font-weight: 800;
    margin-bottom: 0.3rem;
    letter-spacing: 0.02em;
    font-size: clamp(0.55rem, 1.35vw, 1.15rem);
}

/* Responsive Scaling for Tablets */
@media (max-width: 992px) {
    .medium-plate {
        width: 190px;
        height: 190px;
    }
    .large-plate {
        width: 270px;
        height: 270px;
    }
    .center-card {
        margin-top: 2.5rem;
    }
    .dish-title {
        font-size: 1rem;
    }
    .center-card .dish-title {
        font-size: 1.2rem;
    }
}

/* Smartphone Mobile Optimization (Fluid Un-cropped Contain & Fluid Clamp Text) */
@media (max-width: 680px) {
    .red-banner {
        padding: 1.8rem 0.5rem;
    }
    .red-banner-title {
        font-size: clamp(0.85rem, 4.3vw, 1.4rem);
        white-space: nowrap;
    }
    .explore-btn {
        font-size: 0.76rem;
        padding: 0.4rem 1.4rem;
    }
    .slider-max-width {
        padding: 0 0.5rem;
    }
    .slide-page {
        padding: 0.5rem 0.2rem 1.5rem 0.2rem;
    }
    .menu-row {
        gap: 0.4rem;
        justify-content: space-evenly;
        align-items: flex-end;
    }
    
    /* Proportional Mobile Plate Sizes */
    .medium-plate {
        width: 96px;
        height: 96px;
        margin-bottom: 0.6rem;
    }
    .large-plate {
        width: 140px;
        height: 140px;
        margin-bottom: 0.6rem;
    }
    .center-card {
        margin-top: 1.2rem;
    }
    .dish-title {
        font-size: 0.72rem;
        margin-bottom: 0.15rem;
    }
    .center-card .dish-title {
        font-size: 0.85rem;
    }
    .dish-desc {
        font-size: 0.62rem;
        margin-bottom: 0.2rem;
    }
    .center-card .dish-desc {
        font-size: 0.68rem;
    }
    .dish-price {
        font-size: 0.72rem;
    }
    .center-card .dish-price {
        font-size: 0.85rem;
    }

    /* Fluid Un-cropped Contain Storefront (100% Un-cropped Photo + Copyable HTML Overlay) */
    .storefront-section {
        margin-top: 1.5rem;
    }

    .storefront-wrapper {
        position: relative;
        width: 100%;
        display: block;
        background-color: #0A0A0A;
    }

    .storefront-img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: contain; /* 100% PRESERVES THE ENTIRE PHOTO WITH ZERO CROPPING TOP, BOTTOM, LEFT, OR RIGHT! */
        filter: brightness(0.60) contrast(1.05);
    }

    .storefront-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding: 0.45rem 0.4rem;
        color: #FFFFFF;
        font-family: var(--font-address);
        font-size: clamp(0.38rem, 1.9vw, 0.52rem);
        font-weight: 500;
        line-height: 1.2;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
        background: linear-gradient(180deg, rgba(0,0,0,0) 15%, rgba(0,0,0,0.75) 85%);
        z-index: 5;
    }

    .left-col {
        max-width: 48%;
        margin-bottom: 0.05rem;
    }

    .right-col {
        max-width: 50%;
        text-align: right;
    }

    .left-col p, .right-col p {
        margin-bottom: 0.05rem;
    }

    .right-col .company-heading {
        font-size: clamp(0.42rem, 2.1vw, 0.56rem);
        font-weight: 800;
        margin-bottom: 0.06rem;
    }
}
