:root {
  color-scheme: light dark;
  --bg: #0d1b2a;
  --bg-overlay: rgba(9, 20, 40, 0.84);
  --accent: #f4a261;
  --accent-strong: #f77f00;
  --text: #f8f9fa;
  --text-muted: rgba(248, 249, 250, 0.8);
  --card-bg: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.12);
  --shadow: 0 12px 30px rgba(13, 27, 42, 0.35);
  --badge-bg: rgba(244, 162, 97, 0.15);
  --badge-border: rgba(244, 162, 97, 0.35);
}

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

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: #10241e;
  background-image:
    linear-gradient(135deg, rgba(14, 33, 27, 0.58) 0%, rgba(36, 66, 53, 0.52) 55%, rgba(112, 63, 29, 0.5) 100%),
    url("assets/images/bg-zhangjiajie.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.07) 0, rgba(255, 255, 255, 0) 48%),
    radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0) 52%),
    radial-gradient(circle at 12% 78%, rgba(255, 255, 255, 0.04) 0, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, rgba(10, 28, 23, 0.48) 0%, rgba(24, 48, 38, 0.45) 55%, rgba(96, 58, 32, 0.48) 100%);
  z-index: -1;
}

a {
  color: inherit;
}

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(9, 20, 40, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
}

.lang-switcher {
  display: flex;
  gap: 0.4rem;
}

.lang-switch {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.lang-switch.active {
  background: linear-gradient(135deg, #f4a261, #f77f00);
  color: #0d1b2a;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

main {
  flex: 1;
}

.hero {
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.tour-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 2.2rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card h2 {
  font-size: 1.55rem;
  color: #ffd166;
  margin-bottom: 1.2rem;
}

.card h3 {
  font-size: 1.2rem;
  color: #ffd166;
  margin-top: 1.4rem;
  margin-bottom: 0.8rem;
}

.intro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  background: var(--badge-bg);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  border: 1px solid var(--badge-border);
}

.lang-content[hidden] {
  display: none !important;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.tour-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(244, 162, 97, 0.25);
  border-radius: 18px;
  padding: 1.5rem;
}

.tour-card h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: var(--accent-strong);
}

.tour-card a {
  align-self: flex-start;
  margin-top: auto;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffd166;
  border-bottom: 1px solid transparent;
}

.tour-card a:hover {
  border-color: rgba(255, 209, 102, 0.6);
}

.optional-addons .addon-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .optional-addons .addon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.optional-addons .addon {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.optional-addons figure {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
}

.optional-addons figure img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 14px;
}

.optional-addons figure figcaption {
  font-size: 0.9rem;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.optional-addons .addon-copy h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--accent-strong);
}

.optional-addons .addon-copy p {
  margin: 0.35rem 0;
}

.tour-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.tour-gallery figure {
  margin: 0;
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tour-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.tour-gallery figcaption {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  background: rgba(13, 27, 42, 0.55);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.1rem;
}

ul {
  margin-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-muted);
}

.must-know-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.must-know-item {
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.5rem;
}

.must-know-item h4 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.contact {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.actions a {
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.actions a.primary {
  background: linear-gradient(135deg, #f4a261, #f77f00);
  color: #0d1b2a;
  box-shadow: 0 14px 30px rgba(244, 162, 97, 0.45);
}

.actions a.secondary {
  border: 1px solid rgba(255, 209, 102, 0.65);
  color: #ffd166;
  background: rgba(255, 209, 102, 0.08);
}

.actions a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(247, 127, 0, 0.35);
}

footer {
  padding: 2rem 0 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.timeline {
  display: grid;
  gap: 1.3rem;
}

.timeline-step {
  background: rgba(13, 27, 42, 0.35);
  border-radius: 16px;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(244, 162, 97, 0.22);
}

.timeline-step h4 {
  color: var(--accent-strong);
  margin-bottom: 0.5rem;
}

.day-image {
  margin: 0 0 1.1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.day-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.day-image figcaption {
  padding: 0.6rem 0.9rem;
  background: rgba(8, 20, 18, 0.68);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.carousel-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.media-carousel {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}

.media-carousel figure {
  min-width: 230px;
  flex: 0 0 230px;
  scroll-snap-align: start;
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.media-carousel img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.media-carousel figcaption {
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(8, 20, 18, 0.6);
}

.image-placeholder {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.08) 10px,
    rgba(0, 0, 0, 0.08) 10px,
    rgba(0, 0, 0, 0.08) 20px
  );
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
}

.day-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.meta-item {
  background: rgba(24, 45, 40, 0.55);
  border: 1px solid rgba(244, 162, 97, 0.28);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 90px;
}

.meta-item .label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 209, 102, 0.75);
}

.meta-item .value {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.4;
}

.meta-item .value strong {
  font-weight: 700;
}

.timeline-step ul {
  margin-top: 0.4rem;
}

.list-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.list-inline span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.app-card {
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.app-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffd166;
}

.app-card a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.reserve-header h2 {
  margin-bottom: 0.5rem;
}

.reserve-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.plan-options {
  background: rgba(51, 112, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-tracks {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.plan-track {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(51, 112, 255, 0.35);
}

.plan-track:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.plan-number {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f4a261, #f77f00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0d1b2a;
}

.plan-number.alt {
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-label {
  display: block;
  font-weight: 700;
  color: #ffd166;
}

.plan-note {
  display: block;
  color: rgba(248, 249, 250, 0.85);
  font-size: 0.9rem;
}

.feishu-form-wrapper iframe {
  width: 100%;
  min-height: 650px;
  border: 0;
  border-radius: 1rem;
  background: rgba(13, 27, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feishu-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.feishu-note a {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .lang-switcher {
    margin-left: auto;
  }

  .hero {
    padding-top: 3.6rem;
  }

  .card {
    padding: 1.8rem;
  }

  .reserve-body {
    grid-template-columns: 1fr;
  }

  .feishu-form-wrapper iframe {
    min-height: 520px;
  }
}
