* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  width: 100%;
  height: 100%;
  font-family: Helvetica, sans-serif;
  font-size: small;
}

.intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeInOut 2s ease-in-out forwards;
}

#logo {
  display: block;
  margin: auto;
  width: 10%;
  height: auto;
  opacity: 0;
  animation: logoFade 2s ease-in-out forwards;
}

@keyframes logoFade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.logo2 img {
  height: 50px;
  display: block;
}

/* ===== 導覽列容器 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent; /* 一開始透明 */
  transition: all 0.4s ease;
  z-index: 1000;
}
/* 初始透明背景時 */
.navbar img {
  content: url("./pics/logo小白.svg");
}

/* 捲動後白底 */
.navbar.scrolled img {
  content: url("./pics/logo小.svg");
}

/* 捲動後變成白底縮小 */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 12px 5%;
}

/* 往下滑時隱藏 */
.navbar.hide {
  transform: translateY(-100%);
}

/* ===== 導覽列連結區塊 ===== */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}

/* 預設透明底 → 白色字 */
.nav-links li a {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* 捲動後（白底） → 黑色字 */
.navbar.scrolled .nav-links li a {
  color: #000000;
}

/* 底線動畫效果，顏色跟文字同步 */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: currentColor; /* 跟文字顏色同步 */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 100%;
}

/* ===== 分隔線 ===== */
.line {
  width: 1px;
  height: 25px;
  background-color: #6e6e6e;
  margin: 0 7px;
}

/* ===== 特殊按鈕樣式（box） ===== */
.nav-links li.box {
  background-color: #101010;
  padding: 5px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e1e1e1;
}

.nav-links li.box a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #eeeeee;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* 捲動後（白底） → 黑色字 */
.navbar.scrolled .nav-links li.box a {
  color: #ededed;
}

.nav-links li.box a:hover {
  transform: scale(1.1);
  color: #ffffff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #efefef;
}
.navbar.scrolled .hamburger {
  color: #232323;
}
/* 捲動或預設白底模式 */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.693);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 向下滑隱藏 */
.navbar.hide {
  transform: translateY(-100%);
}

