body {
    margin: 0;
    font-family: 'poetsen one', sans-serif;
    padding: 0;
    background-color: #f8f8f8;
    border-collapse: collapse;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/menu-bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
    opacity: 0.3;
}

.main-header {
    background-image: url('../images/menu-background1.jpeg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 35vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: rgb(161, 82, 7);
    position: relative;
}

.main-header h1 {
    font-family: 'Poetsen One', sans-serif;
    position: relative;
    z-index: 2;
    font-size: 80px;
    margin-bottom: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(37, 33, 31, 0.8);
}

.menu-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.menu-item {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: calc(33.3% - 20px);
    box-sizing: border-box;
    text-align: center;
    transition: opacity 0.5s ease-in-out;
}

.menu-item.hide {
    display: none;
}

.menu-item.show {
    display: block;
    opacity: 1;
}

.menu-item img {
    width: 40%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.menu-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.menu-item p {
    font-size: 18px;
    color: #666;
    margin: 5px 0;
}

.item.details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity {
    display: flex;
    align-items: center;
    margin-left: 10px;
}

.quantity-btn {
    background-color: #ddd;
    border: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    margin: 0 5px;
    border-radius: 5px;
}

.quantity-input {
    width: 40px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.add-btn {
    background-color: rgb(161, 82, 7);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.add-btn:hover {
    transform: scale(1.1);
}

.filter-container {
    position: relative;
    display: inline-block;
    margin-right: 20px;
}

.filter-container:hover .filter-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
}

.filter-btn {
    background-color: transparent;
    color: rgb(161, 82, 7);
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    font-size: 23px;
    padding-right: 20px;
    padding-left: 30px;
    position: relative;
}

.filter-btn::after {
    content: '►';
    display: inline-block;
    margin-left: 5px;
    transition: transform 0.3s ease;
    transform-origin: center center;
}

.filter-container.show .filter-btn::after {
    transform: rotate(90deg);
}

.filter-container:hover .filter-btn {
    color: #8b4513;
}

.filter-dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 1;
    top: 30px;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

.filter-container.show .filter-dropdown {
    display: block;
    opacity: 1;
    visibility: visible;
}

.filter-option {
    font-family: 'Poetsen One', sans-serif;
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.filter-option:hover, .filter-option.selected {
    background-color: #f0f0f0;
    color: #8b4513;
}

/* Add new cart icon styles */
#cart-icon img {
    width: 24px; /* Adjust the width as needed */
    height: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .menu-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .menu-item {
        width: calc(100% - 20px);
    }
}

.cart-container {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
  
.cart {
    display: flex;
    flex-direction: column;
}
  
.cart h2 {
    font-size: 24px;
    margin-bottom: 20px;
}
  
.cart-items {
    list-style: none;
    padding: 0;
    margin: 0;
}
  
.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
  
.cart-item-title {
    font-size: 18px;
}
  
.cart-item-price {
    font-size: 18px;
}
  
.cart-total {
    font-size: 20px;
    margin-top: 20px;
}
  
.btn-purchase {
    background-color: #ff9800;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}
  
.btn-purchase:hover {
    background-color: #e68900;
}
  
.btn-remove {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: red;
    cursor: pointer;
}
  
.quantity-btn {
    background-color: #ddd;
    border: none;
    padding: 5px;
    cursor: pointer;
    margin: 0 5px;
}

/* Footer Styles */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
    font-family: 'Poetsen One', sans-serif; /* Using the correct font */
  }
  
  .footer a {
    color: rgb(255, 165, 0);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
  }
  
  .footer a:hover {
    color: rgb(255, 140, 0);
  }
  
  .footer .icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
  }
  
  .footer p {
    margin: 0;
    padding: 5px;
  }
  
  .about, .menu-preview, .location-hours {
    padding: 32px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 11212;
  }
  
  .about .container, .menu-preview .container, .location-hours .container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgba(0, 0, 0, 0.7); /* Ensure readability */
    padding: 20px;
    border-radius: 10px;
  }
  
  .about p a.read-more {
    font-size: 14px;
    color: #ff9800;
    text-decoration: underline;
    font-family: 'Poetsen One', sans-serif;
  }
  
