/* ========================================
   1. 全域設定
======================================== */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  background-color: #f8f6f3;
  color: #2b2b2b;
}

img {
  display: block;
  max-width: 100%;
}

/* ========================================
   2. Hero / 封面區
======================================== */
.hero {
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-small {
  height: 42vh;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* ========================================
   3. 導覽列
======================================== */
.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  padding: 20px 16px;
  background-color: #ffffff;
  border-bottom: 1px solid #e8e2db;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-nav a {
  text-decoration: none;
  color: #3b3028;
  font-size: 17px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 0.65;
}

.main-nav a.active {
  color: #7b4d3a;
  position: relative;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #7b4d3a;
}

/* ========================================
   4. 首頁
======================================== */
.home-section {
  padding: 56px 20px 80px;
}

.booking-section {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.booking-section h2 {
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 700;
  color: #2f241d;
}

.booking-text {
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.8;
}

.booking-text a {
  color: #7b4d3a;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.booking-text a:hover {
  border-bottom-color: #7b4d3a;
}

.calendar-wrap {
  display: flex;
  justify-content: center;
  overflow-x: auto;
}

.calendar-wrap iframe {
  max-width: 100%;
  background: #fff;
}

/* ========================================
   5. 內頁共用
======================================== */
.content-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 56px 20px 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  margin: 0 0 12px;
  font-size: 36px;
  color: #2f241d;
}

.page-header p {
  margin: 0;
  font-size: 17px;
  line-height: 1.8;
  color: #6b5b50;
}
/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  font-size: 30px;
  color: white;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
}

.lightbox-btn.prev {
  left: 20px;
}

.lightbox-btn.next {
  right: 20px;
}
/* ========================================
   6. 注意事項頁
======================================== */
.notice-block {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  padding: 32px 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.notice-block h2 {
  margin: 0 0 20px;
  font-size: 26px;
  color: #3b3028;
  border-left: 4px solid #b98973;
  padding-left: 12px;
}

.notice-list {
  margin: 0;
  padding-left: 24px;
}

.notice-list li {
  margin-bottom: 16px;
  line-height: 1.95;
  font-size: 17px;
  color: #2f2f2f;
}

.notice-final {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 16px;
  color: #8a6d5d;
}

/* ========================================
   7. 場景介紹頁
======================================== */
.scene-intro-card {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

.scene-intro-text,
.scene-intro-box {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.scene-intro-text h2 {
  margin: 0 0 8px;
  font-size: 34px;
  color: #2f241d;
}

.scene-subtitle {
  margin: 0 0 20px;
  color: #8a6d5d;
  font-size: 16px;
  letter-spacing: 1px;
}

.scene-info-list p {
  margin: 0 0 14px;
  line-height: 1.9;
  font-size: 17px;
}

.scene-intro-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.scene-highlight {
  background: #f8f3ee;
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}

.scene-highlight span {
  display: block;
  font-size: 14px;
  color: #8a6d5d;
  margin-bottom: 8px;
}

.scene-highlight strong {
  font-size: 24px;
  color: #3b3028;
}

.scene-gallery-section {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-main-image {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 16px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(47, 36, 29, 0.7);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  z-index: 2;
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.thumb {
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.thumb:hover {
  opacity: 1;
}

.active-thumb {
  border-color: #7b4d3a;
  opacity: 1;
}

/* ========================================
   8. 交通資訊頁
======================================== */
.traffic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.traffic-card {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.traffic-card h2,
.map-section h2 {
  margin: 0 0 20px;
  font-size: 26px;
  color: #3b3028;
  border-left: 4px solid #b98973;
  padding-left: 12px;
}

.traffic-info-list p {
  margin: 0 0 14px;
  line-height: 1.9;
  font-size: 17px;
  color: #2f2f2f;
}

.traffic-info-list a {
  color: #7b4d3a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.traffic-info-list a:hover {
  border-bottom-color: #7b4d3a;
}

.traffic-note-card {
  margin-bottom: 28px;
}

.traffic-note {
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: #2f2f2f;
}

.map-section {
  background: #fff;
  border: 1px solid #eee4da;
  border-radius: 18px;
  padding: 30px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.map-wrap {
  overflow: hidden;
  border-radius: 16px;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 450px;
}

/* ========================================
   9. RWD
======================================== */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    height: 34vh;
  }

  .hero-small {
    height: 24vh;
  }

  .hero-image {
    object-position: 58% center;
  }

  /* Nav */
  .main-nav {
    gap: 18px;
    padding: 16px 10px;
    flex-wrap: wrap;
  }

  .main-nav a {
    font-size: 15px;
  }

  /* Home */
  .home-section {
    padding: 36px 12px 56px;
  }

  .booking-section h2 {
    font-size: 24px;
  }

  .booking-text {
    font-size: 16px;
  }

  .calendar-wrap iframe {
    width: 100%;
    min-width: 320px;
    height: 500px;
  }

  /* Common Page */
  .content-page {
    padding: 36px 14px 56px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header p {
    font-size: 15px;
  }

  /* Notice */
  .notice-block {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .notice-block h2 {
    font-size: 22px;
  }

  .notice-list li {
    font-size: 15px;
    line-height: 1.85;
  }

  /* Scene */
  .scene-intro-card {
    grid-template-columns: 1fr;
  }

  .scene-intro-text h2 {
    font-size: 28px;
  }

  .scene-info-list p {
    font-size: 15px;
  }

  .scene-gallery-section {
    padding: 18px;
  }

  .carousel-main-image {
    max-height: 360px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .thumbnail-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .thumb {
    height: 72px;
  }

  /* Traffic */
  .traffic-grid {
    grid-template-columns: 1fr;
  }

  .traffic-card,
  .map-section {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .traffic-card h2,
  .map-section h2 {
    font-size: 22px;
  }

  .traffic-info-list p,
  .traffic-note {
    font-size: 15px;
    line-height: 1.85;
  }

  .map-wrap iframe {
    min-height: 320px;
  }
}
