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

:root {
  --orange: #E8501A;
  --orange-dark: #c94215;
  --black: #1a1a1a;
  --gray: #666;
  --light: #f8f7f5;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.16);
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-box {
  background: var(--orange);
  color: var(--white);
  font-family: 'Open Sans', sans-serif;
  font-weight: 900;
  font-size: 11px;
  line-height: 1.1;
  padding: 6px 8px;
  border-radius: 6px;
  text-align: center;
  letter-spacing: 0.02em;
  display: flex;
  flex-direction: column;
}

.site-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  padding: 6px 14px;
  border-radius: 20px;
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover { background: #f0f0f0; color: var(--black); }
.nav-link.active { background: var(--black); color: var(--white); }

/* ── Hero ── */
.hero-section {
  background: var(--light);
  padding: 60px 24px 50px;
}

.hero-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hero-item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-img-wrap {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-item:hover .hero-img { transform: scale(1.04); }

.hero-caption {
  padding: 18px 20px 22px;
  text-align: center;
}

.hero-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Schedule ── */
.schedule-section {
  padding: 70px 24px;
  background: var(--white);
}

.section-heading {
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--orange);
  margin: 12px auto 0;
  border-radius: 2px;
}

.schedule-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.schedule-col {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
}

.schedule-date-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.notes-badge { background: var(--orange); }

.schedule-list {
  list-style: none;
}

.schedule-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  color: var(--black);
  padding: 9px 0;
  border-bottom: 1px solid #e8e8e8;
}

.schedule-list li:last-child { border-bottom: none; }

.time {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  min-width: 42px;
  flex-shrink: 0;
  font-family: 'Open Sans', sans-serif;
}

.notes-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notes-list li {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 60px 24px;
  text-align: center;
}

.cta-inner { max-width: 500px; margin: 0 auto; }

.cta-text {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 22px;
  letter-spacing: 0.06em;
}

.btn-signup {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 56px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(232,80,26,0.4);
}

.btn-signup:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,80,26,0.5);
}

/* ── Gallery / Carousel ── */
.gallery-section {
  padding: 70px 24px;
  background: var(--light);
}

.gallery-section:nth-child(even) { background: var(--white); }

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  aspect-ratio: 16 / 10;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #111;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-btn:hover { background: rgba(255,255,255,0.3); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ── Footer ── */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 36px 24px;
  font-size: 14px;
  line-height: 1.8;
}

.footer-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

/* ── RWD ── */
@media (max-width: 900px) {
  .hero-grid, .schedule-grid { grid-template-columns: 1fr 1fr; }
  .notes-col { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .hero-grid, .schedule-grid { grid-template-columns: 1fr; }
  .notes-col { grid-column: auto; }
  .header-inner { height: auto; padding: 12px 16px; flex-wrap: wrap; }
  .hero-section { padding: 40px 16px; }
  .schedule-section, .gallery-section { padding: 50px 16px; }
  .btn-signup { padding: 14px 40px; }
  .site-title { font-size: 13px; }
  .main-nav { gap: 2px; }
  .nav-link { padding: 5px 10px; font-size: 13px; }
}
