* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #3a2a1c; --ink2: #4a3826; --ink3: #8a7358;
  --rice: #faf7f0; --rice2: #f2ede0;
  --green: #364a00; --green2: #9abd65; --green3: #e8efd9; --green4: #4a8a35;
  --orange: #f48c24; --orange2: #dd8a45; --orange3: #fbe6d2;
  --gold: #6b4a2e; --gold2: #8a6242; --gold3: #efe1d2; --honey3: #fdf1cb;
  --pink: #eaae9d; --pink-text: #8b4a3d; --pink3: #f7e3da;
  --bd: rgba(74,56,38,0.15);
}
body { background: var(--rice); font-family: 'Noto Sans TC', sans-serif; color: var(--ink); }
.site { max-width: 1140px; margin: 0 auto; }
#about, #fruits, #gifts, #life, #visit { scroll-margin-top: 84px; }

.reveal { opacity: 0; transform: translateY(28px); }
.reveal.in-view { opacity: 1; transform: translateY(0); transition: opacity 0.9s ease, transform 0.9s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in-view { transition: none; }
}

.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  transform: translateZ(0); -webkit-transform: translateZ(0);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  will-change: transform;
}
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; border-bottom: 1px solid var(--bd);
  background: rgba(250,247,240,0.97);
  position: relative;
}
.logo { font-family: 'Noto Serif TC', serif; font-size: 1.3rem; font-weight: 700; color: var(--green); text-decoration: none; display: block; }
.logo small { display: block; font-size: 0.68rem; color: var(--ink3); font-family: 'Noto Sans TC', sans-serif; font-weight: 300; letter-spacing: 0.1em; margin-top: 1px; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { font-size: 0.94rem; color: var(--ink3); text-decoration: none; letter-spacing: 0.05em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--green); padding: 4px 6px;
}

.hero {
  /* 換背景照片 / 調整：改這四行就好 */
  --hero-bg-image: url('images/hero_bg.webp');
  --hero-bg-opacity: 0.5;
  --hero-bg-focus: center 60%;
  --wall-frame: 7px;

  background: var(--green); min-height: 420px;
  display: flex; align-items: flex-end;
  padding: 2.5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-bg-image) var(--hero-bg-focus) / cover no-repeat;
  opacity: var(--hero-bg-opacity);
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(54,74,0,0.85) 0%, rgba(54,74,0,0.55) 40%, rgba(54,74,0,0) 75%);
}

