/* ── Hero ─────────────────────────────────────────────── */
.bg-img {
  background-image: url("../images/food_demo.jpg");
  background-size: cover;
  background-position: center;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-overlay {
  background: rgba(0,0,0,0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 40px 32px 48px;
  text-align: center;
  width: 90%;
  max-width: 560px;
}

.menu-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 6px;
}

.menu-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  margin: 0 0 28px;
}

/* ── Menu Cards ───────────────────────────────────────── */
.menu-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.menu-card {
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 16px;
  padding: 22px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-card:hover,
.menu-card:focus-visible {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
  outline: none;
}

.menu-card:active { transform: scale(0.97); }
.menu-card-icon { font-size: 1.8rem; }
.menu-card-label { line-height: 1.3; text-align: center; }

/* ── AdSense ──────────────────────────────────────────── */
.ad-container {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
  min-height: 90px;
}

/* ── Modal Overlay ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: flex;
  align-items: flex-end;        /* slide up from bottom on mobile */
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 0;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ── Modal Card ───────────────────────────────────────── */
.modal-container {
  background: #fff;
  width: 100%;
  max-width: 820px;
  height: 94dvh;          /* nearly full screen height */
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

/* On larger screens: centre it like a regular modal */
@media (min-width: 640px) {
  .modal-overlay {
    align-items: center;
    padding: 16px;
  }
  .modal-container {
    height: 90vh;
    border-radius: 20px;
    transform: scale(0.95);
    transition: transform 0.25s ease;
  }
  .modal-overlay.active .modal-container {
    transform: scale(1);
  }
}

/* ── Toolbar ──────────────────────────────────────────── */
.modal-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.modal-menu-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.close-btn {
  background: #fff0f0;
  border: 1px solid #fbb;
  color: #c00;
  border-radius: 8px;
  padding: 6px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  min-width: 80px;
  min-height: 36px;       /* easy tap target */
}

.close-btn:hover { background: #ffe0e0; }

/* ── PDF iframe ───────────────────────────────────────── */
.modal-body {
  flex: 1;
  overflow: hidden;
  background: #f0f0f0;
}

.pdf-frame {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── CTA footer (thumb-friendly on mobile) ────────────── */
.modal-footer {
  flex-shrink: 0;
  padding: 10px 16px;
  background: #fafafa;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Shared CTA button styles */
.cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 50px;
  text-decoration: none;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: filter 0.15s;
}
.cta-btn:hover { filter: brightness(0.9); }

/* Order Now — vibrant green */
.cta-order {
  background: #2e7d32;
  color: #fff;
}

/* Make a Booking — brand gold */
.cta-booking {
  background: #b8926a;
  color: #fff;
}

/* ── Glowing keyframes (kept) ─────────────────────────── */
@keyframes glowing {
  0%   { background-position: 0 0; }
  50%  { background-position: 400% 0; }
  100% { background-position: 0 0; }
}