/* General Reset and Base Styles */
body,
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
/* Navigation Bar Styles */
.nav-bar {
  background-color: #0a0a0a;
  padding: 5px 15px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #fff;
  font-size: 14px; /* Decrease text size */
  padding: 5px 10px; /* Reduce padding */
}

.logo-img {
  border-radius: 8px;
  width: 150px; /* Adjust size */
  height: auto; /* Maintain aspect ratio */
}

.nav-links a:hover {
  color: #00bfa5;
  font-weight: bold;
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
/* Hide icons by default */
.nav-icon {
  display: none;
  margin-right: 10px;
  font-size: 18px;
}

/* Show icons when the menu is active */
.nav-links.active .nav-icon {
  display: inline-block;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #00bfa5;
  margin: 5px 0;
  transition: transform 0.3s ease-in-out;
  border-radius: 8px;
}

/* Responsive Navigation Menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #0a0a0a;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  .logo-container {
    text-align: left; /* Ensures the container aligns left */
  }

  .logo-img {
    margin-left: -30px;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }
}

/* Intro Section */
.intro {
  padding: 150px 20px;
  background-color: #f9f9f9;
  text-align: center;
  background-image: url(../images/hotelb.jpg);
  background-size: cover;
  background-position: center;
}

.intro h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #050505;
}

.intro p {
  font-size: 1.5rem;
  color: #0d0d0d;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
/* For tablets and smaller screens */
@media (max-width: 1024px) {
  .intro {
    padding: 120px 20px;
  }

  .intro h1 {
    font-size: 2.5rem;
  }

  .intro p {
    font-size: 1.3rem;
    max-width: 500px;
  }
}

/* For mobile phones */
@media (max-width: 768px) {
  .intro {
    padding: 150px 20px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .intro p {
    font-size: 1.1rem;
    max-width: 400px;
  }
}

/* For very small mobile phones */
@media (max-width: 480px) {
  .intro {
    padding: 120px 10px;
  }

  .intro h1 {
    font-size: 1.8rem;
  }

  .intro p {
    font-size: 1rem;
    max-width: 90%; /* Ensure the paragraph takes most of the width */
  }
}
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  border-radius: 30%;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}
/* Scroll Up Button Styles */
#scrollUpBtn {
  position: fixed;
  bottom: 80px;
  right: 15px;
  background-color: #00bfa5; /* Button color */
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 30%;
  font-size: 24px;
  cursor: pointer;
  display: none; /* Initially hidden */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#scrollUpBtn:hover {
  background-color: #008c73; /* Darker color on hover */
}

input[type="checkbox"]:checked + .switch:before {
  transform: translateX(20px);
}
#hotels-list {
  padding: 30px;
  background-color: #f9f9f9;
}

#hotels-list h1 {
  font-size: 1.55rem;
  margin-bottom: 10px;
  text-align: center;
}

#hotels-list p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
  text-align: center;
}
.search-and-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 0px auto;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  margin-top: 20px;
  background-image: url(images/hotelb.jpg);
  background-size: cover;
  background-position: center;
}

.search-container {
  width: 100%;
  max-width: 600px; /* Increase the max width to make it larger */
  margin: 0 auto; /* Center the input box */
  padding: 10px;
}

#search {
  width: 100%;
  padding: 15px; /* Increase padding for a larger input box */
  font-size: 15px; /* Increase font size */
  border: 1px solid #ccc; /* Slightly thicker border for better visibility */
  border-radius: 5px;
  margin-top: 20px;
  box-sizing: border-box; /* Ensures padding and border don't affect the width */
}

#search:focus {
  border-color: #00bfa5; /* Change border color on focus to highlight */
  outline: none;
}

.filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allow wrapping of elements for better spacing */
  justify-content: center;
}
@media (max-width: 768px) {
  .filters {
    flex-direction: column; /* Stack inputs vertically on smaller screens */
    align-items: stretch; /* Make inputs full width */
  }

  .filters select,
  .filters input[type="text"],
  .filters input[type="date"] {
    width: 100%; /* Full-width inputs */
  }
}

label {
  font-weight: bold;
  margin-bottom: 5px;
  display: block;
  text-align: left;
  width: 100%;
}

