* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans TC", "Noto Sans JP", "Inter", Arial, sans-serif;
  background: #f5f5f3;
  color: #2f3e46;
  line-height: 1.7;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 40px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(47, 62, 70, 0.08);
}

.logo {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav a {
  color: #2f3e46;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.03em;
}

.nav a:hover {
  color: #52796f;
}

.btn-checkin {
  background: #2f3e46;
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
}

/* Language */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: #eef1ef;
  border-radius: 999px;
  border: 1px solid rgba(47, 62, 70, 0.08);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: #6c757d;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.lang-switch button:hover {
  color: #2f3e46;
}

.lang-switch button.active {
  background: #2f3e46;
  color: #fff;
  box-shadow: 0 6px 14px rgba(47, 62, 70, 0.18);
}

/* Hero */
.hero {
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 20px;
  text-align: center;
  background:
    linear-gradient(rgba(245, 245, 243, 0.72), rgba(245, 245, 243, 0.9)),
    url("/assets/images/hero.jpg")
    center / cover no-repeat;
}

.hero-content {
  max-width: 820px;
}

.eyebrow,
.section-label {
  margin-bottom: 14px;
  color: #84a9ac;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero p {
  font-size: 18px;
  color: #52616b;
}

.hero-buttons {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 15px;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #84a9ac;
  color: #fff;
  box-shadow: 0 12px 24px rgba(132, 169, 172, 0.35);
}

.btn-primary:hover {
  background: #52796f;
  transform: translateY(-2px);
}

button.btn-primary {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

button.btn-primary:disabled {
  opacity: .72;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  color: #2f3e46;
  border: 1px solid rgba(47, 62, 70, 0.35);
  background: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 92px 24px;
  text-align: center;
}

.section h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
  margin-bottom: 18px;
}

.section p {
  max-width: 680px;
  margin: 0 auto;
  color: #6c757d;
  font-size: 16px;
}

/* Room Card */
.room-card {
  max-width: 880px;
  margin: 42px auto 0;
  padding: 34px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(47, 62, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}

.room-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.room-card p {
  margin: 0;
}

/* CTA */
.checkin-cta {
  background: #2f3e46;
  color: #fff;
}

.checkin-cta p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 28px;
}

.section-label.light {
  color: #b6d5d8;
}

/* Support */
.support {
  background: #fafafa;
}

/* Footer */
.footer {
  padding: 34px 24px;
  background: #fff;
  text-align: center;
  border-top: 1px solid rgba(47, 62, 70, 0.08);
}

.footer p {
  color: #2f3e46;
  margin-bottom: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #6c757d;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #2f3e46;
}

/* Mobile */
@media (max-width: 820px) {
  .header {
    flex-wrap: wrap;
    padding: 16px 20px;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-top: 8px;
  }

  .nav a {
    white-space: nowrap;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    min-height: 72vh;
  }

  .room-card {
    text-align: center;
    flex-direction: column;
  }
}


/* 精品相簿：住宿 / 環境 */
.gallery-section {
  background: #f5f5f3;
}

.gallery-section h2 {
  margin-bottom: 34px;
}

/* 住宿 / 環境：雙欄質感相簿 */
.gallery-section {
  background: #f5f5f3;
}

.gallery-section h2 {
  margin-bottom: 36px;
}

.gallery-grid {
  width: min(86vw, 720px) !important;
  margin: 60px auto !important;
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
}

.gallery-grid img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;

  border-radius: 18px !important;
  box-shadow: 0 12px 28px rgba(0,0,0,0.1) !important;

  transition: all 0.3s ease !important;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* 手機版 */
@media (max-width: 768px) {
  .gallery-grid {
    width: min(92vw, 480px) !important;
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .gallery-grid img {
    height: 220px !important;
  }
}


/* 最新消息彈窗 */
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.news-modal.show {
  display: flex;
}

.news-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 31, 36, 0.48);
  backdrop-filter: blur(8px);
}

.news-modal-card {
  position: relative;
  width: min(92vw, 460px);
  padding: 38px 34px 32px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(20, 31, 36, 0.28);
  text-align: center;
  animation: newsPop 0.35s ease;
}

.news-modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #eef1ef;
  color: #2f3e46;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.news-modal-label {
  color: #84a9ac;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.news-modal-card h2 {
  font-size: 30px;
  margin-bottom: 16px;
}

.news-modal-text {
  color: #6c757d;
  font-size: 16px;
  margin-bottom: 26px;
}

.news-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-news-secondary {
  border: 1px solid rgba(47, 62, 70, 0.3);
  background: #fff;
  color: #2f3e46;
  border-radius: 999px;
  padding: 13px 24px;
  cursor: pointer;
}

@keyframes newsPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* 彈窗語系切換 */
.news-lang-switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
}

.news-lang-switch button {
  border: none;
  background: #eef1ef;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  color: #6c757d;
}

.news-lang-switch button.active {
  background: #2f3e46;
  color: #fff;
}