:root {
            --primary-red: #8B0000;
            --accent-gold: #F4C430;
            --bg-paper: #fffcf5;
            --text-dark: #2c2c2c;
        }

        body {
            font-family: 'Lato', sans-serif;
            color: var(--text-dark);
            margin: 0;
            padding: 0;
            background-color: #000000;
            background-image: url("backgroundL.jpg");
            background-size: 45% auto;
            background-repeat: no-repeat;
            background-position: center top 100px;
            background-attachment: fixed;
            -webkit-font-smoothing: antialiased;
        }

        /* --- Navigation --- */
        nav {
            background-color: rgba(50, 0, 0, 0.95);
            text-align: center;
            padding: 15px 0;
            border-bottom: 2px solid var(--accent-gold);
            position: sticky;
            top: 0;
            z-index: 1000;
            backdrop-filter: blur(5px);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        /* Accessibility: Used buttons for keyboard navigation */
        .nav-link {
            background: none;
            border: none;
            color: #fff;
            text-decoration: none;
            margin: 0 15px;
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: color 0.3s;
            display: inline-block;
            cursor: pointer;
            padding: 5px 0;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--accent-gold);
            border-bottom: 2px solid var(--accent-gold);
        }

        .nav-link:focus {
            outline: 2px dashed var(--accent-gold);
            outline-offset: 4px;
        }

        /* --- Header --- */
        header {
            padding: 60px 20px;
            text-align: center;
            margin-bottom: 40px;
        }

        .header-title-box {
            display: inline-block;
            background: rgba(0, 0, 0, 0.7);
            border: 1px solid var(--accent-gold);
            padding: 30px 50px;
            border-radius: 4px;
            box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
            position: relative;
        }

        h1 {
            font-family: 'Playfair Display', serif;
            color: var(--accent-gold);
            margin: 0;
            font-size: 3.5rem;
            text-shadow: 3px 3px 0px #000;
            letter-spacing: 2px;
            line-height: 1;
        }

        .subtitle {
            color: #f0f0f0;
            margin-top: 12px;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            font-weight: 300;
            text-shadow: 1px 1px 2px black;
        }

        /* "POP" Order Button in Header */
        .header-order-btn {
            background-color: var(--primary-red);
            color: white;
            border: 2px solid var(--accent-gold);
            padding: 12px 30px;
            font-size: 1.1rem;
            font-weight: bold;
            text-transform: uppercase;
            margin-top: 25px;
            cursor: pointer;
            border-radius: 50px;
            animation: pulse 2s infinite;
            box-shadow: 0 0 15px rgba(244, 196, 48, 0.4);
            transition: transform 0.2s;
        }

        .header-order-btn:active {
            transform: scale(0.95);
        }

        .header-order-btn:focus {
            outline: 3px solid white;
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(244, 196, 48, 0.4);
            }

            70% {
                box-shadow: 0 0 0 10px rgba(244, 196, 48, 0);
            }

            100% {
                box-shadow: 0 0 0 0 rgba(244, 196, 48, 0);
            }
        }

        /* --- Page Sections --- */
        .page-section {
            display: none;
            max-width: 850px;
            margin: 0 auto 100px auto;
            background: rgba(255, 252, 245, 0.97);
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
            border: 1px solid var(--accent-gold);
            position: relative;
            transition: opacity 0.4s ease-in-out;
            opacity: 1;
        }

        .page-section.active {
            display: block;
        }

        /* --- SEARCH BAR WITH BUTTON --- */
        .search-container {
            display: flex;
            width: 100%;
            max-width: 600px;
            margin: 0 auto 25px auto;
        }

        .search-box {
            flex-grow: 1;
            padding: 15px;
            font-size: 1rem;
            border: 1px solid #ccc;
            border-radius: 4px 0 0 4px;
            border-right: none;
            outline: none;
        }

        .search-btn {
            background: var(--primary-red);
            color: white;
            border: none;
            padding: 0 25px;
            font-weight: bold;
            cursor: pointer;
            border-radius: 0 4px 4px 0;
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
        }

        .search-btn:active {
            background: #600000;
        }

        .search-btn:focus,
        .search-box:focus {
            outline: 2px solid var(--accent-gold);
            z-index: 10;
        }

        /* --- Quick Nav --- */
        .quick-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 25px;
        }

        .quick-nav-btn {
            background: #fff;
            border: 1px solid #ccc;
            padding: 8px 15px;
            cursor: pointer;
            font-family: 'Lato', sans-serif;
            font-size: 0.9rem;
            border-radius: 20px;
            transition: all 0.2s;
            color: #333;
        }

        .quick-nav-btn:hover,
        .quick-nav-btn.active {
            background: var(--primary-red);
            color: white;
            border-color: var(--primary-red);
        }

        /* --- Loading State --- */
        #loading-message {
            text-align: center;
            font-size: 1.5rem;
            color: var(--primary-red);
            padding: 40px;
            font-family: 'Playfair Display', serif;
            display: none;
        }

        /* --- About & Review Styles --- */
        .review-card {
            background: #fff;
            border-left: 4px solid var(--accent-gold);
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            font-style: italic;
            color: #555;
        }

        .review-author {
            display: block;
            text-align: right;
            font-weight: bold;
            font-style: normal;
            margin-top: 10px;
            color: #222;
        }

        /* --- Photo Gallery --- */
        .photo-nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px dashed #ccc;
        }

        .photo-cat-btn {
            background: #eee;
            border: 1px solid #ccc;
            padding: 8px 16px;
            cursor: pointer;
            font-family: 'Playfair Display', serif;
            text-transform: uppercase;
            font-size: 0.9rem;
            border-radius: 20px;
            transition: all 0.3s;
        }

        .photo-cat-btn:hover,
        .photo-cat-btn.active {
            background: var(--primary-red);
            color: white;
            border-color: var(--primary-red);
        }

        .photo-cat-btn:focus {
            outline: 2px solid var(--accent-gold);
        }

        #photo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }

        .photo-card {
            background: #fff;
            padding: 8px;
            border-radius: 4px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            text-align: center;
            border: 1px solid #eee;
        }

        .photo-card img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 8px;
            background-color: #f0f0f0;
        }

        .photo-card span {
            font-size: 0.85rem;
            font-weight: bold;
            color: #444;
            display: block;
            line-height: 1.3;
        }

        /* --- Order Page Styles --- */
        @media (min-width: 900px) {
            #order.page-section {
                background: transparent;
                box-shadow: none;
                border: none;
                max-width: 1200px;
                padding: 0;
                text-align: center;
            }

            #order h2 {
                display: inline-block;
                background: rgba(255, 252, 245, 0.95);
                padding: 10px 60px;
                border-radius: 4px;
                border: 1px solid var(--accent-gold);
                margin-bottom: 20px;
            }

            #menu-container {
                display: grid;
                grid-template-columns: 1fr 1fr;
                column-gap: 100px;
                row-gap: 20px;
                /* Increased gap to 100px */
                text-align: left;
            }
        }

        /* --- MOBILE OPTIMIZATION --- */
        @media (max-width: 899px) {
            body {
                background-size: 100% auto;
                /* Make background wider on mobile */
                background-position: center 100px;
            }

            header {
                padding: 40px 10px;
            }

            .header-title-box {
                padding: 20px 15px;
                width: 90%;
                box-sizing: border-box;
            }

            h1 {
                font-size: 2.2rem;
            }

            /* Smaller Title */
            .subtitle {
                font-size: 0.9rem;
                letter-spacing: 1px;
            }

            /* Stack Nav */
            nav {
                padding: 10px 0;
            }

            .nav-link {
                margin: 5px 10px;
                font-size: 0.9rem;
            }

            .page-section {
                padding: 20px;
                width: 95%;
                box-sizing: border-box;
                margin-bottom: 80px;
            }

            #menu-container {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            /* Sticky bar tweaks */
            .sticky-bar {
                padding: 10px 15px;
            }

            .btn-order {
                font-size: 0.9rem;
                padding: 10px 15px;
            }
        }

        h2 {
            color: var(--primary-red);
            font-family: 'Playfair Display', serif;
            text-align: center;
            font-size: 2.2rem;
            border-bottom: 2px solid #eee;
            padding-bottom: 15px;
            margin-bottom: 25px;
        }

        .menu-cat-header {
            grid-column: 1 / -1;
            text-align: center;
            margin: 40px 0 20px 0;
            position: relative;
            z-index: 2;
        }

        .menu-cat-header span {
            background: var(--primary-red);
            color: #fff;
            padding: 8px 25px;
            border-radius: 20px;
            font-family: 'Playfair Display', serif;
            font-size: 1.2rem;
            letter-spacing: 1px;
            border: 1px solid var(--accent-gold);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .menu-item {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            background: #fff;
            border-radius: 6px;
            padding: 14px 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
            border: 1px solid rgba(0, 0, 0, 0.04);
            min-height: 86px;
            text-align: left;
        }

        .item-details {
            flex: 1;
            margin-right: 10px;
        }

        .item-header {
            display: flex;
            justify-content: space-between;
            font-family: 'Playfair Display', serif;
            font-size: 1rem;
            font-weight: bold;
            color: #222;
        }

        .item-cat {
            font-size: 0.70rem;
            color: #888;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 6px;
        }

        .item-desc {
            color: #555;
            font-size: 0.85rem;
            font-style: italic;
            margin-top: 6px;
        }

        .item-price {
            color: var(--primary-red);
            font-weight: bold;
            font-family: 'Lato', sans-serif;
        }

        /* Qty Controls */
        .qty-controls {
            display: flex;
            align-items: center;
            flex-direction: column;
            background: #eee;
            border-radius: 30px;
            padding: 4px;
            min-width: 40px;
            border: 1px solid #ccc;
        }

        .qty-btn {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: none;
            background: var(--primary-red);
            color: white;
            font-weight: bold;
            cursor: pointer;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }

        .qty-btn:active {
            background: #500000;
            transform: scale(0.9);
        }

        .qty-btn:focus {
            outline: 2px solid black;
        }

        .qty-display {
            width: 30px;
            text-align: center;
            font-weight: bold;
            font-size: 1rem;
            color: #333;
            padding: 5px 0;
        }

        /* Footer & Modal */
        .sticky-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            box-sizing: border-box;
            background: #111;
            color: white;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 3px solid var(--accent-gold);
            z-index: 2000;
            box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
        }

        .total-amount {
            font-size: 1.5rem;
            font-weight: bold;
            color: var(--accent-gold);
        }

        .btn-order {
            background-color: var(--accent-gold);
            color: #222;
            border: none;
            padding: 12px 25px;
            font-weight: bold;
            text-transform: uppercase;
            cursor: pointer;
            border-radius: 4px;
        }

        .btn-order:focus {
            outline: 3px solid white;
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.9);
            z-index: 3000;
            justify-content: center;
            align-items: center;
            backdrop-filter: blur(4px);
        }

        .modal-box {
            background: #fff;
            padding: 30px;
            width: 90%;
            max-width: 550px;
            max-height: 85vh;
            overflow-y: auto;
            border: 4px double var(--primary-red);
            text-align: center;
            border-radius: 8px;
            position: relative;
        }

        /* Close X */
        .close-modal-x {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 2rem;
            color: #aaa;
            cursor: pointer;
            font-weight: bold;
            line-height: 1;
            background: none;
            border: none;
            padding: 0;
        }

        .close-modal-x:hover {
            color: var(--primary-red);
        }

        .close-modal-x:focus {
            outline: 2px solid var(--primary-red);
        }

        .order-list-table {
            width: 100%;
            text-align: left;
            margin: 20px 0;
            border-collapse: collapse;
        }

        .order-list-table th {
            border-bottom: 2px solid #eee;
            padding: 8px;
            color: #666;
            font-size: 0.9rem;
            text-transform: uppercase;
        }

        .order-list-table td {
            border-bottom: 1px solid #eee;
            padding: 12px 8px;
            font-size: 1rem;
        }

        .call-btn {
            display: block;
            background: var(--primary-red);
            color: white;
            text-decoration: none;
            padding: 15px;
            font-size: 1.4rem;
            font-weight: bold;
            border-radius: 5px;
            margin: 25px 0;
            box-shadow: 0 4px 10px rgba(139, 0, 0, 0.3);
            text-align: center;
        }

        /* Accessibility: Skip to main content link */
        .skip-to-main {
            position: absolute;
            left: -10000px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .skip-to-main:focus {
            position: static;
            width: auto;
            height: auto;
            background: var(--primary-red);
            color: white;
            padding: 8px 16px;
            text-decoration: none;
            z-index: 9999;
        }

        .tip-btn {
            background: #eee;
            border: 1px solid #ccc;
            padding: 6px 12px;
            margin: 4px;
            cursor: pointer;
            border-radius: 4px;
            font-weight: bold;
            font-family: 'Lato', sans-serif;
            transition: all 0.2s;
            color: #333;
        }

        .tip-btn:hover {
            background: #ddd;
        }

        .tip-btn.active {
            background: var(--primary-red);
            color: white;
            border-color: var(--primary-red);
        }
