/* ============================================
   HEADER STYLES - 导航栏样式
   文件: src/components/Header.css
   用途: 顶部导航栏、菜单、语言切换按钮样式
   ============================================ */

/* 导航栏基础样式 - 黑色背景 + 10%透明度 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.5s ease;
  padding: 1rem 0;
  background: rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
  padding: 0.75rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 40px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  background: transparent;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  color: #ffffff;
  transition: color 0.5s ease;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.5s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #20B2AA;
  transition: width 0.5s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #20B2AA;
}

.header.scrolled .nav-link {
  color: #ffffff;
}

/* Turneo Style CTA Button */
.nav-cta {
  padding: 0.625rem 1.5rem;
  background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
  color: white;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.5s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #008B8B 0%, #006666 100%);
  box-shadow: 0 4px 15px rgba(32, 178, 170, 0.4);
}

/* Language Toggle Switch */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
}

.lang-toggle-btn {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.lang-toggle-btn.active {
  background: #20B2AA;
  color: white;
}

.lang-toggle-btn:hover:not(.active) {
  color: white;
}

/* Mobile Language Section */
.mobile-lang-section {
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
  margin-top: 0.5rem;
}

.mobile-lang-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  padding: 0 1rem;
}

.mobile-lang-toggle {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 1rem;
}

.mobile-lang-toggle-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

.mobile-lang-toggle-btn.active {
  background: #20B2AA;
  color: white;
}

.mobile-lang-toggle-btn:hover:not(.active) {
  color: #20B2AA;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
}

.mobile-menu.open {
  display: flex;
}

.mobile-nav-link {
  padding: 1rem;
  color: #222222;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.5s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(32, 178, 170, 0.1);
  color: #20B2AA;
}

.mobile-nav-cta {
  padding: 1rem;
  background-color: #20B2AA;
  background: #20B2AA;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .header-container {
    padding: 0 1rem;
  }
}

/* ============================================
   FOOTER STYLES - 页脚样式
   文件: src/components/Footer.css
   用途: 页脚区域、链接、社交媒体图标、版权信息样式
   ============================================ */

.footer {
  background-color: #354A5E;
  background: #354A5E;
  color: white;
  padding: 4rem 1rem 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-image {
  height: 36px;
  width: auto;
  -o-object-fit: contain;
     object-fit: contain;
  background: transparent;
}

.footer-logo-text {
  color: white;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.5s ease;
}

.social-link:hover {
  background-color: #20B2AA;
  background: #20B2AA;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: white;
  font-family: 'Readex Pro', sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.5s ease;
}

.footer-links a:hover {
  color: #20B2AA;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color 0.5s ease;
}

.footer-link-btn:hover {
  color: #20B2AA;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-contact li svg {
  color: #20B2AA;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #64748b;
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 2rem;
}

.footer-legal a {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.5s ease;
}

.footer-legal a:hover {
  color: #20B2AA;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: row;
    gap: 1rem;
    text-align: left;
    flex-wrap: wrap;
  }
  .footer-copyright {
    font-size: 0.8rem;
  }
  .footer-legal {
    gap: 1rem;
  }
  .footer-legal a {
    font-size: 0.8rem;
  }
}

/* ============================================
   APP STYLES - 应用全局样式
   文件: src/styles/App.css
   用途: 首页Hero、卡片、CTA按钮等全局组件样式
   ============================================ */

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Translation Indicator Animation */
@keyframes slideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

.main-content {
  flex: 1;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: white;
  opacity: 1;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
}

/* Turneo Style CTA Button */
.hero-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 2.5rem !important;
  margin-top: 9rem !important;
  background-color: #20B2AA !important;
  background: #20B2AA !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.5s ease !important;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05) !important;
}

.hero-cta:hover {
  transform: translateY(-2px) !important;
  background-color: #008B8B !important;
  background: #008B8B !important;
  box-shadow: 0 8px 30px rgba(32, 178, 170, 0.4) !important;
}

/* Section Styles */
.section {
  padding: 5rem 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #354A5E;
}

.section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Tour Cards - Turneo Style */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.tour-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.5s ease;
  cursor: pointer;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.tour-card-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #20B2AA;
  background: #20B2AA;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
}

.tour-card-content {
  padding: 1.5rem;
}

.tour-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #354A5E;
}

.tour-card-subtitle {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.tour-card-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #64748b;
}

.tour-card-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tour-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #20B2AA;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.tour-card-view-details {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #20B2AA;
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.5s ease;
}

.tour-card:hover .tour-card-view-details {
  gap: 0.5rem;
}

/* Features Section - Turneo Style */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-card {
  text-align: left;
  padding: 1.5rem;
  background: transparent;
  border-radius: 4px;
  box-shadow: none;
  transition: all 0.5s ease;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: rgba(32, 178, 170, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20B2AA;
  font-size: 1.25rem;
}

.feature-content {
  flex: 1;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #354A5E;
}

.feature-description {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* Testimonials - Turneo Style */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
}

.testimonial-name-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.testimonial-info h4 {
  font-weight: 600;
  color: #354A5E;
  margin: 0;
}

.testimonial-info p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.testimonial-rating-inline {
  display: flex;
  align-items: center;
  gap: 2px;
  color: #20B2AA;
}

.testimonial-rating {
  color: #20B2AA;
  margin-bottom: 1rem;
}

.testimonial-content {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
}

/* CTA Section - Turneo Style */
.cta-section {
  background-color: #354A5E;
  background: #354A5E;
  color: white;
  padding: 5rem 1rem;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 1rem 2.5rem !important;
  background-color: #20B2AA !important;
  background: #20B2AA !important;
  color: white !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: all 0.5s ease !important;
}

.cta-button:hover {
  transform: translateY(-2px) !important;
  background-color: #008B8B !important;
  background: #008B8B !important;
  box-shadow: 0 8px 30px rgba(32, 178, 170, 0.4) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .tour-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