/* 照片牆：位置/大小都用 Hero 的百分比，Hero 變寬變窄時整組一起縮放 */
.hero-wall { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.wall-photo {
  position: absolute; margin: 0;
  background: #fffdf6; padding: var(--wall-frame);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
.wall-photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, 50% 50%);
}
.wall-photo::before {
  content: ''; position: absolute; top: -9px; left: 50%;
  width: 54px; height: 17px; margin-left: -27px;
  background: var(--tape, var(--orange2)); opacity: 0.85; transform: rotate(-3deg);
}
.wall-1 { left: 35.9%; top: 7%;  width: 19.3%; aspect-ratio: 212 / 180; transform: rotate(-4deg); z-index: 1; --tape: var(--orange2); }
.wall-2 { left: 53.4%; top: 30%; width: 25.5%; aspect-ratio: 280 / 204; transform: rotate(3deg);  z-index: 3; --tape: var(--green2); }
.wall-3 { left: 77%;   top: 60%; width: 21%;   aspect-ratio: 236 / 150; transform: rotate(-2deg); z-index: 2; --tape: var(--pink); }
.deco-stripe {
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--orange2) 0, var(--orange2) 20px, var(--gold2) 20px, var(--gold2) 40px, var(--green) 40px, var(--green) 60px);
}
.hero-tag {
  display: inline-block; border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.75); font-size: 0.72rem; letter-spacing: 0.12em;
  padding: 0.28rem 0.9rem; border-radius: 20px; margin-bottom: 1rem;
}
.hero h1 { font-family: 'Noto Serif TC', serif; font-size: 2.6rem; color: #fff; line-height: 1.3; font-weight: 700; margin-bottom: 0.9rem; }
.hero h1 em { color: var(--gold3); font-style: normal; }
.hero p { color: rgba(255,255,255,0.75); font-size: 0.92rem; line-height: 1.8; max-width: 360px; margin-bottom: 1.5rem; }
.hero-btns { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.btn-main {
  display: inline-block; background: var(--orange2); color: #fff;
  padding: 0.65rem 1.5rem; border-radius: 3px; font-size: 0.88rem; font-weight: 500;
  text-decoration: none; transition: background 0.2s;
}
.btn-main:hover { background: var(--orange); }
.btn-ghost {
  color: rgba(255,255,255,0.7); font-size: 0.85rem; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; transition: color 0.2s;
}
.btn-ghost:hover { color: #fff; }

.about-banner {
  background: var(--rice2); border-bottom: 1px solid var(--bd);
  padding: 1.6rem 2.5rem; display: flex; gap: 2rem; align-items: center;
}
.about-portrait { display: flex; gap: 1rem; align-items: center; flex-shrink: 0; }
.portrait-circle {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif TC', serif; font-size: 0.92rem; font-weight: 700;
  border: 2px solid var(--bd);
}
.pc-gong { background: var(--green3); color: var(--green); }
.pc-ma { background: var(--gold3); color: var(--gold); }
.portrait-label { font-size: 0.68rem; color: var(--ink3); margin-top: 4px; text-align: center; }
.about-divider { width: 1px; height: 48px; background: var(--bd); }
.about-story { font-size: 0.85rem; color: var(--ink3); line-height: 1.75; flex: 1; }
.about-story em { color: var(--ink2); font-style: normal; font-weight: 500; }

.pillars { display: grid; grid-template-columns: 1fr 1fr 1fr; border-bottom: 1px solid var(--bd); }
.pillar { padding: 1.6rem 1.5rem; border-right: 1px solid var(--bd); position: relative; overflow: hidden; }
.pillar:last-child { border-right: none; }
.pillar::before {
  content: ''; position: absolute; right: 10px; bottom: 10px;
  width: 90px; height: 90px; background-repeat: no-repeat;
  background-size: contain; background-position: bottom right;
  opacity: 0.4; pointer-events: none;
}
.pillar-1::before { background-image: url('images/headline_1.png'); }
.pillar-2::before { background-image: url('images/headline_2.png'); }
.pillar-3::before { background-image: url('images/headline_3.png'); }
.pillar h3, .pillar p { position: relative; z-index: 1; }
.pillar h3 { font-family: 'Noto Serif TC', serif; font-size: 0.98rem; color: var(--ink2); font-weight: 700; margin-bottom: 0.4rem; }
.pillar p { font-size: 0.82rem; color: var(--ink3); line-height: 1.75; max-width: 78%; }

.sec-hd {
  padding: 2.2rem 2.5rem 0.3rem;
  display: flex; align-items: baseline; justify-content: space-between;
  border-top: 1px solid var(--bd);
}
.sec-hd h2 { font-family: 'Noto Serif TC', serif; font-size: 1.5rem; color: var(--ink2); font-weight: 700; }
.sec-hd h2 em { color: var(--green4); font-style: normal; }
.sec-hd span { font-size: 0.75rem; color: var(--ink3); letter-spacing: 0.06em; }

.fruits-wrap { padding: 1.2rem 2.5rem 2.5rem; }
.fruits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fruit-card {
  border: 1px solid var(--bd); border-radius: 6px;
  background: #fff; overflow: hidden; transition: transform 0.18s;
}
.fruit-card:hover { transform: translateY(-3px); }
.fruit-visual { height: 88px; display: flex; align-items: center; justify-content: center; font-size: 3rem; overflow: hidden; }
.fruit-visual img { width: 100%; height: 100%; object-fit: contain; }
.fruit-card-overflow { overflow: visible; }
.fruit-card-overflow .fruit-visual, .fruit-card-overflow .gift-detail-visual { overflow: visible; }
.fruit-card-overflow img { transform: scale(1.5); transform-origin: 50% 0%; position: relative; z-index: 2; }
.fruit-visual.orange { background: var(--orange3); }
.fruit-visual.lychee { background: var(--pink3); }
.fruit-visual.longan { background: var(--gold3); }
.fruit-visual.honey { background: var(--honey3); }
.fruit-body { padding: 0.85rem 1.1rem; }
.fruit-name { font-family: 'Noto Serif TC', serif; font-size: 1rem; color: var(--ink2); font-weight: 700; }
.fruit-eng { font-size: 0.72rem; color: var(--ink3); margin-bottom: 0.35rem; letter-spacing: 0.04em; }
.fruit-season { font-size: 0.78rem; color: var(--ink3); margin-bottom: 0.4rem; }
.fruit-desc { font-size: 0.8rem; color: var(--ink3); line-height: 1.65; }
.fruit-badge { display: inline-block; font-size: 0.68rem; padding: 2px 9px; border-radius: 10px; margin-top: 0.45rem; }
.badge-orange { background: var(--orange3); color: var(--orange); }
.badge-pink { background: var(--pink3); color: var(--pink-text); }
.badge-amber { background: var(--gold3); color: var(--gold); }
.badge-green { background: var(--green3); color: var(--green); }

.life-wrap { padding: 0 2.5rem 2.5rem; }
.life-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.life-card {
  border: 1px solid var(--bd); border-radius: 6px; padding: 1.2rem; background: #fff; border-top: 3px solid transparent;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 1rem;
}
.life-card.c1 { border-top-color: var(--orange2); }
.life-card.c2 { border-top-color: var(--green2); }
.life-card.c3 { border-top-color: var(--gold2); }
.life-card.c4 { border-top-color: var(--gold); }
.life-card .lc-icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.life-card .lc-icon img { width: 64px; height: 64px; object-fit: contain; display: block; }
.life-card h4 { grid-column: 1; grid-row: 1; font-family: 'Noto Serif TC', serif; font-size: 0.97rem; color: var(--ink2); font-weight: 700; margin-bottom: 0.35rem; }
.life-card p { grid-column: 1; grid-row: 2; font-size: 0.82rem; color: var(--ink3); line-height: 1.7; }

.quote-wrap { margin: 0 2.5rem 2.5rem; }
.quote-box { background: var(--green); border-radius: 6px; padding: 2rem 2.5rem; position: relative; overflow: hidden; }
.quote-mark { position: absolute; top: -1.5rem; right: 1.5rem; font-family: 'Noto Serif TC', serif; font-size: 9rem; color: rgba(255,255,255,0.07); line-height: 1; user-select: none; }
.quote-text { font-family: 'Noto Serif TC', serif; font-size: 1.25rem; color: #fff; line-height: 1.8; max-width: 500px; position: relative; }
.quote-attr { margin-top: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.6); letter-spacing: 0.06em; }

.visit-wrap { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--bd); }
.visit-col { padding: 2rem 2.5rem; }
.visit-col h3 { font-family: 'Noto Serif TC', serif; font-size: 1.5rem; color: var(--ink2); font-weight: 700; margin-bottom: 1.2rem; }
.visit-col h3 em { color: var(--green4); font-style: normal; }
.info-row { display: flex; gap: 0.8rem; margin-bottom: 0.7rem; font-size: 0.86rem; }
.info-lbl { color: var(--ink3); min-width: 54px; flex-shrink: 0; }
.info-val { color: var(--ink); }
.info-val a { color: var(--green2); text-decoration: none; }
.info-val a:hover { text-decoration: underline; }

.order-form { display: flex; flex-direction: column; gap: 0.65rem; }
.order-form input, .order-form select, .order-form textarea {
  width: 100%; padding: 0.5rem 0.8rem;
  border: 1px solid var(--bd); border-radius: 4px;
  background: var(--rice2); font-family: 'Noto Sans TC', sans-serif;
  font-size: 0.85rem; color: var(--ink); outline: none; transition: border-color 0.2s;
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { border-color: var(--green2); }
.order-form textarea { min-height: 68px; resize: vertical; }
.order-btn {
  background: var(--green); color: #fff; padding: 0.65rem 1.3rem;
  border: none; border-radius: 3px; cursor: pointer;
  font-family: 'Noto Sans TC', sans-serif; font-size: 0.88rem;
  align-self: flex-start; transition: background 0.2s;
}
.order-btn:hover { background: var(--green2); }

footer {
  text-align: center; padding: 1.6rem;
  border-top: 1px solid var(--bd);
  font-size: 0.78rem; color: var(--ink3); letter-spacing: 0.04em; line-height: 1.9;
}
footer strong { color: var(--ink2); }
footer .founders { font-size: 0.72rem; color: var(--ink3); opacity: 0.7; margin-top: 0.3rem; }

.page-hero {
  background: var(--green); padding: 2.5rem; position: relative; overflow: hidden;
}
.page-hero h1 { font-family: 'Noto Serif TC', serif; font-size: 2rem; color: #fff; font-weight: 700; margin-bottom: 0.6rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 0.9rem; line-height: 1.8; max-width: 480px; }

.link-more { display: inline-block; margin-top: 0.9rem; font-size: 0.85rem; color: var(--green4); text-decoration: none; border-bottom: 1px solid var(--green2); padding-bottom: 2px; transition: color 0.2s; }
.link-more:hover { color: var(--green); }

.gift-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; padding: 2rem 2.5rem; }
.gift-detail-card { border: 1px solid var(--bd); border-radius: 6px; background: #fff; overflow: hidden; }
.gift-detail-visual { height: 130px; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; overflow: hidden; }
.gift-detail-visual img { width: 100%; height: 100%; object-fit: contain; }
.gift-detail-body { padding: 1.2rem 1.4rem; }
.gift-detail-body .fruit-name { font-size: 1.15rem; }
.gift-detail-body .fruit-eng { margin-bottom: 0.6rem; }
.gift-sizes { margin: 0.8rem 0; display: flex; flex-direction: column; gap: 0.4rem; }
.gift-size-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; padding: 0.5rem 0.7rem;
  background: var(--rice2); border-radius: 4px;
}
.gift-size-row .gs-name { color: var(--ink2); }
.gift-size-row .gs-price { color: var(--ink3); font-size: 0.78rem; }
.gift-cta-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.btn-line {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #06C755; color: #fff; padding: 0.55rem 1.1rem;
  border-radius: 3px; font-size: 0.82rem; text-decoration: none; transition: background 0.2s;
}
.btn-line:hover { background: #05a648; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; color: var(--green); border: 1px solid var(--green2);
  padding: 0.55rem 1.1rem; border-radius: 3px; font-size: 0.82rem; text-decoration: none; transition: background 0.2s;
}
.btn-outline:hover { background: var(--green3); }
.gift-note { font-size: 0.75rem; color: var(--ink3); margin-top: 0.6rem; line-height: 1.6; }

.order-steps { padding: 0 2.5rem 2.5rem; }
.order-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.order-step { padding: 1.2rem; border: 1px solid var(--bd); border-radius: 6px; background: #fff; }
.order-step .os-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green3); color: var(--green);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; margin-bottom: 0.6rem;
}
.order-step h4 { font-family: 'Noto Serif TC', serif; font-size: 0.92rem; color: var(--ink2); font-weight: 700; margin-bottom: 0.3rem; }
.order-step p { font-size: 0.8rem; color: var(--ink3); line-height: 1.65; }

.breadcrumb { padding: 0.9rem 2.5rem; font-size: 0.78rem; color: var(--ink3); border-bottom: 1px solid var(--bd); }
.breadcrumb a { color: var(--green4); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 0.35rem; }

.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding: 2.5rem; align-items: center; }
.product-visual { background: var(--orange3); border-radius: 6px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-visual img { width: 80%; height: 80%; object-fit: contain; }
.product-info h1 { font-family: 'Noto Serif TC', serif; font-size: 2rem; color: var(--ink2); font-weight: 700; }
.product-info h1 em { color: var(--orange2); font-style: normal; }
.product-info .fruit-eng { margin-bottom: 0.9rem; }
.product-lead { font-size: 0.9rem; color: var(--ink3); line-height: 1.85; }
.gift-size-row .gs-name small { color: var(--ink3); font-size: 0.75rem; }

.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--bd); border-radius: 6px; overflow: hidden; font-size: 0.85rem; }
.spec-table th, .spec-table td { padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--bd); text-align: left; line-height: 1.6; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 8rem; background: var(--rice2); color: var(--ink2); font-weight: 500; }
.spec-table td { color: var(--ink3); }

