/* ======================= menu.css (FULL FILE) ======================= */

/* Active nav highlight */
.nav-link.is-active{
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
}

/* ===== HERO BANNER (half height, image) ===== */
.hero--menu{
  min-height:48vh;
  height:48vh;
}
@media (min-width:1024px){
  .hero--menu{min-height:52vh;height:52vh;}
}
@media (max-width:980px){
  .hero--menu{min-height:42vh;height:42vh;}
}
@media (max-width:560px){
  .hero--menu{min-height:40vh;height:40vh;}
}

.hero-media--menu{
  position:absolute;
  inset:0;
  z-index:0;
  background:url("../img/menu-hero.jpg") center/cover no-repeat;
  filter:saturate(1.05) contrast(1.05);
}

.hero--menu .hero-overlay{
  background:linear-gradient(
    90deg,
    rgba(0,0,0,.76) 0%,
    rgba(0,0,0,.48) 55%,
    rgba(0,0,0,.18) 100%
  );
}

.hero-content--menu{
  padding-top:90px;
  padding-bottom:34px;
  max-width:760px;
}
@media (max-width:980px){ .hero-content--menu{ padding-top:74px; } }
@media (max-width:560px){ .hero-content--menu{ padding-top:66px; padding-bottom:26px; } }

/* ===== PAGE WRAP ===== */
.menu-page{
  background:#ffece4;
}

/* Stack of cards */
.menu-stack{
  display:flex;
  flex-direction:column;
  gap:22px;
}

/* Card */
.menu-card{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(0,0,0,.06);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}

/* Top row */
.menu-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:16px 18px;
  background:rgba(255,255,255,.92);
  border-bottom:1px solid rgba(0,0,0,.06);
}

.menu-title{
  margin:0;
  font-weight:900;
  font-size:1.25rem;
  color:rgba(20,20,20,.92);
}

.menu-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

/* Image button (click opens lightbox) */
.menu-image-btn{
  width:100%;
  border:0;
  padding:0;
  margin:0;
  background:transparent;
  display:block;
  cursor:pointer;
}

.menu-image-btn:focus-visible{
  outline:3px solid rgba(231,29,54,.55);
  outline-offset:4px;
}

.menu-image{
  width:100%;
  height:auto;
  display:block;
}

/* Hover polish */
.menu-card{
  transition:transform .18s ease, box-shadow .18s ease;
}
.menu-card:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 52px rgba(0,0,0,.16);
}

/* Mobile: make buttons full width */
@media (max-width:560px){
  .menu-card-top{
    flex-direction:column;
    align-items:flex-start;
  }
  .menu-actions{ width:100%; }
  .menu-actions .btn{ width:100%; }
}

/* ================= LIGHTBOX ================= */
.lightbox{
  position:fixed;
  inset:0;
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease;
}
.lightbox.is-open{
  opacity:1;
  pointer-events:auto;
}

.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}

.lightbox-dialog{
  position:relative;
  width:min(1100px, calc(100% - 24px));
  height:min(92vh, 900px);
  margin:3vh auto 0;
  border-radius:22px;
  overflow:hidden;
  background:rgba(15,15,15,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 30px 90px rgba(0,0,0,.45);
  display:flex;
  flex-direction:column;
}

.lightbox-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.lightbox-title{
  font-weight:900;
  color:#fff;
  padding-left:6px;
}

.lightbox-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.lightbox-close{
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  cursor:pointer;
}

.lightbox-body{
  position:relative;
  flex:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px;
}

.lightbox-viewport{
  flex:1;
  height:100%;
  border-radius:18px;
  overflow:auto;
  background:#111;
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:14px;
  -webkit-overflow-scrolling:touch;
}

/* image can be scrolled if tall */
.lightbox-img{
  width:min(980px, 100%);
  height:auto;
  display:block;
}

/* next/prev buttons */
.lightbox-nav{
  width:52px;
  height:52px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:2rem;
  line-height:0;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:transform .15s ease, background .15s ease;
}
.lightbox-nav:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.12);
}
.lightbox-nav:active{transform:translateY(0);}

@media (max-width:700px){
  .lightbox-dialog{
    height:92vh;
    margin:2vh auto 0;
  }
  .lightbox-nav{
    width:44px;height:44px;
    font-size:1.8rem;
  }
  .lightbox-viewport{
    padding:10px;
  }
}