/*
 * 样式表为高端旅游平台提供简约而优雅的外观。
 * 采用现代设计元素和响应式布局，确保在不同设备上拥有良好体验。
 */

/* 通用设置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f7f7f7;
}

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

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

p {
  margin-bottom: 1rem;
}

/* 导航栏 */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

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

.nav-links a {
  color: #fff;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fdd835;
}

/* 英雄头图 */
.hero {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: #fff;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #ddd;
}

/* 搜索表单 */
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.search-form select,
.search-form input[type="date"] {
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  min-width: 150px;
}

.search-form select:disabled {
  background-color: #eee;
  color: #888;
}

.search-form button {
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #fdd835;
  color: #333;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-form button:hover {
  background-color: #fbc02d;
}

/* 目的地 section */
.destinations-section {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #555;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.destination-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-6px);
}

.destination-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.destination-card .card-body {
  padding: 1rem;
  text-align: left;
}

.destination-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.destination-card p {
  font-size: 0.9rem;
  color: #666;
}

.destination-card video {
  width: 100%;
  height: auto;
  margin-top: 0.5rem;
  border-radius: 4px;
}

/* 计划 section */
.plan-section {
  padding: 3rem 2rem;
  background-color: #f4f4f4;
}

.plan-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

#plan-content {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.plan-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.plan-details img {
  width: 100%;
  border-radius: 6px;
}

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

.itinerary li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

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

.hidden {
  display: none;
}

/* 页脚 */
.site-footer {
  padding: 2rem;
  text-align: center;
  background-color: #222;
  color: #bbb;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }
  .nav-links {
    gap: 1rem;
  }
}