:root {
    --royal-navy: #152551;
    --royal-gold: #C5A059;
    --royal-gold-light: #E5B75D;
    --royal-dark: #081228;
}

.menu-page-header {
    background: linear-gradient(135deg, rgba(8, 18, 40, 0.96) 0%, rgba(21, 37, 81, 0.94) 100%), url("../images/Restaurant1.jpg") center/cover no-repeat;
    color: #ffffff;
    padding: 4rem 1rem 3rem 1rem;
    text-align: center;
    border-bottom: 3px solid var(--royal-gold);
    position: relative;
}

.menu-page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.menu-page-header p {
    color: #cbd5e1;
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.6;
}

.menu-stats-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(197, 160, 89, 0.4);
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sticky Navigation Category & Filter Bar */
.menu-nav-sticky-bar {
    position: sticky;
    top: 65px;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
}

.menu-filter-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-tabs-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.category-tab-btn {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: var(--royal-navy);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-tab-btn:hover {
    border-color: var(--royal-gold);
    color: var(--royal-navy);
    background: #fdfbf7;
    transform: translateY(-1px);
}

.category-tab-btn:active {
    transform: translateY(1px) scale(0.97) !important;
    filter: brightness(0.95);
    transition: transform 0.05s ease-out !important;
}

.category-tab-btn.active-tab {
    background: var(--royal-navy);
    color: var(--royal-gold);
    border-color: var(--royal-navy);
    box-shadow: 0 4px 14px rgba(21, 37, 81, 0.25);
    transform: translateY(-1px);
}

.filter-controls-group {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.diet-filter-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
}

.diet-filter-pill:active {
    transform: translateY(1px) scale(0.96) !important;
    filter: brightness(0.95);
    transition: transform 0.05s ease-out !important;
}

.diet-filter-pill.active-diet {
    background: var(--royal-gold);
    color: var(--royal-dark);
    border-color: var(--royal-gold);
    box-shadow: 0 3px 10px rgba(197, 160, 89, 0.35);
}

.menu-search-input {
    padding: 7px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 20px;
    font-size: 0.84rem;
    outline: none;
    width: 180px;
    transition: all 0.2s;
}

.menu-search-input:focus {
    border-color: var(--royal-gold);
    width: 220px;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

/* Category Section Layout */
.menu-content-wrapper {
    max-width: 1250px;
    margin: 2.5rem auto;
    padding: 0 1rem;
}

.category-section-block {
    margin-bottom: 4rem;
    scroll-margin-top: 140px;
}

.category-header-banner {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 1.75rem;
}

.category-header-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    color: var(--royal-navy);
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-header-left p {
    color: #64748b;
    margin: 0;
    font-size: 0.92rem;
}

.category-count-badge {
    background: #fdfaf5;
    border: 1px solid #E5B75D;
    color: #854d0e;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Dishes Grid & Cards */
.dishes-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dish-gourmet-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.dish-gourmet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(21, 37, 81, 0.12);
    border-color: var(--royal-gold);
}

.dish-card-img-wrap {
    height: 180px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.dish-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.dish-gourmet-card:hover .dish-card-img-wrap img {
    transform: scale(1.08);
}

.dish-diet-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.dish-diet-badge.veg {
    background: #ffffff;
    color: #16a34a;
    border: 1px solid #16a34a;
}

.dish-diet-badge.nonveg {
    background: #ffffff;
    color: #dc2626;
    border: 1px solid #dc2626;
}

.dish-special-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #E5B75D 0%, #C5A059 100%);
    color: var(--royal-dark);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    z-index: 2;
}

.dish-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.dish-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    color: var(--royal-navy);
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.dish-card-desc {
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 1rem 0;
    flex: 1;
}

.dish-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed #e2e8f0;
    padding-top: 10px;
    margin-top: auto;
}

.dish-price-tag {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--royal-navy);
}

.dish-preorder-btn {
    background: var(--royal-navy);
    color: var(--royal-gold);
    border: 1px solid var(--royal-gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dish-preorder-btn:hover {
    background: var(--royal-gold);
    color: var(--royal-dark);
    border-color: var(--royal-gold);
}

/* Bottom Reservation Banner */
.menu-cta-banner {
    background: linear-gradient(135deg, #081228 0%, #152551 100%);
    border: 2px solid var(--royal-gold);
    border-radius: 16px;
    padding: 3rem 2rem;
    color: #ffffff;
    text-align: center;
    margin: 4rem auto 2rem auto;
    max-width: 1100px;
    box-shadow: 0 15px 35px rgba(21, 37, 81, 0.2);
}

.menu-cta-banner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.menu-cta-banner p {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 1.75rem auto;
    font-size: 1rem;
}

.btn-gold-cta {
    background: linear-gradient(135deg, #E5B75D 0%, #C5A059 100%);
    color: #081228;
    padding: 12px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-gold-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.6);
    color: #081228;
}

@media (max-width: 768px) {
    .menu-page-header h1 { font-size: 2rem; }
    .menu-nav-sticky-bar { top: 60px; }
    .dishes-category-grid { grid-template-columns: 1fr; }
    .category-header-banner { flex-direction: column; align-items: flex-start; gap: 8px; }
}
