/*--------------------------------------------------------------
# Menu Page Specific Styles
--------------------------------------------------------------*/
.menu-page {
  padding-top: 80px;
}

/* Menu Hero Section */
.menu-hero {
  height: 60vh;
  min-height: 400px;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("../image/menu.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 0; /* Remove any bottom margin */
  position: relative;
}

.menu-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px; /* Adjust as needed */
  background: linear-gradient(to top, #fff, transparent);
}

.menu-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.menu-hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.menu-hero p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.menu-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Menu Content */
.menu-content {
  padding: 5rem 0;
  position: relative;
  padding-top: 0; /* Remove top padding */
  margin-top: -20px; /* Pull content up to overlap with hero section */
  position: relative;
  z-index: 10;
}

/* Menu Category Navigation */
.menu-category-nav {
  position: sticky;
  top: 80px;
  z-index: 40;
  background-color: #fff;
  padding: 1rem 0;
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  transition: var(--transition);
  margin-top: 0;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1); /* Add shadow to create depth */
}

.nav-scroll-container {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
  transition: all 0.3s ease;
}

.nav-scroll-btn:hover {
  background: var(--primary);
  color: white;
}

.nav-scroll-left {
  left: 0.5rem;
}

.nav-scroll-right {
  right: 0.5rem;
}

.category-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0 2.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  white-space: nowrap;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-nav-item {
  margin: 0 0.25rem;
}

.category-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--secondary);
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-nav-link:hover {
  background-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.category-nav-link.active {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 10px rgba(217, 83, 79, 0.3);
}

/* Spice Level Guide */
.spice-guide {
  background-color: #fff;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
  text-align: center;
}

.spice-guide h4 {
  color: var(--secondary);
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.spice-guide h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--primary);
}

.spice-levels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.spice-level-item {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #f8f9fa;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.spice-level-item i {
  margin-right: 0.5rem;
}

.text-success {
  color: #28a745;
}

.text-warning {
  color: #ffc107;
}

.text-danger {
  color: #dc3545;
}

/* Menu Category */
.menu-category {
  padding-top: 3rem;
  margin-bottom: 4rem;
  position: relative;
}

.menu-category::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

.menu-category-title-wrapper {
  position: relative;
  text-align: center;
  margin-bottom: 2.5rem;
}

.menu-category-title {
  display: inline-block;
  padding: 1rem 2.5rem;
  color: white;
  font-weight: 700;
  background-color: var(--primary);
  border-radius: 50px;
  box-shadow: 0 10px 20px rgba(217, 83, 79, 0.2);
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.menu-category-title-wrapper::before,
.menu-category-title-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 2px;
  width: 100px;
  background-color: rgba(217, 83, 79, 0.3);
}

.menu-category-title-wrapper::before {
  right: calc(50% + 150px);
}

.menu-category-title-wrapper::after {
  left: calc(50% + 150px);
}

.menu-category-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.category-image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-image-container:hover .category-image {
  transform: scale(1.05);
}

.category-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  text-align: center;
}

.category-image-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  background-color: #fff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  padding-bottom: 0.75rem;
}

.menu-item-title {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
  color: var(--secondary);
}

.menu-item-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.2rem;
  background-color: rgba(217, 83, 79, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.menu-item-description {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Food Allergies Notice */
.food-allergies {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
}

.food-allergies::before {
  content: "\f071";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 8rem;
  color: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
}

.food-allergies h3 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.75rem;
}

.food-allergies h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.5);
}

.food-allergies p {
  margin-bottom: 0;
}

/* Decorative Patterns */
.decorative-pattern {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23d9534f' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: -1;
  opacity: 0.5;
}

.pattern-top-right {
  top: 100px;
  right: -50px;
}

.pattern-bottom-left {
  bottom: 100px;
  left: -50px;
}

/* Ensure proper spacing for the first category */
#veg-starters {
  padding-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .menu-hero h1 {
    font-size: 3rem;
  }

  .menu-category-title-wrapper::before,
  .menu-category-title-wrapper::after {
    width: 50px;
  }

  .menu-category-title-wrapper::before {
    right: calc(50% + 100px);
  }

  .menu-category-title-wrapper::after {
    left: calc(50% + 100px);
  }

  .menu-category-content {
    grid-template-columns: 1fr;
  }

  .menu-category-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-hero {
    height: 50vh;
  }

  .menu-hero h1 {
    font-size: 2.5rem;
  }

  .menu-hero p {
    font-size: 1.2rem;
  }

  .menu-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .menu-hero-buttons .btn {
    width: 100%;
    max-width: 250px;
    margin-bottom: 0.5rem;
  }

  .menu-category-title-wrapper::before,
  .menu-category-title-wrapper::after {
    display: none;
  }

  .category-image-container {
    height: 200px;
  }

  .menu-item-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-item-price {
    margin-top: 0.5rem;
  }

  .menu-content {
    margin-top: -30px; /* Increase overlap on smaller screens */
  }

  .menu-category-nav {
    padding-top: 15px;
  }
}

@media (max-width: 576px) {
  .spice-levels {
    flex-direction: column;
    align-items: center;
  }
}

