
html {
    overflow-y: scroll;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: 
    #ffffff;
    overflow-x: hidden; /* Prevent horizontal scrolling of the entire page */
    overflow-y: hidden;
}

.slider {
    display: flex;
    overflow: hidden;
    width: 100%;
    height: 300px;
    position: relative;
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}





/* Hide scrollbar in WebKit browsers (Chrome, Safari) */


.food-icons .icon:hover {
    background-color: #ddd;
}

/* Food Items Container */
.food-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Food Item */
.food-item {
    display: flex;
    align-items: stretch; /* Stretch items to fill the height */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Food Image */
.food-image {
    flex: 0 0 30%; /* Image takes 30% of the container width */
    max-width: 150px; /* Maximum width for the image */
    display: flex;
    align-items: stretch; /* Stretch image to fill the height */
}

.food-image img {
    width: 100%;
    height: 100%; /* Ensure the image fills the container height */
    object-fit: cover; /* Ensure the image covers the container without distortion */
    display: block;
}

/* Food Details */
.food-details {
    flex: 1; /* Take remaining space */
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center text vertically */
}

/* RTL Layout */
.food-item.rtl {
    flex-direction: row-reverse; /* Flip image and text */
}

.food-item.rtl .food-image {
    margin-right: 0; /* Remove right margin */
    margin-left: 0; /* Remove left margin */
}

.food-item.rtl .food-details {
    text-align: right; /* Align text to the right */
    padding: 15px 15px 15px 0; /* Adjust padding for RTL */
}

.food-details h3 {
    margin: 0 0 10px;
    font-size: 20px;
    color: #333;
}

.food-details p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #666;
}

.food-details .price {
    font-size: 18px;
    font-weight: bold;
    color: #e67e22;
}





/* Responsive Design */
@media (max-width: 768px) {
    .food-item {
        flex-direction: row; /* Keep image on left and text on right */
        align-items: stretch; /* Stretch items to fill the height */
    }

    .food-image {
        flex: 0 0 25%; /* Image takes 25% of the container width on tablets */
        max-width: 120px; /* Smaller maximum width for the image */
    }

    .food-details {
        padding: 10px; /* Adjust padding for tablets */
    }

    .food-details h3 {
        font-size: 18px; /* Smaller font size for tablets */
    }

    .food-details p {
        font-size: 14px; /* Smaller font size for tablets */
    }

    .food-details .price {
        font-size: 16px; /* Smaller font size for tablets */
    }
}

@media (max-width: 480px) {
    .food-item {
        flex-direction: row; /* Keep image on left and text on right */
        align-items: stretch; /* Stretch items to fill the height */
    }

    .food-image {
        flex: 0 0 20%; /* Image takes 20% of the container width on phones */
        max-width: 100px; /* Even smaller maximum width for the image */
    }

    .food-details {
        padding: 10px; /* Adjust padding for phones */
    }

    .food-details h3 {
        font-size: 16px; /* Smaller font size for phones */
    }

    .food-details p {
        font-size: 12px; /* Smaller font size for phones */
    }

    .food-details .price {
        font-size: 14px; /* Smaller font size for phones */
    }
}


.hidden {
    display: none; /* Hide elements with this class */
}

/* Header Line */
.header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

/* Header Line
.footer-line {
    display: flex;
    justify-content: center;
    background-color: whitesmoke;
} */



.language-toolbar select {
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


/* Header Line */
.header-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.logo img {
    height: 50px; /* Adjust as needed */
}

#language-button {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Food Modal */
/* Food Modal */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.modal-food-image img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.modal-food-details {
    padding: 15px;
    text-align: left;
}

.modal-food-details h3 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.modal-food-details p {
    margin: 0 0 10px;
    font-size: 16px;
    color: #666;
}

.modal-food-details .price {
    font-size: 20px;
    font-weight: bold;
    color: #e67e22;
}

.language-list {
    list-style: none;
    padding: 0;
}

.language-list li {
    margin: 10px 0;
}

.language-option {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-weight: bold;
}

.language-option:hover {
    background-color: #e0e0e0;
}




/* Responsive Design */
@media (max-width: 600px) {
    .modal-content {
        width: 100%;
        margin: 10px;
    }
}

/* Responsive Design for Phones and Tablets */
@media (max-width: 768px) {
    .food-item {
        width: 45%; /* Adjust width for smaller screens */
    }

    .food-icons {
        gap: 10px; /* Reduce gap for smaller screens */
    }

    .food-icons .icon {
        font-size: 18px; /* Smaller font size for smaller screens */
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {


  .food-item{
    width: 100%;
  }
    .food-items {
      
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items horizontally */
    }

   

    .food-icons .icon {
        font-size: 16px; /* Even smaller font size for phones */
        padding: 5px 10px;
        width: 20vw; 
    }

  
}