@media (max-width: 1000px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 0;
    background: white;
    width: 100%;
    display: none;
    padding: 16px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .divider {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

body main section.background-img {
  min-height: 150vh;

  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-direction: column;
}

body main section.background-img div.filter {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  min-height: 150vh;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.bigname {
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30vw;
  padding-bottom: 150px;
  padding-top: 200px;
  animation: breathe 6s ease-in-out infinite;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }
}
/* 手機（<=600px） */
@media (max-width: 600px) {
  .bigname {
    width: 200px;
  }
}
body main section.background-img h4 {
  color: whitesmoke;
  font-size: 2rem;
  text-align: center;
  font-weight: normal;
  display: block;
  transition: font-size 0.4s ease; /* 加上滑順效果 */
}

body main section.background-img h1 {
  color: whitesmoke;
  font-size: 3rem;
  text-align: center;
  font-weight: normal;
  display: block;
  margin-top: 18rem;
  transition: font-size 0.4s ease;
}

body main section.background-img h5 {
  color: white;
  font-size: 1.5rem;
  text-align: center;
  font-weight: normal;
  display: block;
  margin-top: 25rem;
  margin-left: 15%;
  margin-right: 15%;
  transition: font-size 0.4s ease;
}

/* 平板（<=1024px） */
@media (max-width: 1024px) {
  body main section.background-img h4 {
    font-size: 1.5rem;
  }
  body main section.background-img h1 {
    font-size: 2.5rem;
  }
  body main section.background-img h5 {
    font-size: 1.05rem;
  }
}

/* 手機（<=600px） */
@media (max-width: 600px) {
  body main section.background-img h4 {
    font-size: 1rem;
  }
  body main section.background-img h1 {
    font-size: 2rem;
  }
  body main section.background-img h5 {
    font-size: 1rem;
  }
}

.room-page {
  background-color: #f7f7f7;
  height: 100%;
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.room-page h3 {
  color: rgb(41, 41, 41);
  font-size: 2rem;
  text-align: center;
  padding-top: 8rem;
}

.room-page h4 {
  color: rgb(32, 32, 32);
  font-size: 1.5rem;
  text-align: center;
  font-weight: lighter;
  display: block;
  margin-top: 1rem;
  margin-left: 15%;
  margin-right: 15%;
}
/* 平板（<=1024px） */
@media (max-width: 1024px) {
  body main .room-page h4 {
    font-size: 1.5rem;
  }
  body main .room-page h3 {
    font-size: 2.5rem;
  }
  body main .equipment-page h4 {
    font-size: 1.5rem;
  }
  body main .equipment-page h3 {
    font-size: 2.5rem;
  }
  body main .traffic-page h4 {
    font-size: 1.5rem;
  }
  body main .traffic-page h3 {
    font-size: 2.5rem;
  }
}

/* 手機（<=600px） */
@media (max-width: 600px) {
  body main .room-page h4 {
    font-size: 1rem;
    margin-left: 5%;
    margin-right: 5%;
  }
  body main .room-page h3 {
    font-size: 2rem;
  }
  body main .equipment-page h4 {
    font-size: 1rem;
    margin-left: 5%;
    margin-right: 5%;
  }
  body main .equipment-page h3 {
    font-size: 2rem;
  }
  body main .traffic-page h4 {
    font-size: 1rem;
    margin-left: 5%;
    margin-right: 5%;
  }
  body main .traffic-page h3 {
    font-size: 2rem;
  }
}
.room-page a {
  font-size: 1rem;
  color: rgb(120, 120, 120);
  text-decoration: none;
  display: block;
  margin-top: 2rem;
  text-align: center;
  z-index: 2;
}
div.room-pic {
  display: flex;
  justify-content: center; /* ✅ 水平置中 */
  align-items: center; /* ✅ 垂直置中（若需要） */
  max-width: 896px;
  width: 100%;
  margin: 3rem auto;
}
.room-pic img {
  max-width: 100%; /* ✅ 不會超過容器寬度 */
  height: auto; /* ✅ 高度依比例縮放 */
  display: block; /* ✅ 移除 inline 元素底部空隙 */
}

.equipment-page {
  background-color: #ffffff;
  height: 100%;
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.equipment-page h3 {
  color: rgb(41, 41, 41);
  font-size: 2rem;
  text-align: center;
  padding-top: 5rem;
}

.equipment-page h4 {
  color: rgb(32, 32, 32);
  font-size: 1.5rem;
  text-align: center;
  font-weight: lighter;
  display: block;
  margin-top: 1rem;
  margin-left: 15%;
  margin-right: 15%;
}
.equipment-page a {
  font-size: 1rem;
  color: rgb(120, 120, 120);
  text-decoration: none;
  display: block;
  margin-top: 2rem;
  text-align: center;
  z-index: 2;
}
div.equipment-pic {
  display: flex;
  justify-content: center; /* ✅ 水平置中 */
  align-items: center; /* ✅ 垂直置中（若需要） */
  max-width: 896px;
  width: 100%;
  margin: 3rem auto;
}
.equipment-pic img {
  max-width: 100%; /* ✅ 不會超過容器寬度 */
  height: auto; /* ✅ 高度依比例縮放 */
  display: block; /* ✅ 移除 inline 元素底部空隙 */
}
.traffic-page {
  background-color: #f7f7f7;
  height: 90vh;
  position: relative;
  z-index: 1;
  justify-content: center;
  align-items: center;
  padding-bottom: 6rem;
}

.traffic-page h3 {
  color: rgb(41, 41, 41);
  font-size: 2rem;
  text-align: center;
  padding-top: 8rem;
}

.traffic-page h4 {
  color: rgb(32, 32, 32);
  font-size: 1.5rem;
  text-align: center;
  font-weight: lighter;
  display: block;
  margin-top: 1rem;
  margin-left: 10%;
  margin-right: 10%;
}
.traffic-page a {
  font-size: 1rem;
  color: rgb(120, 120, 120);
  text-decoration: none;
  display: block;
  margin-top: 2rem;
  text-align: center;
  z-index: 2;
}
div.traffic-pic {
  display: flex;
  justify-content: center; /* ✅ 水平置中 */
  align-items: center; /* ✅ 垂直置中（若需要） */

  margin: 3rem auto;
}

iframe {
  width: 80%;
  height: 40vh;
}

.background-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.background-img {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

a.scroll-down.hero-content {
  z-index: 3;
}
.background-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.background-img hr,
.background-img h3,
.background-img h4,
.background-img h1,
.background-img h5 {
  position: relative;
  z-index: 1;
  color: white;
}
.scroll-down {
  font-size: 3rem;
  color: white;
  text-decoration: none;
  display: block;
  margin-top: 2rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
html {
  scroll-behavior: smooth;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.concept-section {
  z-index: 2;
}
/* 全螢幕覆蓋選單 */
.full-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* 黑色半透明 */
  display: none;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.3s ease;
}

.full-menu.active {
  display: flex;
}

/* 關閉按鈕 */
.close-button {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* 選單文字樣式 */
.menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-list li {
  margin: 1.5rem 0;
}

.menu-list li a {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.menu-list li a:hover {
  opacity: 0.7;
}

/* 禁止滾動 */
body.no-scroll {
  overflow: hidden;
}
.site-footer {
  background-color: #f7f7f7;
  color: #444;
  padding: 3rem 1.5rem;
  font-size: 0.95rem;
  text-align: center;
  border-top: 1px solid #ddd;
  position: static;
}
.smalllogo {
  width: 80px;
  height: 80px;
  margin-right: 6px;
  margin-bottom: 15px;
}
.footer-content {
  max-width: 960px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 10px;
  color: #333;
}

.footer-info p {
  margin: 0.3rem 0;
  color: #666;
}

.footer-info a {
  color: #666;
  text-decoration: none;
}

.footer-info a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #999;
}
/* 區塊 hover 效果 */
.room-page,
.equipment-page,
.traffic-page {
  transition: background-color 0.3s ease-in-out;
}

.room-page:hover,
.traffic-page:hover {
  background-color: #dcdcdc; /* 無印風淡灰 */
}

.equipment-page:hover {
  background-color: #ededed; /* 淺一點灰 */
}
.room-info {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* ✅ 左右欄同高 */
  max-width: 1440px;
  margin: auto;
  background-color: #eeeeee56;
}

.room-text {
  flex: 0 0 30%;
  padding: 40px;
  background-color: #eeeeee56; /* ✅ 避免背景色重疊 */
}
.room-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.room-text h3 {
  font-size: 18px;
  color: #888;
  margin-bottom: 20px;
}

.room-text ul {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}
.ps {
  font-size: 12px;
  color: #888;
  margin-bottom: 20px;
  margin-top: 20px;
}
/* 按鈕區塊 */
.btn-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-group a {
  text-decoration: none;
  padding: 10px 18px;
  background: #eee;
  color: #333;

  font-size: 14px;
  transition: background 0.3s;
}

.btn-group a:hover {
  background: #ccc;
}
.room-slider {
  flex: 1 1 70%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #eeeeee56; /* ✅ 保持一致 */
  overflow: hidden;
}

.slider-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 20;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 20;
}

.slider-dots .dot.active {
  background-color: #333;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 100%;
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

.slider-nav button {
  background: none;
  border: none;
  font-size: 30px;
  color: #ffffff8d;
  padding: 100px 10px;
  cursor: pointer;
  pointer-events: all;
}

@media (max-width: 768px) {
  .room-info {
    flex-direction: column-reverse; /* ✅ RWD: slider在上 */
  }

  .room-text,
  .room-slider {
    flex: 1 1 100%;
  }

  .room-text {
    padding: 30px 15px;
  }
}
.space1 {
  padding-top: 10vh;
}
.space2 {
  padding-top: 15vh;
}
.room1 {
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.room-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./pics/roombg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transform: scale(1.05); /* 模擬視差縮放感 */
  transition: transform 0.3s ease-out;
}
.bigroom-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("./pics/sofa.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  transform: scale(1.05); /* 模擬視差縮放感 */
  transition: transform 0.3s ease-out;
}

.room-content {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 3rem;
  height: 20vh;
  box-sizing: border-box;
  z-index: 1;
  background: rgb(255, 255, 255); /* 半透明可視需求加 */
}

/* 右邊 h4 */
.room-content h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: bold;
  color: #444;
  width: 450px; /* ✅ 固定寬度，可依實際調整 */
  line-height: 1.6;
  text-align: right;
  flex-shrink: 0;
}

/* 左邊 h3 可加寬度限制或自適應 */
.room-content h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  max-width: calc(100% - 340px); /* 防止被壓縮 */
}

/* RWD：手機時直式堆疊 */
@media (max-width: 768px) {
  .room-content {
    flex-direction: column;
    height: auto;
    padding: 2rem;
    gap: 1rem;
  }

  .room-content h3 {
    text-align: left;
    width: 100%; /* ✅ 取消固定寬度 */
    max-width: 100%;
    font-size: 2rem;
  }
  .room-content h4 {
    text-align: left;
    width: 100%; /* ✅ 取消固定寬度 */
    max-width: 100%;
    font-size: 1rem;
  }
}

.room-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 6rem 0 2rem;
  margin: 0;
  list-style: none;
  border-bottom: 1px solid #eee;
}

.room-nav li a {
  text-decoration: none;
  color: #888;
  font-size: 1rem;
  font-weight: normal;
  position: relative;
  transition: all 0.3s ease;
}
@media screen and (max-width: 768px) {
  .room-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 三等分 → 上三個、下三個 */
    gap: 8px; /* 元素之間的間距 */
    text-align: center;
  }

  .room-nav li a {
    font-size: 0.8rem;
    display: block;
    padding: 8px 0;
  }
}

.room-nav li.active a {
  color: #000;
  font-weight: bold;
}

.room-nav li.active a::after {
  content: "";
  display: block;
  margin: 4px auto 0;
  width: 12px;
  height: 2px;
  background: #000;
}

section.equipment-title {
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-top: 80px;
  background-color: #ffffff;
}

.equipment-title h2 {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.equipment-title p {
  font-size: 1rem;
  color: #666;
}

section.equipment-category {
  max-width: 900px;
  margin: 2.5rem auto;
  padding: 0 1rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
  background-color: #fff;
}

.equipment-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #111;
  border-left: 4px solid #aaa;
  padding-left: 0.75rem;
}

.equipment-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-category li {
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed #eee;
  color: #444;
}

/* 響應式排版 */
@media (min-width: 768px) {
  .equipment-category ul {
    columns: 2;
    column-gap: 3rem;
  }

  .equipment-category li {
    break-inside: avoid;
  }
}

.faq-container {
  max-width: 800px;
  margin: 80px auto 0; /* 上 auto 下 */
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
}
.faq-container a {
  text-decoration: none;
  display: block;
  margin: 0 auto;
  text-align: center;
  color: #d48686;
  font-size: 1.2rem;
  font-weight: bold;
}

h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #111;
}

.faq-section h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
  border-left: 4px solid #aaa;
  padding-left: 0.5rem;
}

.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.faq-question ol {
  list-style-position: outside;
  padding-right: 10px;
  padding-left: 25px;
}
.faq-answer li {
  text-indent: 0;
}
.faq-question:hover {
  background: #e0e0e0;
}

.faq-answer {
  display: none;
  padding: 1rem;
  background: #f9f9f9;
  border-left: 2px solid #ccc;
  margin-top: 0.5rem;
  border-radius: 4px;
}

.faq-answer ul {
  padding-left: 1.25rem;
}

.faq-answer ol {
  padding-left: 1.25rem;
}

.rules-list {
  line-height: 1.8;
  font-size: 1rem;
  color: #333;
  padding-left: 1.5rem;
  margin-top: 1.2rem;
}

.rules-list li {
  margin-bottom: 1.2rem;
  text-align: justify;
}
body {
  font-family: "Noto Sans TC", sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #fdfdfd;
  line-height: 1.6;
}
header {
  background-color: #fff;
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}
header h1 {
  margin: 0;
  font-size: 2rem;
}
.container {
  max-width: 800px;
  margin: 100px auto;
  padding: 1rem;
}
.section {
  margin-bottom: 2.5rem;
}
.section h1 {
  align-items: center;
  text-align: center;
}
.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.qr-section img {
  width: 180px;
  height: 180px;
  margin: 1rem 0;
}
.button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #06c755;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.button:hover {
  background-color: #05a94e;
}
.price-table {
  border-collapse: collapse;
  width: 100%;
}
.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
}
.price-table th {
  background-color: #f0f0f0;
}
.faq-section strong {
  color: #a30606;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
  border: 1px solid #ccc;
}

