/* Menu Page Specific Styles */
.menu-page {
  padding: 140px 0 80px;
  min-height: 100vh;
}

/* Menu Tabs Styles */
.menu-tabs {
  width: 100%;
}

.menu-tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 5px;
  background-color: var(--dark);
  border-radius: 15px;
}

.menu-tab-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.menu-tab-btn:hover {
  color: var(--primary);
}

.menu-tab-btn.active {
  color: var(--primary);
}

.menu-tab-btn.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
}

.menu-tab-content {
  display: none;
}

.menu-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Menu Items with Horizontal Rectangular Images */
.menu-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.menu-item {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Horizontal Rectangular Image */
.menu-item-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Menu Details */
.menu-item-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-item-details h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Accordion Styles */
.menu-item-accordion {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.accordion-title {
  color: var(--light);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accordion-icon {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.accordion-content {
  padding: 0 15px;
  background-color: rgba(0, 0, 0, 0.2);
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  font-size: 16px;
  color: var(--light);
  line-height: 1.5;
  margin: 15px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Platter specific styles */
.platter-highlight {
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
  margin-bottom: 8px;
}

/* Multiple Price Options */
.menu-item-prices {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 10px;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.price-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.price-option .quantity {
  font-size: 14px;
  color: var(--light);
  margin-bottom: 5px;
}

.price-option .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Section Header with Halal Logo */
.section-header {
  position: relative;
  text-align: center;
  margin-bottom: 50px;
}

.section-header .halal-logo {
  position: absolute;
  right: 100px;
  top: 50%;
  transform: translateY(-50%);
  height: 120px;
  width: auto;
}

/* Responsive Styles for Menu Page */
@media (max-width: 992px) {
  .menu-items {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
  }

  .menu-item-image {
    height: 250px;
  }

  .menu-item-details h3 {
    font-size: 20px;
  }

  .menu-item-details p {
    font-size: 15px;
  }

  .price-option .quantity {
    font-size: 12px;
  }

  .price-option .price {
    font-size: 16px;
  }

  .section-header .halal-logo {
    height: 80px;
    right: 15px;
    top: 45%;
  }
}

@media (max-width: 768px) {
  .menu-page {
    padding: 120px 0 60px;
  }

  .menu-tab-buttons {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 10px;
  }

  .menu-tab-buttons::-webkit-scrollbar {
    display: none;
  }

  .menu-tab-btn {
    padding: 12px 15px;
    font-size: 14px;
    white-space: nowrap;
  }

  .menu-items {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .menu-item-image {
    height: 200px;
  }

  .menu-item-details {
    padding: 15px;
  }

  .menu-item-details h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .accordion-header {
    padding: 8px 12px;
  }

  .accordion-title {
    font-size: 13px;
  }

  .accordion-content p {
    font-size: 14px;
    margin: 12px 0;
  }

  .platter-highlight {
    font-size: 16px;
  }

  .menu-item-prices {
    padding: 8px;
  }

  .price-option .quantity {
    font-size: 12px;
  }

  .price-option .price {
    font-size: 14px;
  }

  .section-header .halal-logo {
    height: 70px;
    right: 10px;
    top: 40%;
  }
}

@media (max-width: 480px) {
  .menu-page {
    padding: 100px 0 40px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .menu-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .menu-item {
    max-width: 100%;
  }

  .menu-item-image {
    height: 220px;
  }

  .menu-item-details h3 {
    font-size: 18px;
  }

  .accordion-header {
    padding: 8px 10px;
  }

  .accordion-title {
    font-size: 12px;
  }

  .accordion-content p {
    font-size: 13px;
    margin: 10px 0;
  }

  .platter-highlight {
    font-size: 16px;
  }

  .menu-item-prices {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }

  .price-option {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 30%;
  }

  .section-header .halal-logo {
    height: 65px;
    right: 5px;
    top: 35%;
  }
}

/* Increase price font size on mobile and smaller screens */
@media (max-width: 768px) {
  .price-option .price {
    font-size: 18px !important;
    font-weight: 700;
  }

  .price-option .quantity {
    font-size: 14px !important;
  }
}

@media (max-width: 480px) {
  .price-option .price {
    font-size: 20px !important;
    font-weight: 700;
  }

  .price-option .quantity {
    font-size: 14px !important;
  }

  /* Adjust price container for better spacing */
  .menu-item-prices {
    padding: 12px 8px;
    gap: 10px;
  }

  /* Make price options more readable on small screens */
  .price-option {
    min-width: 30%;
    text-align: center;
  }
}
