/* Hotels Grid Section Styles */
.hotels-section {
  padding: 60px 0;
}

.hotels-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 30px;
}

.hotels-title {
  font-size: 42px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 70px;
  text-align: center;
}

.hotels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}

.hotel-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hotel-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hotel-card:hover {
  cursor: pointer;
}

.hotel-image {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

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

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

.hotel-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #353535;
  background: #141118;
  padding: 1rem;
}

.hotel-name {
  font-size: 20px;
  line-height: 26px;
  color: #c39f6b;
  margin-bottom: 8px;
}

.hotel-location {
  font-size: 16px;
  line-height: 19px;
  color: #ffffff;
  margin-bottom: 12px;
}

.hotel-rating {
  display: flex;
  align-items: center;
  gap: 14px;
}

.star-rating {
  display: flex;
  gap: 4px;
}

.star {
  color: #e0e0e0;
  font-size: 18px;
}

.star.filled {
  color: #ffa500;
}

.star.half-filled {
  background: linear-gradient(90deg, #ffa500 50%, #e0e0e0 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hotel-visitors {
  font-size: 12px;
  color: #c39f6b;
}

/* List Layout (Reviews Page) */
.hotels-grid--list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hotels-grid--list .hotel-card {
  flex-direction: row;
  border: 1px solid #353535;
  background: #141118;
  overflow: hidden;
}

.hotels-grid--list .hotel-image {
  width: 300px;
  min-width: 300px;
  height: auto;
  min-height: 220px;
}

.hotels-grid--list .hotel-info {
  flex: 1;
  border: none;
  padding: 1.5rem 2rem;
  justify-content: center;
}

.hotels-grid--list .hotel-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.hotels-grid--list .hotel-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: #d1d1d1;
  margin-bottom: 12px;
}

.hotels-grid--list .hotel-excerpt p {
  margin: 0 0 10px;
}

.hotels-grid--list .hotel-rating {
  margin-top: auto;
}

/* Mobile Styles */
@media (max-width: 1023px) {
  .hotels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hotels-container {
    padding: 0 20px;
  }
  .hotels-section {
    padding: 40px 0;
  }
  .hotels-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hotels-title {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .hotels-grid--list .hotel-card {
    flex-direction: column;
  }

  .hotels-grid--list .hotel-image {
    width: 100%;
    min-width: unset;
    height: 200px;
  }

  .hotels-grid--list .hotel-info {
    padding: 1rem;
  }
}