.price-table thead {
  background-color: #f5f5f5;
  font-weight: bold;
}

.price-table th,
.price-table td {
  padding: 10px;
  border: 1px solid #ddd;
}

.price-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.price-note {
  margin-top: 1rem;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
}

.price-note strong {
  color: #000;
}

.highlight {
  background-color: #f0f8ff;
  font-weight: bold;
}
input {
  padding: 10px;
  font-size: 16px;
  width: 250px;
}
.news {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.news h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  color: #111;
}

.news-flash h4 {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 10px 0;
}

/* 閃動效果 */
.flash {
  animation: colorFlash 3s infinite;
}

/* 三行交錯延遲，製造閃動輪流感 */
.flash:nth-child(1) {
  animation-delay: 0s;
}
.flash:nth-child(2) {
  animation-delay: 1s;
}
.flash:nth-child(3) {
  animation-delay: 2s;
}

@keyframes colorFlash {
  0%,
  100% {
    color: #111;
  } /* 深色（顯眼） */
  50% {
    color: #bbb;
  } /* 淡色（變弱） */
}
/* 包裹區塊置中 */
.book-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center; /* 水平置中 */
  justify-content: center; /* 垂直置中（如果需要） */
  text-align: center;
  margin: 0 auto;
  padding: 20px;
}

