.app > header,
.sn-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  transition: 350ms height var(--ease);
  height: var(--header-height) + var(--header-eyebrow-height);
}
.header-container:has(.on-scroll) {
  height: var(--header-height);
}

.header-first {
  /* position: absolute; */
  height: var(--header-eyebrow-height);
  background-color: var(--background);
  width: 100%;
  font-size: var(--text-xs);
  place-content: center;
}

.header-first .wrapper {
  align-items: center;
  justify-content: space-between;
  display: flex;
}

.header-first img {
  height: 90px;
}

.header-first a,
.header-first span {
  color: var(--foreground);
}

.header-first i {
  color: var(--primary);
  margin-right: 4px;
}

.header-first .icon-globe {
  font-size: 1.125rem;
}

.header-first a {
}

.header-first a:hover {
  text-decoration: underline;
}

.header-first .lucide-globe {
  font-size: 1.125rem;
}

.header-first-left {
  display: flex;
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
  gap: 1rem;
}

.header-first-left a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.header-first-left a:not(.text-bold) {
  color: var(--accent-foreground);
  display: none;
}

.header-first-right {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-right: 1rem;
  text-transform: uppercase;
  font-size: var(--text-2xs);
  [title='Login'],
  [title='Create an account'] {
    display: none;
  }
}

.header-second {
  /* margin-top: var(--header-eyebrow-height); */
  /* position: absolute; */
  width: 100%;
  transform: translateY(0);
  transition: transform 0.25s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  background-color: var(--nav-background);
  padding-inline: 1rem;
  height: var(--header-height);
  place-content: center;
}

.header-second.on-scroll {
  transform: translateY(calc(var(--header-eyebrow-height) * -1));
  transition: transform 0.25s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  box-shadow: 0px 1px 4px 1px rgba(0, 0, 0, 0.1);
}

.header-second.on-scroll .header-menu {
  /* height: 90px; */
  transition: height 0.25s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.header-second.active .btn-header .search-btn {
  opacity: 0;
}

.header-second.active-2 .logo-container,
.header-second.active-2 .toggle-container {
  background-color: var(--background);
  transition-delay: 0.1s;
  transition-property: background-color;
}

.menu-item {
  display: flex;
  align-items: center;
}

.header-menu {
  display: none;
  justify-content: center;
  height: var(--header-height);
  margin: auto;
  transition: height 0.25s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  width: 1200px;
  /* gap: 1rem; */
  font-size: var(--text-xs);
}

.sub-menu {
  /* visibility: hidden; */
  max-height: 0;
  /* transform: scaleY(0); */
  transform-origin: top;
  position: absolute;
  top: var(--header-height);
  background-color: var(--background);
  transition: max-height 500ms ease;
  min-width: 230px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
  width: 100vw;
  left: 0;
  overflow: hidden;
}

.sub-menu-wrapper {
  /* width: clamp(1150px, 80vw, max-content); */
  width: max-content;
  max-width: 1300px;
  margin: auto;
  display: flex;
  gap: 2rem;
  padding: 2rem;

  .separator {
    align-self: stretch;
    height: auto;
    width: 1px;
    background-color: var(--accent);
  }

  .center {
    align-self: center;
  }
}

.sub-menu-desc {
  flex: 0 0 15rem;
  font-size: var(--text-sm);
  header {
    font-family: var(--text-serif);
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
  }
}

.sub-menu-img {
  flex: 0 0 15rem;

  img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    display: block;
  }
}

.sub-menu-links {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;

  header {
    font-size: var(--text-base);
    line-height: 1.25;
    margin-bottom: 0.5rem;
    font-weight: 400;
    color: var(--foreground);
    max-width: max-content;

    a {
      color: inherit;
    }
  }

  header:has(~ .sub-menu-link),
  .sub-menu-link ~ header,
  header.underlined {
    border-bottom: 1px solid var(--foreground);
  }

  a + header {
    margin-top: 1rem;
  }
}
.side-menu-item .side-sub-menu-group {
  .sub-menu-link {
    padding: 0.5rem 1.5rem;
  }
  span {
    font-weight: bold;
    text-transform: uppercase;
  }
}

.menu-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 13px;
  color: var(--foreground);

  text-transform: uppercase;
  cursor: pointer;
}

.menu-link.active {
  color: var(--primary);
  font-weight: 600;
}

.menu-link.cursor-auto {
  cursor: default;
}

.menu-item:hover .menu-link {
  color: var(--primary);
}