.tips-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.tips-list li { background: #fff; border: 1px solid var(--bd); border-left: 3px solid var(--orange2); border-radius: 4px; padding: 0.8rem 1.1rem; font-size: 0.84rem; color: var(--ink3); line-height: 1.7; }
.tips-list strong { color: var(--ink2); font-weight: 500; }

.faq-wrap { padding: 0 2.5rem 2.5rem; }
.faq-item { border: 1px solid var(--bd); border-radius: 6px; background: #fff; margin-bottom: 0.7rem; overflow: hidden; }
.faq-item summary {
  padding: 0.9rem 1.1rem; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: 'Noto Serif TC', serif; font-weight: 700; font-size: 0.9rem; color: var(--ink2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.1rem; color: var(--ink3); flex-shrink: 0; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item[open] summary { border-bottom: 1px solid var(--bd); }
.faq-item p { padding: 0.8rem 1.1rem 1rem; font-size: 0.82rem; color: var(--ink3); line-height: 1.75; }

@media (max-width: 900px) {
  /* 太窄放不下相框：只留背景照片，整片加深讓文字清楚 */
  .hero-wall { display: none; }
  .hero::after { background: rgba(54,74,0,0.68); }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--rice); border-bottom: 1px solid var(--bd);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.7rem 2rem; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--bd); }
  .fruits-grid { grid-template-columns: 1fr; }
  .life-grid { grid-template-columns: 1fr; }
  .about-banner { flex-direction: column; gap: 1rem; }
  .about-divider { display: none; }
  .gift-detail-grid { grid-template-columns: 1fr; padding: 1.2rem; }
  .order-steps-grid { grid-template-columns: 1fr; }
  .product-hero { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem 1rem; }
  .breadcrumb { padding: 0.8rem 1rem; }
  .spec-table th { width: 5.5rem; }
}
