/* =========================================================
   Banana Trip — 色號一律取自 style.md，禁止使用清單外顏色
   cream   #faf7e8 #f9f6e7 #f8f5e6 #f7f4e5 #f6f3e4 #f5f2e3
   gold    #c89404   yellow #e8c01b   ink #0e0c00
   line    #dad6c5 #d8d4c3 #d9d5c4 #d7d3c2
   teal    #3189a8   sky #90c8ee #8fc7ef #9dceef #81c1ec ...
   例外（使用者 2026-08-04 當面指定，勿改回）：
   brand-en #2e89a2   brand-zh #4a5665
   ========================================================= */
:root {
  --cream: #faf7e8;
  --cream-2: #f7f4e5;
  --cream-3: #f5f2e3;
  --gold: #c89404;
  --yellow: #e8c01b;
  --ink: #0e0c00;
  --line: #dad6c5;
  --line-2: #d7d3c2;
  --teal: #3189a8;
  --sky: #90c8ee;
  --sky-2: #9dceef;
  --brand-teal: #2e89a2;  /* 使用者指定，style.md 清單外 */
  --brand-slate: #4a5665; /* 使用者指定，style.md 清單外 */
  --serif: "Noto Serif TC", serif;
  --sans: "Noto Sans TC", sans-serif;
  --en: "Montserrat", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  letter-spacing: .06em;
  font-size: 16px;
}
img {
  max-width: 100%;
  display: block;
  -webkit-touch-callout: none; /* iOS 長按不出現儲存選單 */
  -webkit-user-drag: none;
  user-select: none;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Header（仿 naraha：透明容器，元素各自 fixed 定位，無橫向 bar） ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
}
.header-inner { position: relative; }
.brand {
  position: fixed;
  top: 20px; left: 24px;
  z-index: 120;
  display: flex; flex-direction: column; line-height: 1.3;
}
.brand-en {
  font-family: var(--en);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .22em;
  color: var(--brand-teal);
}
.brand-zh { font-size: 11px; letter-spacing: .22em; color: var(--brand-slate); }

/* 全螢幕抽屜選單（仿 naraha：淡入、明朝體直排清單＋小英文標籤、桌機左側情境圖） */
.nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 44%;
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s ease, visibility .45s ease;
}
.nav.open { opacity: 1; visibility: visible; }
.nav-pict {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 30%;
  overflow: hidden;
}
.nav-pict img { width: 100%; height: 100%; object-fit: cover; }
.nav a {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .18em;
  line-height: 1.5;
  position: relative;
  padding: 14px 0;
}
.nav a small {
  font-family: var(--en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  color: var(--gold);
  line-height: 1.5;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 8px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s ease;
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* 漢堡按鈕（仿 naraha：右上角半透明方塊，常駐所有尺寸） */
.nav-toggle {
  display: block;
  position: fixed;
  top: 18px; right: 18px;
  z-index: 130;
  width: 64px; height: 64px;
  background: rgba(250, 247, 232, .55); /* --cream 半透明（naraha 為半透明白，改用清單內色） */
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  margin-left: -15px;
  width: 30px; height: 2px;
  background: var(--ink);
  transition: .3s;
}
.nav-toggle span:nth-child(1) { top: 23px; }
.nav-toggle span:nth-child(2) { top: 31px; }
.nav-toggle span:nth-child(3) { top: 39px; }
.nav-toggle.active span:nth-child(1) { top: 31px; transform: rotate(45deg); }
.nav-toggle.active span:nth-child(2) { transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { top: 31px; transform: rotate(-45deg); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero picture { position: absolute; inset: 0; }
.hero-copy {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: min(90%, 720px);
  color: var(--cream);
  text-shadow: 0 1px 24px rgba(14, 12, 0, .45);
}
.hero-en {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .5em;
  margin-bottom: 18px;
}
.hero-copy h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 5.2vw, 52px);
  letter-spacing: .18em;
  line-height: 1.6;
  margin-bottom: 18px;
}
.hero-sub { font-size: clamp(14px, 1.8vw, 17px); letter-spacing: .24em; margin-bottom: 34px; }
.hero-vertical {
  position: absolute;
  right: 42px; top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: .34em;
  color: var(--cream);
  text-shadow: 0 1px 16px rgba(14, 12, 0, .5);
  border-right: 1px solid var(--cream);
  padding-right: 14px;
}
.hero-scroll {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: var(--cream);
  font-family: var(--en);
  font-size: 10px;
  letter-spacing: .4em;
  text-align: center;
  text-shadow: 0 1px 12px rgba(14, 12, 0, .5);
}
.hero-scroll span {
  display: block;
  width: 1px; height: 44px;
  margin: 0 auto 10px;
  background: var(--cream);
  animation: drop 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drop { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 共用 ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--cream-2); }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.sec-head { text-align: center; margin-bottom: 64px; }
.sec-en {
  font-family: var(--en);
  font-size: 12px;
  letter-spacing: .45em;
  color: var(--gold);
  margin-bottom: 14px;
}
.sec-head h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .2em;
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
}
.sec-head h2::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 48px; height: 2px;
  background: var(--yellow);
}
.sec-lead { margin-top: 22px; font-size: 15px; letter-spacing: .14em; }

