/* 全局重置和基础样式 */
:root {
  --primary-color: #1a73e8;
  --secondary-color: #34a853;
  --accent-color: #ea4335;
  --text-color: #333;
  --light-text: #666;
  --lighter-text: #999;
  --white: #fff;
  --light-bg: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 4px;
  --container-width: 1200px;
  --gold: #d4c087;
  --light-gold: #e9ddb4;
  --very-light-gold: #f5f0df;
  --cream: #fdfbf6;
  --beige: #f7f4ec;
  --light-grey: #eae8e4;
  --medium-grey: #a9a7a2;
  --dark-grey: #686663;
  --text-dark: #3c3c38;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

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

html {
  font-size: 62.5%; /* 10px = 1rem */
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--cream);
  overflow-x: hidden;
}

body.initial-load {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
  animation-delay: 0.5s;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* 通用组件 */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.6rem;
}

.btn.primary {
  background-color: var(--gold);
  color: var(--white);
}

.btn.primary:hover {
  background-color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn.secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--gold);
}

.btn.secondary:hover {
  background-color: var(--very-light-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 1.4rem;
  border-radius: var(--border-radius);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

/* 布局组件 */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1rem;
  width: 5rem;
  height: 3px;
  background-color: var(--gold);
  transform: translateX(-50%);
}

.section-header p {
  color: var(--light-text);
  max-width: 60rem;
  margin: 0 auto;
}

/* 页头导航 */
header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 1.5rem 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 1rem 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 5rem;
}

.logo img {
  height: 100%;
  object-fit: contain;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 3rem;
}

nav a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

nav a:hover, nav a.active {
  color: var(--gold);
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition);
}

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

.language-selector select {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: transparent;
  cursor: pointer;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2rem;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* 主页英雄区 */
.hero {
  height: 100vh;
  min-height: 60rem;
  background-color: var(--beige);
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-dark);
  padding: 2rem;
  margin-top: 8rem;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--cream));
}

.hero-content {
  max-width: 80rem;
}

.hero h1 {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: fadeIn 1s ease-out 0.5s forwards;
  opacity: 0;
}

.hero .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  animation: fadeInUp 1s ease-out 1s forwards;
  opacity: 0;
}

/* 特色区域 */
.features {
  padding: 8rem 0;
  background-color: var(--light-bg);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  gap: 4rem;
}

.feature {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  text-align: center;
  padding: 3rem;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.feature img {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  transition: var(--transition);
}

.feature:hover img {
  transform: scale(1.1);
}

.feature h2 {
  margin-bottom: 1.5rem;
}

.feature p {
  color: var(--light-text);
}

/* 目的地卡片 */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.destination-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  position: relative;
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.destination-card img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  transition: var(--transition);
}

.destination-card:hover img {
  transform: scale(1.1);
}

.destination-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  transition: var(--transition);
}

