:root {
  --bg: #f6efe8;
  --panel: #fffdf9;
  --text: #1f2933;
  --muted: #5b6772;
  --accent: #b87333;
  --accent-dark: #7a3f16;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Noto Sans TC', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 205, 132, 0.38), transparent 24%),
    radial-gradient(circle at right center, rgba(118, 196, 255, 0.28), transparent 28%),
    linear-gradient(135deg, #fffaf1 0%, var(--bg) 45%, #f5e1c9 100%);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -80px;
  right: -60px;
  background: #ff8f5f;
}

body::after {
  bottom: -60px;
  left: -60px;
  background: #74c7ff;
}

img {
  display: block;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(0.72);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 15, 22, 0.78), rgba(10, 15, 22, 0.35));
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 8vw;
  color: white;
  max-width: 860px;
}

.eyebrow {
  margin: 0 0 1rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1.15;
  font-weight: 900;
}

.hero h2 {
  margin: 0.8rem 0 1.2rem;
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  font-weight: 600;
  color: #f7dfc4;
}

.hero-content p {
  max-width: 700px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
}

.intro-section {
  padding: 4rem 5vw 2rem;
}

.intro-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, rgba(255, 250, 244, 0.96), rgba(255, 239, 221, 0.95));
  border: 1px solid rgba(184, 115, 51, 0.2);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(31, 41, 51, 0.08);
  position: relative;
  z-index: 1;
}

.intro-card p {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  color: var(--muted);
}

.carousel-section {
  padding: 2rem 5vw 4rem;
}

.carousel-section.alt {
  padding-top: 0;
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.section-heading h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  font-weight: 800;
  background: linear-gradient(90deg, #b87333 0%, #de7d2e 45%, #4fa3c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border: none;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.carousel {
  max-width: 1150px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(31, 41, 51, 0.1);
  border: 2px solid rgba(255, 175, 112, 0.25);
  position: relative;
  z-index: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: clamp(320px, 54vh, 520px);
}

.carousel-slide img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 0 1.2rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(122, 63, 22, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.carousel-dots button.active {
  background: linear-gradient(90deg, #ff9f43, #4fa3c8);
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(79, 163, 200, 0.16);
}

@media (max-width: 780px) {
  .hero-content {
    padding: 4rem 1.4rem;
  }

  .intro-section,
  .carousel-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .intro-card {
    padding: 1.5rem;
  }

  .carousel-slide {
    height: 320px;
  }
}
