/* =========================================================
   MENU PAGE
========================================================= */

.menuHero,
.menuFeaturedSection,
.menuItemsSection,
.menuInterestedSection {
  overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */
.menuHero {
  position: relative;
  height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-light); /* optional beige background behind image */
}

.menuHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menuHero h1 {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant", serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}

/* =========================================================
   FEATURED
========================================================= */

.menuFeaturedSection {
  position: relative;
  overflow: hidden;
  padding: 62px 0 88px;
  background:
    radial-gradient(circle at center, rgba(255,170,120,.35), transparent 40%),
    var(--bg-light);
}

.menuFeaturedHeader {
  position: relative;
  z-index: 20;

  text-align: center;

  font-family: "Cormorant", serif;
  font-size: var(--title-md);
  font-weight: 500;

  color: var(--text-brown);

  margin-bottom: 50px;
}
.menuFeaturedHeader span {
  font-style: italic;
}

.menuFeaturedCarousel {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  min-height: 560px;
  cursor: grab;
  user-select: none;
}

.menuFeaturedCarousel.is-dragging {
  cursor: grabbing;
}

.featuredSlide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.featuredSlide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}


/* ---------- STATIC HEADER ---------- */

.featuredText {
  position: relative;
  z-index: 8;
  text-align: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.featuredSlide.is-active .featuredText {
  opacity: 1;
  transform: translateY(0);
}
.featuredKicker {
  font-family: "Cormorant", serif;
  font-size: 28px;
  margin-bottom: 18px;

  color: var(--brown-main);
}

.featuredKicker span {
  font-style: italic;
}

.featuredText h2 {
  font-family: "Cormorant", serif;
  font-size: 84px;
  line-height: .96;
  font-weight: 500;
  color: var(--text-brown);
  margin: 0 0 300px;
}

.featuredText p {
  max-width: 620px;
  margin: 0 auto;
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--text-brown);
  margin-top:100px;
}

@keyframes featuredTextFade {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }

  12% {
    opacity: 1;
    transform: translateY(0);
  }

  76% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}


/* ---------- DRINK ---------- */

