/* 
  Lumina Voyages - 奢华定制旅行社官网样式
  设计风格: 极简主义、大空间、高对比度、优雅排版
*/

:root {
  /* 颜色系统 - 鲜艳明快的活力浪漫粉系 */
  --primary: #4A3B3F; /* 优雅深褐红，用于主文字和深色强调 */
  --secondary: #FF8BA7; /* 鲜艳明快的活力浪漫粉 */
  --secondary-hover: #FF6B8B; /* 更深的粉色，用于 hover */
  --accent: #FFF0F3; /* 极浅的亮粉白，背景色 */
  --text-main: #5C4D51; /* 柔和的褐灰文字 */
  --text-light: #948488;
  --white: #FFFFFF;
  
  /* 字体排版 */
  --font-heading: 'Cinzel', serif; /* 高端古典衬线体 */
  --font-body: 'Montserrat', sans-serif; /* 现代无衬线体 */
  
  /* 间距与尺寸 */
  --nav-height: 80px;
  --section-padding: 100px 0;
  
  /* 动画 */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* 通用工具类 */
.container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.section-padding { padding: var(--section-padding); }
.bg-light { background-color: var(--accent); }

/* 字体排版 */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.2;
}

h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
}

h2.section-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  position: relative;
}

.section-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--secondary);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero .subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 400;
}

/* 按钮组件 */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
  border-radius: 40px; /* 增加圆角，显得更柔和 */
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 139, 167, 0.3);
}

.btn-primary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 139, 167, 0.4);
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--secondary);
}

.btn-outline-dark {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline-dark:hover {
  background-color: var(--secondary);
  color: var(--white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--secondary);
  text-decoration: none;
  font-family: var(--font-body);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.link-arrow i {
  margin-left: 10px;
  transition: var(--transition-fast);
}

.link-arrow:hover {
  color: var(--secondary-hover);
}

.link-arrow:hover i {
  transform: translateX(5px);
}

/* 导航栏 */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-bottom: none;
  box-shadow: 0 4px 20px rgba(255, 139, 167, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.logo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-wrap .nav-company {
  position: static;
  transform: none;
  font-size: 0.6rem;
  top: auto;
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.logo span {
  color: var(--secondary);
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--white);
  opacity: 0.85;
  margin-top: 2px;
}

.logo-wrap .nav-company {
  font-family: var(--font-body);
  font-size: 0.6rem;
  color: var(--white);
  opacity: 0.85;
  letter-spacing: 2px;
  white-space: nowrap;
}

.navbar.scrolled .logo-wrap .nav-company {
  color: var(--text-light);
}

.navbar.scrolled .logo small {
  color: var(--text-light);
}

.nav-links {
  display: flex;
  gap: 3rem;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: color var(--transition-fast);
  font-weight: 500;
}

.navbar.scrolled .nav-links a {
  color: var(--text-main);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--secondary);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.navbar.scrolled .menu-toggle {
  color: var(--primary);
}

.navbar.scrolled .btn-outline {
  border-color: var(--secondary);
  color: var(--secondary);
}

.navbar.scrolled .btn-outline:hover {
  background-color: var(--secondary);
  color: var(--white);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05); /* 为视差准备 */
}

/* 减轻遮罩，让画面更明亮，带一点粉色渐变 */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(74, 59, 63, 0.3) 0%, rgba(255, 139, 167, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-content h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
  z-index: 1;
  text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.scroll-down i {
  display: block;
  margin-top: 5px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-10px) translateX(-50%); }
  60% { transform: translateY(-5px) translateX(-50%); }
}

/* About 部分 */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 20px 0 20px 0; /* 增加女性化柔和的倒角 */
  box-shadow: 20px 20px 0 var(--accent);
}

/* 目的地部分 */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.dest-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 15px; /* 增加圆角，更加精致 */
  box-shadow: 0 15px 30px rgba(255, 139, 167, 0.08);
}

.dest-img {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.dest-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.dest-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to top, rgba(74, 59, 63, 0.85), transparent);
  transition: opacity var(--transition-fast);
}

.dest-info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2.5rem;
  width: 100%;
  z-index: 2;
  transform: translateY(20px);
  transition: transform var(--transition-slow);
}

.dest-info h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.dest-info p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.dest-card:hover .dest-img img {
  transform: scale(1.05);
}

