/* =================================================================
   Mr Hao — LDP custom styles
   Brand: hao-orange #E05B2B · hao-red #B73A1A · hao-yellow #FFD93F
          hao-cream #F9E6C4 · hao-ink #111111
   ================================================================= */

/* -------- Base -------- */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: #FFD93F; color: #111; }

/* Nicer scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #E05B2B; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #FFD93F; }

/* -------- Nav scroll state (consolidated below at end of file) -------- */

/* -------- Marquee -------- */
.marquee {
  animation: marquee 28s linear infinite;
  will-change: transform;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee:hover { animation-play-state: paused; }

/* -------- Deal cards (What's the Deal section) -------- */
.deal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.deal-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}
.deal-img {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.deal-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}
.deal-card:hover .deal-img img { transform: scale(1.08); }
.deal-badge {
  position: absolute;
  top: 2.25rem; right: 2.25rem;
  background: #FFD93F; color: #111111;
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.25rem;
  padding: .6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 217, 63, 0.4);
  transform: rotate(-6deg);
  letter-spacing: .5px;
}

/* -------- Menu tabs -------- */
.menu-tab {
  padding: .75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .3px;
  background: rgba(255, 255, 255, 0.06);
  color: #F9E6C4;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.menu-tab:hover {
  background: rgba(255, 217, 63, 0.12);
  color: #FFD93F;
  border-color: rgba(255, 217, 63, 0.3);
}
.menu-tab.active {
  background: #FFD93F;
  color: #111111;
  border-color: #FFD93F;
  box-shadow: 0 10px 30px rgba(255, 217, 63, 0.3);
  transform: translateY(-1px);
}

/* -------- Menu panels -------- */
.menu-panel {
  animation: fadePanel .45s ease;
}
@keyframes fadePanel {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------- Menu hero card -------- */
.menu-hero-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: linear-gradient(135deg, rgba(224, 91, 43, 0.18) 0%, rgba(17, 17, 17, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  overflow: hidden;
  min-height: 420px;
}
.menu-hero-card.reverse { direction: rtl; }
.menu-hero-card.reverse > * { direction: ltr; }
.menu-hero-img { position: relative; overflow: hidden; min-height: 320px; }
.menu-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.8,.2,1);
}
.menu-hero-card:hover .menu-hero-img img { transform: scale(1.05); }
.menu-hero-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 70%, rgba(17,17,17,.6) 100%);
  pointer-events: none;
}
.menu-hero-body {
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 768px) {
  .menu-hero-card, .menu-hero-card.reverse { grid-template-columns: 1fr; direction: ltr; }
  .menu-hero-body { padding: 2rem 1.5rem; }
  .menu-hero-img { min-height: 260px; }
}

.menu-pill {
  display: inline-block;
  background: #E05B2B;
  color: #fff;
  font-weight: 700;
  font-size: .78rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  width: fit-content;
  box-shadow: 0 6px 18px rgba(224, 91, 43, 0.35);
}

.menu-price {
  margin-top: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: .6rem;
}
.menu-price .num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  color: #FFD93F;
  letter-spacing: -2px;
}
.menu-price .unit {
  font-family: 'Caveat', cursive;
  font-size: 1.75rem;
  color: #F9E6C4;
  opacity: .9;
}

/* -------- Menu items grid cards -------- */
.menu-item {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 2.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  transition: all .3s ease;
}
.menu-item:hover {
  background: rgba(255, 217, 63, 0.06);
  border-color: rgba(255, 217, 63, 0.2);
  transform: translateY(-2px);
}
.menu-item .dot {
  position: absolute;
  left: 1rem; top: 1.55rem;
  width: .65rem; height: .65rem;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.04);
}
.menu-item h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.05rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .35rem;
}
.menu-item p {
  color: rgba(249, 230, 196, 0.75);
  font-size: .92rem;
  line-height: 1.45;
}

/* -------- CTA cards -------- */
.cta-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 217, 63, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.cta-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 217, 63, 0.3);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}
.cta-card:hover::before { opacity: 1; }
.cta-arrow {
  margin-top: 1.25rem;
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #FFD93F;
  transition: transform .3s;
  display: inline-block;
}
.cta-card:hover .cta-arrow { transform: translateX(6px); }

/* -------- Brand mark (big character logo) -------- */
.brand-mark {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #FFD93F;
  padding: 10px;
  box-shadow:
    0 0 0 4px #111,
    0 0 0 8px #FFD93F,
    0 20px 50px rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform .4s ease;
}
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(255,217,63,0.3);
  animation: brand-spin 22s linear infinite;
}
@keyframes brand-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.brand-mark:hover { transform: scale(1.05); }
.brand-mark-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}
@media (min-width: 768px) {
  .brand-mark { width: 180px; height: 180px; }
}