input[type="text"],
input[type="date"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 5px;
}

button {
  display: inline-block;
  margin: 15px;
  background-color: #00bfa5;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

button:hover {
  background: #00796b;
}

/* Grid Layout for Hotels */
.hotels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
  margin: 10px 0;
  margin-top: 40px;
  background-color: rgb(236, 240, 241);
}

/* Hotel Card Styling */
.hotel-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}
/* Smooth Filter Animation */
.hotel-card {
  transition: all 0.4s ease-in-out;
  opacity: 1;
  transform: scale(1);
}

.hotel-card.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hotel Image Styling */
.hotel-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Hotel Information Section */
.hotel-info {
  padding: 15px;
  font-family: "Arial", sans-serif;
  color: #333;
  justify-content: center; /* Centers horizontally */
  text-align: center;
}

.hotel-info h3 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #333;
  margin-left: 50px;
  justify-content: center;
  text-align: center;
}

.hotel-info p {
  margin: 5px 0;
  font-size: 1rem;
  line-height: 1.4;
  align-content: center;
  justify-content: center;
}

.hotel-price {
  font-size: 16px;
  color: #27ae60;
  font-weight: bold;
}

.hotel-price i {
  color: #ff9800; /* Orange tag icon */
}

.price-note {
  font-size: 12px;
  color: #777;
}

.hotel-availability {
  font-size: 16px;
  font-weight: bold;
}

.hotel-availability .availability {
  color: green;
  font-weight: bold;
}

/* Change color if hotel is unavailable */
.hotel-availability .availability.unavailable {
  color: red;
}

.star-rating {
  margin: 10px 0;
}

.star {
  font-size: 18px;
  color: gold; /* Gold color for stars */
}

/* Adjustments for tablets */
@media (max-width: 768px) {
  .hotels-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }
  .hotel-card img {
    height: 300px;
  }

  .hotel-card {
    padding: 10px;
  }

  .hotel-info h3 {
    font-size: 1rem; /* Smaller text */
    text-align: center;
  }
}

/* Adjustments for mobile phones */
@media (max-width: 480px) {
  .hotels-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 10px;
  }

  .hotel-info h3 {
    font-size: 0.9rem; /* Smaller text */
  }

  .hotel-info p {
    font-size: 0.85rem; /* Adjust paragraph size */
  }
}

/* Button Styling */
.hotel-info .btn {
  display: inline-block;
  margin: 15px;
  background-color: #00bfa5;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.hotel-info .btn:hover {
  background-color: #00796b;
}

/* Map Styling */
#map {
  margin: 20px 0;
}

#hotel-map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
  justify-content: center;
  align-items: center; /* Center vertically */
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 0px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center; /* Align content inside the modal */
}
.close {
  color: #aaa;
  float: right;
  font-size: 30px;
  font-weight: bold;
  margin-right: 10px;
}
.amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 10px;
}

.amenity {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity i {
  margin-right: 8px;
  color: #007bff; /* Blue color for icons */
  font-size: 18px;
}

.amenity:hover {
  transform: scale(1.05);
  box-shadow: 3px 3px 12px rgba(0, 0, 0, 0.2);
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-images {
  width: 200px;
  height: auto;
  cursor: pointer;
  margin: 10px;
  border-radius: 5px;
  transition: transform 0.2s ease;
  margin-left: 20px;
  margin-top: 20px;
}

.modal-images:hover {
  transform: scale(1.1);
}

/* Close button */
#closeButton {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: transparent;
  border: none;
}
/* Ensure Modal Background is Fully Transparent */
.enlarge-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay */
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Remove Any White Background */
.enlarge-modal .modal-content {
  background: none !important; /* Fully transparent */
  border: none !important; /* Remove any borders */
  box-shadow: none !important; /* No box shadow */
  padding: 0 !important;
}

/* Enlarged Image Styling */
#enlargedImage {
  max-width: 80vw;
  max-height: 80vh;
  display: block;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease-in-out;
  background: transparent; /* <-- Make sure this is set */
}

