:root {
    --primary-color: #5A5A5A;
    --accent-color: #E30613;
    --background-color: #FFFFFF;
    --text-color: #333333;
    --highlight-color: #CCCCCC;
    --modal-bg: rgba(0, 0, 0, 0.5);
    --container-padding: 1rem;
    --section-spacing: 2rem;
    --item-spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    position: relative;
    font-family: 'Poppins', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: url('../images/hotelbg.jpg') repeat;
    opacity: 0.15;
    pointer-events: none;
}

/* Base Container */
.container {
    width: 100%;
    padding: 0 var(--container-padding);
    margin: 0 auto;
}

/* Modal Styles - Mobile First */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--modal-bg);
    z-index: 1000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--background-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-content button {
    width: 100%;
    margin: 0.75rem 0;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.modal-content button:hover {
    background-color: #c70512;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

/* Navigation - Mobile First */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 0.75rem var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    height: 60px;
    /* Set explicit height */
}

.nav-brand {
    text-align: center;
}

.nav-brand .logo {
    height: 30px;
}

.nav-brand h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
}

.nav-brand h5 {
    font-weight: 500;
    color: #d32f2f;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}
h3{
    color: var(--accent-color);
}
/* Hero Section - Mobile First */
.hero {
    height: 50vh;
    background-image: url('../images/header-1583x1080 (1).jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 30px;
    /* Match the navigation height exactly */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    /* Adjust the 0.6 value (0-1) to make it darker/lighter */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 100%;
    padding: 0 2rem;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-overlay h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    padding: 0;
    margin: 0;
    /* border: 1px solid red; */
}


.hero-overlay .hero-text::after {
    content: '✧ ✧ ✧';
    /* Or any decorative character */
    display: block;
    color: var(--color-border);
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin: var(--spacing-md) auto;
    opacity: 0.8;
    transition: all 0.3s ease;
    /* Smooth hover effect */
}

.hero-overlay h2 {
    font-size: 2.8rem;
    font-weight: 400;
    /* margin-bottom: 0.5rem; */
    /* border: 1px solid red; */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    display: block;
    padding: 0;
    margin-top: -20px;
}
.hero-overlay h3 {
    font-size: 1.2rem;
    font-weight: 400;
    /* margin-bottom: 0.5rem; */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: #f0f0f0;
    display: block;
}

/* Menu Section - Mobile First */
.section {
    padding: var(--section-spacing) 0;
    margin: 0 auto;
    max-width: 1200px;
}

/* Section Banner */
.section-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.section-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.section-banner h2 {
    color: white !important;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.menu-grid {
    width: 100%;
    padding: 0 var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Reduce vertical margin between menu items */
.menu-grid {
    row-gap: 1rem !important;
    margin-bottom: 0 !important;
}

.menu-item {
    margin-bottom: 0.5rem !important;
    padding: 1rem 1.2rem !important;
}

/* Menu Item Styles - Clean List Style */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: rgba(227, 6, 19, 0.02);
    padding-left: 2rem;
}

.menu-item-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    position: relative;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.menu-item-header::after {
    content: "";
    position: absolute;
    bottom: 0.4em;
    left: 0;
    right: 0;
    border-bottom: 2px dotted var(--highlight-color);
    margin: 0 0.5rem;
    z-index: 1;
}

.menu-item h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding-right: 0.5rem;
    background: var(--background-color);
    z-index: 2;
    line-height: 1.3;
}

.menu-item .price {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding-left: 0.5rem;
    background: var(--background-color);
    z-index: 2;
    white-space: nowrap;
}

.menu-item p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

.menu-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.menu-item-tag {
    background: linear-gradient(135deg, var(--accent-color), #c70512);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.2);
}

/* Footer - Mobile First */
footer {
    background: linear-gradient(135deg, var(--primary-color), #4a4a4a);
    color: white;
    padding: 2rem var(--container-padding);
    text-align: center;
    margin-top: 3rem;
}

.footer-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand .logo {
    height: 45px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

/* Loading, Error, and Empty States */
.loading,
.error,
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    margin: 2rem 0;
    border: 2px dashed rgba(227, 6, 19, 0.2);
}

.loading {
    color: var(--accent-color);
    font-weight: 600;
}

.loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(227, 6, 19, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error {
    color: #d32f2f;
    background: rgba(211, 47, 47, 0.1);
    border-color: rgba(211, 47, 47, 0.3);
}

.empty-state {
    color: var(--text-color);
    opacity: 0.7;
    font-style: italic;
}

/* Add or update styles for category headers */
.category-header {
    padding: 0.5rem 1.5rem 0.5rem 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.5rem !important;
}

/* Reduce margin-top for category containers */
.menu-section {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

/* Reduce vertical margin for each menu item */
.menu-item {
    margin: 0.3rem 0 !important;
    padding: 0.3rem 0.5rem !important;
}

.category-header {
    display: inline-block;
    position: relative;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    padding: 0.5rem 2.5rem 0.5rem 1.5rem;
    margin-bottom: 1.2rem;
    margin-top: 2.5rem;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #E30613 80%, #e3061549 100%);
    border-radius: 40px 15px 40px 15px/30px 10px 30px 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    /* Simulate brushstroke with a wavy border and gradient */
}

.menu-section {
    margin-bottom: 2.5rem;
}

.menu-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0.2rem;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 8px;
    min-height: 2.2rem;
}

.menu-item .item-name {
    font-weight: 500;
    color: #222;
    /* flex: 0 0 auto; */
}

.menu-item .dots {
    flex: 0 0 10px;
    min-width: 10px;
    max-width: 20px;
    border-bottom: 1px dotted #bbb;
    margin: 0 0.2rem;
    height: 0.8em;
}

.menu-item .item-price {
    font-weight: 600;
    color: #E30613;
    flex: 0 0 auto;
}

.menu-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
    flex-direction: row !important;
}

.menu-item-description {
    color: #666;
    font-size: 0.97rem;
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
    opacity: 0.85;
    line-height: 1.5;
    font-style: italic;
    word-break: break-word;
    width: 100%;
    display: block;
    clear: both;
}

@media (max-width: 600px) {
    .menu-item-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.1rem;
    }
    .menu-item-description {
        font-size: 0.73rem;
        margin-top: 0.2rem;
        margin-bottom: 0.2rem;
    }
}

/* Improve mobile view for medium and small screens */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 0.75rem !important;
        column-gap: 0.75rem !important;
    }

    .menu-item {
        padding: 0.75rem 0.8rem !important;
        font-size: 0.97rem !important;
    }

    .section-banner h2 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
        row-gap: 0.5rem !important;
        column-gap: 0 !important;
    }

    .menu-item {
        padding: 0.6rem 0.5rem !important;
        font-size: 0.93rem !important;
    }

    .section-banner h2 {
        font-size: 1.1rem !important;
    }

    .nav-links a {
        font-size: 0.9rem !important;
        padding: 0.3rem 0.7rem !important;
    }

    .hero-text h1 {
        font-size: 3rem;
        padding-bottom: 10px;
        /* line-height: 10px;s */
    }

    .hero-text h2 {
        font-size: 2.4rem;
    }
 }

