/*
============================================================
FILE: menu-showcase.css
SECTION: Interactive Featured Menu - Restaurant Home

Purpose:
Styles only the new interactive menu showcase that replaces
the old Featured Specials cards on index.php.

The class names are prefixed with "showcase-" or
"restaurant-showcase" to avoid conflicts with home.css.

Location:
assets/css/menu-showcase.css
============================================================
*/

/* =========================================================
   SECTION WRAPPER
========================================================= */

.menu-showcase-section {
    position: relative;
}

/* =========================================================
   MAIN TWO-COLUMN LAYOUT
   Left  = large dish image
   Right = separate dish option cards
========================================================= */

.restaurant-showcase {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 24px;
    align-items: stretch;
    margin-top: 34px;
}

/* =========================================================
   LARGE IMAGE PANEL
========================================================= */

.showcase-image-panel {
    position: relative;
    min-height: 640px;
    overflow: hidden;
    border-radius: 28px;

    background: #24160f;

    border: 1px solid rgba(160, 108, 58, 0.24);

    box-shadow:
        0 28px 70px rgba(45, 28, 17, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.showcase-image-panel > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    filter: brightness(0.84) contrast(1.05);

    transition:
        opacity 0.28s ease,
        transform 0.55s ease,
        filter 0.55s ease;
}

.showcase-image-panel > img.is-changing {
    opacity: 0;
    transform: scale(1.04);
}

.showcase-image-panel:hover > img {
    transform: scale(1.035);
    filter: brightness(0.78) contrast(1.08);
}

/* Dark gradient keeps text readable on any food image. */
.showcase-image-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            to top,
            rgba(24, 14, 8, 0.92),
            rgba(24, 14, 8, 0.18) 58%,
            transparent 78%
        );
}

/* =========================================================
   TEXT BOX INSIDE IMAGE
========================================================= */

.showcase-dish-info {
    position: absolute;
    z-index: 3;

    left: 22px;
    right: 22px;
    bottom: 22px;

    padding: 22px;

    border-radius: 22px;

    background: rgba(26, 16, 10, 0.72);

    border: 1px solid rgba(255, 238, 216, 0.16);

    box-shadow: 0 18px 45px rgba(20, 12, 7, 0.22);

    backdrop-filter: blur(12px);
}

.showcase-dish-info > span {
    display: inline-block;

    margin-bottom: 7px;

    color: #d59b57;

    text-transform: uppercase;
    letter-spacing: 1.2px;

    font-size: 0.76rem;
    font-weight: 800;
}

.showcase-dish-info h3 {
    margin: 0 0 10px;

    color: #fffaf3;

    font-size: clamp(1.75rem, 3vw, 2.8rem);
    line-height: 1.05;
}

.showcase-dish-info p {
    margin: 0;

    color: rgba(255, 250, 243, 0.78);

    line-height: 1.65;
}

.showcase-dish-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    margin-top: 16px;
}

.showcase-price {
    color: #e7b06b;

    font-size: 1.45rem;
    font-weight: 900;
}

.showcase-tag {
    padding: 7px 11px;

    border-radius: 999px;

    color: #f5dcc0;

    background: rgba(213, 155, 87, 0.14);

    border: 1px solid rgba(213, 155, 87, 0.22);

    font-size: 0.76rem;
    font-weight: 800;
}

/* =========================================================
   RIGHT-SIDE OPTION CARDS
========================================================= */

.showcase-options {
    display: grid;
    grid-template-rows: repeat(6, 1fr);
    gap: 12px;
}

.showcase-option {
    position: relative;

    width: 100%;

    padding: 16px 18px;

    overflow: hidden;

    border-radius: 18px;

    color: #342116;
    text-align: left;

    cursor: pointer;

    background:
        linear-gradient(
            145deg,
            rgba(255, 252, 247, 0.94),
            rgba(239, 225, 207, 0.90)
        );

    border: 1px solid rgba(154, 105, 61, 0.18);

    box-shadow:
        0 12px 28px rgba(78, 48, 27, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);

    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        box-shadow 0.22s ease;
}

.showcase-option::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(196, 126, 59, 0.18),
            transparent 48%
        );

    transition: opacity 0.22s ease;
}

.showcase-option:hover,
.showcase-option.active {
    transform: translateX(-5px);

    border-color: rgba(176, 112, 52, 0.42);

    background:
        linear-gradient(
            145deg,
            #fff9ef,
            #ead3b5
        );

    box-shadow:
        0 18px 36px rgba(79, 48, 26, 0.16),
        0 0 24px rgba(191, 119, 48, 0.08);
}

.showcase-option:hover::before,
.showcase-option.active::before {
    opacity: 1;
}

.showcase-option-content {
    position: relative;
    z-index: 2;
}

.showcase-option-number {
    display: inline-block;

    margin-bottom: 5px;

    color: #a8642f;

    text-transform: uppercase;
    letter-spacing: 1.1px;

    font-size: 0.70rem;
    font-weight: 900;
}

.showcase-option h3 {
    margin: 0 0 5px;

    color: #342116;

    font-size: 1rem;
    line-height: 1.2;
}

.showcase-option p {
    display: -webkit-box;
    overflow: hidden;

    margin: 0;

    color: #715643;

    font-size: 0.84rem;
    line-height: 1.4;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.showcase-menu-link {
    margin-top: 30px;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 920px) {
    .restaurant-showcase {
        grid-template-columns: 1fr;
    }

    .showcase-image-panel {
        min-height: 500px;
    }

    .showcase-options {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
    }

    .showcase-option:hover,
    .showcase-option.active {
        transform: translateY(-3px);
    }
}

/* =========================================================
   MOBILE
   Image stays on top.
   Options become a horizontal swipe row.
========================================================= */

@media (max-width: 620px) {
    .restaurant-showcase {
        gap: 14px;
    }

    .showcase-image-panel {
        min-height: 430px;
        border-radius: 22px;
    }

    .showcase-dish-info {
        left: 12px;
        right: 12px;
        bottom: 12px;

        padding: 15px;

        border-radius: 17px;
    }

    .showcase-dish-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .showcase-options {
        display: flex;
        gap: 10px;

        overflow-x: auto;

        padding: 3px 2px 10px;

        scroll-snap-type: x mandatory;
    }

    .showcase-option {
        flex: 0 0 245px;

        min-height: 122px;

        scroll-snap-align: start;
    }

    .showcase-option:hover,
    .showcase-option.active {
        transform: none;
    }
}