.menu-item:hover .sub-menu {
  /* visibility: visible; */
  max-height: 40rem;
  z-index: 100;

  /* transform: scale(1); */
  /* top: 100%; */
}

.sub-menu-link {
  display: block;
  color: var(--foreground);
}

.menu-link,
.sub-menu-link {
  transition: 0.2s ease 0s;
}

.menu-link:hover,
.sub-menu-link:hover {
  color: var(--primary);
}

.side-nav {
  left: 0;
  position: absolute;
  transform: translateX(-100%);
  z-index: 1;
  transition: transform 0.25s cubic-bezier(0.075, 0.82, 0.165, 1);
  background-color: var(--background);
  width: 100vw;
  height: 100%;
  min-height: 100vh;
  top: 100%;
}

.side-nav.active {
  overflow-y: scroll;
  transform: translateX(0);
  transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.side-menu-wrapper {
  position: relative;
  z-index: 3;
  background-color: var(--background);
  padding-top: 1rem;
  padding-bottom: 16rem;
}

.side-sub-menu {
  max-height: 0;
  padding-left: 2rem;
  overflow: hidden;
  background-color: var(--background-accent);
  transition: max-height 0.35s cubic-bezier(0.87, 0, 0.13, 1);
  > a {
    font-weight: bold;
  }
}

.side-sub-menu:first-child {
  padding-top: 1rem;
}

.side-sub-menu.active {
  max-height: 100rem;
  transition: max-height 0.35s cubic-bezier(0.87, 0, 0.13, 1);
}

.side-menu-item .menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--foreground);
  padding: 1rem;
  height: auto;
  font-weight: bold;
  font-size: var(--text-lg);
}

.side-menu-item .menu-link .icon-down-open-big {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(0);
  transition: transform 0.25s cubic-bezier(0.43, 0.43, 0.77, 0.77);
}

.side-menu-item .menu-link.active {
  color: var(--primary);
}

.side-menu-item .menu-link.active .icon-down-open-big {
  color: var(--primary);
  transform: rotate(-180deg);
  transition: transform 0.25s cubic-bezier(0.43, 0.43, 0.77, 0.77);
}

.side-menu-item .sub-menu-link {
  color: var(--foreground);
  padding: 1rem 0;
}

.side-menu-item .sub-menu-link.border-top {
  margin-top: 0.75rem;
  padding-top: 1.5rem;
}

.side-menu-item .sub-menu-link.border-top:before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 80%;
  height: 1px;
  background-color: #40454c;
}

.side-menu-item .sub-menu-link:last-child {
  position: relative;
  padding-bottom: 1.75rem;
}

.side-menu-item .sub-menu-link:hover {
  color: var(--primary);
}

.side-menu-mask {
  position: absolute;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(3px);
  left: 0px;
  top: var(--header-height);
  display: none;
}

.side-menu-mask.active {
  display: block;
}

.menu-wrapper {
  display: flex;
  align-items: stretch;

  z-index: 2;
  flex: 1;
  /* justify-content: space-between; */
}

.menu-wrapper:first-of-type {
  margin-left: auto;
  justify-content: flex-end;
}

.menu-wrapper:last-of-type {
  margin-right: auto;
}

.logo-container {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 4;
  height: 100%;
  top: 0;
  background-color: var(--logo-background);
  .logo-svg {
    height: inherit;
    width: 8rem;
  }
}

.logo-inner {
  background: var(--logo-background);
  margin-top: calc(var(--header-eyebrow-height) * -1);
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(var(--header-eyebrow-height) + var(--header-height));
  width: 10rem;
  place-content: center;
}

.logo-inner,
.logo-container {
  transition: width 0.25s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition-property: width, height, margin;
}

.logo-container {
  width: 7rem;
}
.logo-inner .logo-svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  opacity: 1;
  transition: opacity 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transition-property: transform, opacity;
}

.logo-sun {
  transition: transform 0.2s cubic-bezier(0.445, 0.05, 0.55, 0.95);
  transform-origin: center;
}

.on-scroll {
  .logo-inner,
  .logo-container {
    width: var(--header-height);
    height: var(--header-height);
    margin-top: 0;
  }

  .logo-text {
    opacity: 0;
  }

  .logo-sun {
    transform: scale(2.25) translateY(7.5rem);
  }

  .logo-container {
    .logo-sun {
      transform: scale(1.35) translateY(9rem);
    }
  }
}

.search-btn {
  top: 0;
  right: 0;
  border: 0;
  align-items: center;
  display: flex;
  gap: 0.5rem;
  color: currentColor;
}

