/* General Styles */
.homepage {
  padding: 20px 0;
}

.page-heading {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.filter-separator {
  border: 0;
  height: 1px;
  background-color: #eee;
  margin: 15px auto;
  max-width: 80%;
}

/* Filter Styles */
.filter-container {
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.filter-scroll {
  display: inline-block;
  padding: 0 15px;
}

.btn-filter {
  margin: 5px;
  padding: 8px 15px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
}

.btn-filter:hover {
  background: #eee;
}

.btn-filter.active {
  background: #333;
  color: #fff;
  border-color: #333;
}

/* Hotel Card Styles */
.hotel-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
  margin: 0 10px;
  width: auto;
  height: 450px;
  transition: all 0.3s;
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.hotel-card > img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.hotel-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.hotel-card p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-icon-small {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.hotel-desc {
  font-size: 13px;
  color: #666;
  padding: 0 10px;
  margin-top: 10px;
}

/* Room Card Styles */
.room-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
  padding: 15px;
  margin: 0 10px;
  transition: all 0.3s;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.room-image-wrapper {
  position: relative;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
}

.room-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.room-image-wrapper:hover img {
  transform: scale(1.05);
}

.bubble-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ff395e;
  color: white;
  padding: 6px 10px;
  border-radius: 8px 8px 8px 0;
  font-size: 13px;
  font-weight: bold;
  z-index: 10;
}

.room-type {
  color: #000;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
}

.room-type a {
  color: inherit;
  text-decoration: none;
}

.room-type a:hover {
  color: #ff395e;
}

.hotel-name {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.occupancy {
  color: #666;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Room Price Styles */
.room-price {
  margin: 10px 0;
  font-size: 14px;
  font-weight: bold;
}

.original-price {
  text-decoration: line-through;
  font-size: 12px;
  color: #ff0000; /* Merah untuk harga asli yang dicoret */
  display: block; /* Atas */
}

.discounted-price {
  color: #000; /* Hitam untuk harga diskon */
  display: block; /* Bawah */
  margin-top: 2px; /* Jarak diperpendek dari 5px menjadi 2px */
}

.regular-price {
  font-size: 14px;
  color: #333;
}

.no-price {
  color: #999;
  font-size: 14px;
}

.room-actions {
  margin-top: 15px;
}

.action-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-book-now {
    background-color: #ff395e;
    color: white;
    padding: 10px 6px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.btn-book-now:hover {
  background-color: #e03150;
  transform: translateY(-2px);
}

.btn-wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 10px;
  transition: all 0.3s;
  background-color: #25D366;
}

.btn-wa-icon:hover {
  background-color: #128C7E;
  transform: translateY(-2px);
}

.btn-wa-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

/* Swiper Styles */
.swiper {
  overflow: hidden;
  padding-bottom: 40px;
}

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

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-pagination {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #ccc;
  margin: 0 4px;
  opacity: 1;
  cursor: pointer;
}

.swiper-pagination-bullet-active {
  background: #333;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .page-heading {
    font-size: 18px;
  }
  
  .hotel-card, .room-card {
    width: 100%;
    max-width: 320px;
    margin: 0 auto 20px;
  }
  
  .room-actions {
    flex-direction: column;
  }
  
  .btn-book-now, .btn-wa-booking {
    width: 100%;
    margin: 5px 0;
  }
}

/* Tambahan CSS untuk fasilitas */
.hotel-facilities {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #eee;
}

.hotel-facilities h4 {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
}

.facility-list li {
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
}

.facility-list li i {
  margin-right: 5px;
  color: #4CAF50;
  font-size: 14px;
}

.info-icon-small {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}