.section-title {
  font-family: 'Blanka', sans-serif;
  font-size: 40px;
  text-align: center;
  margin-bottom: 40px;
  color: black;
}



.menu {
  position: relative;
  overflow: hidden;
  padding: 80px 60px; /* 🔥 important */
  isolation: isolate; /* 🔥 FIXES stacking issues */
  /*background: url('../images/menubg.png') center/cover no-repeat;*/
  background-color: black;
  opacity: 0.5;
  

}
.menu-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 0 20px rgba(255, 77, 0, 0.4),
    0 0 40px rgba(255, 26, 26, 0.2);
}

.menu-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: 0.3s;
}

.menu-card:hover img {
  transform: scale(1.1);
}

.menu-info {
  padding: 15px;
}

.menu-info h3 {
  ffont-family: 'Blanka', sans-serif;
  font-size: 22px;
}

.menu-info p {
  font-size: 14px;
  color: #aaa;
  margin: 8px 0;
}

.menu-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.price {
  font-weight: bold;
  font-size: 18px;
  color: #FFC300;
}

.add-btn {
  background: linear-gradient(90deg, #FF1A1A, #FF4D00);
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.add-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px #FF4D00;
}

.menu-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  padding: 1px;
  /*background: linear-gradient(90deg, #FF1A1A, #FF4D00, #FFC300);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);*/
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: 0.3s;
}

.menu-card:hover::before {
  opacity: 1;
}

.menu-bg {
  position: absolute;
  inset: 0;

  background: url('../images/menu-bg.png') center/cover no-repeat;

  z-index: -1; /* 🔥 KEY FIX */

  opacity: 0.4; /* 🔥 instead of white overlay */
  
  animation: slowZoom 25s ease-in-out infinite alternate;
}

.menu > * {
  position: relative;
  z-index: 1;
}

.menu-bg::after {
  content: "";
  position: absolute;
  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(255, 195, 0, 0.2),
    transparent 70%
  );
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

/* 🔥 CATEGORY WRAPPER */
.category-bar-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.category-bar {
  display: flex;
  gap: 12px;
  width: max-content;
}

/* 🔥 CATEGORY BUTTON */
.cat-btn {
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  background: #111;
  color: white;
  cursor: pointer;
  white-space: nowrap;
  transition: 0.3s;
  font-weight: 500;
}

/* 🔥 ACTIVE CATEGORY */
.active-cat {
  background: linear-gradient(90deg, #FF1A1A, #FF4D00);
  box-shadow: 0 0 10px #FF4D00;
}

/* 🔥 HOVER */
.cat-btn:hover {
  transform: translateY(-2px);
}

/* 🔥 GRID IMPROVEMENT */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

/* 🔥 CARD UPGRADE */
.menu-card {
  background: linear-gradient(145deg, #111, #1a1a1a);
  border-radius: 15px;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 77, 0, 0.4);
}

/* 🔥 IMAGE */
.menu-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* 🔥 TEXT */
.menu-info h3 {
  font-size: 18px;
}

.menu-info p {
  font-size: 13px;
  opacity: 0.7;
}

.menu {
    position: relative;
    z-index: 10;
}

.menu-bg {
    pointer-events: none;
}

.menu-card {
    position: relative;
    z-index: 5;
}

.add-btn {
    position: relative;
    z-index: 50 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}