/* 標題 */
.book-wrapper h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

/* 說明區塊 */
.calendar-legend {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 小圓點 */
.calendar-legend .dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 5px;
  border-radius: 50%;
  background-color: rgb(235, 107, 107); /* 已預訂標記 */
}
/* 整體樣式 */
.flatpickr-calendar {
  border: 1px solid #ccc;
  border-radius: 16px;

  font-size: 16px;
}

/* 標題（年月切換） */
/* Header 區塊 */
.flatpickr-months {
  display: flex;
  justify-content: flex-end; /* 靠右 */
  background: #e8e8e8;

  padding: 8px 12px;
  color: #fff;
}

/* 年月顯示 */
.flatpickr-current-month {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  order: 2; /* 放在箭頭後面 */
  margin-left: 8px;
}

/* 左右箭頭 */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  order: 1; /* 放在最前面 */
  margin: 0 4px;
  transition: transform 0.2s;
}
.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  transform: scale(1.2);
}

/* 星期列 */
.flatpickr-weekdays {
  background: #f1f1f1;
  border-bottom: 1px solid #ddd;
  font-weight: normal;
}

/* 日期格子 */
.flatpickr-day {
  border-radius: 8px;
  transition: background 0.3s;
}

/* hover 效果 */
.flatpickr-day:hover {
  background: #dbeafe;
}

/* 已選中 */
.flatpickr-day.selected {
  background: #777777;
  color: #fff;
}

/* 已預訂（客製 class，等你加上去） */
.flatpickr-day.booked {
  background: #f8717128 !important;
  color: #000000;
  cursor: not-allowed;
}
.secret-room1 {
  position: relative;
  overflow: hidden;
  height: 18rem;
}

.carousel {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  transform: rotateX(-20deg) translateY(-70px);
  transform-style: preserve-3d;
  perspective: 800px;
  user-select: none;
  cursor: grab;
}

.carousel-image {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px; /* 要跟 width/height 一致的一半 */
  width: 250px;
  height: 250px;
  transform: translate3d(0, 0, -10px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  transform-origin: 50% 50%;
  overflow: hidden; /* 避免圖片超出 */
}
.carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持比例裁切 */
}
@media (max-width: 600px) {
  .carousel {
    transform: rotateX(-10deg) scale(0.6) translateY(-60px);
  }
}
