body {
    font-family: Arial, sans-serif;
    /* background-color: #fcfafa; */
    min-height: 100vh;
    line-height: 2rem;
    display: flex;
    flex-direction: column;
}

* {
    padding: 0px;
    margin: 0px;
}
.container {
    flex: 1;
    width: auto;
    max-width: 600px;
    margin: 0 auto;
    padding: 0px;
    line-height: 2rem;
    border: 2px solid #d1d1d1;
    position: relative;
    background-color: rgb(236, 235, 235);
    /* Ensures positioning context for sticky */
}

.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;
    background-color: #fff;
    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-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; */

}
.offer{
    font-family: "Londrina Outline", sans-serif;
    font-weight: bold;
    font-style: normal;
    color: rgb(158, 254, 14);
}

.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: 40px;
    justify-content: space-around;
    align-items: center;
    padding-top: 10px;
    flex-wrap: wrap;
}
.link,.footer-text{
    color: #555;
    padding: 0px;
    text-decoration: none;
}
/* Button styling */
#toggle-nav,
.placeorder{
    padding: 8px 30px;
    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: #55a7ff;
    color: white;
    padding: 4px 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

/* 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: 0.9rem;
    background-color: #c2d8fc;
}

/* 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;
}

.dish .tag:hover {
    /* background-color: #ddd; */
    font-size: 14px;
}

.selected {
    background-color: rgb(13, 106, 34);

}

.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;
}


.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;
    }
}