.dest-card:hover .dest-info {
  transform: translateY(0);
}

.dest-card:hover .dest-info p {
  opacity: 1;
}

/* 体验服务部分 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  margin-top: 5rem;
}

.service-item {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 139, 167, 0.05);
  transition: var(--transition-fast);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 139, 167, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.service-item h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* CTA 部分 */
.cta-section {
  position: relative;
  padding: 120px 0;
  color: var(--primary);
  background-color: var(--accent); /* 明亮的粉白色背景 */
}

/* CTA移除深色遮罩，改为明亮浪漫风格 */
.cta-bg {
  display: none; /* 如果需要图片，可以再启用并改用粉色系图片，这里使用纯色更干净 */
}

.cta-content h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.cta-content p {
  color: var(--text-main);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

/* 页脚 */
.footer {
  background-color: var(--white); /* 页脚改为明亮 */
  color: var(--text-main);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255, 139, 167, 0.2);
}

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

.footer p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.footer-brand .logo small {
  color: var(--text-light);
}

.social-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: var(--secondary);
  background-color: var(--accent);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-size: 1.2rem;
}

.social-links a:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--accent);
  padding-top: 25px;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-bottom .icp-info {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.footer-bottom .icp-info a {
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom .icp-info a:hover {
  color: var(--secondary);
}

/* 弹窗 (Modal) 样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 59, 63, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  border-radius: 24px;
  width: 90%;
  max-width: 600px;
  padding: 40px;
  position: relative;
  transform: translateY(30px) scale(0.95);
  transition: all var(--transition-fast);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  border: 1px solid rgba(255, 139, 167, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition-fast);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  color: var(--secondary);
  background-color: var(--accent);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.modal-header p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.modal-body {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: var(--accent);
  border-radius: 16px;
  padding: 30px;
}

.contact-method {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-code-section .qr-image {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 15px rgba(255, 139, 167, 0.2);
}

.contact-method p {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

.contact-method span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.contact-divider {
  display: flex;
  align-items: center;
  margin: 0 20px;
  position: relative;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: rgba(255, 139, 167, 0.3);
  transform: translateX(-50%);
}

.contact-divider span {
  background-color: var(--accent);
  padding: 10px 0;
  color: var(--text-light);
  font-size: 0.9rem;
  z-index: 1;
}

.phone-section .phone-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
  background-color: var(--white);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(255, 139, 167, 0.15);
}

.phone-section .phone-number {
  font-size: 1.4rem;
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  margin: 10px 0 5px;
  transition: color var(--transition-fast);
}

.phone-section .phone-number:hover {
  color: var(--secondary-hover);
}

/* 滚动显示动画 (Scroll Reveal) */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* Hero 入场动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  h1 { font-size: 3.5rem; }
  h2.section-title { font-size: 2.5rem; }
  
  .about-grid { gap: 3rem; }
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  
  .nav-company { display: none; }
  
  .navbar .btn { display: none; }
  .menu-toggle { display: block; }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem 0;
    gap: 1.5rem;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.5s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  
  .nav-links a { color: var(--text-main); }
  .nav-links a:hover { color: var(--secondary); }
  
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .logo-wrap .nav-company { display: none; }
  
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  
  .destination-grid { grid-template-columns: 1fr; }
  .dest-img { height: 400px; }
  
  .services-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; }

  /* 移动端弹窗适配 */
  .modal-content { padding: 30px 20px; }
  .modal-body {
    flex-direction: column;
    gap: 20px;
  }
  .contact-divider {
    margin: 0;
  }
  .contact-divider::before {
    top: 50%; bottom: auto;
    left: 0; right: 0;
    width: 100%; height: 1px;
    transform: translateY(-50%);
  }

  .founder-quote { padding: 60px 0; }
  .founder-quote-content blockquote p { font-size: 1.2rem; }
  .founder-quote-author { flex-direction: column; }
}

/* 创始人说 */
.founder-quote {
  background-color: var(--white);
  padding: 100px 0;
}

.founder-quote-content {
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.founder-quote-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.3;
  margin-bottom: 24px;
}

.founder-quote-content blockquote p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 2rem;
}

.founder-quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.founder-quote-author .author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.founder-quote-author strong {
  display: block;
  font-size: 1.05rem;
  color: var(--primary);
}

.founder-quote-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}