/* Global Styles */
body {
  /* background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url("../images/nikunj-singh-M6_nqrpgQ24-unsplash.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  color: white;
}

body#internalPage {
  padding-top: 50px; /* Adjust to your actual navbar height */
}
@media (max-width: 767.98px) {
  body#homePage {
    padding-top: 60px; /* Or match your navbar height */
  }
}

h1,
.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

body,
p,
.card-text,
.btn,
label,
.nav-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
}

.btn,
.add-btn a {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: #f0f0f0;
  font-size: 1.2em;
}

a:hover {
  color: #66fcf1;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

/* Navbar Styles */
.glass-effect {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.bg-white {
  background-color: #ffffff !important;
}

.navbar-transparent {
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.navbar-transparent .navbar-brand,
.navbar-transparent .nav-link,
.navbar-transparent .navbar-toggler-icon {
  color: white !important;
  filter: none !important;
}

.navbar-solid {
  background: #fff !important;
  backdrop-filter: none !important;
}

.navbar-solid .navbar-brand,
.navbar-solid .nav-link {
  color: #000 !important;
}

.navbar-solid .navbar-toggler.cross .navbar-toggler-icon {
  filter: none !important;
}

.navbar-light .navbar-brand,
.navbar-light .nav-link,
.navbar-light .navbar-toggler-icon {
  color: #000 !important;
  filter: none !important;
}

.navbar-light .btn-outline-light {
  color: #000 !important;
  border-color: #000 !important;
}

.navbar-light .btn-outline-light:hover {
  background-color: rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-brand:focus {
  outline: none !important;
  box-shadow: none !important;
}

#navbarTogglerDemo02 .nav-link {
  transition: transform 0.1s ease, font-size 0.1s ease;
}

@media (min-width: 768px) {
  #navbarTogglerDemo02 .nav-link:hover {
    transform: scale(1.2);
  }
}

.navbar-toggler {
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  background-color: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.navbar-toggler-icon {
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  background-size: contain;
  background-repeat: no-repeat;
}

.navbar-toggler.cross .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' d='M6 6l12 12M6 18L18 6'/%3E%3C/svg%3E") !important;
}

/* Navbar Media Query */
@media (max-width: 767.98px) {
  .navbar-nav .nav-link {
    margin-left: 0.5rem;
  }
}

/* ─── Search Capsule ───────────────────────────────────────── */
.search-capsule {
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
  border: 1px solid #dee2e6;
  overflow: visible;
  outline: none;
}

.search-capsule .form-control {
  background-color: #fff;
  color: #6c757d;
  padding: 0.75rem 1.25rem;
  border-radius: 50px 0 0 50px;
  box-shadow: none !important;
}

.search-capsule .form-control::placeholder {
  color: #adb5bd;
}

.search-capsule .search-btn {
  background-color: #000;
  border: none;
  border-radius: 0 50px 50px 0;
  margin: 0.3rem 0.3rem;
  color: #fff;
  font-size: 1rem;
}

.search-btn:hover {
  background-color: rgb(49, 49, 49) !important;
  color: white !important;
}

body#homePage .search-capsule {
  display: flex;
}

body:not(#homePage) .search-capsule,
body:not(#homePage) form.d-none.d-md-flex {
  display: none !important;
}


@media (max-width: 767.98px) {
  body#homePage form.d-none.d-md-flex {
    display: none !important;
  }

  body#homePage .d-md-none .search-capsule {
    display: flex !important;
  }
}


/*footer */
/* Social icons hover scale effect */
.btn-floating i {
  transition: transform 0.3s ease;
}

.btn-floating:hover i {
  transform: scale(1.2);
}

/* Index Page and Listing Card Styles */
.listing-list h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #66fcf1;
}

.listing-list ul {
  list-style: none;
  padding: 0;
}

.listing-list li {
  background-color: #2b2b3c;
  margin: 15px 0;
  padding: 15px 20px;
  border-radius: 8px;
  transition: background-color 0.3s;
}

.listing-list li:hover {
  background-color: #393955;
}

.add-btn {
  text-align: center;
  margin-bottom: 20px;
}

.btn {
  background-color: #66fcf1;
  color: #121212;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: #4fd8e6;
}

.card {
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}

a.card-link {
  text-decoration: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  display: block;
}

a.card-link:hover {
  text-decoration: none;
  color: inherit;
}

.listing-img {
  border-radius: 10px !important;
  object-fit: cover;
  height: 200px;
  width: 100%;
}

.image-hover-container {
  position: relative;
  overflow: hidden;
}

.img-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.image-hover-container:hover .img-hover-overlay {
  opacity: 1;
}

/* Show Page Styles */
.card {
  background-color: #1e1e2f;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hotel-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #333;
}

.content {
  padding: 20px;
}

.content h1 {
  margin-top: 0;
  color: #66fcf1;
}

.description {
  font-size: 1.05em;
  margin-bottom: 20px;
}

.responsive-text {
  font-size: 1rem; /* Base for mobile */
}

@media (min-width: 992px) {
  .responsive-text {
    font-size: 1.1rem; /* lg and above */
  }
}

.price {
  font-size: 1.2em;
  color: #03dac6;
  font-weight: bold;
}

.delete-btn {
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.delete-btn:hover {
  background-color: #c0392b;
}

.star-rating {
  direction: rtl;
  display: inline-flex;
  gap: 0.3rem;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.2s ease;
}

/* Only apply color when selected */
.star-rating input[type="radio"]:checked ~ label {
  color: #ffc107;
}

.read-more-toggle {
  font-size: 0.875rem;
  cursor: pointer;
}

/* map container styling */
.map-container {
  height: 400px;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
  overflow: hidden;
}
a.btn-outline-dark {
  border-radius: 2rem;
  font-weight: 500;
}

/* New Listing Form Styles */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

label {
  font-weight: bold;
  margin-top: 10px;
}

input,
textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: #2a2a3b;
  color: #f0f0f0;
}

button {
  background-color: #66fcf1;
  color: #121212;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
}

button:hover {
  background-color: #4fd8e6;
}
