:root {
  --wine: #72171b;
  --wine-bright: #aa1c1f;
  --brown: #38241f;
  --gold: #c69a62;
  --gold-pale: #dfc7a4;
  --paper: #fffdf9;
  --ink: #332621;
  --shadow: 0 14px 36px rgba(56, 36, 31, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif; }
body.panel-open { overflow: hidden; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 20; height: 92px; display: flex; align-items: flex-start; justify-content: center; padding: 14px 26px; pointer-events: none; }
.site-header.menu-open { z-index: 70; }
.brand { width: 112px; height: 62px; display: grid; place-items: center; pointer-events: auto; transition: opacity .2s ease; }
.site-header.menu-open .brand { opacity: 0; pointer-events: none; }
.brand img { width: 112px; height: auto; }
.header-actions { position: absolute; top: 18px; right: 26px; display: flex; align-items: center; gap: 12px; padding-right: 48px; pointer-events: auto; }
.header-social, .menu-social { display: flex; align-items: center; gap: 9px; }
.header-social a, .header-social img, .menu-social a, .menu-social img { width: 36px; height: 36px; }
.header-social a, .menu-social a { border-radius: 50%; background: #fff; transition: transform .2s ease; }
.header-social a:hover, .menu-social a:hover { transform: translateY(-2px); }
.booking-button { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid #c49c62; border-radius: 999px; background: rgba(248, 244, 238, 0.12); color: #fffdf9; letter-spacing: 0.06em; backdrop-filter: blur(5px); transition: background 0.25s ease, color 0.25s ease; }
.booking-button:hover { background: rgba(248, 244, 238, 0.92); color: var(--wine); }
.menu-button { position: fixed; z-index: 71; top: 18px; right: 26px; width: 36px; height: 36px; display: grid; place-content: center; gap: 4px; border: 0; border-radius: 7px; background: var(--wine-bright); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.menu-button .bar { width: 18px; height: 2px; border-radius: 2px; background: #fff; }
.menu-button .close-glyph { display: none; }
.site-header.menu-open .menu-button { border: 1px solid #c49c62; border-radius: 50%; background: rgba(38, 27, 23, .7); box-shadow: none; }
.site-header.menu-open .menu-button .bar { display: none; }
.site-header.menu-open .menu-button .close-glyph { display: block; color: #fff; font-size: 22px; font-weight: 300; line-height: 1; transform: translateY(-1px); }
.site-header.menu-open .booking-button { opacity: 0; visibility: hidden; pointer-events: none; }
.menu-button::after { content: "選單"; position: absolute; top: 45px; right: 0; width: max-content; padding: 6px 10px; border-radius: 4px; background: rgba(255,255,255,.96); color: var(--wine); font-size: 13px; letter-spacing: .08em; opacity: 0; visibility: hidden; transform: translateY(-5px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; box-shadow: 0 5px 16px rgba(0,0,0,.16); }
.menu-button::before { content: ""; position: absolute; top: 40px; right: 12px; border: 5px solid transparent; border-bottom-color: rgba(255,255,255,.96); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.site-header.menu-open .menu-button::after { content: "關閉"; }
.menu-button:hover::after, .menu-button:hover::before, .menu-button:focus-visible::after, .menu-button:focus-visible::before { opacity: 1; visibility: visible; transform: translateY(0); }

.hero { position: relative; width: 100%; height: 90vh; min-height: 620px; max-height: 940px; overflow: hidden; background: #261b17; }
.hero-track { height: 100%; display: flex; transition: transform 0.7s cubic-bezier(.62,.01,.36,1); }
.hero-slide { flex: 0 0 100%; height: 100%; margin: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); pointer-events: none; }
.slider-dots { position: absolute; z-index: 2; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; background: rgba(255,255,255,.48); transition: transform .25s ease, background .25s ease; }
.slider-dots button.is-active { background: var(--wine-bright); border-color: var(--wine-bright); transform: scale(1.18); }

.offers-section { padding: 41px 5vw 118px; background: #fff; }
.section-heading { text-align: center; margin-bottom: 49px; }
.section-heading > p { margin: 0 0 1.5px; color: #9b7849; font-size: 14px; line-height: 1; letter-spacing: .22em; }
.title-decoration { display: flex; align-items: center; justify-content: center; gap: 12px; }
.title-decoration h1 { margin: 0; color: var(--wine); font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif; font-size: clamp(26px, 1.7vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: .12em; }
.gold-line { width: min(150px, 12vw); height: 1px; background: var(--gold-pale); }
.title-decoration i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--wine); }

.offers-grid { width: min(1320px, 100%); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 27px; }
.offer-card { flex: 0 1 calc((100% - 54px) / 3); min-width: 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.reveal-card { opacity: 0; transform: translateY(24px); transition: opacity .65s ease var(--delay), transform .65s ease var(--delay); }
.reveal-card.is-visible { opacity: 1; transform: translateY(0); }
.offer-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #eee7df; }
.offer-media img, .offer-media video { width: 100%; height: 100%; object-fit: cover; }
.offer-media[data-large="true"] { aspect-ratio: 4 / 5; }
.media-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px; text-align: center; color: #fff8ef; background: radial-gradient(circle at 25% 20%, #b75245, transparent 35%), linear-gradient(140deg, #6e1b20, #2f201e); }
.media-pending span { color: var(--gold-pale); font-size: 12px; letter-spacing: .3em; }
.media-pending strong { margin: 14px 0 8px; font-family: "Noto Serif TC", serif; font-size: 24px; }
.media-pending small { color: rgba(255,255,255,.68); }
.media-loader { position: absolute; inset: 50% auto auto 50%; width: 32px; height: 32px; margin: -16px; border: 3px solid rgba(255,255,255,.42); border-top-color: #fff; border-radius: 50%; opacity: 0; animation: loader-show 0s .5s forwards, spin .8s linear infinite; }
@keyframes loader-show { to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
.offer-copy { position: relative; min-height: 142px; padding: 15px 20px 20px; }
.offer-copy h3 { margin: 0 0 6px; color: var(--brown); font-family: "Noto Serif TC", "PMingLiU", serif; font-size: 21px; line-height: 1.4; }
.offer-copy p { display: -webkit-box; overflow: hidden; margin: 0; color: #675952; font-size: 15px; line-height: 1.72; white-space: pre-line; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.more-button { position: absolute; right: 18px; bottom: 17px; padding: 0; border: 0; background: transparent; color: var(--wine-bright); font-size: 14px; font-weight: 600; }
.more-button span { font-size: 20px; vertical-align: -1px; }

.site-footer { color: #fffaf3; }
.footer-main { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 26px; background: var(--wine); }
.line-qr { width: 116px; height: 116px; background: #fff; border-radius: 8px; }
.hours h2 { margin: 0 0 5px; font-size: 20px; font-weight: 500; letter-spacing: .08em; }
.hours p { margin: 2px 0; font-size: 16px; line-height: 1.5; }
.footer-contact { min-height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; padding: 20px; background: #f2eee9; color: #635b57; }
.social-links { display: flex; gap: 13px; }
.social-links a, .social-links img { width: 40px; height: 40px; }
.social-links a { transition: transform .2s ease; }
.social-links a:hover { transform: translateY(-3px); }
.footer-contact address { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; font-style: normal; font-size: 16px; }
.footer-contact .contact-item { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.footer-contact .contact-item img { width: 20px; height: 20px; object-fit: contain; }
.copyright { padding: 12px; text-align: center; background: var(--brown); color: rgba(255,255,255,.72); letter-spacing: .08em; }

.panel-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(26,16,13,.58); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.panel-backdrop.is-open { opacity: 1; visibility: visible; }
.detail-drawer, .menu-panel { position: fixed; z-index: 60; top: 0; right: 0; height: 100vh; overflow-y: auto; transform: translateX(101%); transition: transform .48s cubic-bezier(.7,0,.2,1); box-shadow: -16px 0 50px rgba(0,0,0,.2); }
.detail-drawer.is-open, .menu-panel.is-open { transform: translateX(0); }
.detail-drawer { width: min(720px, 52vw); background: var(--paper); }
.menu-panel { right: 0; left: auto; width: min(427px, 100vw); padding: 22px 36px 34px; background: #aa1c1f; color: #fff; transform: translateX(101%); box-shadow: -16px 0 50px rgba(0,0,0,.2); }
.menu-top { display: flex; align-items: center; gap: 12px; min-height: 36px; padding-right: 50px; }
.menu-booking { height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid #c49c62; border-radius: 999px; background: rgba(248, 244, 238, 0.12); color: #fffdf9; letter-spacing: .06em; transition: background .25s ease, color .25s ease; }
.menu-booking:hover { background: rgba(248, 244, 238, 0.92); color: #aa1c1f; }
.booking-button, .menu-booking, .menu-links a { font-size: 16px; }
.menu-links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 36px 20px 0; }
.menu-links a { position: relative; padding: 10px 0; color: #fff; letter-spacing: .04em; transition: color .25s ease; }
.menu-links a::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 0; height: 1px; background: #c49c62; transition: width .28s ease; }
.menu-links a:hover { color: #c49c62; }
.menu-links a:hover::after { width: 100%; }
/* 目前頁面使用無連結的 span：金色、無底線、不可點擊，不進入 Tab 順序。 */
.menu-links .menu-current {
  position: relative;
  padding: 10px 0;
  color: #c49c62;
  font-size: 16px;
  letter-spacing: .04em;
  cursor: default;
  text-decoration: none;
}
.menu-contact { margin-top: 44px; }
.menu-contact h2 { margin: 0 0 18px; color: #c49c62; font-size: 27px; font-weight: 500; letter-spacing: .01em; white-space: nowrap; }
.menu-contact h2 span { padding: 0 2px; }
.menu-contact-main { display: flex; align-items: center; gap: 18px; }
.menu-contact-main > img { flex: 0 0 132px; width: 132px; height: 132px; border-radius: 8px; background: #fff; }
.menu-contact-main p { margin: 0 0 7px; font-size: 16px; line-height: 1.25; }
.menu-contact address { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; font-style: normal; font-size: 16px; line-height: 1.35; }
.menu-contact address a { width: max-content; }
.close-button { position: absolute; z-index: 3; top: 18px; right: 20px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; background: rgba(38,27,23,.7); color: #fff; font-size: 28px; line-height: 1; }
.detail-copy { padding: 46px 54px 70px; }
.eyebrow { margin: 0 0 9px; color: #9b7849; font-size: 12px; letter-spacing: .24em; }
.detail-copy h2 { margin: 0 0 30px; color: var(--wine); font-family: "Noto Serif TC", serif; font-size: 34px; }
.detail-text { color: #554742; font-size: 16px; line-height: 1.9; white-space: pre-wrap; }
.detail-text p { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-card { opacity: 1; transform: none; }
}

/* 平板與手機版將在電腦版確認後補上；此處只避免窄視窗破版。 */
@media (max-width: 900px) {
  .offer-card { flex-basis: calc((100% - 32px) / 2); }
  .detail-drawer { width: min(720px, 88vw); }
}

@media (max-width: 640px) {
  .offer-card { flex-basis: 100%; }
}
