/* ============================================================
   鹿島餐飲集團 — 主題視覺 CSS(手機優先)
   集團層:米白 × 朱紅|鐵板燒:墨綠 × 金|橫濱九田:米白 × 橙
   ============================================================ */

:root {
  --cream: #F6F0E4;
  --card: #FFFDF7;
  --ink: #2B2520;
  --red: #C03A1F;
  --amber: #E8A13C;
  --line: #E8DCC4;
  --muted: #8A7E6E;
  --muted2: #9A8D7B;
  --teal: #1C2B2A;
  --teal-deep: #15211F;
  --gold: #D9A441;
  --teal-text: #F4EFE6;
  --teal-muted: #A8B0A6;
  --orange: #D9821E;
  --footer-bg: #2B2520;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav(components.js 注入) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--card);
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--line);
}
.site-header .nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; max-width: 1200px; margin: 0 auto; padding: 0 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo .logo-text { display: flex; flex-direction: column; border-left: 1px solid #D8CBB2; padding-left: 10px; }
.nav-logo .logo-zh { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 3px; white-space: nowrap; }
.nav-logo .logo-en { font-size: 8px; font-weight: 700; color: var(--red); letter-spacing: 1.5px; white-space: nowrap; }

.nav-links { display: none; }
.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-drawer { display: none; background: var(--card); border-top: 1px solid var(--line); }
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 14px 24px; font-size: 16px; font-weight: 700;
  color: #4A4138; border-bottom: 1px solid var(--line);
}
.nav-drawer a:active { background: var(--cream); }
.nav-drawer .drawer-sub a { padding-left: 44px; font-size: 14px; font-weight: 500; color: var(--muted); }

