/* ============================================================
   style.css｜親子FUN水藝動派對官網
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&family=Outfit:wght@400;600;800&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --c-blue:      #0099cc;
  --c-blue-dark: #006699;
  --c-blue-deep: #003d66;
  --c-cyan:      #00c6ef;
  --c-yellow:    #ffd93d;
  --c-pink:      #ff6fa3;
  --c-white:     #ffffff;
  --c-bg:        #f0faff;
  --c-bg-alt:    #e0f4fc;
  --c-text:      #1a2f3f;
  --c-text-muted:#4a7090;
  --c-card-bg:   #ffffff;
  --c-shadow:    rgba(0,102,153,0.12);

  --radius:   16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-w: 1200px;
  --section-py: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans TC', 'Outfit', sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(0,60,100,0.0);
  backdrop-filter: blur(0px);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(0,40,80,0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-size: 1rem;
  font-weight: 900;
  color: var(--c-white);
  white-space: nowrap;
  letter-spacing: .03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover {
  background: rgba(255,255,255,0.18);
  color: var(--c-white);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  background: rgba(0,30,60,0.97);
  padding: 12px 24px 20px;
}
.nav-mobile a {
  display: block;
  padding: 12px 0;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--c-cyan); }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #001e3c;
}

.hero-stack {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 共用：每一層都撐滿 */
.hero-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

/* 底圖：輕微縮放動畫 + 視差 */
.hero-bg {
  z-index: 1;
  will-change: transform;
}
.hero-bg img {
  animation: bgBreath 8s ease-in-out infinite;
  transform-origin: center;
}
@keyframes bgBreath {
  0%, 100% { transform: scale(1.05) translateY(0px); }
  50%       { transform: scale(1.12) translateY(-8px); }
}

/* 活動名稱：縮小30%、置中 */
.hero-title {
  z-index: 2;
  align-items: center;
  justify-content: center;
  animation: titleFloat 1.2s cubic-bezier(0.22,1,0.36,1) forwards;
  will-change: transform, opacity;
}
.hero-title img {
  object-fit: contain;
  object-position: center center;
  width: 70%;
  max-width: 1344px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: titleSway 6s ease-in-out 1.5s infinite;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
}
@keyframes titleFloat {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes titleSway {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateX(-2%) translateY(-8px); }
}

/* 活動日期：縮小30%、置中 */
.hero-date {
  z-index: 3;
  align-items: center;
  justify-content: center;
  animation: dateSlide 1.2s cubic-bezier(0.22,1,0.36,1) 0.4s both;
  will-change: transform, opacity;
}
.hero-date img {
  object-fit: contain;
  object-position: center center;
  width: 70%;
  max-width: 1344px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: dateBob 5s ease-in-out 2s infinite;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}
@keyframes dateSlide {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dateBob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50%       { transform: translate(-50%, -50%) translateY(-8px); }
}

/* 手機版主視覺圖片放大 */
@media (max-width: 768px) {
  .hero-title img { width: 84%; }
  .hero-date img { width: 160%; }
}


/* 水波 SVG 裝飾 */
.hero-waves {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  line-height: 0;
}
.hero-waves svg {
  width: 100%;
  height: 120px;
}
.wave { fill: var(--c-bg); }
.wave1 {
  opacity: 0.35;
  animation: waveMove1 6s ease-in-out infinite;
}
.wave2 {
  opacity: 0.6;
  animation: waveMove2 4s ease-in-out infinite reverse;
}
@keyframes waveMove1 {
  0%, 100% { d: path("M0,60 C360,120 720,0 1080,60 C1260,90 1380,50 1440,60 L1440,120 L0,120 Z"); }
  50%       { d: path("M0,80 C240,20 600,100 900,70 C1100,50 1300,90 1440,70 L1440,120 L0,120 Z"); }
}
@keyframes waveMove2 {
  0%, 100% { d: path("M0,80 C240,40 480,100 720,80 C960,60 1200,100 1440,80 L1440,120 L0,120 Z"); }
  50%       { d: path("M0,60 C200,90 500,40 800,70 C1100,100 1300,50 1440,60 L1440,120 L0,120 Z"); }
}

/* 往下箭頭 */
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: .08em;
  animation: fadeInUp 2s ease 2s both;
}
.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ============================================================
   SECTIONS 通用
   ============================================================ */
.section {
  padding: var(--section-py) 0;
}
.section-alt {
  background: linear-gradient(160deg, var(--c-bg-alt) 0%, #d6eefa 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: .18em;
  color: var(--c-blue);
  background: rgba(0,153,204,0.1);
  border: 1px solid rgba(0,153,204,0.25);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--c-blue-deep);
  line-height: 1.2;
}
.section-subtitle {
  margin-top: 8px;
  color: var(--c-text-muted);
  font-size: 0.95rem;
}

