body {
    font-family: Arial, sans-serif;
    background-color: #fcfafa;
    min-height: 100vh;
    line-height: 2rem;
    display: flex;
    flex-direction: column;
}

* {
    padding: 0px;
    margin: 0px;
}

/* Light Mode (7 AM - 7 PM) */
.light-mode {
    background-color: white;
    color: black;
    filter: brightness(100%)
}

.light-mode .content,
.light-mode .header {
    background-color: white;
    color: black;
}


.light-mode .dish {
    background-color: #f9f9f9;
    border-color: #ccc;
}

.light-mode .dish-description {
    color: #333;
}

/* Dark Mode (7 PM - 7 AM) */
.dark-mode {
    background-color: black;
    color: white;
    filter: grayscale(20%);
}

.dark-mode .container {
    background-color: #181818;
}

.dark-mode .content,
.dark-mode .header {
    background-color: #111;
    color: white;
}

.dark-mode .vegetarian,
.dark-mode .non-vegetarian {
    color: #ffffff;
    background-color: black;
}

.dark-mode .footer,
.dark-mode .restaurant-info {
    background-color: darkblue;
    filter: brightness(70%);
    filter: grayscale(20%);
}

.dark-mode .dish {
    background-color: black;
    border-color: #ff4d4d;
}

.dark-mode .dish-description {
    color: rgb(250, 242, 227);
}

.dark-mode .category-nav {
    background-color: #0a0a0a;
}

.dark-mode .read-more {
    color: whitesmoke;
}

.container {
    flex: 1;
    width: auto;
    max-width: 600px;
    margin: 0 auto;
    padding: 0px;
    line-height: 2rem;
    background-color: #e1dbdb;
    border: 2px solid #d1d1d1;
    /* text-align: center; */
    position: relative;
    /* Ensures positioning context for sticky */
}


.lazy-img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-img.fade-in {
    opacity: 1;
}


.menu-section {
    margin-bottom: 20px;
    padding: 10px;

}

.menu-section h2 {
    font-size: 22px;
    /* font-weight: bold; */
    margin-bottom: 10px;
    font-family: "Londrina Outline", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.menu-subsection {
    margin-bottom: 20px;
}

.menu-subsection h3 {
    font-size: 20px;
    /* font-weight: bold; */
    margin-bottom: 10px;
    font-family: "Londrina Outline", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.dish {
    /* border: 1px solid #ddd; */
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.dish-header {
    font-family: "Londrina Outline", sans-serif;
    font-weight: 400;
    font-style: normal;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dish-header img {
    border-radius: 10px;
    width: 100px;
    height: 120px;
    object-fit: cover;
}

.dish-info {
    flex-grow: 1;
    margin-left: 10px;
}

.dish-name {
    font-family: "Londrina Outline", sans-serif;
    /* font-weight: 400; */
    font-style: normal;
    font-size: 1.2rem;
    /* padding: 6px 0px; */
    padding-top: 6px;
    font-weight: bold;
}

.dish-price {
    font-family: "Londrina Outline", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    padding-right: 5px;
    /* font-weight: bold; */

}

.dish-pricing {
    display: flex;
}

.dish-content {
    display: flex;
    justify-content: space-between;
    line-height: 2.0rem;
    /* align-items: center; */
}

.dish-details {
    font-family: "Londrina Outline", sans-serif;
    font-weight: 400;
    font-style: normal;
    flex-grow: 1;
    margin-right: 10px;

}

.dish-description {
    font-size: 0.9rem;
    line-height: 1.5rem;
}

.footer {
    position: sticky;
    bottom: 0;
    text-align: center;
    padding-top: 10px;
    background-color: #a5c7ff;
}

/* Footer container (aligned in a row) */
.footer-container {
    display: flex;
    max-height: 50px;
    justify-content: space-around;
    align-items: center;
    /* padding-top: 10px; */
    /* gap: 20px; */
    flex-wrap: wrap;
}

.link,
.footer-text {
    color: #555;
    padding: 0px;
    text-decoration: none;
}

/* Button styling */
#toggle-nav,
.cta-button,
.placeorder,
.location {
    padding: 6px 12px;
    font-size: 1.0rem;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    background-color: #007bff;
    color: white;
    border: none;
}


#hide-nav {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px dotted #333;
    margin: 5px 0px;
}



/* Menu styling (hidden initially) */
#menu-container {
    display: none;
    /* margin-top: 15px; */
    text-align: center;

}

#menu-nav a {
    display: block;
    text-decoration: none;
    color: black;
    padding: 5px 0;
    font-size: 1rem;
    background-color: #c0d8ff;
    text-transform: uppercase;
    border-bottom: 1px dashed #333;border-width: thin; 
}

/* Adjust WhatsApp and Call Us when menu is open */
.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

/* Separate Show/Hide Button */
.menu-toggle-container {

    text-align: center;
    margin-bottom: 10px;
}

.menu-item .price {
    font-size: 18px;
    color: #e63946;
    /* font-weight: bold; */
    display: inline;
    margin-right: 10px;
}

.menu-item .original-price {
    text-decoration: line-through;
    /* color: #deeb2f; */
    font-size: 14px;
    display: inline;
}

.original-price {
    text-decoration: line-through;
    font-style: italic;
    margin-right: 10px;
    /* font-weight: bold; */
}

.menu-item .offer {
    background: #ffcc00;
    color: #222;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    display: block;
    margin-top: 5px;
    text-align: center;
    font-weight: bold;
}

.dish-pricing {
    line-height: 24px;
    font-weight: 400;
}

.dish .tag:hover {
    /* background-color: #ddd; */
    font-size: 14px;
}

.selected {
    background-color: rgb(13, 106, 34);

}

.dish img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 10px;
    display: block;
    height: 140px;
    margin: 10px auto;
    /* box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1); */
}

