/* Extracted styles from index.html */
html{scroll-behavior:smooth}
.glass{backdrop-filter:saturate(180%) blur(8px); background:rgba(255,255,255,0.7)}

/* Floating Buttons */
.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  animation: float 3s ease-in-out infinite;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s;
  padding: 8px 12px;
  border-radius: 12px;
  min-width: 44px;
  color: #fff; /* default text color for contrast */
  background: rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
}
.floating-btn.show, .floating-btn.always-show {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}
.floating-btn:hover {
  transform: scale(1.08);
  animation-play-state: paused;
  /* box-shadow: 0 10px 24px rgba(0,0,0,0.18); */
}

/* Offer badge / Buffet price highlight */
.price-highlight {
  display: inline-block;
  background: linear-gradient(90deg,#3b82f6,#1e40af);
  color: #ffffff; /* use white for good contrast on blue background */
  padding: 6px 14px;
  border-radius: 12px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(37,99,235,0.18), inset 0 -2px 6px rgba(0,0,0,0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.price-highlight.pulse {
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% { box-shadow: 0 6px 16px rgba(37,99,235,0.16); transform: translateY(0); }
  50% { box-shadow: 0 18px 40px rgba(37,99,235,0.26); transform: translateY(-4px); }
  100% { box-shadow: 0 6px 16px rgba(37,99,235,0.16); transform: translateY(0); }
}

/* CTA highlight for party booking */
.cta-highlight {
  border: 2px solid rgba(59,130,246,0.15);
  background: linear-gradient(180deg, rgba(59,130,246,0.12), rgba(30,64,175,0.08));
  color: white;
  box-shadow: 0 8px 22px rgba(59,130,246,0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}
.cta-highlight:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(59,130,246,0.18); }

/* Distinct back-to-top style */
.top-btn {
  background: linear-gradient(180deg,#374151,#111827);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
  color: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.top-btn:active { transform: scale(0.98); }

/* Responsive tweaks */
@media (max-width:640px){
  .floating-btn { gap:6px; padding:10px; }
  .price-highlight{ padding:6px 10px; font-size:28px; }
}

/* Offer circular image button styles */
.offer-btn {
  flex-direction: column;
  padding: 6px 8px;
  background: transparent; /* let circle image show */
  backdrop-filter: none; /* remove glass morph for offer button */
  -webkit-backdrop-filter: none;
}
.offer-btn .offer-label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #111827; /* dark text for Buffet label */
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
  text-align: center;
}
.offer-circle {
  width: 64px;
  height: 64px;
  border-radius: 9999px;
  background-size: cover;
  background-position: center;
  position: relative;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}
.offer-circle .price-badge {
  position: absolute;
  right: -6px;
  top: -8px;
  background: linear-gradient(90deg,#fecb5b,#fb923c);
  color: #7c2d12;
  padding: 4px 8px;
  border-radius: 9999px;
  font-weight: 900;
  font-size: 12px;
  box-shadow: 0 6px 14px rgba(251,146,60,0.12);
  transform: translate(0,0);
}

@media (max-width:640px){
  .offer-circle { width:56px; height:56px; }
  .offer-circle .price-badge { font-size:11px; padding:3px 6px; right:-4px; top:-6px; }
  .offer-btn .offer-label { font-size:11px; margin-bottom:4px; }
}

/* Aside (buffet quick-open) — vertical stack placed above floating CTAs */
.buffet-aside {
  position: fixed;
  right: 1rem; /* align with floating CTA column on the right */
  bottom: 14.5rem; /* sit above the floating button stack */
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  pointer-events: auto;
}
.buffet-aside button {
  background: transparent;
  color: inherit;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.buffet-aside .aside-gif {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(2,6,23,0.35);
  transform-origin: center;
}
.buffet-aside .aside-label {
  writing-mode: vertical-rl; /* vertical text */
  transform: rotate(180deg); /* make text read top-to-bottom */
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(42, 80, 232, 0.9);
  padding: 6px 8px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(2,6,23,0.12);
}

@media (max-width:640px){
  .buffet-aside { right: 0.75rem; bottom: 14.25rem; }
  .buffet-aside .aside-gif { width:42px; height:42px; }
  .buffet-aside .aside-label { font-size:11px; padding:10px 8px; }
}

/* Modal (popup form) */
.modal-overlay { position: fixed; inset: 0; background: rgba(2,6,23,0.6); display: none; align-items:center; justify-content:center; z-index:70; }
.modal-overlay.show { display: flex; }
.modal { background: #fff; width: 92%; max-width: 520px; border-radius:12px; padding:18px; box-shadow: 0 24px 60px rgba(2,6,23,0.6); transform: translateY(12px) scale(.98); opacity:0; transition: transform 360ms cubic-bezier(.2,.9,.3,1), opacity 360ms cubic-bezier(.2,.9,.3,1); }
.modal-overlay.show .modal { transform: translateY(0) scale(1); opacity:1; }
.modal h3 { font-size:18px; font-weight:800; color:#111827; margin:0; }

.modal-header { display:flex; align-items:center; gap:12px; margin-bottom:8px; }
.modal-header .title { font-size:18px; font-weight:800; color:#111827; }
.modal-header .price-badge { margin-left:auto; background: linear-gradient(90deg,#3b82f6,#1e40af); color:#fff; padding:6px 12px; border-radius:9999px; font-weight:900; box-shadow: 0 10px 26px rgba(37,99,235,0.12); }
.modal-sub { color:#475569; font-size:0.95rem; margin-bottom:10px; }
.modal .modal-close { position:absolute; right:12px; top:12px; background:transparent; border:none; font-size:18px; cursor:pointer; }
.modal form { display:grid; gap:10px; }
.modal input, .modal textarea, .modal select { width:100%; padding:10px 12px; border-radius:8px; border:1px solid #e6e6e6; }
.modal .row { display:flex; gap:8px; }
.modal .row .col { flex:1; }
.modal .modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:6px; }
.modal .btn-primary { background: linear-gradient(90deg,#06b6d4,#0ea5a4); color:#fff; padding:10px 12px; border-radius:8px; border:none; font-weight:700; cursor:pointer; }
.modal .btn-secondary { background:transparent; border:1px solid #e5e7eb; padding:10px 12px; border-radius:8px; cursor:pointer; }


/* Sound button */
.sound-btn {
  width:44px; height:44px; padding:0; font-size:18px; display:grid; place-items:center;
  border-radius:50%; background:linear-gradient(90deg,#06b6d4,#0ea5a4); color:#fff; box-shadow:0 10px 24px rgba(14,165,164,0.18);
  border: none; cursor: pointer;
}
.sound-btn:active{ transform:scale(.98); }

/* Menu cards */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.menu-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 12px 40px rgba(2,6,23,0.35);
  display: flex;
  flex-direction: column;
  transition: transform 250ms cubic-bezier(.2,.9,.3,1), box-shadow 250ms;
  cursor: pointer;
}
/* Menu card interactive styles */
.menu-card { position: relative; overflow: hidden; }
.menu-card .card-body { position: relative; z-index: 2; }
.menu-card .view-items { margin-top: 10px; background: transparent; border: 2px solid rgba(0,0,0,0.06); padding:8px 10px; border-radius:8px; cursor:pointer; font-weight:700; }
.menu-card .view-items:hover { transform:translateY(-2px); box-shadow:0 10px 24px rgba(0,0,0,0.08); }
.card-media img { transition: transform 420ms ease, filter 420ms ease; }
.menu-card:hover .card-media img { transform: scale(1.06); filter:brightness(.9); }
.menu-item-list { list-style: none; padding: 0; margin: 0; display:grid; gap:8px; }
.menu-item-list li { padding:10px 12px; border-radius:8px; background: #fff; color:#111827; font-weight:700; box-shadow:0 8px 20px rgba(2,6,23,0.06); }

/* Modal tweaks for menu details */
.modal .modal-header { margin-bottom: 8px; }
.modal .modal-sub { color:#6b7280; }
.modal .modal-actions { margin-top: 12px; }
.menu-card:focus, .menu-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 60px rgba(2,6,23,0.45);
}
.menu-card .card-media { height: 200px; overflow: hidden; }
.menu-card .card-media img { width:100%; height:100%; object-fit:cover; display:block; transition: transform 450ms ease; }
.menu-card:hover .card-media img, .menu-card:focus .card-media img { transform: scale(1.06); }
.menu-card .card-body { padding: 1rem; display:flex; flex-direction:column; gap:6px; }
.menu-card .card-body h3 { margin:0; font-size:1.125rem; font-weight:800; color:#111827; }
.menu-card .card-body p { margin:0; color:#475569; font-size:0.95rem; }

@media (max-width:1024px){
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:640px){
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card .card-media { height: 180px; }
}

/* Improve download link alignment */
.menu-download {
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:9999px; background:#fff; color:#1e40af; font-weight:700; box-shadow:0 8px 24px rgba(15,23,42,0.06);
}

/* Contact form specific improvements */
.contact-form { max-width:520px; width:100%; }
.contact-form .btn-submit {
  width:100%;
  padding:12px 16px;
  font-weight:800;
  border-radius:10px;
  background: linear-gradient(90deg,#2563eb,#1e40af);
  color: #fff;
  border: none;
}
.contact-form .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(239,68,68,0.12); }
.contact-form input[type="date"], .contact-form input[type="tel"], .contact-form input[type="email"], .contact-form input[type="text"], .contact-form textarea, .contact-form select {
  background: rgba(255,255,255,0.03);
  color: #e6e6e6;
}
.contact-form label { color:#cbd5e1; font-weight:600; }
.contact-form textarea { min-height:140px; }

/* PDF viewer modal (for viewing menu before download) */
.pdf-frame { width:100%; height:60vh; border-radius:8px; overflow:hidden; background:#fff; }
.pdf-frame iframe { width:100%; height:100%; border:0; }
.menu-modal .modal { max-width:860px; padding:12px; }
.menu-modal .modal h3 { margin-bottom:8px; }
.menu-modal .modal-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:10px; }
.menu-modal .btn-primary { background: linear-gradient(90deg,#2563eb,#1e40af); color:#fff; padding:10px 14px; border-radius:8px; font-weight:800; }
.menu-modal .btn-secondary { background:transparent; border:1px solid #e5e7eb; padding:10px 12px; border-radius:8px; cursor:pointer; }

/* Fade-in utility (used across the site) */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 560ms cubic-bezier(.2,.9,.3,1), transform 560ms cubic-bezier(.2,.9,.3,1);
  will-change: opacity, transform;
}
.fade-in.fast { transition-duration: 320ms; }
.fade-in.slow { transition-duration: 900ms; }
.fade-in.show { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in, .fade-in.show { transition: none !important; transform: none !important; opacity: 1 !important; }
}

/* Buffet gallery styles */
.buffet-gallery { position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); }
.buffet-gallery .buffet-main { position: relative; height: 420px; overflow: hidden; }
.buffet-gallery .buffet-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity 420ms ease, transform 420ms ease; }
.buffet-gallery .buffet-main img.active { opacity: 1; transform: scale(1); }
.buffet-gallery .buffet-thumbs { display:flex; gap:8px; padding:10px; background: linear-gradient(90deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02)); justify-content:center; }
.buffet-gallery .buffet-thumbs .thumb { border: none; background: transparent; padding:0; cursor:pointer; border-radius:8px; overflow:hidden; box-shadow: 0 6px 20px rgba(2,6,23,0.25); }
.buffet-gallery .buffet-thumbs .thumb img { width:96px; height:56px; object-fit:cover; display:block; opacity:.9; transition: transform 220ms ease, opacity 220ms ease; }
.buffet-gallery .buffet-thumbs .thumb.active img { transform: scale(1.04); opacity:1; }

@media (max-width:768px) {
  .buffet-gallery .buffet-main { height: 260px; }
  .buffet-gallery .buffet-thumbs .thumb img { width:72px; height:48px; }
}

  /* Simple gallery carousel (used under Gallery thumbnails) */
  .simple-carousel { position: relative; background: #111827; }
  .simple-carousel .slides { position: relative; height: 420px; overflow: hidden; }
  .simple-carousel .slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity 520ms ease, transform 520ms ease; display:flex; align-items:center; justify-content:center; }
  .simple-carousel .slide img { width:100%; height:100%; object-fit:cover; display:block; }
  .simple-carousel .slide.active { opacity: 1; transform: scale(1); z-index: 2; }
  .simple-carousel .controls { position: absolute; inset: 0; display:flex; align-items:center; justify-content:space-between; pointer-events: none; z-index: 5; }
  .simple-carousel .controls button { pointer-events: all; background: rgba(0,0,0,0.6); color: #fff; border: none; width:44px; height:44px; margin: 12px; border-radius: 999px; display:grid; place-items:center; font-size:18px; box-shadow: 0 10px 30px rgba(0,0,0,0.45); backdrop-filter: blur(6px); cursor: pointer; transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
  .simple-carousel .controls button:hover { transform: translateY(-2px) scale(1.02); background: rgba(0,0,0,0.72); box-shadow: 0 14px 36px rgba(0,0,0,0.5); }
  .simple-carousel .controls button:focus { outline: 3px solid rgba(252,203,91,0.9); }
  .simple-carousel .indicators { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display:flex; gap:8px; }
  .simple-carousel .indicators button { width:10px; height:10px; border-radius:999px; border: none; background: rgba(255,255,255,0.45); cursor:pointer; }
  .simple-carousel .indicators button.active { background: #3b82f6; box-shadow: 0 6px 18px rgba(59,130,246,0.2); }

  @media (max-width:768px) {
    .simple-carousel .slides { height: 260px; }
  }

  /* Hero overlay and readable heading adjustments */
  .hero-overlay {
    background: linear-gradient(90deg, rgba(2,6,23,0.78) 0%, rgba(2,6,23,0.55) 35%, rgba(2,6,23,0.28) 60%, rgba(2,6,23,0) 100%);
    pointer-events: none;
  }
  .hero-heading {
    text-shadow: 0 8px 30px rgba(0,0,0,0.6);
  }

  @media (max-width:768px) {
    .hero-heading { font-size: 1.8rem; line-height: 1.02; }
    .max-w-2xl p { font-size: 1rem; }
  }

  @media (max-width:640px) {
    .top-marquee .marquee-wrap { height: 48px; }
    /* use the standard 25s duration on mobile to avoid overly fast scrolling */
    .top-marquee .marquee { animation-duration: 25s !important; gap: 8px; align-items: center; }
    .top-marquee .marquee-text { font-size: 0.96rem; padding-right: 12px; }
    /* Show a compact circular CTA on small screens to avoid long marquee width */
    .top-marquee .marquee-cta { display: inline-flex !important; width:40px; height:40px; padding:0; align-items:center; justify-content:center; border-radius:9999px; margin-left:8px; box-shadow: 0 6px 18px rgba(0,0,0,0.12); }
    .top-marquee .marquee-cta .marquee-cta-text { display: none; }
    .top-marquee .marquee-cta .marquee-cta-icon { width:18px; height:18px; color: #0b61e6; }
  }
  .top-marquee { position: relative; z-index: 60; }
  /* Ensure marquee respects device safe-area (notch) and is vertically centered */
  .top-marquee { padding-top: constant(safe-area-inset-top); padding-top: env(safe-area-inset-top); box-sizing: border-box; }
  .top-marquee .marquee-wrap { height: 44px; height: calc(44px + env(safe-area-inset-top)); display:flex; align-items:center; }
  .top-marquee .marquee { display:inline-flex; align-items:center; gap:18px; white-space:nowrap; will-change:transform; }
  .top-marquee .marquee-text { display:inline-block; padding-right: 40px; }
  /* Force marquee text color to white to override global header color rules */
  .top-marquee, .top-marquee .marquee, .top-marquee .marquee-text, .top-marquee a { color: #fff !important; }
  .top-marquee .marquee-cta { color: #0b61e6 !important; }
  .top-marquee .marquee-cta { text-decoration: none; }

  /* marquee animation */
  .top-marquee .marquee { animation: marquee-scroll 25s linear infinite; }
  .top-marquee .marquee:hover { animation-play-state: paused; }

  .top-marquee .marquee:focus-within { animation-play-state: paused; }

  @keyframes marquee-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }

  @media (max-width:768px) {
    .top-marquee .marquee-wrap { height: 48px; }
    .top-marquee .marquee { animation-duration: 25s; }
    .top-marquee .marquee-cta { padding:6px 10px; font-size:0.95rem; }
  }

  @media (max-width:420px) {
    .top-marquee .marquee { animation-duration: 25s; }
    .top-marquee .marquee-text { font-size: 0.92rem; }
    .top-marquee .marquee-cta { padding:6px 8px; font-size:0.88rem; }
  }

  /* Ensure header stays visible above hero image and is readable */
  #site-header, #site-header > header { position: fixed !important; top: 0; left: 0; right: 0; z-index: 9999 !important; display: block !important; }
  #site-header > header .glass { background: rgba(255,255,255,0.94) !important; }
  #site-header > header, #site-header > header a, #site-header > header nav { color: #0f172a !important; }
  #site-header img { height: 36px !important; }

  /* Add top offset to body content if header present to avoid overlap */
  body { padding-top: 64px; }
  @media (max-width:768px) { body { padding-top: 84px; } }

  /* Wavy text for aside label (e.g., Unlimited Buffet) */
  .aside-label { display: inline-block; line-height:1; font-weight:800; letter-spacing:0.4px; color: white; }
  .aside-label .char { display:inline-block; transform-origin: center; }
  .aside-label .char { animation: wave 1.9s ease-in-out infinite; animation-delay: calc(var(--i) * 0.1s); }

  @keyframes wave {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    40% { transform: translateY(-6px) rotate(-1deg); }
    60% { transform: translateY(-3px) rotate(1deg); }
  }

  /* Slight color pulse for emphasis */
  .aside-label .char { transition: color 220ms ease; }
  .aside-label:hover .char { color: #fffbeb; }

  @media (prefers-reduced-motion: reduce) {
    .aside-label .char { animation: none !important; transform: none !important; }
  }

/* Mobile hero adjustments: reduce heading size, tighten spacing, stack CTAs */
@media (max-width:420px) {
  /* Professional mobile hero: reduce heading footprint and tighten spacing */
  .hero-heading { font-size: 1.6rem !important; line-height: 1.08 !important; margin-bottom: 0.4rem !important; }
  .max-w-2xl p { font-size: 0.98rem !important; margin-bottom: 0.6rem !important; color: rgba(255,255,255,0.9) !important; max-width: 92% !important; }

  /* Reduce vertical padding so hero content is visible above the fold */
  section.relative.isolate { padding-top: 14px !important; padding-bottom: 18px !important; }

  /* Layout CTAs side-by-side (two columns) on narrow screens for a balanced look */
  section.relative.isolate .mt-6 { display:flex !important; flex-direction:row !important; flex-wrap:wrap !important; gap:10px !important; }
  section.relative.isolate .mt-6 a { width: calc(50% - 60px) !important; padding: 10px 12px !important; border-radius: 12px !important; font-size: 0.95rem !important; box-shadow: none !important; box-sizing: border-box !important; }

  /* Make price badge subtle on mobile */
  .price-highlight { font-size: 0.95rem !important; padding: 6px 10px !important; border-radius: 10px !important; }
  .price-highlight.pulse { animation: none !important; }

  /* Reduce gallery heights to avoid overflow and keep hero clean */
  .buffet-gallery .buffet-main { height: 200px !important; }
  .buffet-gallery .buffet-thumbs .thumb img { width:56px !important; height:40px !important; }

  /* Slight right padding so heading doesn't touch edge on very narrow screens */
  .max-w-2xl { padding-right: 8px !important; }
}