/* ── Reveal 動畫 ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--c-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(0,153,204,0.35);
}
.btn-primary:hover {
  background: var(--c-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,153,204,0.45);
}
.btn-outline {
  border-color: var(--c-blue);
  color: var(--c-blue);
  background: transparent;
}
.btn-outline:hover {
  background: var(--c-blue);
  color: white;
  transform: translateY(-2px);
}

/* ── Day Tabs ── */
.day-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.day-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--c-blue);
  background: transparent;
  color: var(--c-blue);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.day-tab:hover { background: rgba(0,153,204,0.08); }
.day-tab.active {
  background: var(--c-blue);
  color: white;
  box-shadow: 0 4px 14px rgba(0,153,204,0.3);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ============================================================
   三、報到資訊
   ============================================================ */
.checkin-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  margin-bottom: 20px;
  align-items: start;
}
@media (max-width: 768px) {
  .checkin-grid { grid-template-columns: 1fr; }
}

.checkin-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 24px var(--c-shadow);
  border: 1px solid rgba(0,153,204,0.1);
}
.checkin-card-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-bg-alt);
}
.checkin-icon { font-size: 1.8rem; }
.checkin-card-header h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--c-blue-deep);
  flex: 1;
}
.checkin-time-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: white;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.checkin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkin-list li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.list-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  border-radius: 50%;
  background: var(--c-blue);
  margin-top: 7px;
}

.checkin-img-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 4px 24px var(--c-shadow);
  border: 1px solid rgba(0,153,204,0.1);
  flex-shrink: 0;
  width: 260px;
}
.checkin-img-card img {
  width: 100%;
  border-radius: var(--radius-sm);
}

/* 9/20 上下排列 */
.checkin-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 20px;
}
.checkin-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.checkin-card-full {
  flex: 1;
}
@media (max-width: 700px) {
  .checkin-row {
    flex-direction: column;
    align-items: stretch;
  }
  .checkin-img-card {
    width: 100%;
  }
}

.checkin-items-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.checkin-items-row img {
  flex: 1;
  min-width: 200px;
  max-width: 320px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px var(--c-shadow);
}

.notice-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,153,204,0.08);
  border-left: 4px solid var(--c-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  margin-top: 12px;
  font-size: 0.9rem;
}
.notice-box.notice-danger {
  background: rgba(255,100,100,0.08);
  border-left-color: #e05454;
}
.notice-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* ============================================================
   四、會場地圖
   ============================================================ */
.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px var(--c-shadow);
  border: 3px solid rgba(0,153,204,0.2);
}
.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   五、活動流程
   ============================================================ */
.schedule-pdf-notice {
  display: flex;
  gap: 20px;
  align-items: center;
  background: linear-gradient(135deg, rgba(0,153,204,0.1) 0%, rgba(0,198,239,0.1) 100%);
  border: 2px dashed rgba(0,153,204,0.3);
  border-radius: var(--radius);
  padding: 28px;
}
.pdf-icon {
  font-size: 3rem;
  flex-shrink: 0;
}
.schedule-pdf-notice p {
  color: var(--c-text-muted);
  margin-bottom: 12px;
}

.schedule-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: 0 4px 24px var(--c-shadow);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.schedule-table thead tr {
  background: linear-gradient(135deg, var(--c-blue-dark), var(--c-blue));
  color: white;
}
.schedule-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
}
.schedule-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--c-bg-alt);
  font-size: 0.9rem;
  vertical-align: middle;
}
/* 多欄時程表 */
.schedule-multi .time-col {
  white-space: nowrap;
  font-weight: 700;
  color: var(--c-blue-dark);
  background: rgba(0,153,204,0.06);
  font-size: 0.85rem;
  width: 120px;
}
.schedule-multi td:not(.time-col):empty {
  background: rgba(0,0,0,0.02);
}
.schedule-multi td small {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
  font-weight: 400;
  margin-top: 2px;
}
.schedule-table tbody tr:hover { background: rgba(0,153,204,0.04); }
.schedule-highlight td { background: rgba(0,198,239,0.08); color: var(--c-blue-dark); font-weight: 500; }
.schedule-final td {
  background: linear-gradient(135deg, rgba(0,61,102,0.08), rgba(0,153,204,0.08));
  font-weight: 700;
  color: var(--c-blue-deep);
  font-size: 1rem;
}

/* ============================================================
   六、表演節目
   ============================================================ */
.performers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.performer-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 24px var(--c-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(0,153,204,0.1);
}
.performer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,153,204,0.2);
}
.performer-img-wrap {
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #cce8f5, #a8d8ee);
}
.performer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.performer-card:hover .performer-img-wrap img {
  transform: scale(1.06);
}
.performer-info {
  padding: 20px;
}
.performer-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.performer-info h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-blue-deep);
  margin-bottom: 6px;
}
.performer-info p {
  font-size: 0.87rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ============================================================
   七、市集攤位
   ============================================================ */
.market-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.market-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: 2px solid var(--c-yellow);
  background: transparent;
  color: var(--c-blue-deep);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}
