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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* 导航样式 */
.nav {
  height: 50px;
  background: #fff;
  box-shadow: none;
  border-bottom: 1px solid #eee;
}

.container {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  margin-right: 60px;
}

.logo img {
  height: 30px;
}

.nav-menu {
  display: flex;
  list-style: none;
  height: 100%;
}

.nav-menu li {
  height: 100%;
  margin: 0 15px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 20px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.nav-menu a.active {
  color: #fff;
  background: #2196f3;
  border-radius: 15px;
}

/* 在原有样式基础上添加 */

.banner {
  height: 600px;
  background: #fff;
  padding: 80px 0;
}

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

.banner-content {
  width: 500px;
}

.banner-content .subtitle {
  font-size: 36px;
  color: #666;
  margin-bottom: 15px;
  font-weight: normal;
  line-height: 1.4;
}

.banner-content .title {
  font-size: 56px;
  color: #40a9ff;
  margin-bottom: 25px;
  line-height: 1.2;
}

.banner-content .desc {
  font-size: 16px;
  color: #999;
  line-height: 2;
  margin-bottom: 50px;
}

.banner-content .btn {
  display: inline-block;
  padding: 15px 45px;
  background: #40a9ff;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
}

.banner-content .btn:hover {
  background: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64,169,255,0.3);
}

.banner-image {
  position: relative;
  width: 640px;
  height: 360px;
  overflow: hidden;
}

.banner-image .slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image .slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.banner-image .slider img.active {
  opacity: 1;
}

.banner-image .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.banner-image .dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.banner-image .dots span.active {
  background: #fff;
}

/* 添加推荐区域样式 */
.recommend {
  padding: 60px 0;
  background: #fff;
}

.recommend .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.recommend-images {
  display: flex;
  gap: 20px;
}

.recommend-images img {
  width: 280px;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
  transition: all 0.3s ease;
  cursor: pointer;
}

.recommend-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.recommend-content {
  flex: 1;
  min-width: 300px;
}

.recommend-content .title {
  font-size: 32px;
  color: #333;
  margin-bottom: 10px;
}

.recommend-content .subtitle {
  font-size: 24px;
  color: #666;
  margin-bottom: 20px;
}

.recommend-content .desc {
  font-size: 14px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 30px;
}

.recommend-content .btn {
  display: inline-block;
  padding: 10px 30px;
  background: #40a9ff;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s;
}

.recommend-content .btn:hover {
  background: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64,169,255,0.3);
}

/* 修改热门旅游区域样式 */
.hot-tours {
  padding: 50px 0;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .title {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.section-header .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.tour-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.tour-item {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}

.tour-image {
  position: relative;
  height: 0;
  padding-bottom: 75%;
}

.tour-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-image .tour-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  font-size: 14px;
  color: #333;
  background: rgba(255,255,255,0.9);
}

.tour-info {
  padding: 15px;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tour-meta .type {
  font-size: 14px;
  color: #666;
}

.want-go {
  font-size: 14px;
  color: #2196f3;
  text-decoration: none;
}

.price {
  font-size: 16px;
  color: #ff4d4f;
  font-weight: bold;
}

/* 修改热门旅游区域的container样式 */
.hot-tours .container {
  display: block; /* 覆盖默认的flex布局 */
  /* 或使用: */
  /* display: flex;
  flex-direction: column; */
}

/* 添加查看更多按钮样式 */
.more-btn {
  text-align: center;
  margin-top: 40px;
}

.more-btn .btn {
  display: inline-block;
  padding: 12px 40px;
  background: #40a9ff;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s;
}

.more-btn .btn:hover {
  background: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64,169,255,0.3);
}

/* 添加组团旅游区域样式 */
.group-tours {
  padding: 60px 0;
  background: #fff;
}

.group-tours .container {
  display: block;
}

.group-tours .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.group-tours .title {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

.group-tours .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* 添加组团旅游内容样式 */
.group-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.group-image {
  width: 500px;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
}

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

.group-info {
  flex: 1;
}

.group-info .title {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  line-height: 1.4;
}

.group-info .date {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
}

.group-info .desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.group-info .btn {
  display: inline-block;
  padding: 10px 30px;
  background: #40a9ff;
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  border-radius: 20px;
  transition: all 0.3s;
}

.group-info .btn:hover {
  background: #2196f3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(64,169,255,0.3);
}

/* 添加底部区域样式 */
.footer {
  padding: 60px 0;
  background: #40a9ff;
  color: #fff;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-nav a {
  color: #fff;
  font-size: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-qr {
  display: flex;
  gap: 60px;
}

.qr-item {
  text-align: center;
}

.qr-item h4 {
  font-size: 16px;
  font-weight: normal;
  margin-bottom: 15px;
}

.qr-item img {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  background: #fff;
  padding: 8px;
}

/* 修改底部区域样式 */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
}

.footer-search {
  position: relative;
  width: 400px;
}

.footer-search input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 20px;
  border: none;
  border-radius: 20px;
  background: #fff;
  font-size: 14px;
  color: #333;
}

.footer-search input::placeholder {
  color: #999;
}

.footer-search .search-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

.footer-search .search-btn img {
  width: 100%;
  height: 100%;
}
} 