@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Base & Banner (Inherits global styles, overrides height)
   ========================================================================== */
.main-body {
    padding-bottom: 30px;
    background-image: url('../images/smenu-bg.png');
    background-attachment: fixed !important;
}

.main-body .body-banner.menu-banner-custom {
    height: 400px;
}

.banner-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 3;
    transform: rotate(180deg);
    background-image: url("../images/smenu-bg.png");
    background-attachment: fixed;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' class='shape-fill'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' class='shape-fill'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' class='shape-fill'%3E%3C/path%3E%3C/svg%3E");
    -webkit-mask-size: 100% 100%;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' class='shape-fill'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' class='shape-fill'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' class='shape-fill'%3E%3C/path%3E%3C/svg%3E");
    mask-size: 100% 100%;
}

@media (max-width: 991px) {
    .main-body .body-banner.menu-banner-custom {
        height: 300px;
    }
    .banner-wave {
        height: 40px;
    }
}

/* ==========================================================================
   Premium Menu Structure (Sections & Tabs)
   ========================================================================== */
.premium-menu-layout {
    padding: 60px 24px 90px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Parent Sections */
.menu-section {
    margin-bottom: 90px;
}

.menu-section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 25px;
}
.menu-section-title .line {
    width: 60px;
    height: 1.5px;
    background: var(--color-accent, #c99339);
    flex-shrink: 0;
}
.menu-section-title .label-text {
    font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1;
    font-size: 38px;
    color: var(--primary-color, #014F86);
    font-style: italic;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

/* Tabs Navigation with Horizontal Scroll Wrapper */
.menu-categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    border-bottom: 1px solid rgba(201, 147, 57, 0.25);
    padding-bottom: 12px;
    width: 100%;
    transition: all 0.3s ease;
}

.category-btn {
    background: transparent;
    border: none;
    padding: 0 10px 10px 10px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #718096;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.25s ease;
    position: relative;
}

.category-btn::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent, #c99339);
    transition: width 0.3s ease;
}

.category-btn:hover {
    color: var(--primary-color, #014F86);
}

.category-btn.active {
    color: var(--primary-color, #014F86);
    font-weight: 600;
}

.category-btn.active::after {
    width: 100%;
}

/* Category Nav Buttons (Arrow controls for scrollable tabs) */
.menu-cat-nav-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--color-accent, #c99339);
    color: var(--color-accent, #c99339);
    cursor: pointer;
    flex-shrink: 0;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.25s ease;
    padding: 0;
}
.menu-cat-nav-btn:hover {
    background: var(--color-accent, #c99339);
    color: #ffffff;
}
.menu-cat-nav-btn.is-disabled {
    opacity: 0.25;
    cursor: not-allowed;
    pointer-events: none;
}
.menu-cat-prev {
    margin-right: 8px;
}
.menu-cat-next {
    margin-left: 8px;
}

/* Toggling & Animation Logic */
.combo-card,
.menu-dish-card {
    display: none;
    opacity: 0;
    transform: translateY(12px);
}
.combo-card.active,
.menu-dish-card.active {
    display: block;
    animation: menuCardFade 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes menuCardFade {
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ==========================================================================
   Elegant Combo Redesign (Split Screen Luxury Card)
   ========================================================================== */
.combo-split-layout.elegant-combo {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: url('../images/bg-main.jpeg') center/50% repeat; 
    background-color: var(--color-primary, #0a0f12);
    color: #fff;
    border-radius: 0;
    border: 1px solid rgba(201, 147, 57, 0.35);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.elegant-combo .combo-text-col {
    flex: 1 1 50%;
    padding: 50px 60px;
    background: transparent;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.elegant-combo .combo-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 32px 0;
    line-height: 1.2;
    letter-spacing: 2.5px;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.elegant-combo .combo-subtitle {
    color: var(--color-accent, #c99339);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: -25px 0 25px 0;
}

.elegant-combo .premium-dish-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.elegant-combo .premium-dish-list li {
    margin-bottom: 22px;
    position: relative;
    padding-left: 24px;
}

.elegant-combo .premium-dish-list li:last-child {
    margin-bottom: 0;
}

/* Decorative gold bullet */
.elegant-combo .premium-dish-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background: var(--color-accent, #c99339);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(201, 147, 57, 0.8);
}

.elegant-combo .premium-dish-list h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700; /* Font mập, đậm nét, dễ đọc */
    color: #ffffff;
    letter-spacing: 1.2px;
    line-height: 1.45;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}

.elegant-combo .premium-dish-list p.dish-vn {
    font-style: italic;
    color: #f1f5f9;
    margin: 4px 0 0 0;
    font-size: 14.5px;
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Image column with Arch Frame */
.elegant-combo .combo-image-col {
    flex: 1 1 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    z-index: 2;
    background: transparent;
    box-sizing: border-box;
}

.elegant-combo .combo-arch-frame {
    width: 80%;
    max-width: 520px;
    aspect-ratio: 0.75;
    position: relative;
    border-radius: 500px 500px 0 0;
    border: 1.5px solid var(--color-accent, #c99339);
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: rgba(10, 15, 18, 0.4);
    box-sizing: border-box;
}
.elegant-combo .combo-arch-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 490px 490px 0 0;
    display: block;
}

/* ==========================================================================
   Premium Single Dish Grid Layout (Minimalist & Balanced)
   ========================================================================== */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
}

.premium-dish-item {
    text-align: center;
    background: #ffffff;
    border-radius: 0;
    padding: 12px 12px 18px;
    border: 1px solid rgba(201, 147, 57, 0.22);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.premium-dish-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(1, 79, 134, 0.09);
    border-color: rgba(201, 147, 57, 0.55);
}

.dish-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1; 
    overflow: hidden;
    margin-bottom: 14px;
    border-radius: 0;
    position: relative;
    background: #f8f9fa;
}

.dish-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.premium-dish-item:hover .dish-img-wrap img {
    transform: scale(1.06);
}

.dish-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    padding: 0 4px;
}

.dish-text-wrap h4 {
    font-family: 'Cormorant Garamond', serif; font-variant-numeric: lining-nums; font-feature-settings: 'lnum' 1;
    font-size: 21px;
    font-weight: 600;
    color: var(--primary-color, #014F86);
    margin: 0 0 6px 0;
    line-height: 1.25;
}

.dish-text-wrap p.vietnamese {
    color: #718096;
    font-size: 13.5px;
    font-style: italic;
    margin: 0 0 10px 0;
}

.dish-line {
    width: 24px;
    height: 1.5px;
    background: var(--color-accent, #c99339);
    transition: width 0.3s ease;
    margin-top: auto;
}

.premium-dish-item:hover .dish-line {
    width: 48px;
}

/* ==========================================================================
   Responsive Optimizations
   ========================================================================== */
@media (max-width: 991px) {
    .premium-menu-layout {
        padding: 40px 20px 70px;
    }
    .menu-section {
        margin-bottom: 70px;
    }
    .premium-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 16px;
    }
    .elegant-combo .combo-text-col {
        padding: 40px;
    }
    .elegant-combo .combo-title {
        font-size: 34px;
        margin-bottom: 25px;
    }
    .elegant-combo .combo-arch-frame {
        width: 90%;
        max-width: 380px;
        border-radius: 500px 500px 0 0;
    }
    .elegant-combo .combo-arch-frame img {
        border-radius: 500px 500px 0 0;
    }
}

@media (max-width: 768px) {
    .premium-menu-layout {
        padding: 30px 16px 50px;
    }
    .menu-section {
        margin-bottom: 50px;
    }
    
    /* Section Title */
    .menu-section-title {
        gap: 12px;
        margin-bottom: 18px;
    }
    .menu-section-title .line {
        width: 30px;
    }
    .menu-section-title .label-text {
        font-size: 26px;
    }

    /* Category Tabs: Smooth Touch Scroll & Compact Buttons */
    .menu-categories-wrapper {
        margin-bottom: 24px;
    }
    .menu-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        padding-bottom: 8px;
        scroll-behavior: smooth;
    }
    .menu-categories::-webkit-scrollbar {
        display: none;
    }
    .category-btn {
        white-space: nowrap;
        font-size: 13.5px;
        letter-spacing: 1.2px;
        padding: 0 4px 8px 4px;
        flex-shrink: 0;
    }
    .category-btn::after {
        bottom: -9px;
    }    /* Elegant Combo Mobile */
    .combo-split-layout.elegant-combo {
        flex-direction: column;
        padding: 30px 18px 40px; /* Thêm padding trên và dưới thoải mái */
        border-radius: 0;
        box-sizing: border-box;
    }
    .elegant-combo .combo-text-col {
        flex: 1 1 100%;
        padding: 0;
        text-align: left;
    }
    .elegant-combo .combo-title {
        font-family: 'Playfair Display', 'Cormorant Garamond', serif;
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 22px;
        text-align: center;
        letter-spacing: 1.5px;
        font-variant-numeric: lining-nums;
        font-feature-settings: "lnum" 1;
    }
    .elegant-combo .premium-dish-list {
        padding: 0 4px;
        margin-bottom: 0;
    }
    .elegant-combo .premium-dish-list li {
        margin-bottom: 15px;
        padding-left: 20px;
    }
    .elegant-combo .premium-dish-list li:last-child {
        margin-bottom: 0;
    }
    .elegant-combo .premium-dish-list li::before {
        top: 7px;
        width: 5px;
        height: 5px;
    }
    .elegant-combo .premium-dish-list h4 {
        font-size: 15px;
        letter-spacing: 0.8px;
        font-weight: 700;
        color: #ffffff;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    }
    .elegant-combo .combo-image-col {
        flex: 1 1 100%;
        width: 100%;
        padding: 0;
        margin-top: 32px; /* Khoảng cách rõ ràng với nội dung ở top */
        margin-bottom: 5px; /* Tránh dính cạnh dưới ở bottom */
        min-height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }
    .elegant-combo .combo-arch-frame {
        width: 95%;
        max-width: 380px;
        aspect-ratio: 1 / 0.95;
        margin: 0 auto;
        padding: 10px;
        border-radius: 500px 500px 0 0;
        border: 1.5px solid var(--color-accent, #c99339);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
        background: rgba(10, 15, 18, 0.4);
        box-sizing: border-box;
    }
    .elegant-combo .combo-arch-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 490px 490px 0 0;
        display: block;
    }

    /* Single Dishes Grid Mobile: 2 Columns */
    .premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 10px;
    }
    .premium-dish-item {
        padding: 8px 8px 12px;
        border-radius: 0;
    }
    .dish-img-wrap {
        margin-bottom: 10px;
        border-radius: 0;
    }
    .dish-img-wrap img {
        border-radius: 0;
    }
    .dish-text-wrap h4 {
        font-size: 15px;
        margin-bottom: 4px;
        min-height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.25;
    }
    .dish-text-wrap p.vietnamese {
        font-size: 11.5px;
        margin-bottom: 6px;
    }
    .dish-line {
        width: 18px;
    }
    .premium-dish-item:hover .dish-line {
        width: 32px;
    }
}