/* Small Mobile (320px and up) */
@media (min-width: 320px) {
    .menu-item {
        margin-bottom: 1.5rem;
        padding: 1.25rem;
    }

    .section-banner {
        height: 200px;
        background-attachment: scroll;
    }

    .section-banner h2 {
        font-size: 2rem;
        color: white !important;
    }
}

/* Medium Mobile (375px and up) */
@media (min-width: 375px) {
    .menu-item {
        padding: 1.5rem;
    }

    .section-banner {
        height: 220px;
        background-attachment: scroll;
    }

    .section-banner h2 {
        color: white !important;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

/* Large Mobile (425px and up) */
@media (min-width: 425px) {
    .menu-item {
        margin-bottom: 2rem;
    }

    .section-banner {
        height: 240px;
        background-attachment: scroll;
    }

    .section-banner h2 {
        color: white !important;
    }

    .section h2 {
        font-size: 2.8rem;
    }
}

/* Tablet (768px and up) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
        --section-spacing: 5rem;
        --item-spacing: 2.5rem;
    }

    .modal-content {
        padding: 2.5rem;
        max-width: 450px;
    }

    .modal-content button {
        width: auto;
        margin: 1rem;
        padding: 1rem 2rem;
    }

    nav {
        padding: 1rem var(--container-padding);
    }

    .nav-brand .logo {
        height: 35px;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        border-radius: 7px;
    }

    .hero {
        height: 60vh;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .section {
        padding: var(--section-spacing) 0;
    }

    .section h2 {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 1000px;
    }

    .menu-item {
        margin-bottom: 2.5rem;
        padding: 2rem;
    }

    .menu-item:hover {
        padding-left: 2.5rem;
    }

    .menu-item h3 {
        font-size: 1.3rem;
    }

    .menu-item .price {
        font-size: 1.2rem;
    }

    .menu-item p {
        font-size: 1rem;
    }

    .section-banner {
        height: 300px;
        margin-bottom: 4rem;
        background-attachment: fixed;
    }

    .section-banner h2 {
        font-size: 3rem;
        color: white !important;
    }
}

/* Small Desktop (1024px and up) */
@media (min-width: 1024px) {
    nav {
        padding: 1.25rem var(--container-padding);
    }

    .nav-brand .logo {
        height: 40px;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
        border-radius: 8px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1100px;
        gap: 2.5rem;
    }

    .hero {
        height: 70vh;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .section h2 {
        font-size: 3.5rem;
    }

    .menu-item {
        margin-bottom: 3rem;
        padding: 2.5rem;
    }

    .menu-item:hover {
        padding-left: 3rem;
    }

    .section-banner {
        height: 350px;
        background-attachment: fixed;
    }

    .section-banner h2 {
        font-size: 3.5rem;
        color: white !important;
    }
}

/* Medium Desktop (1200px and up) */
@media (min-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1200px;
        gap: 3rem;
    }

    .section-banner {
        height: 400px;
        background-attachment: fixed;
    }

    .section-banner h2 {
        font-size: 4rem;
        color: white !important;
    }
}

/* Large Desktop (1440px and up) */
@media (min-width: 1440px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1400px;
        gap: 3.5rem;
    }

    .menu-item {
        margin-bottom: 3.5rem;
        padding: 3rem;
    }

    .menu-item:hover {
        padding-left: 3.5rem;
    }

    .section-banner {
        height: 450px;
        background-attachment: fixed;
    }
}

/* Extra Large Desktop (1920px and up) */
@media (min-width: 1920px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1600px;
        gap: 4rem;
    }

    .section {
        max-width: 1600px;
    }

    .section-banner {
        height: 500px;
        background-attachment: fixed;
    }

    .section-banner h2 {
        font-size: 4.5rem;
        color: white !important;
    }
}

