/* ================================================================
   True Blue Tour — Components
================================================================ */

.tbt-home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 24px;
  text-decoration: none;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 180ms ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tbt-home-btn--primary {
  background: var(--tbt-primary);
  border: 1px solid var(--tbt-primary);
  color: #ffffff;
}

.tbt-home-btn--primary:hover {
  background: var(--tbt-accent);
  border-color: var(--tbt-accent);
  color: #ffffff;
}

.tbt-home-btn--ghost {
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.tbt-home-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
  color: #ffffff;
}

.tbt-home-btn--light {
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--tbt-accent);
}

.tbt-home-btn--light:hover {
  background: transparent;
  color: #ffffff;
}

/* ================================================================
   Hero Slider
================================================================ */

.tbt-hero-slider,
.tbt-home-hero {
  position: relative;
  height: 480px;
  min-height: 480px;
  max-height: 480px;
  overflow: hidden;
  background: #0b1b22;
}

.tbt-hero-slider__swiper,
.tbt-home-hero-slider,
.tbt-hero-slider__slide,
.tbt-home-hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.tbt-hero-slider__swiper,
.tbt-home-hero-slider {
  overflow: hidden;
}

.tbt-hero-slider__swiper .swiper-wrapper,
.tbt-home-hero-slider .swiper-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
}

.tbt-hero-slider__swiper .swiper-slide,
.tbt-home-hero-slider .swiper-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.tbt-hero-slider__media,
.tbt-home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.tbt-hero-slider__video,
.tbt-hero-slider__img,
.tbt-home-hero__video,
.tbt-home-hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tbt-hero-slider__iframe,
.tbt-home-hero__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
  transform: translate(-50%, -50%) scale(1.18);
  transform-origin: center center;
}

.tbt-hero-slider__iframe-shell {
  position: absolute;
  inset: 0;
}

.tbt-hero-slider__iframe-mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.tbt-hero-slider__iframe-shell.is-loading .tbt-hero-slider__iframe-mask {
  opacity: 1;
}

.tbt-hero-slider__overlay,
.tbt-home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.54) 100%
    );
}

.tbt-hero-slider__content,
.tbt-home-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  z-index: 2;
}

.tbt-hero-slider__kicker,
.tbt-home-hero__kicker {
  max-width: 520px;
  margin: 0 0 12px;
  font-family: var(--tbt-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.tbt-hero-slider__shell,
.tbt-home-hero__shell {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 36px;
}

.tbt-hero-slider__regions,
.tbt-home-hero__regions {
  display: none;
}

.tbt-hero-slider__title,
.tbt-home-hero__title {
  max-width: 640px;
  margin: 0;
  font-family: var(--tbt-serif);
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.005em;
  text-align: left;
  color: #ffffff;
}

.tbt-hero-slider__subtitle,
.tbt-home-hero__subtitle {
  max-width: 520px;
  margin: 16px 0 0;
  font-family: var(--tbt-sans);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.tbt-hero-slider__actions,
.tbt-home-hero__actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.tbt-hero-slider__pagination,
.tbt-home-hero__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: auto;
}

.tbt-hero-slider__pagination .swiper-pagination-bullet,
.tbt-home-hero__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: transform 180ms ease, background 180ms ease;
}

.tbt-hero-slider__pagination .swiper-pagination-bullet-active,
.tbt-home-hero__pagination .swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.2);
}

.tbt-hero-slider__nav,
.tbt-home-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(8, 18, 23, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tbt-hero-slider__nav::after,
.tbt-home-hero__nav::after {
  font-size: 14px;
  color: #ffffff;
}

.tbt-hero-slider__nav--prev,
.tbt-home-hero__nav--prev {
  left: 18px;
}

.tbt-hero-slider__nav--next,
.tbt-home-hero__nav--next {
  right: 18px;
}

@media (max-width: 1023px) {
  .tbt-hero-slider__shell,
  .tbt-home-hero__shell {
    padding-left: 24px;
    padding-right: 24px;
  }

  .tbt-hero-slider,
  .tbt-home-hero {
    height: 500px;
    min-height: 500px;
    max-height: 500px;
  }

  .tbt-hero-slider__content,
  .tbt-home-hero__content {
    bottom: 72px;
  }

  .tbt-hero-slider__title,
  .tbt-home-hero__title {
    font-size: clamp(38px, 7vw, 52px);
  }

  .tbt-hero-slider__nav,
  .tbt-home-hero__nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .tbt-hero-slider__shell,
  .tbt-home-hero__shell {
    padding-left: 18px;
    padding-right: 18px;
  }

  .tbt-hero-slider__nav,
  .tbt-home-hero__nav {
    display: none;
  }

  .tbt-hero-slider__content,
  .tbt-home-hero__content {
    bottom: 48px;
  }

  .tbt-hero-slider__actions,
  .tbt-home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tbt-hero-slider__pagination,
  .tbt-home-hero__pagination {
    bottom: 18px;
  }
}

@media (max-width: 640px) {
  .tbt-hero-slider,
  .tbt-home-hero {
    height: 460px;
    min-height: 460px;
    max-height: 460px;
  }

  .tbt-hero-slider__title,
  .tbt-home-hero__title {
    font-size: 36px;
    line-height: 1.06;
  }
}

/* ================================================================
   Popular Destinations
================================================================ */

.tbt-popular-destinations {
  background: #e7e4dd;
}

.tbt-popular-destinations__shell {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.tbt-popular-destinations__head {
  margin-bottom: 40px;
}

.tbt-popular-destinations__grid,
.tbt-home-dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tbt-popular-destinations__card,
.tbt-home-dest-card {
  position: relative;
  display: block;
  height: 205px;
  overflow: hidden;
  background: #202020;
  text-decoration: none;
}

.tbt-popular-destinations__card--placeholder {
  background: #111111;
}

.tbt-popular-destinations__card picture,
.tbt-home-dest-card picture {
  display: block;
  width: 100%;
  height: 100%;
}

.tbt-popular-destinations__card img,
.tbt-home-dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, opacity 700ms ease;
}

.tbt-popular-destinations__card:hover img,
.tbt-home-dest-card:hover img {
  transform: scale(1.035);
}

.tbt-popular-destinations__overlay,
.tbt-home-dest-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.22) 48%,
      rgba(0, 0, 0, 0.68) 100%
    );
}

.tbt-popular-destinations__content,
.tbt-home-dest-card__content {
  position: absolute;
  left: 24px;
  bottom: 22px;
  color: #ffffff;
}

.tbt-popular-destinations__content strong,
.tbt-home-dest-card__content strong {
  display: block;
  font-family: var(--tbt-serif);
  font-size: 23px;
  line-height: 1.1;
  font-weight: 400;
}

.tbt-popular-destinations__content em,
.tbt-home-dest-card__content em {
  display: block;
  margin-top: 7px;
  font-family: var(--tbt-sans);
  font-size: 11px;
  font-style: normal;
  font-weight: 300;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.tbt-popular-destinations__card--placeholder .tbt-popular-destinations__content {
  left: 28px;
  bottom: 24px;
}

.tbt-popular-destinations__card--placeholder .tbt-popular-destinations__content strong {
  font-size: 25px;
}

.tbt-popular-destinations__card--placeholder .tbt-popular-destinations__content em {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.60);
}

@media (max-width: 1023px) {
  .tbt-popular-destinations__grid,
  .tbt-home-dest-grid {
    grid-template-columns: 1fr;
  }

  .tbt-popular-destinations__card,
  .tbt-home-dest-card {
    height: 220px;
  }
}
