* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: grid;
    grid-template-areas:
        "header header"
        "nav main"
        "cart cart";
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
}

header {
    grid-area: header;
    background-color: #741f1f;
    color: white;
    padding:0rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 40px;
    height: auto;
}

#mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
}

nav {
    grid-area: nav;
    background-color: #f4f4f4;
    padding: 1rem;
    overflow-y: auto;
}

#search-input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
}

#category-list {
    list-style-type: none;
}

#category-list li {
    cursor: pointer;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background-color: #e0e0e0;
    border-radius: 4px;
}

#category-list li.active {
    background-color: #741f1f;
    color: white;
}

main {
    grid-area: main;
    padding: 1rem;
    overflow-y: auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5 rem;
    padding: 0.5rem;
    background-color: #fff;
    border: 0.5 px solid #ddd;
    border-radius: 2px;
}

.menu-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 1rem;
}

.menu-item-name {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-align: center;
}

.menu-item-details {
    flex-grow: 1;
}

.add-to-cart {
    background-color: #741f1f;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 4px;
}

#cart {
    grid-area: cart;
    background-color: #f4f4f4;
    padding: 0.5rem;
    border-top: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

#cart-items {
    margin-bottom: 0.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

#order-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

#order-details div {
    display: flex;
    flex-direction: column;
}

#order-details label {
    margin-bottom: 0.5rem;
}

#order-details input {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
}

#order-whatsapp {
    width: 50%;
    background-color: #25D366;
    color: white;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
}

@media (max-width: 768px) {
    body {
        grid-template-areas:
            "header"
            "main"
            "cart";
        grid-template-columns: 1fr;
    }

    #mobile-menu-toggle {
        display: block;
    }

    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background-color: rgba(244, 244, 244, 0.95);
    }

    nav.show {
        display: block;
    }

    #order-details {
        flex-direction: column;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 15px;
}
::-webkit-scrollbar-track {
    background-color: #ffffff;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(#f8e300, #ebfc01);
}
#cart {
    max-height: 250px;
    overflow-y: auto;
}

/* Order Summary Styles */
.order-summary {
    display: none;
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.order-summary h1 {
    text-align: center;
    color: #f8e300;
    margin-bottom: 20px;
}

#order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

#order-total {
    font-size: 1.2em;
    font-weight: bold;
    text-align: right;
    margin-bottom: 20px;
}

.customer-info {
    margin-bottom: 20px;
}

.customer-info p {
    margin: 5px 0;
}

.actions {
    display: flex;
    justify-content: space-between;
}

.button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.modify-order {
    background-color: #333;
    color: #fff;
}

.modify-order:hover {
    background-color: #444;
}

.place-order {
    background-color: #f8e300;
    color: #000;
}

.place-order:hover {
    background-color: #ffd700;
}




h3 {
    color: #ffffff;
    
}

h1{
    color: #0c0c0c;
    
}