/* =========================================================
   Bindu / Sustutdene Eco Resort — Brand & Responsive Polish
   ========================================================= */

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* Dynamic surface guarantees */
body.tp-home-3-bg {
  background: var(--tp-page-bg, #F9FAF7) !important;
}

.tp-falured-bg {
  background: var(--tp-theme-1, #16421B) !important;
}

.tp-falured-bg-2 {
  background: var(--tp-footer-bg, #0F2913) !important;
}

/* Header single-line nav & clean vertical dropdown */
.tp-main-menu-3 nav > ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.tp-main-menu-3 nav > ul > li {
  white-space: nowrap;
}

.tp-main-menu-3 .tp-mega-menu {
  width: auto !important;
  min-width: 200px;
}

.tp-main-menu-3 .tp-megamenu-small {
  width: 100% !important;
  padding: 14px 18px !important;
}

.tp-main-menu-3 .tp-megamenu-list ul {
  display: block !important;
}

.tp-main-menu-3 .tp-megamenu-list ul li {
  display: block;
  margin: 0 !important;
  padding: 4px 0;
}

.tp-main-menu-3 .tp-megamenu-list ul li a {
  display: block;
  padding: 6px 8px !important;
  white-space: nowrap;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .tp-main-menu-3 nav > ul > li {
    margin-right: 22px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .tp-main-menu-3 nav > ul > li {
    margin-right: 14px;
  }
  .tp-main-menu-3 nav > ul > li > a {
    font-size: 15px;
  }
}

/* Keep transparent logos clean without white boxes */
.tp-header-logo-3 .logo-normal,
.tp-footer-logo a {
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* Hero "&" graphic spacing fix across all viewports */
.tp-hero-3-title img {
  margin-left: 16px !important;
  margin-right: 14px !important;
  transform: translateY(-6px) !important;
  z-index: 0 !important;
  vertical-align: middle;
}

.tp-hero-3-title span {
  transform: none !important;
}

@media only screen and (max-width: 767px) {
  .tp-hero-3-title {
    line-height: 1.18 !important;
  }
  .tp-hero-3-title img {
    width: 40px !important;
    margin-left: 6px !important;
    margin-right: 6px !important;
    transform: translateY(-2px) !important;
  }
}

/* Reservations form alignment (Room & Guest selects) */
.tp-booking-form-input select.form-control {
  height: 44px;
  line-height: 1.4;
  padding: 8px 54px 8px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: #ffffff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23182C1B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px 7px;
  color: #182c1b;
  font-size: 15px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.tp-booking-form-input .nice-select {
  height: 44px;
  line-height: 42px;
  padding-left: 14px;
  padding-right: 54px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  float: none;
  width: 100%;
  text-transform: none;
  color: #182c1b;
}

.tp-booking-form-input .nice-select .current {
  position: static !important;
  right: auto !important;
  top: auto !important;
  display: inline-block;
  font-size: 15px;
  color: #182c1b !important;
  line-height: 42px;
}

.tp-booking-form-input .nice-select .list {
  width: 100%;
  z-index: 99;
}

.tp-booking-form-input .nice-select::after {
  content: "" !important;
  border-bottom: 2px solid #182c1b;
  border-right: 2px solid #182c1b;
  display: block;
  height: 7px;
  width: 7px;
  position: absolute;
  right: 14px;
  top: 50%;
  margin-top: -4px;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  pointer-events: none;
}

.tp-booking-form-input .nice-select.open::after {
  transform: rotate(-135deg);
  margin-top: -1px;
}

.tp-booking-form-input .p-relative > span {
  pointer-events: none;
  top: 50% !important;
  right: 32px !important;
  transform: translateY(-50%);
  color: #4b5c4d !important;
  display: inline-flex;
  align-items: center;
}

/* Video banner & offer cards readability scrim */
.tp-video-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 41, 19, 0.42) 0%, rgba(15, 41, 19, 0.62) 100%);
  pointer-events: none;
  z-index: 0;
}

.tp-video-area > .container {
  position: relative;
  z-index: 1;
}

.tp-offer-three-thumb {
  position: relative;
}

.tp-offer-three-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 41, 19, 0.15) 0%, rgba(15, 41, 19, 0.72) 100%);
  pointer-events: none;
}

.tp-offer-three-content {
  z-index: 2;
}

.tp-offer-three-btn {
  background: var(--tp-brand-accent, #C82822) !important;
  color: #ffffff !important;
  border-radius: 4px;
  letter-spacing: 0.04em;
  opacity: 1 !important;
}

/* Gallery & room slider overflow guard */
.tp-gallery-area,
.tp-room-area {
  overflow-x: clip;
}

/* Footer cohesive eco colors & partner logos */
.tp-footer-widget-title-3,
.tp-footer-number-3 .tp-footer-call {
  color: #B6E09B !important;
}

.tp-footer-number-3 .tp-footer-call:hover {
  color: #ffffff !important;
}

.tp-footer-widget-content-3 ul li img {
  background: transparent;
  padding: 0;
  border-radius: 0;
  width: 110px;
  height: auto;
  object-fit: contain;
}

/* Back-to-top button cohesive sizing & placement */
.back-to-top-btn {
  background: var(--tp-theme-2);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.back-to-top-btn:hover {
  background: var(--tp-theme-1);
}

@media (max-width: 991px) {
  .back-to-top-wrapper {
    right: 16px;
  }
  .back-to-top-wrapper.back-to-top-btn-show {
    bottom: 20px;
  }
  .back-to-top-btn {
    width: 38px;
    height: 38px;
    line-height: 38px;
  }
}
