/* --------------------------------------- */
/* HERO SECTION STYLES START */
/* --------------------------------------- */

.hero__section {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;

  background-image: url(../../assets/editable/hero-bg-city-northern-lights-lg.webp);
  background-size: cover;
  background-position: center bottom;

  padding: 0rem 0rem 3rem 0rem;
}

/* .hero__section .background__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
} */

.hero__section .hero__content__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;

  gap: 3.5rem;
  padding-top: 8.5rem;
}

.hero__section .hero__content__container .text__container {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: start;

  gap: 1rem;
}

.hero__section .hero__content__container .text__container .title {
  color: var(--clr-white);
  font-size: var(--title);
  font-weight: 600;
}

.hero__section .hero__content__container .text__container .description {
  color: var(--clr-white);
  font-size: var(--size-base);
  font-weight: 300;
  /* width: 50ch; */
}

.hero__section .hero__content__container .search__bar {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero__section .hero__content__container .search__bar .search__form {
  background-color: var(--clr-white);
  border-radius: 1rem;

  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;

  gap: 0.8rem;
  padding: 1.25rem 1.7rem;
}

.hero__section .hero__content__container .search__bar .search__form input {
  width: 100%;
  background-color: var(--clr-teal-light);
  color: var(--clr-black);
  font-size: var(--size-xl);
  font-weight: 400;
  border: 1px solid var(--clr-teal-primary);
  border-radius: 0.6rem;

  padding: 0.6rem 1rem;
}

.hero__section
  .hero__content__container
  .search__bar
  .search__form
  input::placeholder {
  color: var(--clr-black);
  font-size: var(--size-base);
  font-weight: 500;
}

.hero__section .hero__content__container .search__bar .search__form .submit {
  color: var(--clr-black);
  font-size: var(--size-base);
  font-weight: 500;
  background-color: var(--clr-teal-primary);
  border-radius: 0.6rem;

  padding: 0.6rem 1rem;
}

.hero__section .hero__content__container .search__bar .search__form .submit i {
  padding-top: 0.2rem;
}

/* xxxs */
/* @media (min-width: 320px) {} */

/* xxs */
/* @media (min-width: 380px) {} */

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
/* @media (min-width: 640px) {} */

/* md */
@media (min-width: 768px) {
  .hero__section .hero__content__container .search__bar .search__form input {
    width: 400px;
    border: 1px solid var(--clr-teal-primary);
    border-radius: 0.6rem;

    padding: 0.6rem 1rem;
  }

  .hero__section .hero__content__container .text__container .description {
    width: 50ch;
  }
}

/* lg */
/* @media (min-width: 1024px) {} */

/* xl */
@media (min-width: 1280px) {
  .hero__section
    .hero__content__container
    .search__bar
    .search__form
    input::placeholder {
    color: var(--clr-black);
    font-size: var(--size-lg);
    font-weight: 400;
  }
}

/* 2xl */
/* @media (min-width: 1536px) {} */

/* --------------------------------------- */
/* HERO SECTION STYLES END */
/* --------------------------------------- */

/* --------------------------------------- */
/* HOTEL DETAILS GRID STYLES START */
/* --------------------------------------- */

.hotels__grid {
  display: grid;
  /* grid-template-columns: 1fr 3fr; */
  /* justify-content: stretch; */
  /* align-items: stretch; */

  gap: 1.2rem;
}

.hotels__grid.hotels__grid--spaced {
  margin-top: 5rem;
}

.hotels__grid .hotel__list__grid__item {
  background-color: var(--clr-teal-light);
  border-radius: 1rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;

  gap: 0.5rem;
  padding: 2rem 1.125rem;
}

.hotels__grid .hotel__list__grid__item .hotel__list__grid__item__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;

  gap: 1rem;
}

.hotel__list__grid__item .title {
  color: var(--clr-black);
  font-size: var(--sub-title);
  font-weight: 500;
}

.hotels__grid .hotel__list__grid__item .hotels__list {
  max-height: none;
  overflow-y: visible;
  list-style: none;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;
  text-align: start;

  gap: 0.2rem;
  padding-left: 0rem;
}

.hotels__grid .hotel__list__grid__item .hotels__list.active {
  max-height: none;
  overflow: visible;
}

.hotels__grid .hotel__list__grid__item .hotels__list .list__item {
  background-color: var(--clr-teal-light);
  color: var(--clr-black);
  font-size: var(--size-base);
  font-weight: 400;
  border-radius: 0.8rem;
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  line-height: 1.45;
  white-space: normal;
  word-break: break-word;

  transition: all 0.3s ease-in-out;
}

