/* 🔹 全域 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans TC", "Segoe UI", sans-serif;
  background: url('/img/background.jpg') center top/cover no-repeat fixed;
  color: #f2f2f2;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* 🔹 Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 左側 LOGO */
.logo img {
  height: 40px;
}

/* 中間選單 */
.nav-links.nav-center {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: #f2c94c;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-links a:hover {
  background-color: rgba(242, 201, 76, 0.1);
}

/* 右側登入/註冊按鈕 */
.nav-auth {
  display: flex;
  gap: 0.75rem;
}

.btn-nav {
  padding: 0.5rem 1rem;
  background-color: #f2c94c;
  color: #000;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-nav:hover {
  background-color: #d6ae33;
}

.btn-outline {
  background-color: transparent;
  color: #f2c94c;
  border: 1px solid #f2c94c;
}

.btn-outline:hover {
  background-color: rgba(242, 201, 76, 0.1);
}

/* 🔸 Hero 區塊（左圖右文） */
.hero-section {
  margin-top: 72px;
  padding: 3rem 5%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-container {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  max-height: 300px;
}

.hero-text {
  flex: 1;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.btn-gold {
  background-color: #f2c94c;
  color: #000;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.btn-gold:hover {
  background-color: #d6ae33;
}

/* 🔸 Main Section */
.main-section {
  padding: 3rem 5%;
  background-color: rgba(17, 17, 17, 0.8); /* 半透明遮罩 */
  color: #ddd;
}

.intro {
  text-align: center;
}

.intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.intro-img {
  max-width: 280px; /* 或你想要的寬度 */
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px; /* 如果想要圓角 */
}

/* 🔻 Footer */
.site-footer {
  background-color: rgba(26, 26, 26, 0.85);
  padding: 2rem 5%;
  text-align: center;
  color: #888;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-links a {
  color: #888;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #f2c94c;
}

/* 🔸 RWD 響應式 */
@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 1rem;
  }

  .nav-links.nav-center {
    justify-content: center;
    flex-wrap: wrap;
    margin: 1rem 0;
  }

  .nav-auth {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image img {
    max-height: 220px;
  }
}

/* 🔸 優惠輪播區塊（無背景，繼承全站） */
.promo-section {
  padding: 3rem 1rem;
  text-align: center;
}

.promo-carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 1rem;
}

.promo-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}