/* -------- Social buttons -------- */
.social-btn {
  width: 42px; height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: all .3s;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
.social-btn svg {
  width: 20px; height: 20px;
  stroke: currentColor;
}
.social-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}
.social-btn-ig:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
  border-color: transparent;
}
.social-btn-fb:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}

/* -------- Utility: print/motion reduce -------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee { animation: none; }
}

/* -------- Print -------- */
@media print {
  #nav, .floating-book, footer .social-btn, iframe { display: none !important; }
  body { background: #fff !important; color: #000 !important; }
}

/* ===========================================
   Instagram Feed section
   =========================================== */

/* Profile-preview card (link-view fallback when no embed_code) */
.ig-profile-card {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  border: 1px solid #f0ebe1;
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.ig-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
  text-decoration: none;
}
.ig-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.ig-profile-card:hover::before { opacity: 1; }

.ig-profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid #f4f0e8;
  background: #fff;
}
.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  outline: 2px solid;
  outline-color: #dc2743;
  flex-shrink: 0;
}
.ig-profile-meta { flex: 1; min-width: 0; }
.ig-profile-handle {
  font-weight: 700;
  font-size: 17px;
  color: #111;
  line-height: 1.2;
}
.ig-profile-name {
  color: #666;
  font-size: 13px;
  margin-top: 2px;
}
.ig-profile-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #f4f0e8;
}
@media (min-width: 640px) {
  .ig-grid { grid-template-columns: repeat(6, 1fr); }
}
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #111;
  display: block;
}
.ig-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ig-profile-card:hover .ig-tile img { transform: scale(1.04); }
.ig-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  color: #fff;
}
.ig-tile:hover .ig-overlay { opacity: 1; }