.hotels__grid .hotel__list__grid__item .hotels__list .list__item:hover {
  background-color: var(--clr-teal-primary);
  border-radius: 0.8rem;

  padding: 0.6rem 1rem;
}

.hotels__grid .hotel__list__grid__item .hotels__list .acitve {
  background-color: var(--clr-teal-primary);
  border-radius: 0.8rem;

  padding: 0.6rem 1rem;
}

.hotels__grid .hotel__list__grid__item .view__more__btn {
  color: var(--clr-blue);
  font-size: var(--size-base);
  font-weight: 600;
  cursor: pointer;
}

.hotels__grid .hotel__detail__grid {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-ddd-black-title);
  border-radius: 1.25rem;

  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: stretch;

  gap: 1.2rem;
  padding: 2rem 1.125rem;
}

.hotel__detail__header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  width: 100%;
  position: sticky;
  top: 76px;
  z-index: 8;
  background: linear-gradient(135deg, #ffffff 0%, #f2fbfe 60%, #e5f5fb 100%);
  border: 1px solid #e3edf1;
  padding: 1.5rem 1.6rem;
  border-radius: 1.1rem;
  box-shadow: 0 16px 36px rgba(3, 59, 70, 0.08);
  overflow: hidden;
}

.hotel__detail__header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(7, 87, 91, 0.1), transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(102, 165, 173, 0.1), transparent 34%);
  pointer-events: none;
}

.hotel__detail__header .heading__wrapper {
  position: relative;
  z-index: 1;
}

.hotel__detail__header .btn__wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.hotel__detail__grid .heading__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;

  gap: 0.8rem;
  flex: 1 1 auto;
}

.hotel__detail__grid .heading__wrapper .title {
  color: var(--clr-black);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hotel__detail__grid .heading__wrapper .location {
  color: #4a5a5f;
  font-size: var(--size-base);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.95rem;
  background: rgba(102, 165, 173, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(102, 165, 173, 0.2);
}

.hotel__detail__grid .heading__wrapper .location::before {
  content: "\f3c5";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--clr-teal-medium);
}

.hotel__detail__grid .description {
  color: var(--clr-1b1-black);
  font-size: var(--size-base);
  font-weight: 400;
  text-align: start;
}

.hotel__detail__grid .images__grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  gap: 1rem;
}

.hotel__detail__grid .images__grid .main__img__wrapper,
.hotel__detail__grid .images__grid .verticle__grid .img__wrapper {
  height: 100%;
  width: 100%;
  border-radius: 0.65rem;
  overflow: hidden;
}

.hotel__detail__grid .images__grid .main__img__wrapper .img,
.hotel__detail__grid .images__grid .verticle__grid .img__wrapper .img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.hotel__detail__grid .images__grid .verticle__grid {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: stretch;
  gap: 1rem;
}

.hotel__gallery {
  position: relative;
  display: flex;
  align-items: center;
}
.hotel__gallery--single {
  justify-content: center;
}

.hotel__gallery__rail {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.hotel__gallery__rail::-webkit-scrollbar {
  height: 10px;
}

.hotel__gallery__rail::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 999px;
}

.hotel__gallery__rail::-webkit-scrollbar-thumb {
  background: rgba(15, 111, 125, 0.35);
  border-radius: 999px;
}

.hotel__gallery__item {
  flex: 0 0 70%;
  max-width: 70%;
  scroll-snap-align: start;
}

.hotel__gallery__single {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.hotel__gallery__single .img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

.hotel__gallery__item .img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 0.85rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,111,125,0.18);
  background: #fff;
  color: var(--clr-teal-medium);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 25px rgba(0,59,70,0.15);
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 4;
}

.gallery__nav:hover {
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 14px 30px rgba(0,59,70,0.2);
}

.js__hotel__gallery__prev { left: 8px; }
.js__hotel__gallery__next { right: 8px; }

@media (max-width: 767px) {
  .gallery__nav {
    display: none;
  }
}

.hotel__lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 99999;
}

.hotel__lightbox[hidden] {
  display: none;
}

.hotel__lightbox .lightbox__img {
  max-width: 96vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  background: #0c1a1d;
}