.destination-card:hover .destination-info {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

.destination-info h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.destination-info p {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  opacity: 0.9;
}

/* 服务卡片 */
.services {
  padding: 8rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.service-card {
  padding: 3rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
  background-color: var(--white);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.service-icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  background-color: rgba(26, 115, 232, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  background-color: rgba(26, 115, 232, 0.2);
}

.service-icon img {
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.service-card h3 {
  margin-bottom: 1.5rem;
}

.service-card p {
  color: var(--light-text);
}

/* 客户评价 */
.testimonials {
  padding: 8rem 0;
  background-color: var(--light-bg);
}

.testimonials-slider {
  max-width: 90rem;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.testimonial {
  background-color: var(--white);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 5px 15px var(--shadow-color);
  margin: 1rem;
  opacity: 0;
  transition: var(--transition);
  transform: translateX(100%);
}

.testimonial.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-color);
  line-height: 1.8;
}

.testimonial-content::before {
  content: '"';
  font-size: 6rem;
  color: rgba(26, 115, 232, 0.2);
  position: absolute;
  top: -3rem;
  left: -1rem;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.testimonial-author img {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--light-text);
  font-size: 1.4rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4rem;
  gap: 2rem;
}

.prev, .next {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--white);
  border: none;
  box-shadow: 0 2px 5px var(--shadow-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.prev:hover, .next:hover {
  background-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px var(--shadow-color);
}

.prev::before, .next::after {
  content: '';
  width: 1rem;
  height: 1rem;
  border-top: 2px solid var(--text-color);
  border-right: 2px solid var(--text-color);
  transition: var(--transition);
}

.prev::before {
  transform: rotate(-135deg);
}

.next::after {
  transform: rotate(45deg);
}

.prev:hover::before, .next:hover::after {
  border-color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 1rem;
}

.dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background-color: var(--light-bg);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--gold);
}

/* 电子报订阅 */
.newsletter {
  padding: 8rem 0;
  background-color: var(--cream);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  color: var(--text-dark);
}

.newsletter-content {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.newsletter p {
  margin-bottom: 3rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 50rem;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

/* 查看全部按钮 */
.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* 页脚样式 */
footer {
  background-color: var(--white);
  color: var(--text-dark);
  padding-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-logo {
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 4rem;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  color: var(--dark-grey);
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.footer-column h3 {
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 2px;
  background-color: var(--gold);
}

.footer-column ul li {
  margin-bottom: 1.2rem;
}

.footer-column a {
  color: #ccc;
}

.footer-column a:hover {
  color: var(--gold);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info i {
  font-size: 1.8rem;
  color: var(--gold);
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--gold);
  transform: translateY(-5px);
}

.social-icon i {
  font-size: 2rem;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 5rem;
}

.copyright {
  font-size: 1.4rem;
  color: #aaa;
}

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

.footer-bottom-links a {
  color: #aaa;
  font-size: 1.4rem;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* 动画 */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    padding: 0 3rem;
  }
  
  h1 {
    font-size: 3.6rem;
  }
  
  h2 {
    font-size: 2.8rem;
  }
  
  .hero h1 {
    font-size: 4.5rem;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 57%;
  }
  
  h1 {
    font-size: 3.2rem;
  }
  
  h2 {
    font-size: 2.6rem;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .features .container {
    grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
  
  header {
    padding: 1rem 0;
  }
  
  .logo img {
    max-width: 120px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 8rem 2rem 2rem;
    transition: var(--transition);
    z-index: 99;
  }
  
  nav ul.active {
    right: 0;
  }
  
  nav ul li {
    margin: 1.5rem 0;
    width: 100%;
    text-align: center;
  }
  
  nav ul li a {
    font-size: 1.8rem;
    padding: 1rem 0;
    display: block;
  }
  
  .discover-kansai {
    margin: 2rem 0;
  }
  
  .discover-kansai a {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.8rem;
  }
  
  .language-selector {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    margin: 0;
  }
  
  .language-selector select {
    background-color: transparent;
    border: none;
    font-size: 1.6rem;
    padding: 0.5rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23666666' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 3rem;
  }
  
  .hero {
    min-height: 50rem;
    margin-top: 8rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero p {
    font-size: 1.6rem;
  }
  
  .hero .cta-buttons {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .destinations-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2.4rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .testimonial {
    padding: 2rem;
  }
  
  .testimonial-author img {
    width: 4rem;
    height: 4rem;
  }
}

/* 网站加载动画 */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid var(--light-grey);
  border-top: 3px solid var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 添加图标字体 */
.icon-email::before, .icon-phone::before, .icon-address::before,
.icon-wechat::before, .icon-weibo::before, .icon-xiaohongshu::before, .icon-instagram::before {
  font-family: 'Material Icons';
  font-size: 2rem;
  vertical-align: middle;
  margin-right: 1rem;
}

.icon-email::before { content: '\e0be'; }
.icon-phone::before { content: '\e0cd'; }
.icon-address::before { content: '\e0c8'; }
.icon-wechat::before { content: '\e80d'; } /* 使用社交图标的替代字符 */
.icon-weibo::before { content: '\e80e'; }
.icon-xiaohongshu::before { content: '\e80f'; }
.icon-instagram::before { content: '\e80c'; } 