.search-btn svg {
  width: 1rem;
  height: 1rem;
}

.search-btn span {
  display: none;
}

.search-btn .lucide-x {
  display: none;
}

.search-btn.active .lucide-search {
  display: none;
}

.search-btn.active .lucide-x {
  display: block;
  /* transform: translateX(0); */
}

.search-container {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  left: 0;
  top: var(--header-height);
  transition: top 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 0;
}

.search-container .search-content {
  height: 0;
}

.search-container .search-input {
  height: 0;
  padding: 0;
}

.search-container.active {
  height: 100vh;
  opacity: 1;

  padding-bottom: 6rem;
  padding-top: 2rem;

  z-index: 2;
}

.search-container.active a {
  display: block;
}

.search-container.active .search-content {
  height: auto;
}

.search-container.active .search-input {
  height: auto;
  padding: 1rem;
}

.search-container a {
  display: none;
  color: white;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.498);
}

.search-container input {
  background-color: rgba(0, 0, 0, 0);
  color: white;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.498);
  width: 100%;
}

.search-container input:focus {
  outline: none;
}

.search-container input::placeholder {
  color: #d7d7d7;
}

.search-container .search {
  width: 90%;
  max-height: 50%;
  overflow-y: auto;
  padding-right: 1rem;
}

.search-container .search::-webkit-scrollbar {
  width: 6px;
}

.search-container .search::-webkit-scrollbar-track {
  background-color: rgba(91, 91, 91, 0.2078431373) !important;
  padding-left: 2px;
}

.search-container .search::-webkit-scrollbar-thumb {
  background-color: #acacac;
}

.search-container .search-related {
  display: flex;
  flex-direction: column;
}

.search-container-mask {
  position: absolute;
  width: 100vw;
  height: 100vh;
  left: 0px;
  top: 90px;
  display: none;
}

.search-container-mask.active {
  display: block;
}

.language-switcher-language-url {
  display: none;
}
.language-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 0.5rem;
}

.language-container .btn-lang {
  display: none;
}

.language-container svg {
  height: 1rem;
  width: 1rem;
}

.language-container:before {
  content: '';
  position: absolute;
  left: 0;
  top: 30%;
  width: 1px;
  height: 42%;
  background-color: #7b7b7b;
}

.language-container .icon-down-open-big {
  font-size: 0.575rem;
  color: var(--foreground);
  padding-left: 0.4rem;
}

.language-container button {
  font-size: 0.7rem;
  border: 0;
  padding: 0.5rem 1.5rem;
  transition: 0.15s cubic-bezier(0.43, 0.43, 0.77, 0.77);
  background-color: var(--background-accent);
  color: var(--foreground);
}

.language-container button:hover {
  background: var(--primary);
}

.language-container:hover .language-wrapper {
  display: flex;
  width: 8.5rem;
}

.language-wrapper {
  display: none;
  flex-direction: column;
  position: absolute;
  background: var(--background);
  top: 100%;
  right: 0;
  z-index: 3;
  .language-switcher-language-url {
    display: block;
  }
}

.language-wrapper {
  list-style-type: none;
}

.language-wrapper a {
  display: block;
  font-size: 0.7rem;
  border: 0;
  padding: 0.5rem 1.5rem;
  transition: 0.15s cubic-bezier(0.43, 0.43, 0.77, 0.77);
  background-color: #292c30;
  color: #fff;
  text-align: center;
}

.language-wrapper a:hover {
  background: #df6a2e;
}

.btn-header {
  position: absolute;
  /* display: none; */
  display: flex;
  align-items: center;
  /* height: var(--header-height); */
  right: 1rem;
  top: 50%;
  z-index: 4;
  transform: translate(0%, -50%);
  .book-now {
    height: 100%;
    place-content: center;
    /* padding-inline: 1.5rem; */
  }
}

/* the menu runs about 108px past the bottom of the screen (it starts below
   the header but is a full screen tall): room at the end lets the open
   language list scroll fully into view */
.language-side-nav {
  margin: 2rem 1rem 8rem;
}

.language-side-nav button {
  border: 0;
  color: var(--foreground);
  background-color: var(--background-accent);
  padding: 0.875rem 1rem;
}

.language-side-nav button:hover {
  background-color: #40454c;
  color: var(--primary);
}

.language-side-nav .side-language {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: var(--foreground);
  height: 50px;
  background-color: var(--background-accent);
  cursor: pointer;
  width: 50%;
}