.featuredDrink {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 400px;
  height: 400px;
  transform: translate(95%, -50%);
  opacity: 0;
  z-index: 9;
  transition: transform 0.85s ease, opacity 0.85s ease;
}
.featuredSlide.is-active .featuredDrink {
  transform: translate(-50%, -50%);
  opacity: 1;
}
.featuredDrink img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes featuredSlideIn {
  from {
    transform: translateX(90px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ---------- SIDE IMAGES ---------- */

.featuredSide {
  position: absolute;
  top: 50%;
  width: 300px;
  height: 300px;
  transform: translateY(-50%);
  opacity: .95;
  z-index: 2;
}


.featuredSide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.featuredSideLeft {
  left: -200px;
}

.featuredSideRight {
  right: -200px;
}


/* ---------- DOTS ---------- */

.featuredDots {
  display: none;
}

.newItemBadge {
  position: absolute;
  top: 4px;
  right: 24%;
  background: var(--active-yellow);
  color: var(--text-brown);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 25px;
  font-weight: 700;
  transform: rotate(8deg);
}

/* =========================================================
   MENU SECTION
========================================================= */

.menuItemsSection {
  position: relative;
  padding: 70px 8% 100px;
  background: 
    radial-gradient(circle at 50% 100%, rgba(255,156,102,0.34), transparent 30%),
    radial-gradient(circle at 0% 40%, rgba(255,156,102,0.34), transparent 30%),
    radial-gradient(circle at 100% 55%, rgba(255,156,102,0.34), transparent 30%),
    var(--bg-soft);
}


/* ---------- TYPE TABS ---------- */

.menuTypeTabs {
  display: flex;
  justify-content: center;
  gap: 48px;

  margin-bottom: 28px;
}

.menuTypeTab {
  position: relative;

  background: transparent;
  border: none;

  font-family: "Cormorant", serif;
  font-size: 42px;

  color: rgba(110,55,27,.55);

  cursor: pointer;
}

.menuTypeTab.active {
  color: var(--brown-main);
}

.menuTypeTab.active::after {
  content: "";

  position: absolute;
  left: 50%;
  bottom: -8px;

  width: 92px;
  height: 2px;

  background: var(--brown-main);

  transform: translateX(-50%);
}


/* ---------- CATEGORY ---------- */

.menuCategoryTabs {
  display: none;

  justify-content: center;
  gap: 28px;

  margin-bottom: 26px;
}

.menuCategoryTabs.active {
  display: flex;
}

.menuCategoryTab {
  min-width: 145px;
  height: 42px;

  border-radius: 999px;
  border: 3px solid #ff7b31;

  background: transparent;
  color: #ff7b31;

  font-size: var(--text-sm);
  font-weight: 700;

  cursor: pointer;

  transition: all 0.25s ease;
  box-sizing: border-box;
}

/* ACTIVE = filled */
.menuCategoryTab.active {
  background: #ff7b31;
  color: white;
}

/* HOVER = hollow → filled (only if not active) */
.menuCategoryTab:not(.active):hover {
  background: #ff7b31;
  color: white;
}


/* ---------- DESCRIPTION ---------- */

.menuDescription {
  text-align: center;
  margin-bottom: 48px;
}

.menuDescription p {
  display: none;

  max-width: 740px;
  margin: 0 auto;

  line-height: 1.7;
}

.menuDescription p.active {
  display: block;
}


/* ---------- GRID ---------- */

.menuItemsGrid {
  max-width: 920px;
  margin: 0 auto 54px;

  display: grid;
  grid-template-columns: repeat(3, 220px);
  justify-content: center;
  justify-items: center;

  gap: 42px 56px;
}

.menuProduct {
  width: 220px;
  max-width: 220px;
  min-height: 310px;

  text-align: left;
  display: none;
  cursor: pointer;
  transition: transform .35s ease;
}

.menuProduct img {
  width: 220px;
  height: 220px;
  aspect-ratio: auto;

  object-fit: contain;

  background: #f8e8c7;
  border-radius: 24px;
  padding: 14px;

  display: block;
}
.menuProduct:hover {
  transform: translateY(-8px);
}

.menuProduct.is-visible {
  display: block;
}

.menuProduct h3 {
  margin: 14px 0 6px;
  min-height: 38px;

  font-size: var(--text-md);
  line-height: 1.2;
  font-weight: 500;
}

.menuProduct p {
  margin: 0;
  font-size: var(--text-sm);
}



/* ---------- VIEW MORE ---------- */

.menuViewMoreWrap {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 18px;
}

.menuViewMoreBtn {
  display: none;

  min-width: 170px;
  height: 46px; /* ✅ match download button */

  border: 3px solid var(--btn-green);
  border-radius: 999px;

  background: var(--btn-green);
  color: white;

  font-size: var(--text-sm);
  font-weight: 700;

  cursor: pointer;

  align-items: center;
  justify-content: center;

  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* show state */
.menuViewMoreBtn.show {
  display: inline-flex;
}

/* hover = solid → hollow */
.menuViewMoreBtn:hover {
  background: transparent;
  color: var(--btn-green);
}


/* ---------- DOWNLOAD ---------- */

.menuDownloadWrap {
  text-align: center;
  margin-top: 20px;
}
.menuDownloadBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 220px;
  height: 46px;

  border: 3px solid var(--btn-green);
  border-radius: 999px;

  background: #646015;
  color: white;

  text-decoration: none;

  font-size: var(--text-sm);
  font-weight: 700;

  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* hover = solid → hollow */
.menuDownloadBtn:hover {
  background: transparent;
  color: var(--btn-green);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.menuLightbox {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,.55);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;

  transition: .35s ease;

  z-index: 9999;
}

.menuLightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.menuLightboxCard {
  width: min(960px, 92vw);

  background: #fff7ef;

  border-radius: 34px;

  padding: 40px;

  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 50px;

  position: relative;
}

.menuLightboxImage img {
  width: 100%;
  border-radius: 28px;
  background: #f8e8c7;
}

.menuLightboxContent h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  line-height: .95;

  margin-bottom: 18px;
}

.menuLightboxIngredients {
  font-size: var(--text-sm);
  line-height: 1.7;
}
.menuLightboxAllergy {
  font-size: var(--text-xs);
  color: #c0392b; /* soft red */
  line-height: 1.5;
  margin-bottom: 16px;
}

.menuLightboxDescription {
  line-height: 1.8;
  margin-bottom: 24px;
}

.menuLightboxPrice {
  font-size: 24px;
  font-weight: 700;
}

.menuLightboxClose {
  position: absolute;
  top: 18px;
  right: 22px;

  border: none;
  background: transparent;

  font-size: 42px;

  cursor: pointer;
}


/* =========================================================
   INTERESTED
========================================================= */

.menuInterestedSection {
  padding: 60px 8%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;

  max-width: 1100px;
  margin: 0 auto;
  background: var(--bg-light);
}

.menuInterestedText {
  text-align: center;
}


.menuInterestedText h2 {
  font-family: "Cormorant", serif;
  font-size: var(--title-md);
  font-weight: 500; /* or 400 if you want softer */
  margin-bottom: 14px;
}

.menuInterestedText p {
  max-width: 360px;
  margin: 0 auto 22px;
  line-height: 1.6;
  font-size: var(--text-sm);
}

.menuInterestedText a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 150px;
  height: 44px;

  border-radius: 999px;
  border: 3px solid #ff7b31;

  background: #ff7b31;
  color: white;

  text-decoration: none;

  font-size: var(--text-sm);
  font-weight: 700;

  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* hover = solid → hollow */
.menuInterestedText a:hover {
  background: transparent;
  color: #ff7b31;
}

.menuInterestedImage img {
  width: 90%;
  max-width: 380px;
  display: block;
  margin-left: auto;
}

/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 768px) {

  .menuHero {
    height: 220px;
    margin-top: 0;
  }

  .menuHero h1 {
    font-size: 42px;
  }

  .menuHero::after {
    height: 48px;
  }

  .menuFeaturedSection {
    padding: 40px 0 90px;
  }

  .menuFeaturedCarousel {
    min-height: 500px;
  }

  .featuredKicker {
    font-size: 15px;
  }

  .featuredText h2 {
    font-size: 58px;
    padding: 0 20px;   /* add horizontal padding */
    text-align: center;
  }

  .featuredText p {
    max-width: 250px;
    font-size: 15px;
  }

  .featuredDrink {
    width: 220px;
    height: 220px;

    top: 58%;
  }

  .featuredSide {
    width: 140px;
    height: 140px;
  }

  .featuredSideLeft {
    left: -50px;
  }

  .featuredSideRight {
    right: -50px;
  }

  .menuItemsSection {
    padding: 50px 24px 70px;
  }

  .menuTypeTabs {
    gap: 28px;
  }

  .menuTypeTab {
    font-size: 28px;
  }

  .menuCategoryTabs {
    gap: 12px;
  }

  .menuCategoryTab {
    min-width: 110px;
    height: 38px;

    font-size: 15px;
  }

   .menuItemsGrid {
    max-width: 320px;
    grid-template-columns: repeat(2, 145px);
    gap: 28px 20px;
    margin-bottom: 40px;
  }

  .menuProduct {
    width: 145px;
    max-width: 145px;
    min-height: 215px;
  }

   .menuProduct img {
    width: 145px;
    height: 145px;
    border-radius: 18px;
    padding: 10px;
  }

  .menuProduct h3 {
    min-height: 28px;
    font-size: 15px;
    margin-top: 10px;
  }

  .menuProduct p {
    font-size: 15px;
  }

  .menuLightboxCard {
    grid-template-columns: 1fr;

    padding: 26px;
    gap: 24px;
  }

  .menuLightboxContent h2 {
    font-size: 32px;
  }

  .menuInterestedSection {
    grid-template-columns: 1fr;

    padding: 60px 24px;

    text-align: center;
  }

  .menuInterestedText h2 {
    font-size: 42px;
  }
}

.menuFooter {
  padding-top: 90px;
}

@media screen and (max-width: 768px) {
  .menuFooter {
    padding-top: 60px;
  }
}
@media screen and (max-width: 768px) {

  /* NEW ITEM badge adjustments */
  .featuredText .newItemBadge {
    top: -23px;       /* move up a bit */
    right: 9%;       /* move more to the right */
    font-size: 18px;  /* slightly smaller for mobile */
    padding: 5px 12px;
  }

  /* Make featured text paragraph wider and move up */
  .featuredText p {
    max-width: 300px;  /* wider than current 250px */
    margin-top: 290px;  /* move up closer to title */
  }

  /* Featured text title adjustment */
  .featuredText h2 {
    font-size: 52px;    /* adjust title size for mobile */
    margin-bottom: 10px; /* move closer to image */
  }
}
/* ================= MOBILE CATEGORY TABS VERTICAL ================= */
@media screen and (max-width: 768px) {
  /* Stack Beverage tabs vertically */
  .menuDrinkTabs {
    flex-direction: column;
    gap: 12px; /* space between each row */
    align-items: center; /* center align buttons */
  }

  /* Stack Dessert tabs vertically */
  .menuFoodTabs {
    flex-direction: column;
    gap: 12px; /* space between each row */
    align-items: center; /* center align buttons */
  }

  /* Optional: make the buttons wider for vertical layout */
  .menuCategoryTab {
    min-width: 180px;
  }
}