/* ===========================
   HOTEL CARD — VERTICAL STYLE
   =========================== */

.hotel-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 15px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hotel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* 🖼️ Image wrapper */
.hotel-img-wrapper {
  height: 220px; /* increase this value to make image taller */
  position: relative;
  overflow: hidden;
  border-top-left-radius: .5rem;
  border-top-right-radius: .5rem;
}

.hotel-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image proportions nicely */
  transition: transform 0.3s ease;
}

.hotel-img-wrapper:hover .hotel-img {
  transform: scale(1.05);
}

/* Badges */
.hotel-badge,
.rating-badge {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.hotel-badge {
  bottom: 10px;
  left: 10px;
}

.rating-badge {
  bottom: 10px;
  right: 10px;
}

/* 📝 Card Body */
.hotel-body {
  padding: 14px 16px;
}
.hotel-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hotel-location {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 10px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 🧰 Amenities */
.hotel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.hotel-features i {
  font-size: 1.15rem;
  color: #6c757d;
  margin-inline-end: 4px;
  transition: color 0.2s;
}
.hotel-features i:hover {
  color: #198754;
}

/* 💰 Price & Button */
.hotel-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #198754;
  line-height: 1.3;
}
.hotel-price .price-label {
  font-size: 0.8rem;
  color: #6c757d;
  display: block;
  margin-bottom: 2px;
}
.hotel-body .btn {
  font-size: 1.05rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  transition: background 0.3s ease;
}
.hotel-body .btn-success:hover {
  background: #157347;
}

/* 📱 Responsive - Mobile */
@media (max-width: 768px) {
  .hotel-card {
    margin-bottom: 10px;
  }
  .hotel-img-wrapper {
    aspect-ratio: 4/3;
    max-height: none;
  }
  .hotel-title {
    font-size: 1.7rem;
  }
  .hotel-price {
    font-size: 1.6rem;
  }
  .hotel-body .btn {
    font-size: 1.4rem;
    padding: 0.5rem 1.3rem;
  }
  .hotel-features i {
    font-size: 1.4rem;
  }
  .text-danger.text-small {
    font-size: 0.95rem;
  }
}
