/* hotel page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #f7f9fc;
  color: #2d3748;
  line-height: 1.6;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}


.hotels-hero {
  width: 100%;
  height: 450px;
  position: relative;
  overflow: hidden;
}

.hero-resort-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* search*/
.filters-section {
  padding: 30px 0;
  background: white;
  border-bottom: 2px solid #f0f4f8;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.filters-container {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  flex: 1;
}

.filter-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #003580;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-group select,
.filter-group input {
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 1rem;
  background: white;
  transition: all 0.3s ease;
  color: #2d3748;
  font-weight: 500;
}

.filter-group select:hover,
.filter-group input:hover {
  border-color: #cbd5e0;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: #0071c2;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 113, 194, 0.12);
}

.filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 20px;
}

.filter-tag {
  padding: 11px 22px;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2d3748;
}

.filter-tag:hover {
  background: #f7fafc;
  border-color: #0071c2;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 113, 194, 0.15);
}

.filter-tag.active {
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
  border-color: #003580;
  box-shadow: 0 2px 12px rgba(0, 53, 128, 0.3);
}

.filter-tag.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.4);
}

.btn-search {
  padding: 13px 36px;
  background: linear-gradient(135deg, #0071c2 0%, #003580 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
}

.btn-search:hover {
  background: linear-gradient(135deg, #00609e 0%, #00224d 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 53, 128, 0.35);
}

.btn-search:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.3);
}


.hotels-grid-section {
  padding: 60px 0 100px;
  background: #f7f9fc;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
}

/* Hotels Grid */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

/*hotel card */
.hotel-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
}

.hotel-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 53, 128, 0.15);
  border-color: rgba(0, 113, 194, 0.2);
}

/* Hotel Image */
.hotel-image {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e0 100%);
}

.hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hotel-card:hover .hotel-image img {
  transform: scale(1.08);
}

/* Hotel Rating Badge on Image */
.hotel-rating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(0, 53, 128, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.hotel-rating-badge::before {
  content: '⭐';
  font-size: 0.9rem;
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #0071c2;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(0, 113, 194, 0.4);
  z-index: 2;
}

/* Wishlist Button */
.wishlist-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.wishlist-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn i {
  font-size: 1.1rem;
  color: #e74c3c;
}

.wishlist-btn.active i {
  font-weight: 900;
}

/* info */
.hotel-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hotel-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.hotel-location i {
  color: #0071c2;
  font-size: 0.85rem;
}

.hotel-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hotel-description {
  color: #718096;
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Hotel Rating */
.hotel-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.rating-badge {
  background: #0071c2;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

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

.rating-stars i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.rating-text {
  color: #718096;
  font-size: 0.85rem;
  margin-left: 4px;
}

/* Hotel Amenities */
.hotel-amenities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #4a5568;
  transition: all 0.2s ease;
  font-weight: 500;
}

.amenity:hover {
  background: #0071c2;
  border-color: #0071c2;
  transform: translateY(-1px);
}

.amenity i {
  color: #0071c2;
  font-size: 0.85rem;
}

/* Hotel Footer */
.hotel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  margin-top: auto;
  border-top: 2px solid #f0f4f8;
}

.hotel-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-label {
  font-size: 0.85rem;
  color: #718096;
  font-weight: 500;
}

.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #003580;
  line-height: 1;
}

.price-per-night {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

.btn-view-hotel {
  padding: 13px 26px;
  background: #0071c2;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
  white-space: nowrap;
}

.btn-view-hotel:hover {
  background: #0071c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.35);
}

.btn-view-hotel:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.3);
}

.btn-view-hotel i {
  transition: transform 0.3s ease;
}

.btn-view-hotel:hover i {
  transform: translateX(3px);
}


.hotel-category {
  margin-bottom: 60px;
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 16px;
  border-bottom: 3px solid #0071c2;
}

.category-header h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-header i {
  color: #0071c2;
  font-size: 1.8rem;
}

.btn-view-all {
  padding: 10px 20px;
  background: #edf2f7;
  color: #2d3748;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #0071c2;
  color: white;
}


.empty-state {
  text-align: center;
  padding: 100px 20px;
  background: white;
  border-radius: 16px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.empty-state i {
  font-size: 5rem;
  color: #cbd5e0;
  margin-bottom: 28px;
  opacity: 0.7;
}

.empty-state h3 {
  font-size: 1.85rem;
  color: #1a202c;
  margin-bottom: 14px;
  font-weight: 700;
}

.empty-state p {
  color: #718096;
  font-size: 1.1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.empty-state .btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #0071c2;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 53, 128, 0.2);
}

.empty-state .btn-primary:hover {
  background: #0071c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 53, 128, 0.35);
}
/* loading */
.loading-state {
  text-align: center;
  padding: 80px 20px;
}

.loading-state i {
  font-size: 3rem;
  color: #0071c2;
  margin-bottom: 16px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-state p {
  color: #718096;
  font-size: 1.1rem;
}

  /* responsive */
@media (max-width: 1200px) {
  .hotels-grid {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .hotels-hero h1 {
    font-size: 2.5rem;
  }
  
  .hotels-hero p {
    font-size: 1.1rem;
  }
  
  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group {
    min-width: 100%;
  }
  
  .hotels-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .hotel-footer {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  
  .btn-view-hotel {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hotels-hero {
    padding: 60px 20px 80px;
  }
  
  .hotels-hero h1 {
    font-size: 2rem;
  }
  
  .hotel-image {
    height: 220px;
  }
  
  .hotel-name {
    font-size: 1.2rem;
  }
  
  .price-amount {
    font-size: 1.5rem;
  }
}