@media (min-width: 1024px) {
  .site-header .nav-bar { height: 80px; padding: 0 24px; }
  .nav-logo img { height: 50px; }
  .nav-logo .logo-zh { font-size: 13px; }
  .nav-logo .logo-en { font-size: 9px; }
  .nav-toggle, .nav-drawer { display: none !important; }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links .nav-item { position: relative; }
  .nav-links .nav-item > a {
    font-size: 15px; font-weight: 700; color: #4A4138; white-space: nowrap; padding: 8px 0;
  }
  .nav-links .nav-item > a:hover { color: var(--red); }
  .nav-links .nav-item.has-sub > a::after { content: ' ▾'; font-size: 11px; color: var(--muted); }
  .nav-sub {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
    min-width: 150px; padding: 8px 0; background: var(--card);
    border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(43,37,32,.12);
    display: none;
  }
  .nav-links .nav-item:hover .nav-sub { display: block; }
  .nav-sub a { display: block; padding: 9px 18px; font-size: 14px; font-weight: 500; color: #4A4138; white-space: nowrap; }
  .nav-sub a:hover { background: var(--cream); color: var(--red); }
}

/* ---------- 按鈕 ---------- */
.btn { display: inline-block; text-align: center; font-weight: 700; border-radius: 8px; padding: 12px 18px; font-size: 15px; min-height: 44px; }
.btn-red { background: var(--red); color: #FBF4E6; }
.btn-orange { background: var(--orange); color: #FBF4E6; }
.btn-orange-line { border: 1px solid var(--orange); color: var(--orange); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold-line { border: 1px solid var(--gold); color: var(--gold); }
.btn-pill { border-radius: 99px; }
.btn-line-green { background: #06C755; color: #fff; border-radius: 99px; }
.btn-disabled { border: 1px solid #3A4A46; color: #6E7A72; pointer-events: none; }

/* ---------- Hero 輪播 ---------- */
.hero { position: relative; height: 62vw; max-height: 600px; min-height: 300px; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,37,32,.78) 0%, rgba(43,37,32,.06) 55%); pointer-events: none; }
.hero-copy { position: absolute; left: 20px; right: 20px; bottom: 28px; }
.hero-dots-tri { display: flex; gap: 5px; margin-bottom: 10px; }
.hero-dots-tri i { width: 10px; height: 10px; border-radius: 50%; }
.hero-title { font-size: 28px; font-weight: 900; color: #FBF4E6; letter-spacing: 4px; line-height: 1.3; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { margin-top: 8px; font-size: 13px; font-weight: 700; color: #EFE3CC; letter-spacing: 2px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-nav-dots { position: absolute; right: 20px; bottom: 28px; display: flex; gap: 8px; }
.hero-nav-dots button { width: 30px; height: 14px; padding: 5px 0; background: none; border: none; cursor: pointer; }
.hero-nav-dots button i { display: block; height: 4px; border-radius: 99px; background: rgba(251,244,230,.35); }
.hero-nav-dots button.active i { background: #FBF4E6; }
@media (min-width: 768px) {
  .hero-copy { left: 48px; bottom: 48px; }
  .hero-nav-dots { right: 48px; bottom: 52px; }
  .hero-nav-dots button { width: 38px; }
  .hero-dots-tri i { width: 14px; height: 14px; }
  .hero-title { font-size: 52px; letter-spacing: 6px; }
  .hero-sub { font-size: 17px; letter-spacing: 3px; }
}

/* ---------- 區塊通用 ---------- */
.section { padding: 48px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 12px; margin-bottom: 24px; }
.section-head .t { display: flex; align-items: baseline; gap: 12px; }
.section-head h2 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: 3px; white-space: nowrap; }
.section-head .en { font-size: 11px; font-weight: 900; color: var(--red); letter-spacing: 3px; }
.section-head .more { font-size: 14px; font-weight: 700; color: var(--red); white-space: nowrap; }
@media (min-width: 768px) {
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 26px; }
}

/* ---------- 首頁:品牌定位 ---------- */
.intro { text-align: center; padding: 56px 20px 8px; }
.intro .seal {
  width: 52px; height: 52px; margin: 0 auto 18px; background: var(--red); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 900; color: #FBF4E6; line-height: 1.1; text-align: center;
}
.intro h2 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: 4px; }
.intro p { margin: 14px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 3px; }
@media (min-width: 768px) {
  .intro h2 { font-size: 44px; letter-spacing: 7px; }
  .intro p { font-size: 16px; letter-spacing: 5px; }
}

/* ---------- 首頁:品牌卡 ---------- */
.brand-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .brand-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.brand-card { position: relative; border-radius: 10px; overflow: hidden; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; }
.brand-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.brand-card.teppan { background: var(--teal); }
.brand-card.teppan .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,26,25,.95) 0%, rgba(16,26,25,.15) 55%); }
.brand-card .info { position: relative; padding: 24px; }
.brand-card .label { font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.brand-card h3 { margin: 8px 0 6px; font-size: 24px; font-weight: 900; letter-spacing: 3px; }
.brand-card .desc { font-size: 13.5px; letter-spacing: 1px; }
.brand-card .go { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; border-radius: 99px; padding: 10px 24px; }
.brand-card.teppan .label { color: var(--gold); }
.brand-card.teppan h3 { color: var(--teal-text); }
.brand-card.teppan .desc { color: #C2BBA8; }
.brand-card.teppan .go { color: var(--gold); border: 1px solid var(--gold); }
.brand-card.kuden { background: var(--card); border: 1px solid var(--line); }
.brand-card.kuden .stripe { position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--orange) 0 60px, var(--card) 60px 70px); z-index: 2; }
.brand-card.kuden .bg { bottom: 0; background-position: center 32%; }
.brand-card.kuden .info { background: linear-gradient(to top, rgba(250,246,238,.97) 55%, rgba(250,246,238,0) 100%); margin-top: auto; padding-top: 56px; }
.brand-card.kuden .label { color: var(--orange); }
.brand-card.kuden h3 { color: var(--ink); }
.brand-card.kuden .desc { color: var(--muted); }
.brand-card.kuden .go { color: #FBF4E6; background: var(--orange); }
@media (min-width: 768px) { .brand-card { min-height: 440px; } .brand-card .info { padding: 30px 32px; } .brand-card h3 { font-size: 28px; } }

/* ---------- 最新消息卡(首頁 + 列表) ---------- */
.news-grid, .news-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } .news-list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.nc { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.nc .nc-img { height: 110px; background-size: cover; background-position: center; }
.nc .nc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.nc .nc-cat { align-self: flex-start; font-size: 10.5px; font-weight: 900; color: #FBF4E6; background: var(--red); border-radius: 3px; padding: 2px 8px; letter-spacing: 2px; }
.nc .nc-cat.cat-open { background: var(--amber); }
.nc .nc-cat.cat-event { background: var(--ink); }
.nc .nc-cat.cat-kuden { background: var(--orange); }
.nc h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.55; }
.nc p { margin: 0; font-size: 12px; color: var(--muted); display: none; }
.nc .nc-date { margin-top: auto; font-size: 12px; color: var(--muted2); }
@media (min-width: 768px) {
  .nc .nc-img { height: 150px; }
  .nc h3 { font-size: 15.5px; }
  .nc p { display: block; }
}

/* ---------- 門市卡 ---------- */
.store-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .store-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .store-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.store-card { border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.store-card .photo { height: 140px; background-size: cover; background-position: center; }
.store-card .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.store-card .brand-tag { font-size: 11px; font-weight: 900; letter-spacing: 3px; }
.store-card h3 { margin: 0; font-size: 18px; font-weight: 900; letter-spacing: 1px; }
.store-card .meta { font-size: 13.5px; line-height: 1.7; }
.store-card .actions { display: flex; gap: 10px; margin-top: 12px; }
.store-card .actions .btn { flex: 1; font-size: 13.5px; padding: 11px 4px; }
.store-card.teppan { background: var(--teal); }
.store-card.teppan .brand-tag { color: var(--gold); }
.store-card.teppan h3 { color: var(--teal-text); }
.store-card.teppan .meta { color: var(--teal-muted); }
.store-card.kuden { background: var(--card); border: 1px solid var(--line); }
.store-card.kuden .brand-tag { color: var(--orange); }
.store-card.kuden .meta { color: var(--muted); }

/* ---------- 品牌頁 ---------- */
.brand-hero { position: relative; height: 56vw; max-height: 480px; min-height: 260px; overflow: hidden; }
.brand-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.brand-hero .shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,33,31,.85) 0%, rgba(21,33,31,.1) 60%); }
.brand-hero.kuden .shade { background: linear-gradient(to top, rgba(43,37,32,.8) 0%, rgba(43,37,32,.06) 55%); }
.brand-hero .copy { position: absolute; left: 20px; right: 20px; bottom: 26px; }
.brand-hero .eng { font-size: 11px; font-weight: 700; letter-spacing: 4px; color: var(--gold); }
.brand-hero.kuden .eng { color: #F4C98A; }
.brand-hero h1 { margin: 6px 0 4px; font-size: 30px; font-weight: 900; color: #F4EFE6; letter-spacing: 4px; }
.brand-hero .sub { font-size: 13.5px; color: #D8D2C2; letter-spacing: 2px; }
@media (min-width: 768px) {
  .brand-hero .copy { left: 48px; bottom: 44px; }
  .brand-hero h1 { font-size: 46px; }
  .brand-hero .sub { font-size: 16px; }
}

/* 鐵板燒頁面深色主題 */
.page-teppan { background: var(--teal-deep); color: var(--teal-text); }
.page-teppan .section-head { border-bottom-color: rgba(255,255,255,.16); }
.page-teppan .section-head h2 { color: var(--teal-text); }
.page-teppan .section-head .en { color: var(--gold); }

.feature-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.feature-card { border-radius: 10px; padding: 22px 24px; }
.page-teppan .feature-card { background: var(--teal); border: 1px solid rgba(217,164,65,.25); }
.page-teppan .feature-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 900; color: var(--gold); letter-spacing: 2px; }
.page-teppan .feature-card p { margin: 0; font-size: 14px; color: var(--teal-muted); }
.page-kuden .feature-card { background: var(--card); border: 1px solid var(--line); }
.page-kuden .feature-card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 900; color: var(--orange); letter-spacing: 2px; }
.page-kuden .feature-card p { margin: 0; font-size: 14px; color: var(--muted); }

/* 菜單 */
.menu-notice { font-size: 13.5px; line-height: 1.9; border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; }
.page-teppan .menu-notice { background: rgba(217,164,65,.08); border: 1px solid rgba(217,164,65,.3); color: #D8CFB8; }
.page-kuden .menu-notice { background: rgba(217,130,30,.08); border: 1px solid rgba(217,130,30,.35); color: var(--muted); }

.menu-sets { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 28px; }
@media (min-width: 768px) { .menu-sets { grid-template-columns: 1fr 1fr; gap: 20px; } }
.set-card { border-radius: 10px; padding: 20px 22px; }
.page-teppan .set-card { background: var(--teal); border: 1px solid rgba(217,164,65,.3); }
.set-card .row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.set-card h3 { margin: 0; font-size: 17px; font-weight: 900; letter-spacing: 1px; }
.page-teppan .set-card h3 { color: var(--teal-text); }
.set-card .price { font-size: 17px; font-weight: 900; color: var(--gold); white-space: nowrap; }
.set-card p { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.page-teppan .set-card p { color: var(--teal-muted); }

.price-list { display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 768px) { .price-list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 2px; font-size: 14.5px; }
.page-teppan .price-row { border-bottom: 1px dashed rgba(255,255,255,.14); color: var(--teal-text); }
.page-kuden .price-row { border-bottom: 1px dashed var(--line); color: var(--ink); }
.price-row .nm { font-weight: 700; }
.price-row .tag { font-size: 11px; font-weight: 900; border-radius: 3px; padding: 1px 6px; margin-right: 6px; letter-spacing: 1px; vertical-align: 2px; }
.page-kuden .price-row .tag { background: var(--orange); color: #FBF4E6; }
.price-row .dots { flex: 1; border-bottom: 1px dotted rgba(128,118,100,.4); transform: translateY(-4px); }
.price-row .pr { font-weight: 900; white-space: nowrap; }
.page-teppan .price-row .pr { color: var(--gold); }
.page-kuden .price-row .pr { color: var(--orange); }

.menu-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
@media (min-width: 768px) { .menu-images { grid-template-columns: repeat(4, 1fr); } }
.menu-images a { border-radius: 8px; overflow: hidden; border: 1px solid rgba(128,118,100,.25); }

/* 環境 */
.env-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 768px) { .env-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.env-grid .ph { height: 150px; border-radius: 10px; background-size: cover; background-position: center; }
@media (min-width: 768px) { .env-grid .ph { height: 220px; } }

/* ---------- 內頁 hero(about/news/contact) ---------- */
.page-hero { padding: 44px 0 8px; }
.page-hero h1 { margin: 0; font-size: 28px; font-weight: 900; letter-spacing: 4px; }
.page-hero p { margin: 8px 0 0; font-size: 14px; font-weight: 700; color: var(--muted); letter-spacing: 2px; }
@media (min-width: 768px) { .page-hero { padding: 64px 0 8px; } .page-hero h1 { font-size: 40px; } }

/* about */
/* about 圖文交錯 */
.about-row { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 900px) {
  .about-row { grid-template-columns: 1.1fr .9fr; gap: 40px; }
  .about-row.rev { grid-template-columns: .9fr 1.1fr; }
  .about-row.rev .txt { order: 2; }
  .about-row.rev .pic { order: 1; }
}
.about-row .pic { border-radius: 12px; overflow: hidden; }
.about-row .pic img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; }

.about-img { border-radius: 12px; overflow: hidden; margin: 24px 0; max-height: 420px; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 15px; line-height: 2; color: #4A453E; max-width: 760px; white-space: pre-line; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.timeline .yr { font-size: 16px; font-weight: 900; color: var(--red); white-space: nowrap; min-width: 56px; }
.timeline .tx { font-size: 14.5px; color: #4A453E; }

/* contact */
.line-cta { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.line-cta h2 { margin: 0; font-size: 20px; font-weight: 900; letter-spacing: 2px; }
.line-cta p { margin: 0; font-size: 13.5px; color: var(--muted); }
.line-cta .btn-line-green { padding: 13px 36px; font-size: 15px; }

/* ---------- Footer(components.js 注入) ---------- */
.site-footer { background: var(--footer-bg); margin-top: 56px; }
.site-footer .cols { max-width: 1200px; margin: 0 auto; padding: 44px 20px 36px; display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 24px 44px; } }
.site-footer .f-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .f-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); }
.site-footer .f-brand span { font-size: 15px; font-weight: 900; color: #FBF4E6; letter-spacing: 3px; }
.site-footer .f-desc { margin-top: 12px; font-size: 13.5px; color: #A89C8C; line-height: 1.8; }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; font-weight: 900; color: var(--amber); letter-spacing: 2px; }
.site-footer .f-links a { display: block; font-size: 13px; color: #BCB0A0; line-height: 2; }
.site-footer .f-links a:hover { color: #FBF4E6; }
.site-footer .f-social { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .f-social .btn-line-green { font-size: 13.5px; padding: 9px 20px; }
.site-footer .f-social .fb { font-size: 13.5px; font-weight: 700; color: #BCB0A0; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; padding: 8px 20px; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 20px; font-size: 12px; color: #7E7264; text-align: center; letter-spacing: 1px; }

/* LINE 浮動鈕(components.js 注入,filled line_url 才顯示) */
.line-float {
  position: fixed; right: 16px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #06C755;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 11px; font-weight: 900; letter-spacing: .5px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
