/* Room Section */
.room-section {
  padding: 80px 0;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.gallery-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
  left: 20px;
}

.gallery-nav.next {
  right: 20px;
}

.thumbnail-gallery {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
}

.thumbnail {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  border: 3px solid transparent;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--brand);
  transform: scale(1.05);
}

/* Room Info */
.room-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--brand);
}

.star-rating {
  color: var(--brand);
  margin-bottom: 20px;
}

.price-tag {
  font-size: 2.5rem;
  color: var(--dark-gray);
  font-weight: 700;
}

.price-tag small {
  font-size: 1rem;
  color: #666;
}

.room-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin: 30px 0;
}

.room-details p {
  margin: 10px 0;
  font-size: 1.1rem;
}

/* Reservation Card */
.reservation-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  top: 100px;
}

.reservation-card h3 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 700;
}

.form-control,
.form-select {
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
}

.btn-check-availability {
  width: 100%;
  background: white;
  color: var(--secondaryColor);
  border: 2px solid var(--secondaryColor);
  padding: 12px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-check-availability:hover {
  background: var(--brand);
  color: white;
}

/* Room Facilities */
.facilities-section {
  background: #f8f9fa;
  padding: 60px 0;
  margin-top: 50px;
}

.facilities-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.facility-item {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.facility-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: white;
  border: 3px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.facility-icon i {
  font-size: 1rem;
  color: var(--brand);
}

.facility-item p {
  font-size: 1rem;
  margin: 0;
  color: #333;
  font-weight: 400;
}

.other-rooms-section {
  background-color: #e8e8e8;
  border-radius: 10px;
  margin-top: 30px;
}

.section-title {
  margin-bottom: 20px;
  font-size: 1.8rem;
  margin-top: 30px;
  font-weight: 700;
  color: #333;
}

.room-card {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 10px;
}

.room-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.room-image {
  width: 120px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
}

.room-details {
  flex-grow: 1;
}

.room-name {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #555;
  margin-left: 20px;
}

.room-icon {
  font-size: 1.2rem;
  margin-right: 8px;
  color: var(--brand);
}

.room-price {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .room-card {
    flex-direction: column;
    text-align: center;
  }

  .room-image {
    margin-right: 0;
    margin-bottom: 15px;
    width: 100%;
    height: 100px;
  }

  .room-name {
    margin-top: 10px;
    padding: 0 10px;
    justify-content: center;
  }

  .carousel-container {
    margin-bottom: 30px;
  }

  .image-slider img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    object-position: center center !important;
    padding: 0px;
    border-radius: 4px;
  }
}

.carousel-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

/* Style the slider images */
.image-slider li {
  list-style: none;
}

.image-slider img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 4px;
}

/* Custom styling for controls */
.lSAction > a {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  color: white !important;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.lSPager.lSGallery li {
  border-radius: 4px;
  overflow: hidden;
}
