@charset "utf-8";
/* =========================================
   52bnb.net基本設定
   ========================================= */

:root {
  --green-dark: #294637;
  --green: #496b58;
  --green-light: #eef3ed;
  --beige: #f7f3ec;
  --brown: #8a735d;
  --text: #3f4641;
  --white: #ffffff;
  --border: #dfe7df;
  --shadow: 0 12px 35px rgba(42, 61, 48, 0.12);
  --radius: 16px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family:
    "Noto Sans TC",
    "PingFang TC",
    "Microsoft JhengHei",
    sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: var(--green);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.narrow-content {
  max-width: 820px;
}

.text-center {
  text-align: center;
}

/* =========================================
   導覽列
   ========================================= */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.site-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: var(--green);
}

/* =========================================
   首屏
   ========================================= */

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    url("../images/hero.webp?v=20260830-1") center center / cover no-repeat;
	
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(29, 52, 38, 0.22),
    rgba(29, 52, 38, 0.48)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.eyebrow {
  margin-bottom: 15px;
  color: #e7eee8;
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 24px;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-text {
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
  font-size: 1.15rem;
  line-height: 2;
}

/* =========================================
   按鈕
   ========================================= */

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.button-light {
  color: var(--green-dark);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: var(--green-dark);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
}

.button-outline:hover {
  color: var(--green-dark);
  background: var(--white);
}

.button-green {
  color: var(--white);
  background: var(--green);
}

.button-green:hover {
  color: var(--white);
  background: var(--green-dark);
}

/* =========================================
   通用區塊
   ========================================= */

.section {
  padding: 105px 0;
}

.section-white {
  background: var(--white);
}

.section-green {
  background: var(--green-light);
}

.section-beige {
  background: var(--beige);
}

.section-label {
  margin: 0 0 12px;
  color: var(--Deep Purple);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section h2,
.cta-section h2 {
  margin: 0 0 25px;
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.5;
}

.section p,
.cta-section p {
  font-size: 1.05rem;
  line-height: 2;
}

.section-heading {
  margin-bottom: 42px;
}

/* =========================================
   特色卡片
   ========================================= */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(42, 61, 48, 0.17);
}

.feature-card img {
  height: 230px;
  object-fit: cover;
}

.feature-card-content {
  padding: 28px;
}

.feature-card h3 {
  margin: 0 0 15px;
  color: var(--green-dark);
  font-size: 1.35rem;
  line-height: 1.5;
}

.feature-card p {
  margin: 0;
  font-size: 1rem;
}

/* =========================================
   適合對象
   ========================================= */

.audience-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 25px;
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.audience-list li {
  position: relative;
  padding: 15px 20px 15px 48px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(60, 54, 42, 0.06);
}

.audience-list li::before {
  content: "✓";
  position: absolute;
  left: 20px;
  color: var(--green);
  font-weight: 700;
}

/* =========================================
   長住區塊
   ========================================= */

.stay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.stay-image img {
  min-height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stay-content h2 {
  margin-bottom: 25px;
}

/* =========================================
   CTA／聯絡我們區塊
   ========================================= */

.cta-section {
  position: relative;
  min-height: 500px;
  padding: 110px 0;
  overflow: hidden;
  color: var(--white);
  text-align: center;

  /* 所有裝置：手機、iPad、桌機皆顯示背景圖片 */
  background-color: var(--green-dark);
  background-image:
    linear-gradient(
      rgba(29, 52, 38, 0.22),
      rgba(29, 52, 38, 0.36)
    ),
url("../images/contact.webp?v=20260830-1"),
url("../images/contact.jpg?v=20260831-1");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: scroll;
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

/* 讓小標在森林背景上仍維持清楚 */
.section-label-light {
  color: #e7eee8;
}
/* =========================================
   結尾與頁尾
   ========================================= */

.closing-section {
  background: var(--beige);
}

.site-footer {
  padding: 48px 0 20px;
  color: #dce9de;
  background: var(--green-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-links a {
  color: #dce9de;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #b7c9ba;
  font-size: 0.9rem;
}

/* =========================================
   手機版
   ========================================= */

@media (max-width: 800px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .header-inner {
    min-height: auto;
    padding: 15px 0;
    flex-direction: column;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  .hero {
    min-height: 580px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 72px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .audience-list {
    grid-template-columns: 1fr;
  }

  .stay-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .stay-image img {
    min-height: 280px;
  }

  .button-group {
    flex-direction: column;
    width: min(100%, 320px);
    margin-right: auto;
    margin-left: auto;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .copyright {
    text-align: center;
  }
}
/* =========================================
   FAQ 常見問題
   ========================================= */

.faq-section {
  background: #ffffff;
}

.faq-container {
  max-width: 900px;
}

.faq-intro {
  max-width: 700px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 42px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #dfe7df;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(42, 61, 48, 0.06);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 20px 58px 20px 24px;
  color: #294637;
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 600;
  list-style: none;
  transition: background-color 0.25s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  color: #496b58;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary {
  background: #eef3ed;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:hover {
  background: #f4f7f3;
}

.faq-answer {
  padding: 0 24px 22px;
  color: #3f4641;
  background: #ffffff;
}

.faq-answer p {
  margin: 0 0 12px;
  line-height: 1.9;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer a {
  color: #496b58;
  font-weight: 600;
  text-decoration: underline;
}

@media (max-width: 800px) {
  .faq-item summary {
    padding: 17px 50px 17px 18px;
    font-size: 1rem;
  }

  .faq-item summary::after {
    right: 18px;
  }

  .faq-answer {
    padding: 0 18px 18px;
  }
}

/* =========================================
   Footer 社群圖示
   ========================================= */

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #dce9de;
  text-decoration: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.social-links a:hover {
  color: #294637;
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
}

.social-links svg {
  display: block;
}

@media (max-width: 800px) {
  .social-links {
    justify-content: center;
  }
}
/* =========================================
   花蓮旅遊景點推薦：無圖片卡片版
   ========================================= */

.travel-intro {
  max-width: 760px;
  margin: 0 auto;
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 42px;
  text-align: left;
}

.travel-card {
  display: flex;
  min-height: 285px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(42, 61, 48, 0.1);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.travel-card:hover {
  border-color: var(--green);
  box-shadow: 0 16px 35px rgba(42, 61, 48, 0.16);
  transform: translateY(-6px);
}

.travel-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 26px;
}

.travel-card h3 {
  margin: 0 0 15px;
  color: var(--green-dark);
  font-size: 1.3rem;
  line-height: 1.5;
}

.travel-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.85;
}

.travel-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.travel-card a:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.travel-card a:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .travel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .travel-card {
    min-height: 250px;
  }
}

@media (max-width: 800px) {
  .travel-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .travel-card {
    min-height: 220px;
  }

  .travel-card-content {
    padding: 25px 22px;
  }
}