/* Ensure No White Space */
.enlarge-modal img {
  display: block;
  margin: auto;
  background: none !important;
}

/* Close Button */
.enlarge-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.enlarge-close:hover {
  background: rgba(255, 255, 255, 0.3);
  color: black;
}

/* Footer Styles */
footer {
  background-color: #0a0a0a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

footer a {
  color: #00bfa5;
  text-decoration: underline;
  margin-top: 10px;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}
.social-media {
  text-align: center;
  margin-top: 20px;
}

.social-media a {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  margin: 0 10px;
  text-align: center;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-media a:hover {
  background-color: #00bfa5; /* Change to your brand color */
  color: #fff;
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .social-media a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 1.2rem;
    margin: 0 5px;
  }
}
.pagination {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.pagination button {
  padding: 10px 18px;
  margin: 0 10px;
  background-color: #00bfa5;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pagination button:hover {
  background-color: #008f7a;
  transform: scale(1.05);
}

.pagination button:active {
  transform: scale(0.95);
}

.pagination button:disabled {
  background-color: #ddd;
  color: #888;
  cursor: not-allowed;
  transform: none;
}

/* Filter Section */
.filter-section {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  padding: 20px 15px;
  background-color: #f7f7f7;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* Input and Select Styling */
.filter-section input,
.filter-section select {
  padding: 10px 15px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: 0.3s ease-in-out;
}

/* Input Focus Effect */
.filter-section input:focus,
.filter-section select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

/* Clear Filter Button */
.clear-filters {
  padding: 10px 20px;
  background-color: #00bfa5;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.clear-filters:hover {
  background-color: #00796b;
  transform: scale(1.05);
}

/* Responsive Grid Layout */
@media (max-width: 768px) {
  .filter-section {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
#full-description.expanded {
  transition: all 0.3s ease-in-out;
}

.read-more-btn {
  color: #00bfa5;
  cursor: pointer;
  font-weight: bold;
  margin-left: 5px;
}
.hotel-website-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #00bfa5;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  padding: 10px;
  border: 2px solid #00bfa5;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
  margin: auto;
}

.hotel-website-link:hover {
  background-color: #00796b;
  color: white;
}
/* Chat Icon */
/* Chat Icon */
#chat-icon {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Keep it on the left */
  z-index: 9999; /* Ensure it stays on top of other elements */
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease-in-out;
}

#chat-icon:hover {
  background-color: #00796b;
}

/* Chat Window */
#chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 9999; /* Ensures it stays above everything */
  font-family: Arial, sans-serif;
}

/* Chat Header */
#chat-header {
  background: #00bfa5;
  color: #fff;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Body */
#chat-body {
  max-height: 250px;
  overflow-y: auto;
  padding: 10px;
}

/* Chat Input */
#chat-input-container {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#chat-input-container button {
  background: #00bfa5;
  color: #fff;
  border: none;
  padding: 5px 10px;
  margin-left: 5px;
  cursor: pointer;
}

/* Chat Messages */
.chat-message {
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 80%;
}

.bot {
  background: #f1f1f1;
  align-self: flex-start;
}

.user {
  background: #00bfa5;
  color: white;
  align-self: flex-end;
}
.chat-btn {
  background-color: #00bfa5;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease-in-out;
}

.chat-btn:hover {
  background-color: #00796b;
}
/* WhatsApp Chat Link */
.chat-body a {
  display: inline-block;
  text-decoration: underline; /* Underline the link */
  background-color: #25d366; /* WhatsApp green */
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease-in-out;
  text-align: center;
  margin-top: 5px;
  display: block;
}

.chat-body a:hover {
  background-color: #1eb056; /* Darker green on hover */
  text-decoration: underline; /* Ensure it remains underlined */
}
/* Close Chat Button */
#close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

#close-chat:hover {
  color: #ff6666; /* Light red on hover */
}
/* WhatsApp Chat Link Styling */
.whatsapp-link {
  text-decoration: underline !important; /* Ensures underline */
  color: #25d366 !important; /* WhatsApp green */
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  margin-top: 5px;
}

.whatsapp-link:hover {
  color: #1eb056; /* Darker green on hover */
  text-decoration: underline;
}
