/* Menu Page Specific Styles */
body {
    /* font-family is now inherited from styles.css */
    background-color: #f8f9fa; /* Light background for the menu page */
    color: #333; /* Dark text color */
}
.page-hero {
    padding: 150px 2rem 100px;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    text-align: center;
    color: var(--white);
}

.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.2;
    margin: 1rem 0 1.5rem;
}

.page-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Menu Navigation */
.menu-nav-sticky {
    position: sticky;
    top: 80px;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 100;
    padding: 1rem 0;
}

.menu-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu-nav-container::-webkit-scrollbar {
    display: none;
}

.menu-nav-btn {
    padding: 0.6rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: transparent;
    border-radius: 30px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    color: var(--text-dark);
}

.menu-nav-btn:hover,
.menu-nav-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
}

.btn-order-now {
    margin-left: auto;
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #EF4444 100%);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

.btn-order-now:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Menu Section */
.menu-section {
    padding: 4rem 2rem;
    background: var(--light-bg);
}

.menu-container {
    max-width: 1400px;
    margin: 0 auto;
}

.menu-category {
    margin-bottom: 5rem;
    scroll-margin-top: 160px;
}

.category-header {
    text-align: center;
    margin-bottom: 3rem;
}

.category-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-bg);
}

.category-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.sides-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Menu Item Cards */
.menu-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.menu-item.featured {
    border: 2px solid var(--primary-color);
}

.menu-item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-item-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
}

.add-to-cart {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-to-cart:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
    transform: scale(1.1);
}

.menu-item-content {
    padding: 1.5rem;
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.menu-item-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark-bg);
    flex: 1;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    white-space: nowrap;
    margin-left: 1rem;
}

.description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.menu-item-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.3rem 0.8rem;
    background: var(--light-bg);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.tag.veg {
    background: #c8e6c9;
    color: #2e7d32;
}

.tag.spicy {
    background: #ffcdd2;
    color: #c62828;
}

/* Compact Menu Items (for sides) */
.menu-item.compact {
    height: auto;
}

.menu-item.compact .menu-item-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-item.compact .menu-item-header {
    margin-bottom: 0;
    flex: 1;
}

.menu-item.compact .add-to-cart {
    position: static;
    width: 40px;
    height: 40px;
    font-size: 1rem;
}

/* Order Online Section - With Pattern Background (Same as index.html section 2) */
.order-online-section {
    padding: 0rem 2rem;
    position: relative;
    min-height: 80vh;
    /* Peach background with subtle pattern - Same as intro-promo-section */
    background: 
        linear-gradient(rgba(252, 236, 219, 0.92), rgba(252, 236, 219, 0.92)),
        url('./videos/pattern1.jpg') center center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
}

.order-online-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%; /* Position mainly behind the text on the left */
    transform: translate(-20%, -50%);
    width: 800px; /* Large size */
    height: 800px;
    /* Use your pattern image here */
    background-image: url('./videos/pattern1.jpg'); /* Ensure this path is correct */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    
    /* MAGICAL FILTER: This makes any colorful image look like a subtle watermark */
    opacity: 0.08; /* Very transparent */
    filter: grayscale(100%) contrast(1.2); /* Remove color, keep lines */
    mix-blend-mode: multiply; /* Blends nicely into the peach background */
    
    z-index: 0;
    pointer-events: none;
}

.order-online-section > * {
    position: relative;
    z-index: 1;
}

.order-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.order-container h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #1a1a1a; /* Dark text for better contrast on peach background */
    font-weight: 400;
    letter-spacing: -1px;
}

.order-container > p {
    font-size: 1.1rem;
    color: #4a4a4a; /* Darker grey for better readability on peach background */
    margin-bottom: 3rem;
    font-weight: 500;
}

.order-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.order-btn {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent white for better contrast */
    border-radius: 20px;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.order-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.order-btn i {
    font-size: 3rem;
    color: var(--primary-color);
}

.order-btn div {
    text-align: left;
}

.order-btn h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    color: var(--dark-bg);
}

.order-btn p {
    color: var(--text-light);
}

.order-note {
    font-size: 0.9rem;
    color: #666666; /* Darker grey for better contrast on peach background */
    font-style: italic;
    font-weight: 500;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-bg);
}

.close-cart {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--light-bg);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--primary-color);
    color: var(--white);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    padding: 3rem 0;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-bg);
}

.cart-item-details .item-price {
    color: var(--secondary-color);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid #ddd;
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.remove-item:hover {
    transform: scale(1.2);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--dark-bg);
}

.btn-checkout {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #EF4444 100%);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-checkout:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

/* Cart Float Button */
.cart-float-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #EF4444 100%);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.4);
    transition: var(--transition);
    z-index: 1000;
    display: none;
}

.cart-float-btn.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-float-btn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: var(--white);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero-content h1 {
        font-size: 2.5rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
    }

    .sides-grid {
        grid-template-columns: 1fr;
    }

    .order-options {
        flex-direction: column;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar.active {
        right: 0;
    }

    .menu-nav-sticky {
        top: 70px;
    }

    .btn-order-now {
        margin-left: 0;
    }

    /* Order Online Section Mobile Styles */
    .order-online-section {
        padding: 2rem 1.5rem;
        background-attachment: scroll;
        background-size: cover;
        background-position: center center;
        min-height: auto;
        overflow: visible;
    }
    
    .order-online-section::before {
        left: 50%;
        top: 20%;
        transform: translate(-50%, -50%);
        opacity: 0.05;
    }

    .order-container h2 {
        font-size: 2.8rem;
        font-weight: 400;
        letter-spacing: -0.5px;
    }
}