/* 城市列表页面专用样式 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* 通用样式 */
body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #f5f7fa;
  color: #333;
}

a {
  transition: all 0.3s ease;
}

.warp {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 头部样式增强 */
.single {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  height: 220px;
  padding: 60px 0;
  margin-bottom: 30px;
}

.single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

.single .warp {
  position: relative;
  z-index: 2;
}

.single h1 a {
  font-size: 40px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 700;
}

.single p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  letter-spacing: 5px;
  margin-top: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 内容区域样式 */
.content {
  background-color: #f5f7fa;
  padding: 30px 0 50px;
}

/* 热门城市区域 */
.hot-city {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.hot-cityr {
  color: #333;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 500;
}

.hot-cityl span {
  display: inline-block;
  font-size: 18px;
  color: #e74c3c;
  font-weight: 600;
  margin-right: 15px;
}

.hot-cityl a {
  display: inline-block;
  padding: 6px 16px;
  margin: 5px;
  border-radius: 20px;
  background-color: #f5f7fa;
  color: #333;
  font-size: 14px;
  transition: all 0.3s ease;
}

.hot-cityl a:hover {
  background-color: #e74c3c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(231, 76, 60, 0.2);
}

/* 城市列表样式优化 */
.city-list-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.city-list {
  padding: 15px 0;
  border-bottom: 1px dashed #eee;
}

.city-list:last-child {
  border-bottom: none;
}

.city-list .zimu {
  float: left;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-right: 20px;
  box-shadow: 0 4px 8px rgba(231, 76, 60, 0.3);
}

.city-list .zimu span {
  display: block;
}

.city-list .city-lista {
  float: left;
  width: calc(100% - 70px);
}

.city-list .city-lista ul li {
  float: left;
  margin: 5px 10px 5px 0;
  position: relative;
}

.city-list .city-lista ul li a {
  display: block;
  padding: 6px 15px;
  color: #555;
  font-size: 14px;
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

.city-list .city-lista ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 4px;
  z-index: -1;
  transition: all 0.3s ease;
}

.city-list .city-lista ul li a:hover {
  color: #e74c3c;
  transform: translateY(-2px);
}

.city-list .city-lista ul li a:hover::before {
  height: 100%;
}

/* 侧边导航样式美化 */
.a1w {
  width: 40px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 15px;
  z-index: 100;
}

.b1 {
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -20px;
  margin-top: -270px;
  width: 40px;
  height: 540px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.tab-hd {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tab-hd li {
  margin: 4px 0;
}

.tab-hd li a {
  display: block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  font-size: 14px;
  color: #555;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.tab-hd li.active a {
  background-color: #e74c3c;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 6px rgba(231, 76, 60, 0.3);
}

.tab-hd li a:hover {
  background-color: #f5f7fa;
  color: #e74c3c;
}

/* 媒体查询优化 */
@media screen and (min-width: 768px) {
  .single {
    height: 260px;
    padding: 80px 0;
  }
  
  .single h1 a {
    font-size: 48px;
  }
  
  .single p {
    font-size: 18px;
    letter-spacing: 8px;
  }
  
  .hot-city {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hot-cityr {
    margin-bottom: 0;
    font-size: 20px;
  }
  
  .hot-cityl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .city-list .zimu {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
  }
  
  .city-list .city-lista {
    width: calc(100% - 80px);
    padding-top: 5px;
  }
  
  .city-list .city-lista ul li a {
    font-size: 15px;
  }
  
  .a1w {
    right: 20px;
  }
}

@media screen and (min-width: 996px) {
  .single {
    height: 300px;
  }
  
  .single h1 a {
    font-size: 56px;
  }
  
  .single p {
    font-size: 20px;
    letter-spacing: 10px;
  }
  
  .hot-cityl a {
    font-size: 15px;
    padding: 8px 20px;
  }
  
  .city-list-box {
    padding: 40px;
  }
  
  .city-list {
    padding: 20px 0;
  }
  
  .city-list .city-lista ul li a {
    font-size: 16px;
    padding: 8px 18px;
  }
}

/* 底部样式美化 */
.footer {
  background-color: #2c3e50 !important;
  color: #ecf0f1;
  padding: 50px 0 100px;
}

.footer-single {
  background: #fff !important;
  color: #333;
}

.footer-link a {
  color: #95a5a6;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.footer-link a:hover {
  color: #ecf0f1;
}

.footer-info, .copyright {
  color: #95a5a6;
  line-height: 1.8;
}

.footer.footer-single .footer-info, 
.footer.footer-single .copyright,
.footer.footer-single .footer-link a {
  color: #777;
}

.footer-icon ul li {
  margin-right: 20px;
}

.footer-icon ul li a img {
  border-radius: 10px;
  transition: all 0.3s ease;
}

.footer-icon ul li a img:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 右侧导航美化 */
.right_nav {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  position: fixed;
  text-align: center;
  z-index: 999;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.right_nav li {
  width: 60px;
  height: 60px;
  background: #fff;
  padding: 10px 0;
  transition: all 0.3s ease;
}

.right_nav li:hover {
  background: #f8f9fa;
}

.right_nav li:first-child {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.right_nav li:first-child .iconBox-tit {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.right_nav li p {
  font-size: 12px;
  color: #777;
  margin-top: 5px;
}

.right_nav li .hideBox {
  right: 70px;
}

.right_nav li .hideBox .hideBox-tel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.right_nav li .hideBox .hideBox-tel p {
  padding: 8px 0;
  text-align: left;
}

/* 返回顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #e74c3c;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  z-index: 1000;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 10px rgba(231, 76, 60, 0.3);
  transition: all 0.3s ease;
}

.back-to-top i {
  font-size: 24px;
  font-style: normal;
}

.back-to-top:hover {
  background: #c0392b;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(231, 76, 60, 0.4);
}

/* 点击动画效果 */
.hot-cityl a.clicked {
  transform: scale(0.95);
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .back-to-top {
    width: 40px;
    height: 40px;
    line-height: 40px;
    right: 20px;
    bottom: 20px;
  }
  
  .back-to-top i {
    font-size: 20px;
  }
} 