.hotel-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.hotel-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.hotel-card:hover {
  transform: perspective(1000px) translateY(-12px) rotateY(2deg);
  box-shadow: 0 20px 45px rgba(52, 124, 52, 0.22), 0 0 30px rgba(127, 215, 57, 0.12);
}

/* 流光扫过动画 */
.hotel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(52, 124, 52, 0.25) 50%, transparent 70%);
  z-index: 1;
  opacity: 0;
  transition: 0.4s;
}

.hotel-card:hover::before {
  animation: streamLight 1.2s ease;
}

@keyframes streamLight {
  0% {
    transform: translateX(-100%);
    opacity: 1;
  }

  100% {
    transform: translateX(100%);
    opacity: 1;
  }
}

.card-img-wrap {
  height: 220px;
  overflow: hidden;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.hotel-card:hover .card-img-wrap img {
  transform: scale(1.1) translate(4px, -4px);
  filter: brightness(1.05);
}


.card-body {
  padding: 20px;
  position: relative;
  z-index: 2;
}

.card-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hotel-name {
  font-size: 19px;
  font-weight: 600;
  transition: 0.3s;
}

.hotel-card:hover .hotel-name {
  color: #347c34;
}

.hotel-price {
  color: #ff4d4f;
  font-size: 22px;
  font-weight: 700;
}

.hotel-price small {
  font-size: 13px;
  font-weight: 400;
  color: #999;
}

.hotel-address {
  color: #777;
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: 0.3s;
}

.hotel-card:hover .hotel-address {
  color: #555;
}

.star-rate {
  color: #ffc107;
  margin-bottom: 14px;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.item-tag {
  padding: 3px 9px;
  background: #f0f7ff;
  color: #ff8c1a;
  border-radius: 6px;
  font-size: 12px;
  transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hotel-card:hover .item-tag {
  background: linear-gradient(90deg, #ff8c1a, #ffb020);
  color: #fff;
  transform: translateY(-2px);
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.book-btn {
  padding: 9px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8c1a, #ffb020);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.book-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: 0.4s;
}

.book-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(52,124,52, 0.22);
}

.book-btn:hover::after {
  left: 100%;
}

.score-text {
  color: #666;
  font-size: 14px;
  transition: 0.3s;
}

.hotel-card:hover .score-text {
  color: #333;
}


/*详情*/
.detail-wrap {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 36px;
  align-items: start;
}

/* 左侧信息 */
.left-info {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
  position: sticky;
  top: 30px;
}

.hotel-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hotel-sub {
  color: #666;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.star-score-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.stars {
  color: #ffc107;
  font-size: 18px;
}

.score-box {
  background: linear-gradient(135deg,#ff8c1a, #ffb020);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: bold;
}

.desc-text {
  color: #555;
  line-height: 1.7;
  margin-bottom: 24px;
}

.tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tag-item {
  padding: 4px 10px;
  background: #f0f7ff;
  color: #ff8c1a;
  border-radius: 6px;
  font-size: 13px;
}

/* 套餐模块 */
.package-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-left: 8px;
  border-left: 4px solid #ff8c1a;
}

.package-item {
  border: 1px solid #e8f0fa;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.package-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(52,124,52, 0.14);
  border-color: #ff8c1a;
}

.package-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.package-name a{
  font-weight: 600;
  font-size: 18px;
  transition: all 0.5s;
}
.package-item:hover .package-name a{
  color:#347c34;
}
.package-price {
  color: #ff4d4f;
  font-size: 20px;
  font-weight: 700;
}

.package-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.book-package-btn {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg,#ff8c1a, #ffb020);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.book-package-btn:hover {
  box-shadow: 0 8px 20px rgba(52,124,52, 0.22);
  transform: scale(1.02);
}

/* 右侧Swiper轮播容器 */
.right-swiper-box {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.swiper {
  width: 100%;
  height: 560px;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 完整Swiper自定义样式 ========== */
/* 分页指示器 */
.swiper-pagination {
  bottom: 18px !important;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.6;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ff8c1a;
  opacity: 1;
  transform: scale(1.2);
}

/* 左右箭头 */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.35);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-prev {
  left: 20px;
}

.swiper-button-next {
  right: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.75);
  transform: translateY(-50%) scale(1.08);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  color: #222;
  font-weight: bold;
}

.swiper-button-disabled {
  opacity: 0.25 !important;
  pointer-events: none;
}

/* 移动端适配 */
@media(max-width:1200px) {
  .detail-wrap {
            display: flex;
        flex-direction: column-reverse;
        gap: 20px;
  }
.right-swiper-box{width: 100%;}
  .hotel-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .left-info {
    position: static;
    width: calc(100% - 40px);
        padding: 20px;
  }
}

@media(max-width:1000px) {
  .hotel-list {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media(max-width:768px) {
  .hotel-title {
    font-size: 24px;}
  .container {
    padding: 20px 12px;
  }

  .hotel-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
  }

  .swiper {
    height: 320px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 14px;
  }
}