@media (max-width: 900px) {
    .category-header {
        font-size: 1.3rem;
        padding: 0.3rem 1.5rem 0.3rem 0.8rem;
    }

    .menu-list {
        grid-template-columns: 1fr;
        gap: 0.5rem 0.7rem;
    }

    .menu-item {
        font-size: 0.97rem;
    }
}

@media (max-width: 600px) {
    .category-header {
        font-size: 1rem;
        padding: 0.2rem 1rem 0.2rem 0.5rem;
    }

    .menu-list {
        grid-template-columns: 1fr;
        gap: 0.4rem 0;
    }

    .menu-item {
        font-size: 0.93rem;
    }
}

/* Category scroll bar styles */
.category-scroll {
    display: flex;
    overflow-x: auto;
    gap: 0.7rem;
    padding: 1rem 0.5rem 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
    scroll-behavior: smooth;
}

.category-scroll::-webkit-scrollbar {
    display: none;
}

.category-scroll-btn {
    flex: 0 0 auto;
    background: #E30613;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    outline: none;
    white-space: nowrap;
}

.category-scroll-btn.active,
.category-scroll-btn:focus {
    background: #E30613;
    color: #fff;
}

@media (max-width: 600px) {
    .category-scroll {
        gap: 0.4rem;
        padding: 0.7rem 0.2rem 0.7rem 0.2rem;
    }

    .category-scroll-btn {
        font-size: 0.93rem;
        padding: 0.4rem 0.7rem;
    }
}

/* Add horizontal margin to category containers */
.menu-section {
    margin: 1.5rem 1.5rem !important;
    /* top/bottom 1.5rem, left/right 1.5rem */
}

/* Add horizontal margin to menu list inside each section */
.menu-list {
    margin: 0 0.5rem !important;
}

/* Make the category scroll bar sticky */
.category-scroll {
    position: sticky;
    top: 60px;
    /* Position below the header instead of covering it */
    z-index: 50;
    /* Lower than header but higher than content */
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border-top: 1px solid #f0f0f0;
}

/* Ensure header stays on top */
/* nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

@media (max-width: 600px) {
    .menu-section {
        margin: 1rem 0.3rem !important;
    }

    .menu-list {
        margin: 0 0.1rem !important;
    }

    .category-scroll {
        padding: 0.3rem 0;
    }
}/* Styles for foldable menu items */
.menu-item.has-description {
    cursor: pointer;
}

.menu-item .menu-item-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px; /* Indent the details */
}

.menu-item.active .menu-item-details {
    max-height: 200px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

.menu-item .toggle-icon {
    margin-left: 10px;
    font-weight: bold;
    color: #cecece;
    transition: transform 0.3s ease;
}

.menu-item.active .toggle-icon {
    transform: rotate(45deg);
}
/* Styles for foldable menu items */
.menu-item.has-description {
    cursor: pointer;
}

.menu-item .menu-item-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding-left: 15px; /* Indent the details */
}

.menu-item.active .menu-item-details {
    max-height: 200px; /* Adjust as needed */
    transition: max-height 0.5s ease-in;
}

.menu-item .toggle-icon {
    margin-left: 10px;
    font-weight: bold;
    color: #cecece;
    transition: transform 0.3s ease;
}

.menu-item.active .toggle-icon {
    transform: rotate(45deg);
}