.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: .18em;
  padding: 15px 46px;
  border-radius: 999px;
  transition: background .3s, transform .3s;
}
.btn:hover { background: var(--gold); color: var(--cream); transform: translateY(-2px); }
.btn-hero { box-shadow: 0 8px 28px rgba(14, 12, 0, .22); }
/* 捲動淡入 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid figure img { border-radius: 4px; box-shadow: 14px 14px 0 var(--sky-2); }
.about-text p { font-size: 15.5px; }
.about-hello { margin-top: 26px; }
.about-social {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 14px;
}
.about-social img { height: 44px; width: auto; }
.about-social a { transition: opacity .3s; }
.about-social a:hover { opacity: .6; }

/* ---------- Charter ---------- */
.charter-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px 48px;
  box-shadow: 8px 8px 0 var(--sky-2);
  margin-bottom: 56px;
}
.charter-photo img { width: 100%; }
.charter-text { text-align: center; }
.card-label {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--teal);
  margin-bottom: 12px;
}
.charter-text h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.charter-text p:last-child { font-size: 14px; color: var(--ink); opacity: .78; }

/* 優惠方案（三張卡片＋彈窗） */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}
.charter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 48px 36px 44px;
  text-align: center;
  box-shadow: 8px 8px 0 var(--sky-2);
}
.deal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: .2em;
  margin-bottom: 14px;
}
.deal-price {
  font-family: var(--en);
  font-size: 25px;
  color: var(--ink);
  opacity: .5;
  letter-spacing: .04em;
  margin-bottom: 26px;
}
.deal-note {
  font-size: 15px;
  color: var(--ink);
  opacity: .65;
  letter-spacing: .08em;
  line-height: 1.7;
  margin-bottom: 26px;
}
.deal-btn {
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .1em;
  margin-top: auto;
}

/* 彈窗 */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 12, 0, .6); }
.modal-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: 10px;
}
.modal-panel img { width: 100%; display: block; }
.modal-close {
  position: sticky;
  top: 12px;
  z-index: 2;
  display: block;
  margin: 12px auto -52px 12px;
  width: 40px; height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(250, 247, 232, .85);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
body.modal-open { overflow: hidden; }

/* ---------- Snap ---------- */
.snap-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.snap-gallery figure {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 5;
}
.snap-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.snap-gallery figure:hover img { transform: scale(1.05); }

/* ---------- Spots（推薦景點：四張圖卡 2×2） ---------- */
.points-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 44px;
  max-width: 960px;
  margin: 0 auto;
}
.points-grid figure img { border-radius: 10px; box-shadow: 8px 8px 0 var(--sky-2); }
.spots-note { text-align: center; margin-top: 56px; font-size: 14px; letter-spacing: .14em; opacity: .8; }

/* ---------- Q&A ---------- */
.qa-card { max-width: 660px; margin: 0 auto; }
.qa-card img { border-radius: 10px; box-shadow: 14px 14px 0 var(--sky-2); }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: url(../img/footer-1536.webp) center / cover no-repeat;
  padding: 130px 24px;
  text-align: center;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 247, 232, .4); /* --cream 半透明，保文字可讀 */
}
.cta-inner { position: relative; }
.cta .sec-en { color: var(--ink); opacity: .65; }
.cta h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: .22em;
  margin-bottom: 18px;
}
.cta p { letter-spacing: .14em; margin-bottom: 30px; }
.cta-social { justify-content: center; margin-top: 0; }
.cta-ig {
  font-family: var(--en);
  font-size: 13px;
  letter-spacing: .18em;
  margin: 26px 0 0 !important;
  opacity: .8;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 56px 24px 40px;
}
.footer-brand { font-family: var(--en); font-size: 18px; letter-spacing: .3em; }
.footer-sub { font-size: 12px; letter-spacing: .26em; margin: 10px 0 26px; color: var(--line); }
.footer-copy { font-family: var(--en); font-size: 11px; letter-spacing: .12em; color: var(--line-2); opacity: .7; }

/* ---------- RWD ---------- */
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .about-grid { gap: 40px; }
  .snap-gallery { grid-template-columns: repeat(2, 1fr); }
  .deal-grid { grid-template-columns: 1fr; gap: 28px; max-width: 440px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .brand { top: 14px; left: 16px; }
  .brand-en { font-size: 17px; }
  .brand-zh { font-size: 10px; }
  .nav-pict { display: none; }
  .nav { padding-left: 32px; }
  .nav a { font-size: 20px; padding: 12px 0; }
  .nav-toggle { top: 10px; right: 10px; width: 56px; height: 56px; }
  .nav-toggle span:nth-child(1) { top: 19px; }
  .nav-toggle span:nth-child(2) { top: 27px; }
  .nav-toggle span:nth-child(3) { top: 35px; }
  .nav-toggle.active span:nth-child(1) { top: 27px; }
  .nav-toggle.active span:nth-child(3) { top: 27px; }

  .hero { height: 88vh; }
  .hero-copy h1 { font-size: 25px; letter-spacing: .14em; }
  .hero-vertical { display: none; }
  .about-grid figure img { box-shadow: 8px 8px 0 var(--sky-2); }
  .about-grid { grid-template-columns: 1fr; }
  .charter-feature { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px; }
  .points-grid { grid-template-columns: 1fr; gap: 36px; max-width: 440px; }
  .snap-gallery { grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
  .deal-grid { grid-template-columns: 1fr; gap: 28px; }
  .container { padding: 20px; }
  .cta { background-image: url(../img/footer-800.webp); }
}
