body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
  background-color: #eff8f0;
}
.danhsachphong-container {
  width: 100%;
  margin: 0 auto;
  padding-top: 100px;
}
.hero-content {
  position: relative;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 20px;
}
.hero-content .banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6);
}
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 300;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.main-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  gap: 30px;
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  height: fit-content;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 20px;
  box-sizing: border-box;
}

.sidebar h3 {
  font-size: 24px;
  color: #003c32;
  margin-bottom: 25px;
  font-weight: 600;
}

.filter-section {
  margin-bottom: 30px;
}

.clear-all {
  color: #cbb69d;
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
  margin-left: auto;
}

.clear-all:hover {
  color: #b8a589;
}

/* Price Range Slider */
.price-range {
  margin: 20px 0;
}

.price-inputs {
  display: none;
  justify-content: space-between;
  margin-bottom: 15px;
  gap: 10px;
}

.price-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  text-align: center;
}

.range-slider {
  position: relative;
  margin: 20px 0;
  height: 6px;
}
#minRange {
  pointer-events: none; /* Không cho phép tương tác */
}

#minRange::-webkit-slider-thumb {
  display: none; /* Ẩn thumb trên Chrome/Safari */
}

#minRange::-moz-range-thumb {
  display: none; /* Ẩn thumb trên Firefox */
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ddd;
  outline: none;
  position: absolute;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbb69d;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #cbb69d;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.price-display {
  text-align: center;
  font-weight: bold;
  color: #003c32;
  margin-top: 15px;
  padding-top: 15px; /* Thêm padding để tạo khoảng cách */
}

/* Star Rating Filter */
.rating-filter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rating-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rating-option:hover {
  background: #f8f8f8;
  padding-left: 8px;
  border-radius: 6px;
}

.rating-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rating-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #cbb69d;
}

.stars {
  display: flex;
  gap: 2px;
}

.star {
  color: #ffd700;
  font-size: 16px;
}

.rating-count {
  color: #666;
  font-size: 14px;
}

/* Room Content Area */
.room-content {
  flex: 1;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
}

.results-count {
  color: #666;
  font-size: 16px;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
}

.room-highlight-section {
  padding: 0;
}

.room-block {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 0 0 40px;
  align-items: center;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: white;
}

.room-block.reverse {
  flex-direction: row-reverse;
}

.room-info-box {
  width: 40%;
  height: 400px;
  background-color: #003c32;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.room-info-box h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600; /* Tăng độ đậm để tên phòng nổi bật hơn */
  line-height: 1.3; /* Đảm bảo khoảng cách dòng hợp lý */
}
.room-info-box h3 a {
  color: #fff; /* Đảm bảo màu của liên kết đồng bộ với h3 */
  text-decoration: none; /* Bỏ gạch chân mặc định của liên kết */
  transition: color 0.3s ease; /* Hiệu ứng chuyển màu mượt mà khi hover */
}

.room-info-box h3 a:hover {
  color: #cbb69d; /* Khi hover, đổi màu thành màu vàng nhạt để nổi bật */
  text-decoration: underline; /* Thêm gạch chân nhẹ khi hover */
}
.room-price {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0 20px;
  color: #cbb69d;
}

.room-price span {
  font-weight: normal;
  font-size: 16px;
  color: #f5f4f4;
}

.room-specs p {
  font-size: 14px;
  margin: 5px 0;
  color: #e3d4b4;
}

.room-info-box h4 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
}

.room-amenities {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
  font-size: 13px;
  color: #e3d4b4;
}

.room-amenities li {
  display: flex;
  align-items: center;
}

.room-amenities li i {
  margin-right: 6px;
  font-size: 14px;
  color: #cbb69d;
}

.btn-booking,
.btn-more {
  background-color: #cbb69d;
  color: #003c32;
  border: none;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.btn-booking:hover,
.btn-more:hover {
  background-color: #d4c4a8;
  transform: translateY(-2px);
}

/* Carousel Styles */
.room-image-box {
  width: 60%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

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

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 25px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #003c32;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: white;
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: white;
  transform: scale(1.2);
}

.carousel-counter {
  color: white;
  font-size: 14px;
  font-weight: bold;
}
.room-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.room-category label {
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.room-category input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #cbb69d;
}

.room-category label:hover {
  color: #003c32;
}
/* Responsive Styles */
@media (max-width: 1200px) {
  .main-container {
    padding: 15px;
    gap: 20px;
  }

  .room-info-box {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    position: static;
    margin-bottom: 30px;
  }

  .room-block,
  .room-block.reverse {
    flex-direction: column;
  }

  .room-info-box,
  .room-image-box {
    width: 100%;
    height: auto;
  }

  .room-info-box {
    padding: 25px;
  }

  .room-image-box {
    height: 350px;
  }

  .btn-booking {
    display: block;
    margin: 20px auto; /* Căn giữa nút ĐẶT PHÒNG */
  }
}

@media (max-width: 768px) {
  .danhsachphong-container{
    padding-top: 70px;
  }
  .hero {
    height: 250px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .sort-options {
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .room-amenities {
    grid-template-columns: 1fr;
  }

  .carousel-controls {
    width: 90%;
    justify-content: center;
    padding: 8px 15px;
  }

  .carousel-counter {
    display: none;
  }

  .room-block .room-image-box {
    order: 1;
  }

  .room-block .room-info-box {
    order: 2;
  }

  .room-block.reverse .room-image-box {
    order: 1;
  }

  .room-block.reverse .room-info-box {
    order: 2;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 200px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .breadcrumb {
    font-size: 14px;
  }

  .main-container {
    padding: 10px;
  }

  .room-image-box {
    height: 250px;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .room-info-box h3 {
    font-size: 24px;
  }

  .room-price {
    font-size: 20px;
  }

  .btn-booking,
  .btn-more {
    padding: 10px 20px;
  }

  .room-block,
  .room-block.reverse {
    margin-bottom: 30px;
  }

  .room-image-box {
    height: 220px;
  }

  .room-info-box {
    padding: 20px;
  }
}

@media (max-width: 400px) {
  .hero-content h1 {
    font-size: 24px;
  }

  .room-info-box {
    padding: 15px;
  }

  .room-info-box h3 {
    font-size: 20px;
  }

  .room-price {
    font-size: 18px;
  }

  .room-specs p {
    font-size: 13px;
  }

  .room-amenities {
    font-size: 12px;
  }

  .room-image-box {
    height: 200px;
  }
}

