:root { --navy:#0F243D; --gold:#B59455; --gold2:#9a6f2f; --light:#F5F6F8; }

/* ===========================
   HOTEL CARD — VERTICAL STYLE
   =========================== */

.hotel-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #eef0f3;
  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;
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
}

.hotel-badge {
  bottom: 10px;
  left: 10px;
  background: var(--gold);
  color: var(--navy);
}

.rating-badge {
  bottom: 10px;
  right: 10px;
  background: rgba(15, 36, 61, 0.85);
}

/* 📝 Card Body */
.hotel-body {
  padding: 16px 18px;
}
.hotel-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hotel-location {
  font-size: 0.95rem;
  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.2rem;
  color: #6c757d;
  margin-inline-end: 4px;
  transition: color 0.2s;
}
.hotel-features i:hover {
  color: var(--gold2);
}

/* 💰 Price & Button */
.hotel-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}
.hotel-price .price-label {
  font-size: 0.85rem;
  color: #6c757d;
  display: block;
  margin-bottom: 2px;
}
.hotel-body .btn {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.hotel-body .btn-success {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.hotel-body .btn-success:hover {
  background: var(--gold2);
  border-color: var(--gold2);
  color: #fff;
}

/* 📱 Responsive - Mobile */
@media (max-width: 768px) {
  .hotel-card {
    margin-bottom: 14px;
  }
  .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;
  }
}