.language-side-nav .side-language .icon-down-open-big {
  font-size: 1rem;
  transform: rotate(0);
  transition: transform 0.25s cubic-bezier(0.43, 0.43, 0.77, 0.77);
}

.language-side-nav .side-language button {
  text-align: left;
}

.language-side-nav .side-language button:first-child {
  margin-top: 1rem;
}

.language-side-nav .side-language.active .language-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  top: -3px;
  left: 0;
  background-color: var(--background-accent);
  border-top: 1px solid rgba(238, 238, 238, 0.13);
}

.language-side-nav .side-language.active .language-wrapper button {
  padding-left: 2.5rem;
}

.language-side-nav .side-language.active .icon-down-open-big {
  transform: rotate(-180deg);
  transition: transform 0.25s cubic-bezier(0.43, 0.43, 0.77, 0.77);
}

.language-side-nav .lucide-globe {
  font-size: 1.25rem;
  margin-right: 3px;
}

.language-side-nav .btn-lang {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.language-side-nav .lucide-globe {
  color: var(--primary);
}

.btn-side-lang {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0.875rem;
}

.top-side-search-wrapper {
  padding: 0 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.top-side-search-wrapper input[type='text'].top-side-search {
  border: 0;
  height: 50px;
  background-color: var(--background-accent);
  color: var(--foreground);
  padding-right: 3.5rem;
  padding-left: 1.5rem;
}

.top-side-search-wrapper .btn-search {
  position: absolute;
  top: 0;
  height: 50px;
  width: 50px;
  right: 1.5rem;
}

.top-side-search-wrapper .icon-light-search:before {
  font-size: 1.2rem;
}

.toggle {
  display: block;
  height: auto;
  width: 2rem;
}

.toggle span {
  display: block;
  height: 2px;
  width: 2rem;
  margin: 6px 0;
  background-color: var(--primary);
  position: relative;
  transform: translate(0, 0) rotate(0deg);
  transition: transform 150ms cubic-bezier(0.8, 0.25, 0.15, 0.9);
  transition-property: transform, width;
}

.toggle span:before {
  content: '';
  display: block;
  height: 100%;
  background-color: var(--primary);
  position: absolute;
  top: 0;
  left: 100%;
  transition: left 150ms cubic-bezier(0.8, 0.25, 0.15, 0.9);
}

.toggle span:nth-child(1):before {
  transition-delay: 0ms;
}

.toggle span:nth-child(2):before {
  transition-delay: 30ms;
}

.toggle span:nth-child(3):before {
  transition-delay: 60ms;
}

.toggle:hover span:before {
  left: -20%;
}

.toggle.active span {
  width: 0;
}

.toggle.active span:before {
  display: none;
}

.toggle.active span:first-child {
  width: 30px;
  transform: translate(0, 8px) rotate(45deg);
}

.toggle.active span:last-child {
  width: 30px;
  transform: translate(0, -8px) rotate(-45deg);
}

.toggle-container {
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  z-index: 5;
  top: 0;
  /* padding: 1.25rem; */
  width: 2rem;
  cursor: pointer;
  line-height: 1;
  color: var(--primary);
  font-size: var(--text-xs);
}

.login-register-side-nav {
  display: none;
}

.btn-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;

  .book-now {
    width: 100%;
    display: block;
  }
}

@media only screen and (min-width: 550px) {
  .header-menu {
    font-size: var(--text-sm);
  }

  .search-btn span {
    display: block;
  }

  .side-nav {
    width: 550px;
  }

  .language-container .btn-lang {
    display: block;
  }

  .btn-sticky-mobile {
    display: none;
  }

  .btn-header {
    display: flex;
  }

  .header-first-right {
    [title='Login'],
    [title='Create an account'] {
      display: block;
    }
  }
}

@media only screen and (min-width: 768px) {
  .header-first-left a:not(.text-bold) {
    display: block;
  }
}

@media only screen and (min-width: 1024px) {
  .search-container .search {
    width: clamp(1024px, 1024px, 100%);
  }
}

/* header control */
@media only screen and (min-width: 1200px) {
  .toggle-container {
    display: none;
  }

  .logo-container {
    display: none;
  }

  .side-nav {
    display: none;
  }

  .header-menu {
    display: flex;
  }
}

@media only screen and (min-width: 1300px) {
  .header-menu {
    font-size: var(--text-sm);
  }

  .btn-header {
    .book-now {
      padding-inline: 1.5rem;
    }
  }
}
