/* Hotels Page Styles */
/* ============================================ */

/* Preloader Styles (same as visa page) */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.preloader-inner {
  text-align: center;
}

.spinner {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto 20px;
}

.double-bounce1, .double-bounce2 {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #AD6C29;
  opacity: 0.6;
  position: absolute;
  top: 0;
  left: 0;
  animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
  animation-delay: -1.0s;
}

@keyframes sk-bounce {
  0%, 100% { transform: scale(0.0); }
  50% { transform: scale(1.0); }
}

.loading-text {
  font-size: 18px;
  color: #333;
  margin-top: 20px;
}

.preloader-logo img {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Hotels Hero Section with Carousel */
.hotels-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-top: 56px; /* Adjust for fixed navbar */
}

.hotels-hero .carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hotels-hero .carousel-item {
  height: 100%;
}

.hotels-hero .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.hotels-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

.hotels-search-box {
  position: relative;
  z-index: 3;
  padding: 40px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.hotels-search-box h1 {
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Button Styles with Custom Colors */
.btn-hotel {
  background-color: #AD6C29;
  color: white;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
}

.btn-hotel:hover {
  background-color: #E65C00;
  color: white;
  transform: translateY(-2px);
}

.btn-hotel-outline {
  border: 2px solid #AD6C29;
  color: #AD6C29;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 20px;
  border-radius: 5px;
}

.btn-hotel-outline:hover {
  background: #AD6C29;
  color: white;
}

/* Featured Hotels Section */
.featured-hotels {
  background-color: #f8f9fa;
}

.hotel-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.hotel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.hotel-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #AD6C29;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.hotel-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hotel-card:hover img {
  transform: scale(1.05);
}

.hotel-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hotel-features li {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
}

.price h4 {
  color: #AD6C29;
  font-weight: 700;
}

.price h4 small {
  font-size: 14px;
  color: #6c757d;
  font-weight: 400;
}

.rating {
  color: #ffc107;
  font-weight: 600;
}

/* Amenities Section */
.amenity-card {
  background: white;
  border-radius: 10px;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.amenity-icon {
  font-size: 2rem;
  color: #AD6C29;
}

/* Testimonials Section */
.testimonial-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid #AD6C29;
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 24px;
  color: #AD6C29;
  opacity: 0.5;
}

.testimonial-text::before {
  position: absolute;
  left: 0;
  top: -10px;
}

.testimonial-text::after {
  position: absolute;
  right: 0;
  bottom: -20px;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.1);
}

.whatsapp-icon {
  margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .hotels-hero {
    height: 500px;
  }
  
  .hotels-search-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .hotels-hero {
    height: 450px;
    margin-top: 56px;
  }
  
  .hotels-search-box {
    padding: 20px;
  }
  
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    font-size: 25px;
  }
}

@media (max-width: 576px) {
  .hotels-hero {
    height: 400px;
  }
  
  .hotels-search-box h1 {
    font-size: 24px;
  }
  
  .hotel-features {
    gap: 10px;
  }
  
  .hotel-features li {
    font-size: 12px;
  }
}