.market-tab:hover { background: rgba(255,217,61,0.12); }
.market-tab.active {
  background: var(--c-yellow);
  color: var(--c-blue-deep);
  box-shadow: 0 4px 14px rgba(255,217,61,0.4);
}

.market-content { display: none; }
.market-content.active { display: block; }

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.market-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: 0 2px 12px var(--c-shadow);
  border: 1px solid rgba(0,153,204,0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.market-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,153,204,0.15);
}
.market-num {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-cyan));
  color: white;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
}
.market-num.craft {
  background: linear-gradient(135deg, var(--c-pink), #ff9c6e);
}
.market-info h4 {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-blue-deep);
  margin-bottom: 3px;
}
.market-info p {
  font-size: 0.8rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

/* ============================================================
   八、DIY 手作
   ============================================================ */
.diy-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .diy-layout { grid-template-columns: 1fr; }
}
.diy-main {
  display: flex;
  flex-direction: column;
}
.diy-description {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: 20px;
}
.diy-description p + p { margin-top: 12px; }
.diy-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  flex: 1;
  align-content: stretch;
}
.diy-info-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  box-shadow: 0 4px 16px var(--c-shadow);
  border: 1px solid rgba(0,153,204,0.1);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.diy-info-card:hover { transform: translateY(-3px); }
.diy-info-card.highlight {
  background: linear-gradient(135deg, var(--c-blue-deep), var(--c-blue));
  color: white;
  border-color: transparent;
}
.diy-info-card.highlight .diy-info-label,
.diy-info-card.highlight .diy-info-value { color: rgba(255,255,255,0.9); }
.diy-info-icon { font-size: 1.8rem; margin-bottom: 6px; }
.diy-info-label { font-size: 0.75rem; color: var(--c-text-muted); margin-bottom: 4px; font-weight: 500; }
.diy-info-value { font-weight: 700; font-size: 0.95rem; color: var(--c-blue-deep); }
.diy-info-value small { font-size: 0.78rem; font-weight: 400; color: var(--c-text-muted); }

/* DIY 真實照片 */
.diy-art {
  display: flex;
  align-items: stretch;
}
.diy-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,102,153,0.2);
  border: 3px solid rgba(0,153,204,0.15);
  width: 100%;
  display: flex;
}
.diy-photo img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 3px);
}



/* ============================================================
   九、交通資訊
   ============================================================ */
.transport-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 600px) {
  .transport-grid { grid-template-columns: 1fr; }
}
.transport-card {
  background: var(--c-card-bg);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px var(--c-shadow);
  border: 1px solid rgba(0,153,204,0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}
.transport-card.wide {
  grid-column: 1 / -1;
}
.transport-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,153,204,0.18);
}
.transport-icon { font-size: 2.2rem; margin-bottom: 12px; }
.transport-card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--c-blue-deep);
  margin-bottom: 10px;
}
.transport-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.bus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.bus-direction {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-blue-dark);
  margin-bottom: 8px;
}
.bus-routes {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-start;
}
.bus-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--c-blue-deep), var(--c-blue));
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
}

.map-link-card {
  background: linear-gradient(135deg, var(--c-blue-deep) 0%, var(--c-blue) 100%);
  border-radius: var(--radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  font-size: 0.95rem;
  flex-wrap: wrap;
}
.map-link-card span { font-size: 2rem; }
.map-link-card div { flex: 1; }
.map-link-card .btn-primary {
  background: var(--c-yellow);
  color: var(--c-blue-deep);
  box-shadow: none;
  white-space: nowrap;
}
.map-link-card .btn-primary:hover {
  background: #ffe066;
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: #0a1628;
  color: rgba(255,255,255,0.8);
  position: relative;
}
.footer-waves {
  line-height: 0;
  margin-bottom: -1px;
}
.footer-waves svg { width: 100%; display: block; }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 24px 32px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.footer-logo img {
  max-width: 220px;
  width: 100%;
}
.footer-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.88rem;
  flex-wrap: wrap;
}
.footer-label {
  color: var(--c-cyan);
  font-weight: 700;
  min-width: 80px;
}
.footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  :root { --section-py: 60px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  :root { --section-py: 48px; }
  .diy-info-cards { grid-template-columns: 1fr; }
  .checkin-items-row img { max-width: 100%; }
}

/* ============================================================
   Lightbox Modal
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.show {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}
.lightbox-close:hover {
  color: var(--c-yellow);
}
.map-container img {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.map-container img:hover {
  transform: scale(1.02);
}
