/* 大象导星心游 - 核心样式 */
/* 品牌色: 主色 #FFB800 (金色), 辅色 #1a2340 (深蓝), 强调 #FF6B35 (活力橙) */
/* 移动端优先设计 */

:root {
  --primary: #FFD700;
  --primary-dark: #E6C200;
  --secondary: #1a2340;
  --accent: #FFA500;
  --bg-light: #F8F9FA;
  --text-dark: #1a1a2e;
  --text-gray: #6c757d;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== 导航栏 - 移动端优化 ===== */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1rem;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.logo-text span {
  color: #FFD700;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-dark);
}

/* ===== Hero 区域 ===== */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d3a5f 100%);
  color: var(--white);
  padding: 2.5rem 1rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(90deg, var(--white) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.hero-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255,255,255,0.15);
  padding: 0.4rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}

/* ===== 筛选栏 ===== */
.filter-bar {
  background: var(--white);
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 60px;
  z-index: 100;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 500;
  color: var(--text-gray);
  font-size: 0.85rem;
}

.filter-btn {
  padding: 0.4rem 0.75rem;
  border: 1px solid #dee2e6;
  background: var(--white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.8rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* ===== 产品卡片网格 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--primary);
  border-radius: 2px;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.tour-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.tour-card:active {
  transform: scale(0.98);
}

.tour-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* 即将出发 - 橙色高亮 */
.tour-badge.soon {
  background: #ff6b35;
  animation: pulse 2s infinite;
}

/* 已结束 - 灰色 */
.tour-badge.past {
  background: #adb5bd;
}

/* 脉冲动画 */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* 往期行程卡片样式 */
.tour-card.past-tour {
  opacity: 0.7;
}

.tour-card.past-tour .tour-image::after {
  content: '往期行程';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.tour-content {
  padding: 1rem;
}

.tour-meta {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-gray);
  flex-wrap: wrap;
}

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

.tour-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
  color: var(--text-dark);
}

.tour-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tour-highlight {
  background: var(--bg-light);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* ===== 详情页 - 移动端优先 ===== */
.tour-detail {
  background: var(--bg-light);
  min-height: 100vh;
}

/* 详情页头部 - 移动端自适应 */
.detail-hero {
  position: relative;
  background: var(--secondary);
}

.detail-hero-image {
  width: 100%;
  height: auto;
  max-height: 55vh;
  object-fit: cover;
  display: block;
}

/* 图片下方信息区 */
.detail-hero-content {
  background: var(--secondary);
  padding: 1.25rem 1rem;
}

.detail-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.detail-tag {
  background: rgba(255,184,0,0.2);
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.detail-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.detail-meta {
  display: flex;
  gap: 1rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.detail-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.detail-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.detail-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

/* 一句话总结 */
.summary-quote {
  font-size: 1rem;
  color: var(--text-gray);
  font-style: italic;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  line-height: 1.6;
}

/* 行程亮点 */
.highlights-list {
  list-style: none;
}

.highlights-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.highlights-list li:last-child {
  border-bottom: none;
}

.highlights-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* 每日行程卡片 */
.day-card {
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.day-card:last-child {
  margin-bottom: 0;
}

.day-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* 修复序号变形问题 - 使用flex固定尺寸 */
.day-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.day-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  padding-top: 0.25rem;
}

.day-description {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.day-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.day-highlight {
  background: var(--white);
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-gray);
}

/* 费用说明 */
.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-box {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.pricing-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pricing-box.included h4 {
  color: #28a745;
}

.pricing-box.excluded h4 {
  color: var(--accent);
}

.pricing-box ul {
  list-style: none;
}

.pricing-box li {
  padding: 0.4rem 0;
  padding-left: 1rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-gray);
}

.pricing-box li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.pricing-note {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #fff3cd;
  border-radius: var(--radius-sm);
  color: #856404;
  font-size: 0.85rem;
}

/* 行程详情图 - 长图阅读体验 */
.gallery-section {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}

.gallery-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gallery-hint {
  color: var(--text-gray);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* 长图画廊 - 垂直排列，完整显示每张图 */
.gallery-long {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-long img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

/* ===== 底部导航 ===== */
.bottom-nav {
  background: var(--white);
  border-top: 1px solid #e9ecef;
  padding: 0.75rem 1rem;
  position: sticky;
  bottom: 0;
  z-index: 100;
}

.bottom-nav-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--text-gray);
  font-size: 0.7rem;
  transition: color 0.3s;
}

.bottom-nav-item.active,
.bottom-nav-item:hover {
  color: var(--primary);
}

.bottom-nav-icon {
  font-size: 1.25rem;
}

/* ===== 页脚 ===== */
.footer {
  background: var(--secondary);
  color: var(--white);
  padding: 2rem 1rem;
  text-align: center;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-logo span {
  color: #FFD700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
}

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

.footer p {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
}

/* ===== 平板适配 ===== */
@media (min-width: 640px) {
  .hero {
    padding: 3rem 1.5rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .detail-title {
    font-size: 1.5rem;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== 桌面端适配 ===== */
@media (min-width: 1024px) {
  .navbar-container {
    padding: 1rem 2rem;
  }
  
  .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .nav-links {
    gap: 2rem;
  }
  
  .nav-links a {
    font-size: 1rem;
  }
  
  .hero {
    padding: 4rem 2rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.25rem;
  }
  
  .container {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .tour-image {
    height: 200px;
  }
  
  .detail-hero-image {
    max-height: 65vh;
  }
  
  .detail-hero-content {
    padding: 2rem;
  }
  
  .detail-title {
    font-size: 2rem;
  }
  
  .detail-content {
    padding: 2rem;
  }
  
  .detail-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .detail-section h2 {
    font-size: 1.25rem;
  }
  
  .day-card {
    padding: 1.25rem;
  }
}

/* ===== 移动端导航适配 (< 480px) ===== */
@media (max-width: 480px) {
  .navbar-container {
    padding: 0.75rem 1rem;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .nav-links {
    gap: 0.75rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
    padding: 0.25rem 0;
  }
}

/* ===== 超小屏幕导航适配 (< 360px) ===== */
@media (max-width: 360px) {
  .nav-links {
    gap: 0.5rem;
  }
  
  .nav-links a {
    font-size: 0.75rem;
  }
}
/ * 
 
 C a c h e 
 
 b u s t 
 
 * / 
 
 