.lunch-box-scroll {
  background: #f1f1f1;
  padding: 80px 20px;
  padding-top: 50px;
  overflow-x: hidden;
  position: relative;
  margin: 0;
}

/* Wrapper holds bars + background block + text */
.lunch-box-text-wrapper {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  z-index: 2;
  /* border: 1px solid black; */

}

.wave-heading span {
  display: inline-block;
  transform-origin: center bottom;
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}



/* Background block behind the text */
.lunch-box-background-block {
  background-color: #f1f1f1; /* match section background */
  padding: 60px 20px;
  position: relative;
  z-index: 2; /* sits above bars, under text */
  /* border: 1px solid black; */
  /* opacity: 0.5; */
  max-width: 500px;
  margin: 0 auto;
}

/* Text content sits inside background block */
.lunch-box-text {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 3; /* highest layer */
}

.lunch-box-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

.lunch-box-text h2 a {
  text-decoration: underline;
  color: #000;
}

.lunch-box-text p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.5;
}

/* Image row that scrolls horizontally */
.lunch-box-row {
    position: relative;
  display: flex;
  justify-content: center;
  gap: 0px;
  will-change: transform;
  z-index: 3;
}

/* Lunch box images */
.lunch-box-img {
  width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Green bars behind everything */
.green-bar {
  position: absolute;
  width: 500px;
  height: 40px;
  background-color: #66ff99;
  z-index: 1;
}

.bar-top-left {
  top: 50%;
  left: 50%;
  transform-origin: left center;
}

.bar-bottom-right {
  top: 50%;
  left: 50%;
  transform-origin: left center;
}

/* Responsive image scaling */
@media (max-width: 1024px) {
  .lunch-box-img { width: 400px; }
}

@media (max-width: 768px) {
  .lunch-box-img { width: 300px; }

  .bar-top-left {
    left: 10%;
  }

  .bar-bottom-right {
    right: 10%;
  }

  .lunch-box-background-block {
    padding: 40px 20px;
  }
}

@media (max-width: 500px) {
  .lunch-box-img { width: 240px; }
}
