/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", "Noto Sans SC", sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f5f5f7;
  overflow-x: hidden;
}

/* iOS 液态玻璃效果 */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.glass-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* 容器 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1160px;
  z-index: 1000;
  border-radius: 16px;
  padding: 12px 30px;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.nav-logo a:hover {
  opacity: 0.8;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 16px;
  border-radius: 12px;
  position: relative;
}

.nav-menu a:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.3);
}

.nav-menu a.active {
  color: #000;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 1px rgba(255, 255, 255, 0.8),
    inset 0 -1px 1px rgba(0, 0, 0, 0.03);
}

.nav-menu a.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
}

.nav-actions {
  display: flex;
  align-items: center;
}

/* 移动端菜单按钮 */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
  color: #2c3e50;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.8);
}

.mobile-menu-toggle.active i:before {
  content: "\f00d";
}

/* 移动端菜单中的语言切换 */
.nav-menu-language {
  display: none;
}

/* 语言切换器 */
.language-switcher {
  position: relative;
}

.btn-language {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-language:hover {
  background: rgba(255, 255, 255, 0.8);
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  min-width: 120px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.language-switcher:hover .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}

.language-dropdown a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* 英雄区域 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.1)
  );
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 100px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 英雄区域底部统计 */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  transform: translateY(50%);
  z-index: 10;
}

/* 统计卡片 */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stat-card {
  padding: 28px 24px;
  border-radius: 16px;
  text-align: center;
  animation: fadeInUp 0.8s ease-out backwards;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.stat-card:nth-child(1) {
  animation-delay: 0.5s;
}
.stat-card:nth-child(2) {
  animation-delay: 0.6s;
}
.stat-card:nth-child(3) {
  animation-delay: 0.7s;
}
.stat-card:nth-child(4) {
  animation-delay: 0.8s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
  font-size: 24px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover .stat-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  letter-spacing: 1px;
}

.stat-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* 區塊樣式 */
.section-tourism {
  padding: 150px 0 100px 0;
}

.section-features,
.section-destinations,
.section-testimonial,
.section-memories {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-title.center {
  text-align: center;
}

.section-description {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
}

/* 旅游网格 */
.tourism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tourism-card {
  position: relative;
  height: 320px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.tourism-card:hover {
  transform: scale(1.02);
}

/* 第一行：2:1比例 */
.tourism-card.card-wide {
  grid-column: span 2;
}

.tourism-card.card-narrow {
  grid-column: span 1;
}

.tourism-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.4),
    transparent
  );
}

.card-location {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.card-overlay h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

/* 功能区域 */
.features-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.features-image {
  position: relative;
  height: 600px;
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 20px;
  border-radius: 12px;
}

.image-overlay p {
  color: #333;
  font-size: 14px;
  line-height: 1.6;
}

.features-list h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  color: #333;
}

