/* ====== 豪鼎煮鍋 style.css ====== */

:root {
  --c-bg:        #0e0b09;   /* 墨黑底 */
  --c-bg-2:      #171210;   /* 深炭 */
  --c-surface:   #1f1814;   /* 卡片 */
  --c-surface-2: #2a201a;
  --c-border:    #3a2c22;
  --c-text:      #f3ece4;   /* 暖白 */
  --c-text-dim:  #c4b4a4;
  --c-text-mute: #93827330; /* not used directly */
  --c-muted:     #9a897a;
  --c-gold:      #d9a441;   /* 暖金 */
  --c-gold-soft: #e8c27a;
  --c-ember:     #c8431f;   /* 橘紅 */
  --c-ember-2:   #e2622e;

  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-sans:  "Noto Sans TC", system-ui, -apple-system, "PingFang TC", sans-serif;

  --maxw: 1160px;
  --radius: 14px;
  --shadow: 0 16px 40px rgba(0,0,0,.45);
  --header-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4, .brand-main { font-family: var(--font-serif); font-weight: 700; letter-spacing: .02em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .4em;
  padding: .72em 1.5em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .98rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-cta {
  background: linear-gradient(135deg, var(--c-ember-2), var(--c-ember));
  color: #fff;
  box-shadow: 0 8px 22px rgba(200,67,31,.32);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(200,67,31,.45); }
.btn-ghost {
  background: transparent;
  color: var(--c-gold-soft);
  border-color: var(--c-gold);
}
.btn-ghost:hover { background: rgba(217,164,65,.12); transform: translateY(-2px); }
.btn-lg { padding: .92em 2em; font-size: 1.05rem; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(to bottom, rgba(14,11,9,.78), rgba(14,11,9,0));
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}
.site-header.scrolled {
  background: rgba(14,11,9,.96);
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  border-bottom: 1px solid var(--c-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font-size: 1.42rem; color: var(--c-text); font-weight: 900; }
.brand-sub { font-size: .62rem; letter-spacing: .35em; color: var(--c-gold); margin-top: 3px; font-family: var(--font-sans); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: .98rem; color: var(--c-text-dim); position: relative; transition: color .2s; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--c-gold); transition: width .25s ease;
}
.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }
.nav-cta { padding: .5em 1.2em; font-size: .9rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(14,11,9,.96) 0%, rgba(14,11,9,.45) 45%, rgba(14,11,9,.7) 100%),
    radial-gradient(120% 80% at 20% 30%, rgba(200,67,31,.18), transparent 60%);
}
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); }
.hero-eyebrow { color: var(--c-gold); letter-spacing: .28em; font-size: .9rem; margin-bottom: .8rem; }
.hero-title { font-size: clamp(3rem, 11vw, 6rem); font-weight: 900; color: #fff; line-height: 1.05; text-shadow: 0 4px 30px rgba(0,0,0,.6); }
.hero-slogan { font-size: clamp(1.05rem, 2.6vw, 1.4rem); color: var(--c-text-dim); margin: 1.2rem 0 1.6rem; font-family: var(--font-serif); }
.hero-rating { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 2rem; }
.stars { color: var(--c-gold); font-size: 1.2rem; letter-spacing: 2px; }
.rating-value { font-size: 1.3rem; font-weight: 700; color: #fff; }
.rating-label { font-size: .85rem; color: var(--c-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ===== Sections ===== */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-news { background: var(--c-bg-2); }
.section-menu { background: var(--c-bg); }
.section-story { background: var(--c-bg-2); }
.section-gallery { background: var(--c-bg); }

.section-head { text-align: center; margin-bottom: 48px; }
.section-eyebrow { color: var(--c-gold); letter-spacing: .3em; font-size: .82rem; font-weight: 700; }
.section-title { font-size: clamp(1.9rem, 4.5vw, 2.8rem); color: var(--c-text); margin-top: .3rem; }
.section-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin: 16px auto 0;
  background: linear-gradient(90deg, var(--c-gold), var(--c-ember)); border-radius: 3px;
}
.section-desc { color: var(--c-text-dim); margin-top: 1rem; font-size: 1.02rem; }

/* ===== News card ===== */
.news-card {
  display: grid; grid-template-columns: minmax(0, 1fr) 1.2fr;
  gap: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 980px; margin: 0 auto;
}
.news-media { height: 100%; }
.news-media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.news-body { padding: clamp(24px, 4vw, 44px); }
.news-date { color: var(--c-gold); font-weight: 700; font-size: .9rem; letter-spacing: .05em; }
.news-heading { font-size: 1.6rem; color: #fff; margin: .5rem 0 1rem; }
.news-lead { color: var(--c-ember-2); font-weight: 700; font-size: 1.12rem; margin-bottom: 1rem; }
.news-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1rem; }
.news-list li { padding-left: 1.2em; position: relative; color: var(--c-text-dim); }
.news-list li::before { content: "🦞"; position: absolute; left: 0; font-size: .85em; }
.news-note { font-size: .85rem; color: var(--c-muted); margin-bottom: 1.4rem; }

/* ===== Menu ===== */
.menu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.menu-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.menu-card:hover { transform: translateY(-5px); border-color: var(--c-gold); box-shadow: var(--shadow); }
.menu-media { aspect-ratio: 4 / 3; }
.menu-media img { width: 100%; height: 100%; object-fit: cover; }
.menu-card-body { padding: 18px 20px 22px; }
.menu-name { font-size: 1.32rem; color: var(--c-text); }
.menu-name small { font-size: .8rem; color: var(--c-muted); font-family: var(--font-sans); font-weight: 400; }
.menu-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-top: .6rem; }
.price-old { color: var(--c-muted); text-decoration: line-through; font-size: .95rem; }
.price-new { color: var(--c-gold-soft); font-size: 1.5rem; font-weight: 700; font-family: var(--font-serif); }
.price-tag {
  background: var(--c-ember); color: #fff; font-size: .72rem; font-weight: 700;
  padding: .15em .6em; border-radius: 999px; letter-spacing: .05em;
}
.menu-footnote { text-align: center; color: var(--c-muted); font-size: .9rem; margin: 26px auto 0; }

/* ===== Full Menu ===== */
.fullmenu-block { margin-top: 56px; }
.fullmenu-hint { text-align: center; color: var(--c-muted); font-size: .88rem; margin: -16px 0 24px; }
.fullmenu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fullmenu-item {
  margin: 0; border-radius: 12px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--c-border); background: var(--c-surface);
  transition: transform .2s ease, border-color .2s ease;
}
.fullmenu-item:hover { transform: translateY(-4px); border-color: var(--c-gold); }
.fullmenu-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== Soup / Promo ===== */
.soup-block, .promo-block { margin-top: 56px; }
.soup-title { text-align: center; font-size: 1.5rem; color: var(--c-text); margin-bottom: 26px; }
.soup-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.soup-item {
  background: var(--c-surface-2);
  border: 1px solid var(--c-border);
  border-left: 3px solid var(--c-gold);
  border-radius: 10px;
  padding: 22px 24px;
}
.soup-item h4 { font-size: 1.18rem; color: var(--c-gold-soft); margin-bottom: .5rem; }
.soup-item p { color: var(--c-text-dim); font-size: .95rem; }

.promo-list { max-width: 620px; margin: 0 auto; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.promo-list li {
  background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: 10px;
  padding: 14px 20px; color: var(--c-text-dim); position: relative; padding-left: 46px;
}
.promo-list li::before {
  content: "✦"; position: absolute; left: 20px; color: var(--c-gold); font-weight: 700;
}

/* ===== Story ===== */
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.story-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.story-text .section-title { text-align: left; }
.story-text .section-title::after { margin-left: 0; }
.story-text p { color: var(--c-text-dim); margin-top: 1.2rem; font-size: 1.06rem; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px; gap: 14px;
}
.gallery-item { border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-item picture, .gallery-item img { width: 100%; height: 100%; }
.gallery-item img { object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* ===== CTA banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #1a0f0a, #2a140c);
  border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border);
  text-align: center; padding: clamp(50px, 8vw, 80px) 0;
}
.cta-banner h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); color: #fff; }
.cta-banner p { color: var(--c-text-dim); margin: 1rem 0 1.8rem; }

/* ===== Footer ===== */
.site-footer { background: #0a0807; padding-top: clamp(48px, 7vw, 72px); }
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand-main { font-size: 1.7rem; display: block; }
.footer-brand .brand-sub { font-size: .65rem; letter-spacing: .35em; color: var(--c-gold); }
.footer-fullname { color: var(--c-muted); font-size: .92rem; margin: 1rem 0; }
.footer-rating { display: inline-flex; align-items: center; gap: .5rem; }
.footer-rating .stars { font-size: 1rem; }
.footer-rating .rating-value { font-size: 1.05rem; }
.footer-social { display: flex; gap: 12px; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-muted); border: 1px solid var(--c-border);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.footer-social a:hover { color: #fff; background: var(--c-ember); border-color: var(--c-ember); }

.footer-info h3, .footer-hours h3 { color: var(--c-gold-soft); font-size: 1.15rem; margin-bottom: 1rem; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 12px; color: var(--c-text-dim); font-size: .96rem; }
.info-label {
  flex: 0 0 auto; color: var(--c-gold); font-weight: 700; min-width: 3em;
}
.info-list a:hover { color: var(--c-gold-soft); text-decoration: underline; }

.hours-note { color: var(--c-muted); font-size: .88rem; margin-bottom: .8rem; }
.hours-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.4rem; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; color: var(--c-text-dim); border-bottom: 1px dashed var(--c-border); padding-bottom: 8px; }
.hours-list li span:first-child { color: var(--c-gold); font-weight: 700; }
.footer-cta { width: 100%; }

.footer-bottom { border-top: 1px solid var(--c-border); padding: 20px 0; }
.footer-bottom p { color: var(--c-muted); font-size: .85rem; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(14,11,9,.98);
    border-bottom: 1px solid var(--c-border);
    padding: 8px 20px 20px;
    transform: translateY(-130%);
    transition: transform .35s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,.5);
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--c-border); }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 14px; text-align: center; }

  .news-card { grid-template-columns: 1fr; }
  .news-media img { min-height: 220px; }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .fullmenu-grid { grid-template-columns: 1fr 1fr; }
  .story-inner { grid-template-columns: 1fr; }
  .story-text .section-title, .story-text .section-title::after { text-align: center; }
  .story-text .section-title::after { margin-left: auto; margin-right: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .menu-grid { grid-template-columns: 1fr; }
  .fullmenu-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ===== Lightbox Modal ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 6, 5, .92);
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-img {
  max-width: 100%; max-height: 82vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  transform: scale(.96); transition: transform .28s ease;
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption { color: var(--c-text); font-family: var(--font-serif); font-size: 1.15rem; text-align: center; }
.lightbox-close {
  position: absolute; top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-close:hover { background: var(--c-ember); border-color: var(--c-ember); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 1.7rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox-nav:hover { background: var(--c-ember); border-color: var(--c-ember); }
.lightbox-prev { left: clamp(8px, 2.5vw, 32px); }
.lightbox-next { right: clamp(8px, 2.5vw, 32px); }
@media (max-width: 560px) { .lightbox-nav { width: 42px; height: 42px; font-size: 1.4rem; } }

/* ===== Map ===== */
.section-map { padding-top: 0; padding-bottom: 0; }
.map-embed { width: 100%; line-height: 0; }
.map-embed iframe { width: 100%; height: 420px; border: 0; display: block; filter: grayscale(.15); }
@media (max-width: 560px) { .map-embed iframe { height: 320px; } }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
