/* ===== Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #faf8f5;
  --text: #3a3a3a;
  --accent: #b8a88a;
  --accent-dark: #8a7a5a;
  --muted: #999;
  --border: #e0dcd6;
  --shadow: rgba(0,0,0,0.1);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
  line-height: 1.9;
  font-size: 17px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== Navigation ===== */
.nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav-brand:hover { color: var(--accent-dark); }

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }

/* ===== Main Content ===== */
.main { flex: 1; }

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
  height: 75vh;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55);
}
.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-text .subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  font-weight: 400;
  opacity: 0.9;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

/* ===== Content ===== */
.content {
  max-width: 750px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

/* ===== Day Header ===== */
.day-header {
  margin: 50px 0 30px;
  text-align: center;
}
.day-header .date {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.day-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c2c2c;
  letter-spacing: 0.06em;
}

/* ===== Opening ===== */
.opening {
  font-size: 1.05rem;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
  font-style: italic;
  line-height: 2;
}

/* ===== Sections ===== */
.section { margin-bottom: 55px; }
.section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #4a4a4a;
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}
.section p {
  margin-bottom: 16px;
  text-align: justify;
  text-indent: 2em;
}

/* ===== Photos ===== */
.photo-wrap {
  margin: 28px 0;
  text-align: center;
}
.photo-wrap img {
  width: 100%;
  max-width: 700px;
  border-radius: 6px;
  box-shadow: 0 4px 24px var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.photo-wrap img:hover { transform: scale(1.01); }
.photo-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ===== Closing ===== */
.closing {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  line-height: 2;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: #bbb;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--border);
  background: #fff;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 999;
  cursor: zoom-out;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border-radius: 4px;
}

/* ===== Trip Card (Homepage) ===== */
.trip-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}
.trip-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.trip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow);
}
.trip-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.trip-card-body { padding: 20px; }
.trip-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.trip-card-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.trip-card-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* ===== Trip Index Page ===== */
.trip-index {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
.trip-index-header {
  text-align: center;
  margin-bottom: 50px;
}
.trip-index-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.trip-index-header .meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.day-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.day-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s;
}
.day-item:hover { transform: translateX(8px); }
.day-num {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-right: 16px;
  min-width: 50px;
}
.day-title { font-weight: 600; flex: 1; }
.day-arrow { color: var(--muted); }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .content { padding: 40px 16px 60px; }
  .section h3 { font-size: 1.05rem; }
  .hero { height: 55vh; }
  .trip-list { padding: 40px 16px; }
}
