/* 百度中国 - 旗舰版样式 */
:root {
  --primary: #c41230;
  --primary-dark: #9a0f24;
  --primary-light: #e82a38;
  --accent: #f5a623;
  --gold: #d4af37;
  --dark: #1a1a2e;
  --dark-secondary: #16213e;
  --text: #333;
  --text-light: #666;
  --bg: #fafbfc;
  --bg-gray: #f0f2f5;
  --white: #fff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

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

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

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled, .header-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-flag { font-size: 1.8rem; }

.logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-tag {
  padding: 2px 8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
}

.nav-desktop {
  display: flex;
  gap: 8px;
}

.nav-desktop a {
  padding: 10px 18px;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-desktop a:hover, .nav-desktop a.active {
  background: var(--primary);
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 16px;
  box-shadow: var(--shadow);
}

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

.mobile-menu a {
  padding: 14px;
  font-weight: 500;
  border-bottom: 1px solid var(--bg-gray);
}

/* ===== Hero Full ===== */
.hero-full {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #2a1a2a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></svg>');
  background-size: 30px 30px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(196,18,48,0.3) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(245,166,35,0.2) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 50%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-sub {
  display: block;
  font-size: 0.45em;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}

.hero-desc {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto 28px;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  overflow: hidden;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-search input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 1rem;
  background: transparent;
  outline: none;
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 28px;
  background: var(--primary);
  border: none;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn:hover { background: var(--primary-dark); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.8s backwards;
}

.tag-label {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

.tag {
  padding: 8px 16px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  color: var(--white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.tag:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.hero-stats {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 0 20px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* ===== 通用Section ===== */
.section {
  padding: 80px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.section-header.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title-group {
  flex: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.section-sub {
  color: var(--text-light);
  font-size: 1rem;
}

.more-link {
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.more-link:hover { color: var(--primary-dark); }

/* ===== 目的地网格 ===== */
.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.destination-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.destination-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.destination-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.destination-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.85rem;
  border-radius: 6px;
}

.destination-info {
  padding: 16px;
}

.destination-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.destination-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.destination-tags {
  display: flex;
  gap: 8px;
}

.destination-tags span {
  padding: 4px 10px;
  background: var(--bg-gray);
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ===== 景点网格 ===== */
.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-dark .section-sub {
  color: rgba(255,255,255,0.6);
}

.landmark-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.landmark-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.landmark-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.landmark-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
}

.landmark-region {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.landmark-overlay h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.landmark-overlay p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.video-play {
  margin-top: 10px;
  padding: 8px 16px;
  background: var(--primary);
  border: none;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.85rem;
  cursor: pointer;
}

/* ===== 美食网格 ===== */
.food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.food-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.food-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.food-card img {
  height: 160px;
  object-fit: cover;
}

.food-info {
  padding: 14px;
}

.food-region {
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: 4px;
  display: block;
}

.food-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

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

/* ===== 地区选择 ===== */
.section-gray {
  background: var(--bg-gray);
}

.region-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.region-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  background: var(--white);
  border-radius: 100px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.region-chip:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.region-chip span:first-child {
  font-size: 1.1rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-text {
  -webkit-text-fill-color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}

.footer-stats {
  color: var(--gold);
  font-size: 0.9rem;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links a {
  display: block;
  padding: 8px 0;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

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

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}

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

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

/* ===== 响应式 ===== */
@media (max-width: 1200px) {
  .destination-grid { grid-template-columns: repeat(2, 1fr); }
  .landmark-grid { grid-template-columns: repeat(2, 1fr); }
  .food-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
  
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  
  .hero-stats {
    gap: 30px;
  }
  .stat-num { font-size: 1.5rem; }
  
  .section { padding: 50px 0; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .destination-grid,
  .landmark-grid,
  .food-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    padding: 0 16px;
  }
  
  .hero-search {
    flex-direction: column;
    border-radius: var(--radius);
  }
  
  .search-btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 10px; }
  .logo-text { font-size: 1.2rem; }
  
  .hero-full { padding: 100px 0 60px; }
  .hero-badge { font-size: 0.8rem; }
  
  .hero-tags { gap: 8px; }
  .tag, .tag-label { font-size: 0.8rem; padding: 6px 12px; }
  
  .region-grid { gap: 8px; }
  .region-chip { padding: 10px 14px; font-size: 0.9rem; }
}