
.menu-scroll-container {
  position: relative;
  background: url('../../assets/ourmenu.webp') no-repeat center center fixed;
  color: #fff;
  font-family: 'Courier Prime', monospace;
  padding: 100px 0;
}
*::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
*::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}
*::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}
#menu-display-img {
    /* Prevents Safari from triggering the UI on tap */
    pointer-events: none; 
    
    /* Removes the default shadow/highlighting in iOS */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    
    /* Standard reset */
    outline: none;
    border: none;
}

/* Specific Webkit hack to hide the play button overlay */
#menu-display-img::-webkit-media-controls {
    display: none !important;
}
.menu-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 10%;
}

.menu-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 100%;
}

.menu-interactive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

/* Tilted Image Section */
.menu-image-container {
  margin-top: 0px;
  display: flex;
  justify-content: center;
}

.tilted-frame {
  position: relative;
  width: 300px;
  max-width: 350px;
  aspect-ratio: 4/5;
  transform: rotate(-10deg);
  /* Your 15-degree tilt */
  overflow: hidden;
  border: 2px solid #EE2E3C;
  transition: transform 0.5s ease;
}

.tilted-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.menuimginner {
  position: relative;
}

.image-label {
  position: absolute;
  left: -80px;
  bottom: -60px;
  color: #EE2E3C;
  padding: 5px 15px;
  font-weight: bold;
  font-family: "Sedgwick Ave Display", cursive;
  font-size: 70px;
  line-height: 60px;
  z-index: 5;
}

/* Menu Options List */
.menu-options-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.menu-opt {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  text-align: left;
  font-family: 'Courier Prime', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.menu-opt.active,
.menu-opt:hover {
  color: #EE2E3C;
  padding-left: 20px;
  border-left: 5px solid #EE2E3C;
}

.explore-btn {
  margin-top: 30px;
  padding: 15px 30px;
  background: #EE2E3C;
  color: white;
  text-decoration: none;
  width: max-content;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 0 10px #fff, 0 0 30px #fff;
  transition: 0.3s ease-in-out;
}

.blur-target {
  will-change: filter, opacity, transform;
  /* Essential for smooth Safari/iPhone performance */
  transition: none;
  /* Critical: Prevent CSS from fighting the JS updates */
}

h2.blur-target {
  font-size: 48px;
  font-family: 'Courier prime', monospace;
}

h4.blur-text {
  font-size: 48px;
  font-family: 'Courier prime', monospace;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 10%;
}

p.blur-text {
  font-size: 16px;
  font-family: 'Courier prime', monospace;
  font-weight: 400;
  letter-spacing: 10%;
  line-height: 20px;
}
/* --- RESPONSIVE MENU SECTION --- */

/* TABLET (iPads/Laptops) */
@media (max-width: 992px) {
  .menu-sticky-wrapper {
    height: auto; /* Allow scrolling naturally if content is tall */
    padding: 80px 5%;
    min-height: 100vh;
  }

  .menu-scroll-container {
    padding: 40px 0;
  }

  .menu-interactive-grid {
    grid-template-columns: 1fr; /* Stack Image over List */
    gap: 40px;
  }

  .tilted-frame {
    width: 300px; /* Smaller image for tablet */
    transform: rotate(-8deg); /* Reduced tilt so it doesn't clip */
  }

  .image-label {
    font-size: 50px;
    left: -40px;
    bottom: -30px;
  }

  .menu-opt {
    font-size: 1.8rem; /* Smaller menu text */
    text-align: center;
  }
  
  .menu-options-list {
    align-items: center; /* Center the list on tablet */
  }
}

/* MOBILE (Phones) */
@media (max-width: 576px) {
  .menu-header h2.blur-target {
    font-size: 30px !important;
    line-height: 1.2;
    letter-spacing: 0 !important;
  }

  .menu-header p.blur-target {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Centered Tilted Frame for Mobile */
  .menu-image-container {
    margin-top: 20px;
  }

  .tilted-frame {
    width: 250px;
    transform: rotate(-5deg); /* Very subtle tilt for mobile */
  }

  .image-label {
    font-size: 40px;
    left: 50%;
    transform: translateX(-50%); /* Center the label on mobile */
    bottom: -40px;
    width: 100%;
    text-align: center;
  }

  .menu-options-list {
    margin-top: 60px; /* Space for the overlapping label */
    gap: 10px;
  }

  .menu-opt {
    font-size: 1.4rem;
    padding-left: 0;
  }

  .menu-opt.active,
  .menu-opt:hover {
    padding-left: 0;
    border-left: none;
    border-bottom: 2px solid #EE2E3C; /* Switch to bottom border for mobile */
  }

  .explore-btn {
    width: 100%;
    text-align: center;
  }
}