/* Link Suites – speed, responsive & UI tweaks */
.lh-loader,
body.no-preloader .lh-loader {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

.rooms-card img,
.room-image,
.lh-our-blog-image img,
.home-gallery-grid img {
  object-fit: cover;
}

/* Availability badges */
.avail-badge {
  display: inline-block;
  padding: .2rem .55rem;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 600;
}
.avail-ok { background: #e8f5ee; color: #067647; }
.avail-low { background: #fff4e5; color: #b54708; }
.avail-out { background: #fcebea; color: #b42318; }

.booking-alert {
  padding: .85rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.booking-alert.success { background: #e8f5ee; color: #067647; }
.booking-alert.error { background: #fcebea; color: #b42318; }
.booking-alert.info { background: #eef4ff; color: #175cd3; }

/* Homepage gallery */
.home-gallery {
  padding: 80px 0;
  background: #f7f4ef;
}
.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.home-gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  aspect-ratio: 4/3;
}
.home-gallery-grid img {
  width: 100%;
  height: 100%;
  transition: transform .35s ease;
}
.home-gallery-grid a:hover img {
  transform: scale(1.06);
}

/* Better footer */
.site-footer-enhanced {
  background: linear-gradient(180deg, #1a2a24 0%, #13201b 100%);
  color: #e8e4dc;
  padding-top: 3rem;
}
.site-footer-enhanced a { color: #e8e4dc; text-decoration: none; }
.site-footer-enhanced a:hover { color: #c4a35a; }
.site-footer-enhanced .footer-brand img {
  max-height: 56px;
  background: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.site-footer-enhanced h4 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  position: relative;
}
.site-footer-enhanced h4::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: #c4a35a;
  margin-top: .45rem;
}
.site-footer-enhanced ul { list-style: none; padding: 0; margin: 0; }
.site-footer-enhanced ul li { margin-bottom: .55rem; }
.site-footer-enhanced .social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1rem;
}
.site-footer-enhanced .social-row a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer-enhanced .social-row a:hover {
  background: #c4a35a;
  border-color: #c4a35a;
  color: #1a2a24;
}
.site-footer-enhanced .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 2rem;
  padding: 1rem 0;
  font-size: .9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem;
}
.site-footer-enhanced .contact-line {
  display: flex;
  gap: .65rem;
  margin-bottom: .75rem;
  align-items: flex-start;
}
.site-footer-enhanced .contact-line i {
  color: #c4a35a;
  margin-top: .2rem;
}

/* Search form mobile */
@media (max-width: 991px) {
  .section-search-control,
  .section-search-control-2 {
    margin-top: 16px !important;
    margin-bottom: 24px !important;
  }
  .search-control-boxing-2 {
    flex-direction: column !important;
    gap: 12px;
  }
  .search-control-boxing-2 .lh-col,
  .search-control-boxing-2 .lh-col-check {
    width: 100% !important;
  }
  .home-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lh-slide-title {
    font-size: 1.75rem !important;
  }
  .rooms-slider {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 575px) {
  .home-gallery-grid {
    grid-template-columns: 1fr;
  }
  .lh-top-header .lh-top-social {
    justify-content: center;
    text-align: center;
  }
  .section-banner .lh-banner-contain h2 {
    font-size: 1.6rem;
  }
  .site-footer-enhanced .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Blog details */
.blog-detail-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 4px;
}
.blog-content {
  font-size: 1.05rem;
  line-height: 1.75;
}
.blog-content p { margin-bottom: 1rem; }

/* Availability live box on rooms page */
.availability-panel {
  background: #fff;
  border: 1px solid #e5e0d6;
  border-radius: 6px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}
.availability-panel .form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .75rem;
  align-items: end;
}
.availability-panel label {
  display: block;
  font-size: .8rem;
  margin-bottom: .25rem;
  color: #555;
}
.availability-panel input,
.availability-panel select {
  width: 100%;
  padding: .55rem .65rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* Booking bar must sit ABOVE About and other homepage sections */
.lh-hero {
  position: relative;
  z-index: 1;
}
.section-search-control,
.section-search-control-2 {
  position: relative !important;
  z-index: 40 !important;
  bottom: auto !important;
  margin-top: -90px;
  margin-bottom: 48px;
  pointer-events: auto !important;
}
.section-search-control .container {
  position: relative;
  z-index: 41;
}
.search-control-boxing,
.search-control-boxing-2 {
  position: relative;
  z-index: 42;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}
.section-search-control input,
.section-search-control select,
.section-search-control button,
.section-search-control .lh-book-form-control,
.section-search-control .calendar {
  position: relative;
  z-index: 43;
  pointer-events: auto !important;
}
.section-about,
.section-rooms,
.home-gallery,
.section-amenities {
  position: relative;
  z-index: 1;
}

/* Semantic UI calendar popup above page content */
.ui.calendar .ui.popup,
.ui.popup.calendar {
  z-index: 10050 !important;
}

/* Hide theme tool on small screens for cleaner UX */
@media (max-width: 767px) {
  .lh-tool { display: none !important; }
}

/* Anti-spam honeypot — invisible to humans */
.ls-hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ls-human-check {
  margin: .75rem 0 0;
  font-size: .92rem;
  color: #333;
}
.ls-human-check label {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  cursor: pointer;
  margin: 0;
}
.ls-human-check input[type="checkbox"] {
  width: auto;
  margin-top: .2rem;
  accent-color: #2d4a3e;
}
.ls-human-check-compact {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-top: .65rem;
  font-size: .85rem;
  color: #e8e4dc;
}
.footer-subscribe .ls-human-check-compact {
  width: 100%;
}