.ig-profile-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  background: #fafaf7;
  flex-wrap: wrap;
}
.ig-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #ede8dc;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: #B73A1A;
}
.ig-pill svg { color: #E05B2B; fill: #E05B2B; }
.ig-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 13px;
  font-weight: 500;
}
.ig-profile-card:hover .ig-go { color: #E05B2B; }

.ig-embed {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.ig-embed iframe,
.ig-embed blockquote { max-width: 100% !important; margin: 0 auto !important; }

.ig-handle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(45deg, #f09433 0%, #dc2743 50%, #bc1888 100%);
  color: #fff !important;
  font-weight: 600;
  transition: all .2s ease;
  text-decoration: none;
}
.ig-handle:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 8px 20px rgba(220,39,67,.35); }

@media (max-width: 640px) {
  .ig-profile-head { flex-wrap: wrap; }
  .ig-profile-open { width: 100%; justify-content: center; }
}

/* ===========================================
   Terms & Conditions page
   =========================================== */
.tc-hero {
  background: #B73A1A;
  color: #FFD93F;
  padding: 80px 0 60px;
  text-align: center;
}
.tc-hero .tc-script {
  font-family: 'Caveat', cursive;
  color: #FFD93F;
  font-size: 32px;
  margin-bottom: 8px;
}
.tc-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  color: #fff;
  line-height: .95;
  margin: 0 0 16px;
}
.tc-hero p { color: #FFD93F; max-width: 620px; margin: 0 auto; font-size: 16px; }

.tc-toc {
  background: #fff;
  border: 1px solid #f0ebe1;
  border-radius: 14px;
  padding: 20px 24px;
  margin: -40px auto 40px;
  max-width: 760px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  position: relative;
  z-index: 2;
}
.tc-toc h3 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
}
.tc-toc ol {
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: toc;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}
@media (min-width: 640px) { .tc-toc ol { grid-template-columns: 1fr 1fr; } }
.tc-toc li {
  counter-increment: toc;
  padding: 6px 4px;
}
.tc-toc a {
  color: #222;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: baseline;
}
.tc-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: #E05B2B;
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
}
.tc-toc a:hover { color: #E05B2B; text-decoration: none; }

.tc-sections {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 20px;
}
.tc-section {
  background: #fff;
  border: 1px solid #f0ebe1;
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 20px;
  scroll-margin-top: 100px;
}
.tc-section h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 24px;
  color: #B73A1A;
  margin: 0 0 16px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.tc-section h2::before {
  content: attr(data-num);
  color: #FFD93F;
  background: #111;
  border-radius: 6px;
  padding: 2px 10px;
  font-size: 14px;
}
.tc-body {
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}
.tc-body p { margin: 0 0 12px; }
.tc-body ul, .tc-body ol { margin: 8px 0 12px; padding-left: 22px; }
.tc-body li { margin-bottom: 6px; }
.tc-body strong { color: #111; font-weight: 700; }
.tc-body a { color: #E05B2B; text-decoration: underline; }
.tc-body h3, .tc-body h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  margin: 16px 0 8px;
  color: #111;
}

.tc-cta {
  background: linear-gradient(135deg, #FFD93F 0%, #E05B2B 100%);
  color: #111;
  border-radius: 14px;
  padding: 32px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}
.tc-cta h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  margin: 0 0 8px;
}
.tc-cta p { margin: 0 0 20px; color: #222; }

/* ===========================================
   Full menu page
   =========================================== */
.menu-hero {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 72px 20px 48px;
}
.menu-hero .m-script {
  font-family: 'Caveat', cursive;
  color: #FFD93F;
  font-size: 30px;
  margin-bottom: 6px;
}
.menu-hero h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 8vw, 72px);
  line-height: .95;
  margin: 0 0 14px;
}
.menu-hero p { max-width: 600px; margin: 0 auto; color: #ddd; }

/* Bottomless flagship block */
.bottomless-block {
  background: #FFD93F;
  border-radius: 20px;
  padding: 36px;
  margin: 40px auto;
  max-width: 1000px;
}
.bottomless-block .b-label {
  font-family: 'Caveat', cursive;
  color: #B73A1A;
  font-size: 28px;
}
.bottomless-block h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  color: #111;
  margin: 0 0 16px;
}
.bottomless-block .b-price {
  display: inline-block;
  background: #B73A1A;
  color: #FFD93F;
  padding: 6px 14px;
  border-radius: 8px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  margin-bottom: 20px;
}
.b-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.b-step {
  background: #fff;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.b-step .num {
  display: inline-block;
  width: 28px; height: 28px;
  line-height: 28px;
  background: #B73A1A;
  color: #FFD93F;
  border-radius: 50%;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  margin-bottom: 8px;
}
.b-step p { margin: 0; font-size: 13px; color: #222; }

.b-sample {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 22px;
}
@media (min-width: 720px) { .b-sample { grid-template-columns: 1fr 1fr; } }
.b-sample-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}
.b-sample-card h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  color: #B73A1A;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.b-sample-card ul { margin: 0; padding-left: 18px; }
.b-sample-card li { margin-bottom: 4px; font-size: 14px; }

.b-upgrade {
  background: #B73A1A;
  color: #FFD93F;
  border-radius: 12px;
  padding: 18px 22px;
  margin-top: 20px;
}
.b-upgrade strong { color: #fff; }

/* À la carte sections with dotted price rows */
.alac-section {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 20px;
}
.alac-section h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 28px;
  color: #B73A1A;
  margin: 0 0 8px;
}
.alac-section .a-sub {
  color: #666;
  margin: 0 0 18px;
  font-size: 14px;
}
.alac-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px dashed #e6e1d6;
}
.alac-row:last-child { border-bottom: 0; }
.alac-name {
  font-weight: 600;
  color: #111;
  white-space: nowrap;
}
.alac-cn {
  color: #999;
  font-size: 13px;
  font-style: italic;
  white-space: nowrap;
}
.alac-desc {
  color: #666;
  font-size: 13px;
  flex: 1;
  min-width: 0;
}
.alac-dot {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted #c8c2b4;
  margin: 0 4px;
  min-width: 20px;
  align-self: center;
}
.alac-price {
  font-family: 'Archivo Black', sans-serif;
  color: #E05B2B;
  font-size: 14px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .alac-row { flex-wrap: wrap; }
  .alac-desc { width: 100%; flex-basis: 100%; margin-top: 2px; }
  .alac-dot { display: none; }
}

/* Sub-page nav + scrolled state: dark branded bg, keep white text + yellow logo text */
#nav.scrolled {
  background: rgba(17, 17, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 217, 63, 0.15);
}
#nav.scrolled a { color: #fff; }
#nav.scrolled a:hover { color: #FFD93F; }
/* Keep the Mr Hao script text always yellow (overrides generic a rule) */
#nav .font-script { color: #FFD93F !important; }
/* Keep the top-right Book button its yellow style */
#nav.scrolled .bg-hao-yellow { background: #FFD93F; color: #111; }

