/* ===== Menu Page Styles ===== */

/* Menu Page Header */
.menu-page-header {
    background: linear-gradient(135deg, var(--background-gradient-start) 0%, var(--background-gradient-end) 100%);
    padding: 10rem 2rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.menu-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: url('../images/pattern-bg.png') repeat;*/
    background: url('../images/menu-hero.jpg') ;
    opacity: 0.3;
    z-index: 0;
}

.menu-header-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.menu-page-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Playfair Display', serif;
}

.menu-page-subtitle {
    font-size: 1.2rem;
    color: var(--text-dark);
    opacity: 0.8;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Menu Page Container */
.menu-page-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Sidebar Navigation */
.menu-sidebar {
    position: relative;
}

.menu-sidebar-sticky {
    position: sticky;
    top: 140px;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.08);
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.menu-categories-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-link {
    display: block;
    padding: 0.9rem 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.category-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--accent-gold);
    border-radius: 0 3px 3px 0;
    transition: height 0.3s ease;
}

.category-link:hover,
.category-link.active {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.category-link:hover::before,
.category-link.active::before {
    height: 70%;
}

/* Menu Content Area */
.menu-content {
    min-height: 100vh;
}

/* Menu Category Section */
.menu-category {
    margin-bottom: 5rem;
    scroll-margin-top: 140px;
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-family: 'Playfair Display', serif;
}

.category-description {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Image */
.category-image {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.12);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

/* Menu Items List */
.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Individual Menu Item */
.menu-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.8rem 2rem;
    box-shadow: 0 2px 15px rgba(139, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.12);
    border-color: var(--accent-gold);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    gap: 1rem;
}

.item-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    flex: 1;
}

.item-price {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.item-description {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.item-portion {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-dark);
    opacity: 0.6;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: var(--background-light);
    border-radius: 8px;
}

/* Scrollbar Styling for Sidebar */
.menu-sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.menu-sidebar-sticky::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 10px;
}

.menu-sidebar-sticky::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

.menu-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    .menu-page-container {
        grid-template-columns: 240px 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
    }

    .menu-sidebar-sticky {
        padding: 1.5rem 1rem;
        top: 120px;
    }

    .category-link {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .menu-page-title {
        font-size: 3rem;
    }

    .category-title {
        font-size: 2.4rem;
    }

    .category-image {
        height: 250px;
    }
}

/* Mobile - Sidebar becomes top navigation */
@media (max-width: 768px) {
    .menu-page-header {
        padding: 8rem 1.5rem 4rem;
    }

    .menu-page-title {
        font-size: 2.5rem;
    }

    .menu-page-subtitle {
        font-size: 1rem;
    }

    .menu-page-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .menu-sidebar {
        order: -1;
    }

    .menu-sidebar-sticky {
        position: static;
        max-height: none;
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .sidebar-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .menu-categories-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .category-link {
        font-size: 0.85rem;
        padding: 0.7rem 0.8rem;
        text-align: center;
    }

    .category-link:hover,
    .category-link.active {
        padding-left: 0.8rem;
    }

    .category-link::before {
        display: none;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-description {
        font-size: 1rem;
    }

    .category-image {
        height: 200px;
        margin-bottom: 2rem;
    }

    .menu-item {
        padding: 1.5rem;
    }

    .item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .item-name {
        font-size: 1.2rem;
    }

    .item-price {
        font-size: 1.4rem;
    }

    .item-description {
        font-size: 0.9rem;
    }

    .menu-category {
        scroll-margin-top: 120px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .menu-page-header {
        padding: 7rem 1rem 3rem;
    }

    .menu-page-title {
        font-size: 2rem;
    }

    .menu-page-subtitle {
        font-size: 0.95rem;
    }

    .menu-categories-nav {
        grid-template-columns: 1fr;
    }

    .category-link {
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .category-description {
        font-size: 0.95rem;
    }

    .category-image {
        height: 180px;
    }

    .menu-item {
        padding: 1.2rem;
    }

    .item-name {
        font-size: 1.1rem;
    }

    .item-price {
        font-size: 1.3rem;
    }

    .item-description {
        font-size: 0.85rem;
    }

    .item-portion {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
}
