/* =====================================================
   THEME VARIABLES
===================================================== */
:root {
  --bbs-header-divider-color: rgba(255, 255, 255, 0.28);
  --bbs-header-scrolled-bg: var(--e-global-color-4, #ffffff);
  --bbs-header-scrolled-link-color: var(--e-global-color-text, #122b67);
  --bbs-header-scrolled-shadow: rgba(0, 0, 0, 0.06);
  --bbs-header-scrolled-divider-color: rgba(15, 36, 84, 0.10);
  --bbs-book-hover: #c6281b;
}

/* =====================================================
   SHARED HERO BASE
===================================================== */
.bbs-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #fff;
}

.bbs-hero--small {
  min-height: 360px;
}

.bbs-hero--medium {
  min-height: 520px;
}

.bbs-hero--large {
  min-height: 680px;
}

.bbs-hero--fullscreen {
  min-height: 100vh;
}

.bbs-home-hero__media,
.bbs-home-hero__slides,
.bbs-home-hero__slide,
.bbs-home-hero__video-wrap,
.bbs-home-hero__youtube-wrap,
.bbs-breather-video__media,
.bbs-breather-video__slides,
.bbs-breather-video__slide,
.bbs-breather-video__video-wrap,
.bbs-breather-video__youtube-wrap {
  position: absolute;
  inset: 0;
}

.bbs-home-hero__image,
.bbs-home-hero__slide,
.bbs-home-hero__poster,
.bbs-breather-video__image,
.bbs-breather-video__slide,
.bbs-breather-video__poster {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bbs-home-hero__slide,
.bbs-breather-video__slide {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.bbs-home-hero__slide.is-active,
.bbs-breather-video__slide.is-active {
  opacity: 1;
}

.bbs-home-hero__video,
.bbs-home-hero__youtube,
.bbs-breather-video__video,
.bbs-breather-video__youtube {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.bbs-home-hero__youtube,
.bbs-breather-video__youtube {
  pointer-events: none;
}

.bbs-home-hero__overlay,
.bbs-breather-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bbs-hero--overlay-light .bbs-home-hero__overlay,
.bbs-hero--overlay-light .bbs-breather-video__overlay {
  background: linear-gradient(to bottom, rgba(15, 36, 84, 0.30), rgba(15, 36, 84, 0.12));
}

.bbs-hero--overlay-medium .bbs-home-hero__overlay,
.bbs-hero--overlay-medium .bbs-breather-video__overlay {
  background: linear-gradient(to bottom, rgba(15, 36, 84, 0.48), rgba(15, 36, 84, 0.20));
}

.bbs-hero--overlay-strong .bbs-home-hero__overlay,
.bbs-hero--overlay-strong .bbs-breather-video__overlay {
  background: linear-gradient(to bottom, rgba(15, 36, 84, 0.62), rgba(15, 36, 84, 0.28));
}

/* remove top gap before homepage hero */
body.home .site-content,
body.home .elementor-location-single,
body.home .elementor-location-archive,
body.home .elementor-widget-theme-post-content,
body.home .elementor {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.home .bbs-home-hero--overlap:first-child {
  margin-top: 0 !important;
}

/* Remove Elementor wraps container */
body.home .elementor-widget-shortcode:has(.bbs-home-hero--overlap),
body.home .elementor-element:has(.bbs-home-hero--overlap),
body.home .elementor-top-section:has(.bbs-home-hero--overlap),
body.home .elementor-container:has(.bbs-home-hero--overlap) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove Elementor wraps container */
body.home .elementor-widget-shortcode:has(.uv-home-breather),
body.home .elementor-element:has(.uv-home-breather),
body.home .elementor-top-section:has(.uv-home-breather),
body.home .elementor-container:has(.uv-home-breather),
body.home .elementor-widget-shortcode:has(.bbs-breather-video),
body.home .elementor-element:has(.bbs-breather-video),
body.home .elementor-top-section:has(.bbs-breather-video),
body.home .elementor-container:has(.bbs-breather-video) {
  margin: 0 !important;
  padding: 0 !important;
}

/* admin bar adjustment on desktop */
body.admin-bar.home .elementor-location-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar.home .elementor-location-header {
    top: 46px;
  }
}

/* =====================================================
   HOME HERO
===================================================== */
.bbs-home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
}

.bbs-home-hero--overlap {
  margin-top: 0 !important;
}

.bbs-home-hero__content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  padding: 285px 0 130px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bbs-home-hero__eyebrow {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.bbs-home-hero__title {
  margin: 0;
  max-width: 1100px;
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  text-align: center;
}

.bbs-home-hero__title br {
  display: block;
}

.bbs-home-hero__subtitle {
  max-width: 760px;
  margin-top: 28px;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.94);
  text-align: center;
}

.bbs-home-hero__subtitle p {
  margin: 0 0 14px;
}

.bbs-home-hero__subtitle p:last-child {
  margin-bottom: 0;
}

.bbs-home-hero__video,
.bbs-home-hero__youtube {
  object-fit: cover;
  object-position: center 20%;
}

/* =====================================================
   HOMEPAGE HERO UNDER TRANSPARENT HEADER
===================================================== */
body.home .elementor-location-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent !important;
}

body.home .bbs-site-header {
  position: relative;
  width: 100%;
  background: transparent !important;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    padding 0.3s ease,
    transform 0.3s ease;
}

body.home .bbs-site-header .elementor-nav-menu--main .elementor-item,
body.home .bbs-site-header .elementor-widget-nav-menu a {
  color: #ffffff !important;
}

body.home .bbs-site-header::after {
  content: "";
  position: absolute;
  left: 14%;
  right: 16%;
  bottom: 0;
  border-bottom: 1px solid var(--bbs-header-divider-color, rgba(255, 255, 255, 0.28));
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

/* optional scrolled state */
body.home .bbs-site-header.bbs-header-scrolled {
  background: var(--bbs-header-scrolled-bg, var(--e-global-color-4, #ffffff)) !important;
  box-shadow: 0 6px 18px var(--bbs-header-scrolled-shadow, rgba(0, 0, 0, 0.06));
  padding-top: 6px;
  padding-bottom: 6px;
}

body.home .bbs-site-header.bbs-header-scrolled .elementor-nav-menu--main .elementor-item,
body.home .bbs-site-header.bbs-header-scrolled .elementor-widget-nav-menu a {
  color: var(--bbs-header-scrolled-link-color, var(--e-global-color-text, var(--bbs-text-dark, #122b67))) !important;
}

body.home .bbs-site-header.bbs-header-scrolled::after {
  opacity: 0;
  border-bottom-color: var(--bbs-header-scrolled-divider-color, rgba(15, 36, 84, 0.10));
}

body.home .bbs-site-header img {
  transition: transform 0.3s ease;
}

body.home .bbs-site-header.bbs-header-scrolled img {
  transform: scale(0.94);
  transform-origin: left center;
}

/* =====================================================
   HOME SEARCH STRIP
===================================================== */
.bbs-home-search {
  position: relative;
  z-index: 4;
  width: min(1200px, 100%);
  margin: 38px auto 0;
}

.bbs-home-search--inside-hero {
  width: min(1040px, 100%);
  margin-top: 72px;
}

.bbs-home-search__form {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 190px;
  align-items: stretch;
  min-height: 84px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px rgba(10, 22, 48, 0.18);
  overflow: hidden;
}

.bbs-home-search__field {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.bbs-home-search__field:not(.bbs-home-search__field--submit) {
  background: rgba(255, 255, 255, 0.96);
  border-right: 1px solid rgba(15, 36, 84, 0.08);
}

.bbs-home-search__field--submit {
  background: var(--e-global-color-primary, #b42318);
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  min-width: 0;
}

.bbs-home-search__input {
  width: 100%;
  min-width: 0;
  height: 84px;
  padding: 0 22px;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #5e667a !important;
  font-size: 18px;
  line-height: 1.2;
  box-shadow: none !important;
  border-radius: 0 !important;
  appearance: none;
  -webkit-appearance: none;
}

.bbs-home-search__input.bbs-picker-input {
  cursor: pointer;
}

.bbs-home-search__input::placeholder {
  color: #6f7688;
  opacity: 1;
}

.bbs-home-search__input::-webkit-calendar-picker-indicator {
  opacity: 0.85;
  cursor: pointer;
}

.bbs-home-search__button {
  flex: 1 1 auto;
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 84px;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: var(--e-global-color-primary, #b42318) !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  text-align: center;
  transition: background 0.25s ease;
}

.bbs-home-search__button:hover {
  background: var(--bbs-book-hover, #c6281b) !important;
}

.bbs-home-search__button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.bbs-home-search__button-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.bbs-home-search__button-text {
  display: inline-block;
  line-height: 1;
}

.bbs-home-search__error {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  min-height: 21px;
}

.bbs-home-search__field.is-invalid {
  box-shadow: inset 0 0 0 2px rgba(180, 35, 24, 0.22);
}

/* =====================================================
   BREATHER VIDEO
===================================================== */
.bbs-breather-video,
.uv-home-breather {
  position: relative;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw + 4px) !important;
  max-width: none !important;
  min-height: 430px;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.bbs-breather-video__media,
.bbs-breather-video__video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bbs-breather-video__poster,
.bbs-breather-video__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bbs-breather-video__poster {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bbs-breather-video__video {
  object-fit: cover;
  object-position: center center;
}

.bbs-breather-video__content {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 48px));
  min-height: inherit;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.bbs-breather-video__title {
  margin: 0;
  max-width: 900px;
  font-size: clamp(24px, 5vw, 30px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.bbs-breather-video__subtitle {
  max-width: 760px;
  margin-top: 20px;
  font-size: clamp(13px, 1.8vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
}

.bbs-breather-video__subtitle p {
  margin: 0 0 12px;
}

.bbs-breather-video__subtitle p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .bbs-breather-video,
  .uv-home-breather {
    min-height: 340px;
  }

  .bbs-breather-video__content {
    width: min(100%, calc(100% - 32px));
    min-height: 340px;
  }

  .bbs-breather-video__title {
    font-size: clamp(28px, 9vw, 46px);
  }

  .bbs-breather-video__subtitle {
    font-size: 17px;
    line-height: 1.6;
  }
}


    body.home {
      overflow-x: hidden;
    }
    

    /* Breather text positioning */
    .uv-home-breather .bbs-breather-video__content,
    .bbs-breather-video .bbs-breather-video__content {
      justify-content: flex-start;
      padding-top: 60px;
    }
    
    /* Breather text sizing */
    .uv-home-breather .bbs-breather-video__title,
    .bbs-breather-video .bbs-breather-video__title {
      font-size: clamp(25px, 4vw, 30px);
      line-height: 1.08;
      color: rgba(255, 255, 255, 0.66);
    }
    
    .uv-home-breather .bbs-breather-video__subtitle,
    .bbs-breather-video .bbs-breather-video__subtitle {
      margin-top: 12px;
      font-size: clamp(12px, 1.3vw, 15px);
      line-height: 1.6;
      color: rgba(255, 255, 255, 0.50);
    }
    
    @media (max-width: 767px) {
      .uv-home-breather .bbs-breather-video__content,
      .bbs-breather-video .bbs-breather-video__content {
        padding-top: 58px;
      }
    
      .uv-home-breather .bbs-breather-video__title,
      .bbs-breather-video .bbs-breather-video__title {
        font-size: clamp(20px, 8vw, 26px);
      }
    
      .uv-home-breather .bbs-breather-video__subtitle,
      .bbs-breather-video .bbs-breather-video__subtitle {
        font-size: 13px;
      }
    }
    
    /* =========================================
   DESTINATION SEARCH — VERTICAL FORM
   Scope this only to the right sidebar stack
========================================= */
.uv-destination-form-stack {
  max-width: 420px;
  width: 100%;
  background: #f3f1eb;
  padding: 24px 22px 18px;
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(17, 42, 84, 0.08);
}

.uv-destination-form-stack .uv-form-title {
  margin-bottom: 14px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 45, 99, 0.08);
}

.uv-destination-form-stack .uv-form-title .elementor-heading-title {
  margin: 0 !important;
  color: #0f2d63;
  font-size: 16px;
  line-height: 1.15;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* remove outer shortcode spacing */
.uv-destination-form-stack .elementor-widget-shortcode,
.uv-destination-form-stack .elementor-shortcode,
.uv-destination-form-stack .bbs-home-search {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* vertical form */
.uv-destination-form-stack .bbs-home-search__form {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 14px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: auto !important;
  overflow: visible !important;
}

/* field wrappers */
.uv-destination-form-stack .bbs-home-search__field {
  display: block !important;
  min-width: 0;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* labels */
.uv-destination-form-stack .bbs-home-search label,
.uv-destination-form-stack .bbs-home-search__label {
  display: block;
  margin: 0 0 8px;
  color: #0f2d63;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* inputs */
.uv-destination-form-stack .bbs-home-search__input,
.uv-destination-form-stack input[type="text"],
.uv-destination-form-stack input[type="date"],
.uv-destination-form-stack input[type="search"] {
  width: 100% !important;
  height: 56px !important;
  padding: 0 18px !important;
  border: 1px solid rgba(15, 45, 99, 0.12) !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #5e667a !important;
  font-size: 16px !important;
  box-shadow: none !important;
}

/* submit row */
.uv-destination-form-stack .bbs-home-search__field--submit {
  margin-top: 4px;
}

/* button */
.uv-destination-form-stack .bbs-home-search__button,
.uv-destination-form-stack button[type="submit"],
.uv-destination-form-stack input[type="submit"] {
  width: 100% !important;
  height: 58px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #bc9c22 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
  transition: background 0.25s ease, transform 0.25s ease;
}

.uv-destination-form-stack .bbs-home-search__button:hover,
.uv-destination-form-stack button[type="submit"]:hover,
.uv-destination-form-stack input[type="submit"]:hover {
  background: #a88816 !important;
  transform: translateY(-1px);
}

/* error text */
.uv-destination-form-stack .bbs-home-search__error {
  margin-top: 8px;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: #b42318;
}

/* invalid state */
.uv-destination-form-stack .bbs-home-search__field.is-invalid .bbs-home-search__input,
.uv-destination-form-stack .bbs-home-search__field.is-invalid input {
  border-color: rgba(180, 35, 24, 0.35) !important;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.08) !important;
}
  
/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 991px) {
  .bbs-home-search {
    width: 100%;
  }

  .bbs-home-search__form {
    grid-template-columns: 1fr 1fr;
  }

  .bbs-home-search__field--submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .bbs-hero--small {
    min-height: 280px;
  }

  .bbs-hero--medium {
    min-height: 380px;
  }

  .bbs-hero--large,
  .bbs-hero--fullscreen {
    min-height: 100vh;
  }

  .bbs-home-hero__content {
    min-height: 100vh;
    padding: 145px 0 110px;
  }

  .bbs-home-hero__eyebrow {
    font-size: 12px;
    letter-spacing: 0.28em;
    margin-bottom: 18px;
  }

  .bbs-home-hero__title {
    font-size: clamp(34px, 10vw, 54px);
    max-width: 92%;
  }

  .bbs-home-search--inside-hero {
    width: 100%;
    margin-top: 34px;
  }

  .bbs-home-search__form {
    grid-template-columns: 1fr;
  }

  .bbs-home-search__field:not(.bbs-home-search__field--submit) {
    border-right: 0;
    border-bottom: 1px solid rgba(15, 36, 84, 0.08);
  }

  .bbs-home-search__input,
  .bbs-home-search__button {
    height: 70px;
    font-size: 17px;
  }

  .bbs-home-hero__subtitle,
  .bbs-breather-video__subtitle {
    font-size: 17px;
  }
}