.tag {
    /* background: #3498db; */
    background-color: #ff9800;
    color: #ffffff;
    padding: 0px 10px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
}

.vegetarian {
    font-family: "Londrina Outline", sans-serif;
    font-family: 'Roboto';
    /* font-weight: bold; */
    font-weight: 500;
    font-style: normal;
    font-size: 1.2rem;
    color: #000;
    background-color: #fff;
}

.non-vegetarian {
    font-family: "Londrina Outline", sans-serif;
    font-family: 'Roboto';
    /* font-weight: bold; */
    font-style: normal;
    font-size: 1.2rem;
    color: #000;
    font-weight: 400;
    background-color: #fff;
}

.btn,
.dish-counter {
    background-color: yellow;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: black;
    border: 2px solid gold;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;

}

/* Dish Counter Wrapper */
.dish-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0px 15px;
}

.minus,
.plus,
.count {
    margin: 0px;
    padding: 0px 6px;
    font-weight: bold;
}

.dish-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.restaurant-info {
    position: sticky;
    top: 0;
    max-height: 50px;
    background-color: #a5c7ff;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 15px;
    z-index: 1000;
    /* Keeps it above other content */
}

.restaurant-name {
    font-size: 1.6rem;
    font-weight: bold;
    /* max-height: 20px; */
}

.restaurant-details {
    font-size: 14px;
    /* color: #555; */
}

.category-nav {
    position: sticky;
    top: 70px;
    background-color: #fff;
    padding: 3px 0px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.category-nav button {
    padding: 3px 10px;
    border: none;
    background-color: #ff9d00;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

.category-nav button:hover {
    background-color: #007bff;
    font-size: 1.0rem;
}

@media screen and (max-width: 480px) {
    body {
        line-height: 2rem;
        font-size: 14px;
        /* padding: 5px; */
    }

    .dish-description {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }


    .restaurant-info {
        /* padding: 12px 0px; */
        max-height: 50px;
        font-size: 14px;
    }

    .restaurant-name {
        font-size: 1.5rem;
        min-height: 20px;
    }

    .category-nav {
        padding: 5px 0;
    }

    .category-nav button {
        font-size: 14px;
        padding: 4px 10px;
    }

    .dish img {
        width: 140px;
        height: 120px;
    }

    .category-nav {
        position: sticky;
        top: 70px;
        /* Adjust to match .restaurant-info height */

        padding: 3px 0px;
        /* display: flex; */
    }

    .category-nav button {
        padding: 3px 6px;
        border: none;
    }
}

.dish-raiting {
    color: #007bff;
}

/* Styles for unavailable dishes */
.dish .order-btn:disabled {
    background-color: #f1cb10;
    color: black;
    cursor: not-allowed;
}