/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #4caf50;
  --secondary-color: #2e7d32;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: #ffffff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 按钮样式 */
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  padding: 10px 24px;
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* 导航栏 */
.navbar-wrapper {
  padding: 20px 20px 40px;
  background: #ffffff;
}

.navbar {
  max-width: 1280px;
  margin: 0 auto;
  background: #f4f6f8;
  border-radius: 20px;
  padding: 18px 30px;
  box-shadow: none;
}

.navbar.scrolled {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1280px;
  z-index: 1000;
  border-radius: 15px;
  padding: 12px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary-color);
}

.nav-menu i {
  font-size: 10px;
  margin-left: 5px;
}

/* 语言切换按钮 */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(76, 175, 80, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
}

.lang-option {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.lang-option:hover {
  color: var(--primary-color);
}

.lang-option.active {
  color: var(--primary-color);
  font-weight: 600;
}

.lang-divider {
  color: var(--text-light);
  font-size: 14px;
  opacity: 0.5;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  cursor: pointer;
  padding: 5px;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

/* 移动端菜单 */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-menu {
  list-style: none;
  padding: 80px 0 30px;
  margin: 0;
}

.mobile-nav-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-menu li a {
  display: block;
  padding: 18px 30px;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav-menu li a.active,
.mobile-nav-menu li a:hover {
  color: var(--primary-color);
  background: rgba(76, 175, 80, 0.05);
}

.mobile-lang-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 30px;
  border-bottom: none;
}

.mobile-lang-switch .lang-option {
  font-size: 15px;
  font-weight: 500;
}

/* 移动端遮罩 */
.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 英雄横幅 */
.hero-wrapper {
  padding: 10px 20px 40px;
  background: #ffffff;
}

.hero {
  max-width: 1280px;
  margin: 0 auto;
  height: 550px;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url("images/index/1.jpg") center/cover;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: background 0.5s ease-in-out;
}

.hero-content {
  max-width: 700px;
  padding: 0 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  line-height: 1.2;
}

.hero-content > p {
  font-size: 18px;
  margin-bottom: 35px;
  line-height: 1.6;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.search-box {
  background: var(--white);
  border-radius: 50px;
  padding: 8px;
  display: flex;
  align-items: center;
  max-width: 650px;
  margin: 0 auto 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 25px;
}

.search-field input {
  border: none;
  outline: none;
  font-size: 15px;
  width: 100%;
  color: var(--text-dark);
  padding: 10px 0;
}

.search-field input::placeholder {
  color: #999;
}

.search-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 14px 35px;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--secondary-color);
  transform: scale(1.02);
}

/* 英雄横幅按钮 */
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.hero-btn {
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
}

.hero-btn i {
  font-size: 14px;
}

.hero-btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

.hero-btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.hero-btn-secondary {
  background: var(--white);
  color: var(--primary-color);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn-action {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-action:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.btn-action-secondary {
  background: var(--white);
  color: var(--text-dark);
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-action-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.video-tour {
  position: absolute;
  bottom: 40px;
  left: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.play-btn {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.play-btn i {
  color: var(--primary-color);
  font-size: 16px;
  margin-left: 3px;
}

.play-btn:hover {
  transform: scale(1.1);
  background: var(--white);
}

.video-info {
  text-align: left;
}

.video-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.video-duration {
  font-size: 12px;
  opacity: 0.9;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-pagination {
  position: absolute;
  bottom: 40px;
  right: 50px;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--white);
  width: 10px;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-section .container {
  padding-left: 0;
  padding-right: 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
}

/* About Intro模块 */
.about-intro {
  background: #f4f6f8;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

.about-intro h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-intro p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.about-content h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.about-content > p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* About Features模块 */
.about-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
  background: #f4f6f8;
  border-radius: 20px;
  padding: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: #e8f5e9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary-color);
  font-size: 24px;
}

.feature-text h4 {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.feature-text p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.about-map {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  display: flex;
}

.about-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Highlights Section */
.highlights-section {
  padding: 80px 0;
  background: #ffffff;
}

.highlights-section .container {
  padding-left: 0;
  padding-right: 0;
}

.highlights-wrapper {
  background: #f4f6f8;
  border-radius: 30px;
  padding: 50px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-subtitle {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-description {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.highlight-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
  position: relative;
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.highlight-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.4;
}

.card-description {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.card-meta {
  color: var(--text-light);
  font-size: 14px;
}

.card-meta i {
  margin-right: 5px;
}

/* Featured Village Section */
.featured-village-section {
  padding: 80px 0;
}

.featured-village-section .container {
  padding-left: 0;
  padding-right: 0;
}

.featured-village-slider {
  height: 600px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("images/index/9.jpeg") center/cover;
}

.featured-slide {
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 50px;
}

/* 文字卡片 */
.featured-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 450px;
  margin-bottom: 20px;
}

.featured-label {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 10px;
}

.featured-card h2 {
  font-size: 48px;
  margin-bottom: 15px;
  color: var(--text-dark);
  line-height: 1.2;
}

.featured-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

.read-more i {
  font-size: 14px;
}

/* 轮播控制 */
.slider-controls {
  position: absolute;
  bottom: 0;
  left: 50px;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.slider-dots {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: center;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--white);
}

.slider-arrows {
  display: flex;
  gap: 0;
  position: relative;
  align-self: stretch;
}

.slider-arrow {
  width: 65px;
  height: 50px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--primary-color);
  position: relative;
}

.slider-arrow:hover {
  background: var(--primary-color);
  color: var(--white);
}

.slider-arrow-left {
  border-radius: 25px 0 0 0;
}

.slider-arrow-left::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e0e0e0;
}

.slider-arrow-right {
  border-radius: 0;
}

.slider-arrow i {
  font-size: 16px;
}

/* 旧样式保留（兼容） */
.lohbala-section {
  height: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.lohbala-image {
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url("https://images.unsplash.com/photo-1506905668547-2b2f5e8a0f4f?w=960&h=600&fit=crop")
      center/cover;
}

.lohbala-content {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px;
}

.lohbala-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.lohbala-content p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Attractions Section */
.attractions-section {
  padding: 80px 0;
}

.attractions-section .container {
  background: #f4f6f8;
  border-radius: 30px;
  padding: 50px;
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.attraction-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.attraction-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.attraction-image {
  position: relative;
  overflow: hidden;
}

.attraction-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}

.attraction-card:hover .attraction-image img {
  transform: scale(1.1);
}

.attraction-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.attraction-badge i {
  color: var(--primary-color);
}

.attraction-content {
  padding: 20px;
}

.attraction-content h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.attraction-content p {
  font-size: 14px;
  color: var(--text-light);
}

.view-all-btn {
  text-align: center;
}

/* Events Section */
.events-section {
  padding: 80px 0;
  background: #ffffff;
}

.events-section .container {
  background: #f4f6f8;
  border-radius: 30px;
  padding: 50px;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.event-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 30px;
  position: relative;
  transition: all 0.3s;
}

.event-card:hover {
  box-shadow: var(--shadow-lg);
}

.event-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  padding: 30px 0;
}

.event-badge {
  display: inline-block;
  background: #e3f2fd;
  color: #1976d2;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 15px;
}

.event-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.event-content > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
}

.event-details {
  display: flex;
  gap: 40px;
  margin-bottom: 20px;
}

.event-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.event-detail-item i {
  color: var(--primary-color);
  margin-top: 3px;
}

.detail-label {
  display: block;
  font-size: 12px;
  color: var(--text-light);
}

.detail-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.event-date {
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e8f5e9;
  min-width: 100px;
}

.date-day {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
}

.date-month {
  font-size: 16px;
  color: var(--text-light);
  text-transform: uppercase;
}

/* Diaries Section */
.diaries-section {
  padding: 80px 0;
}

.diaries-section .container {
  padding-left: 0;
  padding-right: 0;
}

.diaries-wrapper {
  background: #f4f6f8;
  border-radius: 30px;
  padding: 50px;
}

.diaries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

/* 第一排：2:1 */
.diaries-grid .diary-card:nth-child(1) {
  grid-column: 1 / 3;
}

.diaries-grid .diary-card:nth-child(2) {
  grid-column: 3;
}

/* 第二排：1:2 */
.diaries-grid .diary-card:nth-child(3) {
  grid-column: 1;
}

.diaries-grid .diary-card:nth-child(4) {
  grid-column: 2 / 4;
}

.diary-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
}

.diary-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.diary-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.diary-large {
  height: 400px;
}

.diary-small {
  height: 400px;
}

.diaries-footer {
  text-align: center;
  padding-top: 20px;
}

.diaries-footer p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 20px;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.follow-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.follow-btn i {
  font-size: 18px;
}

/* 旧样式保留 */
.diaries-text {
  text-align: center;
  margin: 40px 0;
}

.diaries-text p {
  font-size: 18px;
  color: var(--text-light);
  font-style: italic;
}

/* CTA Section */
.cta-section {
  height: 500px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/index/25.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-bottom: 40px;
}

.footer-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Quick Links */
.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 12px;
}

.quick-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
  font-size: 14px;
}

.quick-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Contact Info */
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
}

.contact-info i {
  margin-top: 2px;
  width: 16px;
  flex-shrink: 0;
}

.contact-info a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--primary-color);
}

/* Quick Message Form */
.quick-message-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 15px;
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff !important;
  font-family: inherit;
  transition: all 0.3s ease;
  font-size: 14px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.phone-error-message {
  display: block;
  color: #ff6b6b;
  margin-top: 5px;
  font-size: 12px;
}

/* 国际电话输入框样式 */
.iti {
  width: 100% !important;
  display: block;
}

.iti__flag-container {
  background: rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.iti__selected-flag {
  background: transparent;
  padding: 0 8px 0 12px;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus {
  background: rgba(255, 255, 255, 0.05);
}

.iti__arrow {
  border-top-color: rgba(255, 255, 255, 0.8);
}

/* 快速留言表单中的电话号码输入框文字颜色 */
.quick-message-form .iti__tel-input {
  color: #fff !important;
}

.quick-message-form .iti__tel-input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.quick-message-form .btn-primary {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.quick-message-form .btn-primary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.quick-message-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Footer Bottom */
.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .navbar,
  .hero {
    margin: 0 20px;
    max-width: calc(100% - 40px);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .highlights-wrapper {
    padding: 40px 30px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .attractions-section .container {
    padding: 40px 30px;
  }

  .attractions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-village-slider {
    height: 500px;
  }

  .featured-slide {
    padding: 40px;
  }

  .featured-card {
    max-width: 400px;
    padding: 30px;
  }

  .featured-card h2 {
    font-size: 36px;
  }

  .events-section .container {
    padding: 40px 30px;
  }

  .lohbala-section {
    grid-template-columns: 1fr;
  }

  .lohbala-content {
    padding: 60px 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* 导航栏和英雄横幅缩减边距 */
  .navbar-wrapper {
    padding: 20px 10px 40px;
  }

  .navbar {
    padding: 15px 20px;
    border-radius: 15px;
  }

  .navbar.scrolled {
    padding: 10px 20px;
    width: calc(100vw - 20px);
    left: 10px;
    right: auto;
    transform: none;
    top: 10px;
    box-sizing: border-box;
    margin: 0;
  }

  .hero-wrapper {
    padding: 10px 10px 40px;
  }

  .hero {
    height: 450px;
    border-radius: 20px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-content > p {
    font-size: 15px;
  }

  /* 移动端导航 */
  .nav-menu {
    display: none;
  }

  .lang-switch {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-overlay {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-action,
  .btn-action-secondary {
    width: 100%;
    justify-content: center;
  }

  .video-tour {
    left: 30px;
    bottom: 30px;
  }

  .hero-pagination {
    right: 30px;
    bottom: 30px;
  }

  /* 各个section添加左右边距 */
  .about-section,
  .highlights-section,
  .featured-village-section,
  .attractions-section,
  .events-section,
  .diaries-section {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* About Us 模块 */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-intro {
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
  }

  .about-intro h2 {
    font-size: 28px;
  }

  .about-features {
    padding: 25px;
    border-radius: 15px;
  }

  .about-map {
    height: 300px;
  }

  /* Highlights 模块 */
  .highlights-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .section-description {
    font-size: 14px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Attractions 模块 */
  .attractions-section .container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .attractions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Events 模块 */
  .events-section .container {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .event-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .event-card img {
    height: 200px;
  }

  .event-content {
    padding: 25px 20px;
  }

  .featured-village-slider {
    height: 450px;
    border-radius: 20px;
  }

  .featured-slide {
    padding: 30px 20px;
  }

  .featured-card {
    max-width: 100%;
    padding: 25px;
  }

  .featured-card h2 {
    font-size: 32px;
  }

  .slider-controls {
    left: 20px;
    right: 0;
    bottom: 0;
  }

  .slider-arrow {
    width: 55px;
    height: 45px;
  }

  .diaries-wrapper {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .diaries-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .diary-large,
  .diary-small {
    height: 250px;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 10px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-header h2,
  .about-content h2 {
    font-size: 32px;
  }
}

/* ==================== 新增页面样式 ==================== */

/* Page Header - 页面头部 */
.page-header {
  padding: 10px 20px 40px;
  background: #ffffff;
}

.page-header .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 40px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 18px;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Gallery Section - 导游风采页面 */
.gallery-section {
  padding: 40px 0 80px;
  background: #f8f9fa;
}

.gallery-section .container {
  padding-left: 0;
  padding-right: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  color: var(--white);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.gallery-overlay p {
  font-size: 14px;
  opacity: 0.9;
}

/* Travel Gallery Section - 旅游风采页面 */
.travel-gallery-section {
  padding: 40px 0 80px;
  background: #f8f9fa;
}

.travel-gallery-section .container {
  padding-left: 0;
  padding-right: 0;
}

.travel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.travel-gallery-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.travel-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.travel-image-wrapper {
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.travel-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.travel-gallery-item:hover .travel-image-wrapper img {
  transform: scale(1.05);
}

.travel-review {
  padding: 30px;
}

.review-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Video Gallery Section - 影片分享页面 */
.video-gallery-section {
  padding: 40px 0 80px;
  background: #f8f9fa;
}

.video-gallery-section .container {
  padding-left: 0;
  padding-right: 0;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-gallery-item {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.video-gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 133.33%; /* 3:4 aspect ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrapper video {
  background: #000;
  object-fit: contain;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.video-info p {
  font-size: 14px;
  color: var(--text-light);
}

/* Contact Section - 联络我们页面 */
.contact-section {
  padding: 40px 0 80px;
  background: #f8f9fa;
}

.contact-section .container {
  padding-left: 0;
  padding-right: 0;
}

.contact-content {
  margin-bottom: 60px;
}

.contact-info-main {
  text-align: center;
  margin-bottom: 50px;
}

.contact-section .section-title {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.contact-section .section-subtitle {
  font-size: 18px;
  color: var(--text-light);
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 24px;
}

.contact-details h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-details p {
  font-size: 16px;
  color: var(--text-light);
}

.contact-details a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--secondary-color);
}

.contact-details img {
  display: block;
  margin: 0 auto;
}

/* Contact Form */
.contact-form-section {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form {
  margin-top: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* About Section - 关于我们页面 */
.about-section:has(.about-content-page) {
  padding: 20px 0 80px;
}

.about-content-page {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 80px;
}

.about-text {
  margin-bottom: 60px;
  background: #f4f6f8;
  border-radius: 20px;
  padding: 40px;
}

.about-text .section-title {
  text-align: center;
  margin-bottom: 30px;
}

.about-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-dark);
}

.about-description p {
  margin-bottom: 20px;
}

.company-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.company-features .feature-item {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.company-features .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.company-features .feature-icon {
  width: 70px;
  height: 70px;
  background: rgba(76, 175, 80, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 28px;
  flex-shrink: 0;
}

.company-features .feature-item h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.company-features .feature-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* Company Info Section */
.company-info-section {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  margin: 50px 0;
}

.company-info-section h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.company-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.info-label {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.info-value {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
}

.info-value a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.info-value a:hover {
  color: var(--secondary-color);
}

/* License Section */
.license-section {
  margin-top: 50px;
}

.license-section h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 25px;
  text-align: center;
}

.license-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.license-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

.back-to-top.show {
  display: flex;
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.success-content {
  background: var(--white);
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 20px;
}

.success-content h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.success-content p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.success-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  background: var(--secondary-color);
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .page-header {
    padding: 20px 20px 40px;
  }

  .page-header .container {
    padding: 80px 20px 40px;
    border-radius: 20px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .page-header p {
    font-size: 16px;
  }

  /* 导游风采页面移动端一行显示一个卡片 */
  .gallery-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  /* 旅游风采页面移动端一行显示一个卡片 */
  .travel-gallery-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .travel-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .travel-image-wrapper {
    height: 250px;
  }

  .travel-review {
    padding: 20px;
  }

  /* 影片分享页面移动端 */
  .video-gallery-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  /* 联系我们页面移动端 */
  .contact-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-content {
    padding: 0;
  }

  .contact-items {
    grid-template-columns: 1fr;
    padding: 0;
  }

  /* 关于我们页面移动端 */
  .about-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-content-page {
    padding: 0 20px;
  }

  .contact-form-section {
    padding: 30px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .company-features {
    grid-template-columns: 1fr;
  }

  .company-features .feature-item {
    padding: 25px;
  }

  .company-features .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .company-info-grid {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}
