html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333333;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  
  li {
    float: left;
  }

  .header {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 20px;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex: 1;
    text-align: left;
}

.logo img {
    height: 48px;
}

.menu-title {
    flex: 2;
    text-align: left;
}

.menu-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    text-align: center;
}

.nav-bar {
    display: none;
    gap: 20px;
    margin-top: 10px;
}

.nav-bar a {
    text-decoration: none;
    color: black;
    transition: color 0.3s;
}

.nav-bar a:hover {
    color: red;
}

.menu-btn-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-btn {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0; 
    margin: 0;
    color: #000;
}

.menu-container {
    max-width: 700px;
    width: 98%;
    margin: 20px auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    padding: 5px;
    margin-top: 80px;
}

.menu-category {
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    color: #333333;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-content {
    width: 100%;
}

.menu-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    font-weight: bold;
}

.menu-options {
    margin-top: 10px;
}

.menu-option {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    color: #727272;
}

.option-name {
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    color: #747474;
}

.option-price {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #747474;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.menu-item img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    margin-right: 5px;
    object-fit: cover;
}

.menu-details {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.menu-title {
    flex: 2;
    text-align: center;
    font-weight: bold;
    color: rgb(0, 0, 0);
}

.menu-title h2 {
    margin: 0;
    font-size: 20px;
    font-weight: bold;
    color: #333333;
}

.menu-description {
    font-size: 14px;
    color: #666666;
}

.menu-price {
    white-space: nowrap;
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-left: auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    border-radius: 20px; 
    max-width: 500px;
    max-height: 500px;
    width: 90%;
    height: 90%; 
    aspect-ratio: 1 / 1;
    display: block; 
    margin: 0 auto; 
    object-fit: cover; 
    overflow: hidden;
}
#imageModal {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-container {
    position: relative;
    height: 90%;
    max-height: 500px;
    width: 90%;
    max-height: 500px;
    display: flex;    
    background: white;
    border-radius: 16px;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    overflow: auto;

}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 10px;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.modalTitle, .modalDescription, .modalPrice, .modalOptions {
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    margin-top: 10px;
    font-size: 16px;
    color: #333;
}
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    padding: 10px;
    color: rgb(0, 0, 0);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-height: 350px;
    overflow-y: auto;
}

.mobile-menu a {
    padding: 10px;
    display: block;
    text-decoration: none;
    color: black;
}

.mobile-menu a:hover {
    background-color: #f1f1f1;
}

.show {
    display: flex;
}
        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }

        

@media (max-width: 768px) {
    .nav-bar {
        display: none;
    }
    .menu-btn {
        display: block;
    }
    .menu-title h2 {
        font-size: 18px;
        text-align: center;
    }
    .menu-title {
        font-size: 18px;
        text-align: left;
    }
    .menu-item img {
        width: 60px;
        height: 60px;
    }
    h1 {
        font-size: xx-large;
    }
    .menu-price {
        font-size: 18px;
        font-weight: bold;
        color: #333333;
        margin-left: auto;
    }

}
