/* Wonder Chengdu - 参考 japan-travel.cn 风格 */
:root {
  --green-bar: #2d5a3d;
  --green-bar-hover: #3d7a52;
  --red-box-bg: #c44;
  --red-box-text: #fff;
  --blue-box-bg: #3a6ea5;
  --blue-box-hover: #4a7eb5;
  --hero-bg: #1a3a2e;
  --text: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --page-bg: #fafafa;
}
#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: none; /* Hidden by default */
}

#backToTop:hover {
  background-color: #0056b3;
}

.main-card, .side-card {
  cursor: pointer;  /* 鼠标悬停时显示手形图标 */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--page-bg);
  line-height: 1.6;
}

/* ========== 白色索引栏 ========== */
.index-bar {
  background: #fff;
  padding: 0.95rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.nav-inner {
  font-size: 20px;
  /* max-width: 1200px; */
  /* margin: 0 auto; */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2rem;
  padding-right: 20%;
}
.tt {
  width: 100%;
  position: absolute;
  background: unset !important;
  z-index: 999;
  display: flex;
  justify-content: flex-end;
}
.t1{
  position: absolute;
  width: 70%;
  height: 50vw;
  top: 58vw;
  left: 0px;
}
.t2{
  position: absolute;
  width: 70%;
  height: 50vw;
  /* background-color: red; */
  top: 115vw;
  left: 0px;
}
.zz{
  position: absolute;
  display: flex;
  width: 100%;
  top: 25vw;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  color: #fff;
}
.zz p{
  font-weight: bold;
}
.start{
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 30px;
  border: 2px solid #fff;
}
.t3{
  position: absolute;
  width: 70%;
  height: 50vw;
  top: 170vw;
  left: 0px;
}
.t4{
  position: absolute;
  width: 70%;
  height: 50vw;
  top: 225vw;
  left: 0px;
}
.tt1 {
  margin: 0 !important;
}
.tt2{
 color: #fff !important;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover {
  color: var(--green-bar);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;
  background: #fff;
  min-width: 140px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--text);
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: #f0f0f0;
  color: var(--green-bar);
}

/* ========== Hero 蓝色主视觉 ========== */
.hero {
  position: relative;
  min-height: 420px;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a3a2e 0%, #2d5a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
}

.site-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

.site-slogan {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  margin: 0;
  opacity: 0.95;
}

/* ========== 四季区块 ========== */
.season-block {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.season-header.red-box {
  background: var(--red-box-bg);
  color: var(--red-box-text);
  padding: 1.5rem 2rem;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.season-title {
  margin: 0 0 0.25rem;
  font-size: 2rem;
}

.season-slogan {
  margin: 0;
  font-size: 1.1rem;
  opacity: 0.95;
}

.season-cards.blue-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.season-cards .card {
  background: var(--blue-box-bg);
  color: #fff;
  text-align: center;
  padding: 1.25rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.season-cards .card:hover {
  background: var(--blue-box-hover);
}

.season-cover {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.season-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.season-cover a {
  display: block;
}

/* ========== 内页通用 ========== */
.page-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--green-bar);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-title {
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.page-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cover-image {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 2rem;
  display: block;
}

.content-section h2 {
  font-size: 1.4rem;
  margin: 2rem 0 0.75rem;
  color: var(--text);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid var(--green-bar);
}

.content-section h3 {
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
}

.content-section p {
  margin: 0 0 1rem;
  color: var(--text);
}

.content-section ul {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}

.content-section li {
  margin-bottom: 0.35rem;
}

.content-section .figure-wrap {
  margin: 1.5rem 0;
}

.content-section .figure-wrap img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.other-guides {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.other-guides h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border: none;
  padding: 0;
}

.other-guides ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.other-guides li {
  margin-bottom: 0.5rem;
}

.other-guides a {
  color: var(--green-bar);
  text-decoration: none;
}

.other-guides a:hover {
  text-decoration: underline;
}

/* ========== Footer ========== */
.site-footer {
  background: #6b7280;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.site-footer p {
  margin: 0;
}

/* ========== Contact 页 ========== */
.contact-form-wrap {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-top: 1rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 1rem;
  font-family: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: var(--green-bar);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: var(--green-bar-hover);
}

/* ========== 轮播图样式 ========== */
.lb {
  width: 100%;
  margin-top: 2rem;
}

.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  position: relative;
  width: 100%;
  height: 600px;
}

.carousel-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-image.active {
  opacity: 1;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 60px;
  padding: 16px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 16px;
}

.carousel-next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: white;
}

/* ========== 季节网格布局 (新增加) ========== */
.box {
  width: 100%;
  margin: 20px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.season-row {
  display: flex;
  gap: 15px;
  width: 100%;
  height: 650px;
}

.main-card {
  flex: 6;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.main-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-card .overlay {
  position: absolute;
  top: 40px;
  left: 40px;
  color: #fff;
}

.main-card .title {
  font-size: 80px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 2px;
  /* 默认颜色，可根据不同季节覆盖 */
  color: #4a6741; 
}

.main-card .summer-text { color: #f2b44d; }
.main-card .autumn-text { color: #8e9eab; }
.main-card .winter-text { color: #87ceeb; }

.main-card .subtitle {
  font-size: 24px;
  margin: 10px 0 0;
  font-weight: 600;
  opacity: 0.9;
  color: inherit;
}

.side-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-card {
  flex: 1;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
  transition: background 0.3s;
}

.side-card:hover .side-label {
  background: rgba(0,0,0,0.2);
}

/* 移动端适配 */
@media (max-width: 1024px) {
  .season-row {
    height: 350px;
  }
  .main-card .title {
    font-size: 60px;
  }
}

@media (max-width: 768px) {
  .season-row {
    flex-direction: column;
    height: auto;
  }
  .main-card {
    height: 300px;
  }
  .side-container {
    flex-direction: row;
    height: 150px;
  }
  .main-card .title {
    font-size: 40px;
  }
}

@media (max-width: 640px) {
  .season-cards.blue-boxes {
    grid-template-columns: 1fr;
  }
  .nav-inner {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .carousel-slide {
    height: 300px;
  }

  .carousel-prev,
  .carousel-next {
    padding: 12px;
    font-size: 18px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }
}
