/* Hotels Page Styles */
.page-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/image/hotels-hero.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 5%;
  text-align: center;
  width: 100%;
  overflow-x: hidden;
}

.page-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Search Section */
.search-section {
  padding: 40px 0;
  background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
  width: 100%;
  overflow-x: hidden;
}

.search-box {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.search-box h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.search-fields {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
  gap: 15px;
  align-items: end;
}

.input-group {
  display: flex;
  flex-direction: column;
}

.input-group label {
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.input-group label i {
  color: #ff6600;
}

.input-group input {
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #ff6600;
}

.guests-selector {
  position: relative;
}

.guests-dropdown {
  position: absolute;
  top: -300%;
  left: 0;
  width: 100%;
  background: white;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 15px;
  z-index: 10;
  display: none;
}

.guests-dropdown.show {
  display: block;
}

.guest-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

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

.counter-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.counter-btn:hover {
  background: #ff6600;
  color: white;
  border-color: #ff6600;
}

.counter-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.done-btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.search-btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-btn:hover {
  background: #e55a00;
}

/* Filters Section */
.filters-section {
  padding: 40px 0;
  background: #f8f9fa;
  width: 100%;
  overflow-x: hidden;
}

.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.filter-group h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.1rem;
}

.price-slider {
  padding: 10px 0;
}

.slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #ddd;
  outline: none;
  border-radius: 5px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff6600;
  cursor: pointer;
}

.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  color: #666;
  font-size: 0.9rem;
}

.current-price {
  margin-top: 10px;
  font-weight: 600;
  color: #ff6600;
}

.star-rating, .amenities {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.star-rating label, .amenities label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.stars {
  color: #ffc107;
}

.apply-filters {
  background: #ff6600;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: end;
}

.apply-filters:hover {
  background: #e55a00;
}

/* Hotels Grid */
.hotels-grid {
  padding: 60px 0;
  width: 100%;
  overflow-x: hidden;
}

.hotels-grid h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: flex-end;
}

.sort-options select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.hotels-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.hotel-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.hotel-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hotel-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6600;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.hotel-badge.popular {
  background: #e74c3c;
}

.hotel-badge.luxury {
  background: #9c27b0;
}

.wishlist-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.wishlist-btn:hover {
  background: #ff6600;
  color: white;
}

.wishlist-btn.active {
  background: #ff6600;
  color: white;
}

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

.hotel-content {
  padding: 20px;
}

.hotel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hotel-header h3 {
  font-size: 1.3rem;
  color: #333;
  margin: 0;
}

.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating-score {
  font-weight: 600;
  color: #333;
}

.location {
  color: #666;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location i {
  color: #ff6600;
}

.amenities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.amenities-list span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  color: #666;
}

.amenities-list i {
  color: #ff6600;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.current-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6600;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
}

.per-night {
  color: #666;
  font-size: 0.9rem;
}

.book-btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.book-btn:hover {
  background: #e55a00;
}

.load-more {
  text-align: center;
}

.load-more-btn {
  background: white;
  color: #ff6600;
  border: 2px solid #ff6600;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background: #ff6600;
  color: white;
}

/* Benefits Section */
.benefits-section {
  padding: 80px 0;
  background: #f8f9fa;
  width: 100%;
  overflow-x: hidden;
}

.benefits-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #333;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card i {
  font-size: 2.5rem;
  color: #ff6600;
  margin-bottom: 20px;
}

.benefit-card h3 {
  margin-bottom: 15px;
  color: #333;
}

.benefit-card p {
  color: #666;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .search-fields {
    grid-template-columns: 1fr 1fr;
  }
  
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }
  
  .search-fields {
    grid-template-columns: 1fr;
  }
  
  .filters {
    grid-template-columns: 1fr;
  }
  
  .hotels-container {
    grid-template-columns: 1fr;
  }
  
  .hotel-header {
    flex-direction: column;
    gap: 10px;
  }
  
  .rating {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 60px 5%;
  }
  
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .search-box {
    padding: 20px;
  }
  
  .price-section {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-header {
  padding: 30px 30px 20px;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  margin: 10px 0 5px;
  color: #333;
}

.modal-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.hotel-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.hotel-category {
  background: #9c27b0;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 5px;
}

.modal-body {
  padding: 20px 30px 30px;
}

.hotel-gallery {
  margin-bottom: 30px;
}

.main-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

.thumbnail-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.thumb {
  height: 80px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s;
}

.thumb:hover {
  transform: scale(1.05);
}

.hotel-description,
.hotel-reviews,
.hotel-amenities,
.room-categories {
  margin-bottom: 30px;
}

.hotel-description h3,
.hotel-reviews h3,
.hotel-amenities h3,
.room-categories h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.3rem;
}

.review {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  margin-bottom: 15px;
}

.review-source {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 5px;
}

.review-rating {
  color: #ff6600;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
}

.room-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 20px;
}

.room-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.room-img {
  height: 120px;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
}

.room-details h4 {
  margin: 0 0 10px;
  color: #333;
}

.room-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6600;
  margin: 10px 0;
}

.room-price span {
  font-size: 1rem;
  color: #666;
}

.select-room-btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.select-room-btn:hover {
  background: #e55a00;
}

/* Booking Modal */
.booking-modal {
  max-width: 600px;
}

.booking-hotel-info {
  padding: 0 30px;
  margin-bottom: 20px;
}

.booking-hotel-info h3 {
  margin: 0 0 5px;
  color: #333;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.guests-selection {
  margin-bottom: 20px;
}

.guests-selection h4 {
  margin-bottom: 15px;
  color: #333;
}

.children-ages {
  margin-top: 15px;
}

.age-field {
  margin-bottom: 10px;
}

.age-field label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.child-age {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
}

.price-summary {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.price-summary h4 {
  margin: 0 0 15px;
  color: #333;
}

.price-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-line.total {
  border-top: 1px solid #ddd;
  padding-top: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
}

.book-now-btn {
  background: #ff6600;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
  font-size: 1.1rem;
}

.book-now-btn:hover {
  background: #e55a00;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 1.2rem;
  grid-column: 1 / -1;
}

/* Responsive adjustments for modals */
@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    margin: 20px;
  }
  
  .room-card {
    grid-template-columns: 1fr;
  }
  
  .room-images {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .modal-body {
    padding: 15px;
  }
  
  .modal-header {
    padding: 20px 15px 15px;
  }
  
  .thumbnail-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .room-images {
    grid-template-columns: 1fr;
  }

  .modal-close{
    width: 30px;
    height: 30px;
  }
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/assets/image/') no-repeat center center;
  background-size: cover;
  color: white;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.cta-btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #e55a00;
}

/* Results counter */
.results-info {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px;
  grid-column: 1 / -1;
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }

  .tour-price {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .cta-section h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    padding: 60px 5%;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .tours-container {
    grid-template-columns: 1fr;
  }
}
