
.menu-title-container {
  
  position: relative;
  min-height: 40vh;
  width: 100%;
  background: black;
  color: white;
  overflow: hidden;
}

/* shared image layer behavior */
.menu-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center bottom;

  pointer-events: none;
  user-select: none;
  display: block;
}

/* layer ordering */
.menu-layer--base {
  z-index: 0;
}

.menu-layer--overlay {
  z-index: 1;
  opacity: 0;

  animation: fadeIcons 2000ms linear forwards;
  animation-delay: 150ms;
}


/* TITLE */
.menu-title {
  position: absolute;
  left: 50%;
  top: 80%;

  transform: translate(-50%, -50%);

  margin: 0;

  font-size: clamp(5rem, 15vw, 11rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  font-family: "renuMEAT-logo-font";
  z-index:2;
}

/* CTA WRAPPER */
.hero-actions {
  position: sticky;
  /*top: 58px;  height of navbar - BEFORE PROMO BANNER */
  top: 108px; /* navbar + promo banner */

  z-index: 1100;

  display: flex;
  justify-content: center;
  margin-top: 16px;   /* distance below hero image */

  
}

.promo-banner {
  position: sticky;
  top: 58px; /* directly below navbar */

  z-index: 1150;

  width: 100%;

  background: rgb(207, 17, 17);
  color: rgb(243, 238, 238);
  border-bottom: 1px solid white;

  text-align: center;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;

  padding: 5px 12px;

  box-sizing: border-box;
}

/* BUTTON */
.button-categories {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  outline: none;
  box-shadow: none;

  display: block;
  width: 130px;

  background-color: rgb(207, 17, 17);
  color: rgb(243, 238, 238);

  font-size: 1.3rem;
  font-weight: 700;

  padding: 10px;
  border-radius: 5px;

  text-align: center;
  cursor: pointer;

  transition: background-color 0.05s ease, color 0.05s ease;
}

.button-categories:hover {
  background-color: rgb(243, 238, 238);
  /*color: #fd8802;*/
  color:rgb(207, 17, 17);
}


/* CATEGORY MODAL */
.categories-box {
  width: calc(100% - 32px);
  max-width: 340px;

  display: flex;
  flex-direction: column;
  gap: 14px;
}
.categories-title{
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-top:0;
}

.category-link {
  background: none;
  border: none;
  padding: 0;

  color: white;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;

  cursor: pointer;
}

.category-link:hover {
  opacity: 0.7;
}

/* EACH TARGET TITLE OFFSET FOR STICKY STACK */

/* ICON FADE-IN */
@keyframes fadeIcons {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.menu-category-title{
  color:white;
  display:flex;
  justify-content: center;
  font-size: 2.8rem ;
  scroll-margin-top: 130px;
  z-index: 2;
}

.menu-category{
  margin-top: 4rem;
}

.menu-category:last-of-type{
  margin-bottom: 5rem;
}

.menu-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

/* CARD */
.menu-card {
  width: 100%;
  color: white;
  
}

/* IMAGE */
.menu-card > img {
  display: block;
  width: calc(100% - 2rem);   /* left + right margin */
  margin: 0 auto;
  aspect-ratio: 16/ 10;      /* wider than tall */
  object-fit: cover;
  border: 1px solid white;

  border-radius: 18px;
}

.drink-card img{
  display: block;
  width: calc(100% - 2rem);   /* left + right margin */
  margin: 0 auto;
  aspect-ratio: 16/ 10;      /* wider than tall */
  object-fit: contain;
  border: 1px solid white;

  border-radius: 18px;
}

/* TEXT AREA */
.menu-card-content {
  padding: 0.8rem 1rem 1.5rem;
}

.item-title{
  color:rgb(207, 17, 17);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.spicy-icon {
  display: inline-flex;
  width: 1.5em;
  height: 1.5em;
  flex: 0 0 1.5em;
}

.spicy-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}




.menu-card-content h2 {
  margin: 0 0 0.35rem 0;
  font-size: 1.15rem;
}

.menu-card-content p {
  margin: 0 0 0.6rem 0;
  font-size: 1.2rem;
  line-height: 1.45;
  opacity: 0.9;
}

.price {
  font-weight: 700;
  font-size: 1.3rem;
}

.menu-upgrade-message {
  font-size: 1.3rem; /* reuse item-title scale */
  font-weight: 700;
  text-align: center;
  
  color: rgb(243, 238, 238);
  
  margin: 18px auto 0;

  width: fit-content;
  max-width: min(92vw, 700px);

  padding: 0 18px;
}

/*MENU ITEM DETAILS OVERLAY MVP*/

.menu-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.details-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;

  font-size: 1.3rem;
  font-weight: 700;

  color: rgb(207, 17, 17); /* your accent */
}

.modal-overlay {
  position: fixed;

  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  inset: 0;

  background: rgba(0,0,0,0.7);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;

  transition: opacity 450ms linear;

  z-index: 5000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: black;
  color: white;

  width: calc(100% - 32px);
  max-width: 380px;
  max-height: 90vh;   

  overflow-y: auto;

  padding: 20px;

  border: 1px solid white;
  border-radius: 18px;

  position: relative;

  box-sizing: border-box;
  z-index:1;
}

.modal-box img {
  display: block;

  width: 100%;
  height: 180px;

  object-fit: contain;
  object-position: center;

  border-radius: 14px;

  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;

  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
}

/*MEDIA QUERY TITLE HERO- TABLET PORTRAIT*/

@media (min-width: 700px) and (orientation: portrait) {

  .menu-title-container {
    position: relative;
    min-height: 30vh;
    width: 100%;
  }

  .menu-title {
    font-size: 6.5rem;
  }

  .button-categories {
    width: 165px;
    font-size: 2rem;
  }

  .category-link {
    font-size: 2.5rem;
  }

  /*FOR PROMO PURPOSES*/
  .hero-actions{
    top:89px;
  }

  .menu-upgrade-message{
    font-size: 1.6rem;
    
  }

}

/*MEDIA QUERY TITLE HERO - PHONE LANDSCAPE*/

@media (min-width: 650px) and (max-width: 949px) and (orientation: landscape) {

  .menu-title-container {
    min-height: 65vh;
  }

  .menu-title {
    top: 80%;
    font-size: clamp(5rem, 8vw, 6rem);
  }

  .button-categories {
    width: 130px;
    font-size: 1.3rem;
  }

  .hero-actions {
    top: 89px;
  }

  .menu-upgrade-message{
    font-size: 1.4rem;
  }

}

/*MEDIA QUERT FOR PROMO AROUND 414PX WD*/
@media (min-width: 400px) and (max-width:649px){

  .hero-actions {
    top: 108px;
  }
 
}

/*MEDIA QUERY TITLE HERO - DESKTOP*/

@media (min-width: 950px) and (min-height: 951px) {

  .menu-title-container {
    min-height: 40vh;
  }

  .menu-title {
    top: 80%;
    font-size: 8rem;
  }

  .button-categories {
    width: 180px;
    font-size: 1.8rem;
  }

  .hero-actions {
    top: 121px;
  }
  .promo-banner {
    max-width: 1920px;
    margin: 0 auto;
    top: 90px;

}

.menu-upgrade-message{
    font-size: 1.8rem;
  }
}

/*MEDIA QUERY MENU HERO - TABLETS LANDSCAPE*/

@media (min-width: 950px) and (max-height: 951px) {

  .menu-title-container {
    min-height: 40vh;
  }

  .menu-title {
    top: 80%;
    font-size: 6rem;
  }

  .button-categories {
    width: 180px;
    font-size: 1.8rem;
  }

  .hero-actions {
    top: 121px;
  }
  .promo-banner{
    top: 90px;
  }

  .menu-upgrade-message{
    font-size: 1.8rem;
  }

}

/*MEDIA QUERY FOR MENU CONTENT- TABLET*/

@media (min-width: 700px) and (max-width: 949px) {

  .menu-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .menu-category {
    margin-top: 4.5rem;
  }

  .menu-category-title {
    font-size: 3rem;
  }

  .menu-card-content {
    padding: 1rem 1rem 1.75rem;
  }

  .menu-card img {
    width: calc(100% - 1.5rem);
    border-radius: 20px;
  }
  .spicy-icon {
  display: inline-flex;
  width: 2.2em;
  height: 2.2em;
  flex: 0 0 2.2em;
  }

}

/*MEDIA QUERY FOR MENU CONTENT- DESKTOP*/
@media (min-width: 950px) {

  .menu-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
  }

  .menu-category {
    margin-top: 5rem;
  }

  .menu-category-title {
    font-size: 3.2rem;
  }

  .menu-card-content {
    padding: 1rem 1rem 2rem;
  }

  .menu-card img {
    border-radius: 22px;
  }
}





  

