body {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  background-color: #fff8fa;
  color: #444;
  line-height: 1.6;
}
h1, h2, h3 {
  color: #333;
  text-align: center;
}

/* 僅作為主視覺背景，不再包含文字內容 */
header.hero {
  background-image: url('img/hero.png');
  background-size: cover;
  background-position: center;
  height: 60vh; /* 調整高度，讓文字內容有地方顯示在下方 */
}

/* 新增 hero-content 區塊來放置原本 overlay 的內容 */
.hero-content {
  background: rgba(255, 255, 255, 0.9); /* 可以調整透明度 */
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* 增加一點陰影讓它更突出 */
}

/* 原本 overlay 的樣式現在應用在 hero-content 區塊內的 h1, p, a */
.hero-content h1 {
    margin-top: 0; /* 移除 h1 預設的上邊距 */
}
.slogan {
  font-size: 1.4em;
  color: #e091b4;
  margin: 10px 0;
}
.en-slogan {
  font-size: 1em;
  color: #777;
}
.cta {
  display: inline-block;
  background: #ffb6c1;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
  margin-top: 20px; /* 讓按鈕和文字有點間距 */
}
.cta:hover {
  background: #f493ae;
}
section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
}
.about p {
  margin-bottom: 15px;
  text-align: center;
}
.services table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.services td {
  border-bottom: 1px solid #f4c4d4;
  padding: 10px;
}
.promo p {
  text-align: center;
}
.promo ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

/* 修改 .gallery .photos 的佈局和圖片樣式 */
.gallery .photos {
  display: grid; /* 使用 CSS Grid 佈局 */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 自動調整列數，最小寬度280px */
  gap: 20px; /* 圖片間距 */
  justify-content: center; /* 水平居中 */
  margin-top: 20px;
}
.gallery img {
  width: 100%; /* 讓圖片填滿其網格單元 */
  height: 300px; /* 固定圖片高度 */
  object-fit: cover; /* 裁剪圖片以填滿空間，同時保持比例 */
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease-in-out; /* 增加懸停效果 */
}
.gallery img:hover {
    transform: scale(1.03); /* 懸停時輕微放大 */
}

footer {
  background: #ffe4ec;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9em;
  color: #555;
}
footer a {
  color: #e091b4;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}