.hotel__lightbox .lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: #0f6f7d;
  border: 1px solid rgba(15,111,125,0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

body.lightbox-open {
  overflow: hidden;
}

.hotel__detail__grid .btn__wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hotel__detail__grid .btn__wrapper .btn {
  width: auto;
  min-width: 220px;
  max-width: 320px;
  background: #0f6f7d;
  color: var(--clr-white);
  font-size: var(--size-base);
  font-weight: 800;
  border-radius: 0.9rem;
  padding: 0.85rem 1.3rem;
  text-align: center;
  border: none;
  letter-spacing: 0.01em;
  box-shadow: 0 16px 40px rgba(15, 111, 125, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hotel__detail__grid .btn__wrapper .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px rgba(15, 111, 125, 0.32);
}

.hotel__detail__grid .btn__wrapper .btn.btn--availability {
  justify-content: center;
  background: #0f6f7d;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .hotel__detail__header {
    top: 74px;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 22px rgba(3,59,70,0.12);
  }
}

/* xxxs */
/* @media (min-width: 320px) {} */

/* xxs */
/* @media (min-width: 380px) {} */

/* xs */
/* @media (min-width: 475px) {} */

/* sm */
/* @media (min-width: 640px) {} */

/* md */
@media (min-width: 768px) {
  .hotels__grid {
    display: grid;
    grid-template-columns: 1.25fr 2.75fr;
    justify-content: stretch;
    align-items: stretch;

    gap: 1.2rem;
  }

  .hotels__grid .hotel__list__grid__item .hotels__list {
    height: 100%;
  }

  .hotels__grid .hotel__list__grid__item {
    border-radius: 1rem;

    gap: 2rem;
    padding: 2rem 0.8rem;
  }

  .hotels__grid .hotel__list__grid__item .hotels__list .list__item {
    font-size: var(--size-sm);
    padding: 0.6rem 1rem;

    transition: all 0.3s ease-in-out;
  }

  .hotels__grid .hotel__list__grid__item .view__more__btn {
    display: none;
  }

  .hotel__detail__grid .description {
    font-size: var(--size-sm);
    font-weight: 400;
  }

  .hotel__detail__header {
    grid-template-columns: 1fr auto;
    gap: 1.5rem;
  }

  .hotel__detail__header .heading__wrapper {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hotels__grid .hotel__detail__grid {
    border-radius: 1rem;

    gap: 1.2rem;
    padding: 2rem 2rem;
  }

  .hotel__detail__grid .heading__wrapper .title {
    font-size: 1.6rem;
    line-height: 1.32;
    -webkit-line-clamp: 3;
  }

  .hotel__detail__grid .images__grid {
    gap: 0.75rem;
  }

  .hotel__detail__grid .btn__wrapper .btn {
    font-size: var(--size-base);
    padding: 0.9rem 1.1rem;
  }

  .hotel__gallery__item {
    flex-basis: 55%;
    max-width: 55%;
  }
}

@media (max-width: 767px) {
  .hotel__detail__header {
    position: sticky;
    top: 66px;
    z-index: 12;
    padding: 0.9rem 1rem;
    box-shadow: 0 10px 22px rgba(3, 59, 70, 0.12);
    grid-template-columns: 1fr;
    align-items: center;
    text-align: center;
  }

  .hotel__detail__grid .heading__wrapper {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .hotel__detail__grid .heading__wrapper .title {
    font-size: 1.45rem;
    line-height: 1.3;
    -webkit-line-clamp: 3;
  }
}

@media (max-width: 767px) {
  .hotel__detail__grid .btn__wrapper {
    justify-content: center;
  }

  .hotel__detail__grid .btn__wrapper .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* lg */
/* @media (min-width: 1024px) {} */

/* xl */
@media (min-width: 1280px) {
  .hotels__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    justify-content: stretch;
    align-items: stretch;

    gap: 1.2rem;
  }

  .hotels__grid .hotel__list__grid__item .hotels__list .list__item {
    font-size: var(--size-base);
    padding: 0.6rem 1rem;

    transition: all 0.3s ease-in-out;
  }

  .hotel__detail__grid .description {
    font-size: var(--size-base);
    font-weight: 400;
  }

  .hotel__detail__grid .images__grid {
    gap: 0.75rem;
  }

  .hotel__gallery__item {
    flex-basis: 40%;
    max-width: 40%;
  }
}

/* 2xl */
/* @media (min-width: 1536px) {} */

/* --------------------------------------- */
/* HOTEL DETAILS GRID STYLES START */
/* --------------------------------------- */