.feature-text h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-text p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 目的地网格 */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.destination-card {
  position: relative;
  height: 400px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.destination-card:hover {
  transform: scale(1.05);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.destination-info h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.destination-info .price {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

/* 查看更多按钮 */
.btn-view-more {
  display: block;
  margin: 0 auto;
  padding: 14px 40px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-view-more:hover {
  background: #000;
  transform: scale(1.05);
}

/* 评价区域 */
.testimonial-wrapper {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
}

/* 左侧用户信息和切换按钮 */
.testimonial-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 用户信息容器 */
.testimonial-users {
  position: relative;
  min-height: 140px;
}

/* 用户信息 */
.testimonial-user {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-user.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.testimonial-user-info {
  flex: 1;
}

.testimonial-user-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #000;
}

.testimonial-role {
  font-size: 13px;
  color: #666;
}

/* 切换按钮 */
.testimonial-controls {
  display: flex;
  gap: 12px;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  color: #333;
  font-size: 16px;
}

.testimonial-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.testimonial-btn:active {
  transform: scale(0.95);
}

/* 右侧评价内容包装器 */
.testimonial-content-wrapper {
  position: relative;
  min-height: 200px;
}

/* 评价内容 */
.testimonial-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.testimonial-content.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 30px;
  font-size: 48px;
  color: rgba(0, 0, 0, 0.08);
}

.testimonial-text {
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* 回忆网格 */
.memories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.memory-card {
  height: 500px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.memory-card:hover {
  transform: scale(1.05);
}

.memory-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.memory-content {
  padding: 24px;
}

.memory-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
}

.memory-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 页脚 */
.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(--secondary-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(--secondary-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(--secondary-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: var(--secondary-color);
  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(--secondary-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);
}

.iti__country-list {
  background: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
}

.iti__country {
  padding: 8px 12px;
  color: #333;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: #f5f5f5;
  color: #333;
}

.iti__country-name,
.iti__dial-code {
  color: #333;
}

.iti__country.iti__active {
  background: #e3f2fd;
  color: #1976d2;
}

.iti__country.iti__active .iti__country-name,
.iti__country.iti__active .iti__dial-code {
  color: #1976d2;
}

.iti__divider {
  border-bottom: 1px solid #e0e0e0;
}

.btn-primary {
  width: 100%;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--secondary-color);
  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);
}

.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);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-loading {
  display: 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;
}

/* Success Modal */
.success-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.success-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  max-width: 400px;
  animation: scaleIn 0.3s ease;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #4caf50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 30px;
}

.success-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #333;
}

.success-content p {
  color: #666;
  margin-bottom: 25px;
}

.success-btn {
  padding: 12px 40px;
  background: #1a1a1a;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.success-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-content,
  .memories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar {
    width: 95%;
    padding: 10px 20px;
  }

  /* 隐藏桌面端语言切换 */
  .language-switcher.desktop-only {
    display: none;
  }

  /* 显示移动端菜单按钮 */
  .mobile-menu-toggle {
    display: flex;
  }

  /* 移动端菜单样式 */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    flex-direction: column;
    padding: 20px 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 998;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 16px 24px;
    border-radius: 0;
    color: #2c3e50;
    font-size: 16px;
    transition: background 0.3s;
  }

  .nav-menu a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  .nav-menu a.active {
    background: rgba(0, 0, 0, 0.08);
    border: none;
    box-shadow: none;
  }

  .nav-menu a.active::before {
    display: none;
  }

  /* 显示移动端菜单中的语言切换 */
  .nav-menu-language {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    padding-top: 8px;
  }

  .nav-menu-language .language-switcher {
    padding: 8px 24px;
  }

  .nav-menu-language .btn-language {
    width: 100%;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
  }

  .nav-menu-language .btn-language:hover {
    background: rgba(0, 0, 0, 0.1);
  }

  .nav-menu-language .language-dropdown {
    left: 24px;
    right: 24px;
    width: auto;
  }

  .hero-title {
    font-size: 36px;
  }

  /* 移动端hero-stats调整 */
  .hero-stats {
    position: absolute;
    bottom: 20px;
    transform: translateY(0);
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 20px;
  }

  .stat-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
  }

  .stat-icon i {
    font-size: 18px;
  }

  .stat-title {
    font-size: 13px;
  }

  .stat-desc {
    font-size: 11px;
  }

  .section-title {
    font-size: 32px;
  }

  .tourism-grid,
  .destinations-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .tourism-card.card-wide,
  .tourism-card.card-narrow {
    grid-column: span 1;
  }

  .testimonial-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonial-sidebar {
    order: 2;
  }

  .testimonial-content-wrapper {
    order: 1;
  }

  .testimonial-controls {
    justify-content: center;
  }

  .testimonial-user {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 选择文本样式 */
::selection {
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
}

/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  color: #2c3e50;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.95);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

/* ==================== 子页面通用样式 ==================== */

/* Page Header */
.page-header {
  color: #fff;
  padding: 140px 0 60px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* Gallery Section - 导游风采 */
.gallery-section {
  padding: 80px 0;
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Travel Gallery Section - 旅游风采 */
.travel-gallery-section {
  padding: 80px 0;
  background: #fff;
}

.travel-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.travel-gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.travel-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.travel-image-wrapper {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f5f5f5;
}

.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: 20px;
}

.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author .author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
}

/* Video Gallery Section - 影片分享 */
.video-gallery-section {
  padding: 80px 0;
  background: #fff;
}

.video-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.video-gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #000;
  position: relative;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Contact Section - 联系我们 */
.contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info-main .section-title {
  font-size: 42px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: #1a1a1a;
}

.contact-info-main .section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 60px;
}

.contact-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #1a1a1a;
}

.contact-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #333;
  font-size: 48px;
  margin-bottom: 15px;
}

.contact-icon i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-item:hover .contact-icon i {
  transform: scale(1.1);
}

.contact-item:hover .contact-icon {
  color: #1a1a1a;
}

.contact-details {
  flex: 1;
}

.contact-details h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.contact-details p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.contact-details a {
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #1a1a1a;
}

/* About Section - 关于我们 */
.about-section {
  padding: 80px 0;
  background: #fff;
}

.about-content-page {
  max-width: 900px;
  margin: 0 auto;
}

.about-text .section-title {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}

.about-description {
  margin-bottom: 50px;
}

.about-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
  text-align: justify;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.company-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

.company-features .feature-item {
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.company-features .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-features .feature-item .feature-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  font-size: 48px;
  margin-bottom: 15px;
}

.company-features .feature-item .feature-icon i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.company-features .feature-item:hover .feature-icon i {
  transform: scale(1.1);
}

.company-features .feature-item:hover .feature-icon {
  color: #1a1a1a;
}

.company-features .feature-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.company-features .feature-item p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

.license-section {
  margin-top: 60px;
}

.license-section h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #1a1a1a;
  text-align: center;
}

.license-container {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.license-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 子页面响应式设计 */
@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .travel-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .video-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 36px;
  }

  .page-header p {
    font-size: 16px;
  }

  .gallery-section,
  .travel-gallery-section,
  .video-gallery-section,
  .contact-section,
  .about-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .travel-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .travel-image-wrapper {
    height: 240px;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .video-wrapper {
    aspect-ratio: 3 / 4;
  }

  .contact-info-main .section-title {
    font-size: 32px;
  }

  .contact-items {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-item {
    padding: 25px;
  }

  .contact-icon {
    font-size: 40px;
  }

  .about-text .section-title {
    font-size: 28px;
  }

  .company-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .company-features .feature-item .feature-icon {
    font-size: 40px;
  }

  .license-section {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 28px;
  }

  .gallery-section,
  .travel-gallery-section,
  .video-gallery-section,
  .contact-section,
  .about-section {
    padding: 40px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .travel-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .travel-image-wrapper {
    height: 200px;
  }

  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-wrapper {
    aspect-ratio: 3 / 4;
  }
}
