@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");

:root {
  --licblue: #1e2875;
  --globalPadding: clamp(1rem, -5rem + 12.5vw, 3rem);
  --navHeight: 86px;
  --bodyFontSize: clamp(1rem, 0.66rem + 0.532vw, 1.125rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #ffffff;
  font-family: "Open Sans", sans-serif;
}

.row {
  margin: 0 auto;
  padding: 0 0 0 var(--globalPadding);
}

img {
  width: 100%;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
}

/* HEADER styles */
.header__banner {
  display: none;
  align-items: center;
  height: 4rem;
  background-color: var(--licblue);
}

.header__banner--container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 var(--globalPadding);
}

.banner__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 12px;
  opacity: 0.9;
}

.banner__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner__login {
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.9;
}

.banner__contact {
  border: 1px solid white;
  padding: 6px 12px;
  border-radius: 0.15rem;
}

.banner__contact:hover {
  background: #539599;
}

.banner__search {
}

nav {
  height: 65px;
  position: relative;
  z-index: 10;
  /* background-color: var(--licblue); */
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0 0.5rem 0.5rem;
}

.nav__toggle span {
  display: block;
  width: 27px;
  height: 1px;
  background: #ffffff;
  margin: 0 auto;
  transition:
    transform 200ms ease,
    opacity 200ms ease;
}

.nav__toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  background: #1c225d;
  z-index: 1000000;
}

.scrolled + .header__hero {
  /* sibling offset */
  margin-top: 0; /* keep layout from jumping when nav becomes fixed */
}

.nav__container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 var(--globalPadding);
  border-bottom: 1px solid #b1bdd0;
}

.nav__logo--wrapper {
  display: flex;
  align-items: center;
  width: clamp(19rem, 15.374rem + 13.491vw, 24rem);
}

.nav__list {
  display: none;
  align-items: center;
}

.nav__list--item {
  height: var(--navHeight);
  display: flex;
  align-items: center;
  padding: 10px 20px;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: 0.025em;
  position: relative;
}

.nav__list--item:hover,
.nav__list--item:hover i,
.nav__list--item:hover .list-item__title,
.nav__list--item:hover .list-item__title i {
  color: #8dd2e2;
}

.list-item__title {
  display: flex;
  align-items: center;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(28, 34, 93, 0.9);
  min-width: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.nav__list :last-child .nav__dropdown {
  left: auto;
  right: 0;
} /*  last nav list item is pushed inwards to prevent breakage  */

.nav__list--item:hover .nav__dropdown,
.nav__list--item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav__dropdown li {
  white-space: nowrap;
}

.nav__dropdown li a:hover {
  color: #8dd2e2;
  opacity: 1;
}

.nav__dropdown li a {
  height: 100%;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 14px;
}

/*  */

.fa-chevron-down {
  margin-left: 0.4rem;
}

.header__hero {
  position: relative;
  padding-top: 113px;
  padding-bottom: 70px;
  margin-top: -87px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 1000002;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__panel {
  width: min(360px, 90%);
  background: #1c225d;
  height: 100%;
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 240ms ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.mobile-menu.is-open .mobile-menu__panel {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu__brand {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 16px;
  text-transform: uppercase;
}

.mobile-menu__close {
  border: none;
  background: rgba(255, 255, 255, 0.12);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu__toggle {
  width: 100%;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.mobile-menu__chevron {
  font-size: 12px;
  transition: transform 160ms ease;
}

.mobile-menu__item.is-open .mobile-menu__chevron {
  transform: rotate(-180deg);
}

.mobile-menu__submenu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 200ms ease;
}

.mobile-menu__item.is-open .mobile-menu__submenu {
  max-height: 500px;
}

.mobile-menu__submenu a {
  display: block;
  padding: 10px 0 10px 6px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

.mobile-menu__actions {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-direction: column;
}

.mobile-menu__contact {
  text-align: center;
  display: block;
  width: 100%;
  font-weight: 700;
  border-color: #8dd2e2;
  padding: 12px 14px;
}

.mobile-menu__login {
  text-align: center;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.mobile-nav-open {
  overflow: hidden;
}

.videom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5);
}

.hero {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  padding: 1rem;
}

.hero__panels {
}

.panel {
  display: block;
  width: 33px;
  height: 110px;
  margin: 21px -15px;
  border: none;
  cursor: pointer;
  opacity: 0.25;
}

.panel::after {
  background: #b1bdd0;
  content: "";
  display: block;
  height: 100%;
  margin: 0 auto;
  width: 3px;
}

.panel.active {
  opacity: 1;
}

.hero__container {
  padding: 225px 20px 40px 35px;
}

.hero__title {
  font-size: clamp(2.188rem, -2.5rem + 9.766vw, 3.75rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.055em;
  font-family: "Montserrat", sans-serif;
}

.hero__booking {
  padding-top: 1.5rem;
}

.hero__booking a,
.main__booking a {
  font-weight: 600;
  display: flex;
  align-items: center;
  letter-spacing: -0.1px;
}

.hero__booking a::after {
  background-image: url("assets/teal-arrow.svg");
}

.main__booking a {
  color: #1c225d;
}

.main__booking a::after {
  background-image: url("assets/aqua-arrow.svg");
}

.hero__booking a::after,
.main__booking a::after {
  content: "";
  width: 56px;
  height: 24px;
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left center;
  display: inline-block;
  flex: 0 0 auto;
  margin-left: 8px;
}

.hero__booking:hover a::after,
.hero__booking a:hover::after,
.main__booking:hover a::after,
.main__booking a:hover::after,
.box__overlay-links a:hover::before {
  animation: heroBookingPulse 200ms ease;
}

@keyframes heroBookingPulse {
  0% {
    background-size: 100% auto;
  }
  50% {
    background-size: 70% auto;
  }
  100% {
    background-size: 100% auto;
  }
}

/* HEADER */

/* MAIN */
.main__left,
.main__right .main__right--box {
  color: black;
  background-color: #f1f2f3;
  border-left: 1px solid #b1bdd0;
  border-top: 1px solid #b1bdd0;
}

.main__left {
  padding: 3rem var(--globalPadding);
}

.main__left--h1,
.main__left--p {
  color: var(--licblue);
}

.main__left--h1,
.approach__left--h1 {
  font-weight: 600;
  line-height: 125%;
  font-size: 24px;
  font-family: "Montserrat", sans-serif;
}

.main__left--p,
.approach__left--p {
  font-size: var(--bodyFontSize);
  margin-bottom: 1rem;
  line-height: 1.5;
  letter-spacing: -0.5px;
}

.main__right--box {
  padding: 2rem clamp(1.5rem, -7.227rem + 13.636vw, 3rem);
  position: relative;
  overflow: hidden;
}

.main__right--box::after {
  content: "";
  background-image: url(/assets/arrow-down-circle.svg);
  background-repeat: no-repeat;
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 28px;
  height: 28px;
}

.box__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
  gap: 2.5rem;
}

.box-h3 {
  font-size: clamp(1.125rem, -0.75rem + 3.906vw, 1.75rem);
  color: var(--licblue);
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.box-img {
  width: 60px;
  opacity: 0.25;
}

.box__overlay {
  position: absolute;
  inset: 0;
  background: #4f8f93;
  padding: 2rem clamp(1.5rem, -7.227rem + 13.636vw, 3rem);
  display: none;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
}

.box__overlay-title {
  font-size: 28px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
}

.box__overlay-text {
  font-size: var(--bodyFontSize);
  line-height: 1.5;
  opacity: 0.9;
  letter-spacing: -0.5px;
}

.box__overlay-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.box__overlay-links li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.box__overlay-links a {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
}

.box__overlay-links a::before {
  content: "";
  width: 56px;
  height: 24px;
  background-image: url("assets/teal-arrow.svg");
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: left center;
  display: inline-block;
  flex: 0 0 auto;
  margin-right: 8px;
}

.main__approach {
  display: flex;
  flex-direction: column;
}

.approach__left {
  /* width: 100%; */
  background-color: #1c225d;
  border: 1px solid #457c80;
  padding: 2rem var(--globalPadding);
}

.approach__left--container {
  display: flex;
  flex-direction: column;
}

.approach__left--h1 {
  margin-bottom: 16px;
}

.approach__right {
  overflow: hidden;
  background-image: url("./assets/pepsicolasign.jpg");
  background-size: cover;
  background-position: center;
  min-height: 63vw;
}

.approach__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACT MODAL */

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 1000001;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal__dialog {
  width: min(560px, 100%);
  background: #ffffff;
  color: #1c225d;
  border-radius: 12px;
  padding: 32px 28px 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
  position: relative;
}

.contact-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #1c225d;
  cursor: pointer;
}

.contact-modal__title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1c225d;
  font-family: "Montserrat", sans-serif;
}

.contact-modal__subtitle {
  color: #1c225d;
  opacity: 0.8;
  margin-bottom: 16px;
}

.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-modal__label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #1c225d;
  font-weight: 600;
  font-size: 14px;
}

.contact-modal__input,
.contact-modal__textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #d7dbe7;
  background: #f6f7fb;
  color: #1c225d;
  font-size: 15px;
}

.contact-modal__input::placeholder,
.contact-modal__textarea::placeholder {
  color: #7b819c;
}

.contact-modal__textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-modal__input:focus,
.contact-modal__textarea:focus {
  outline: none;
  border-color: #539599;
  box-shadow: 0 0 0 3px rgba(83, 149, 153, 0.2);
}

.contact-modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.contact-modal__submit {
  border: none;
  background: var(--licblue);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition:
    background 200ms ease,
    transform 200ms ease;
}

.contact-modal__submit:hover {
  background: #539599;
  transform: translateY(-1px);
}

.contact-modal__submit:active {
  transform: translateY(0);
}
/* MAIN */

/* FOOTER */
.footer__container {
  background-color: var(--licblue);
  text-align: center;
}

.footer__img {
  padding: 2rem 0;
}

.footer__iframe {
  border: none;
  width: 100%;
  height: 460px;
  max-width: 812px;
  border-radius: 0.25rem;
}

.copyright {
  padding: 1rem 0;
  background-color: #1c225d;
}

/* FOOTER */

/* Media Queries */
@media (min-width: 1400px) {
}

@media (min-width: 1200px) {
  .header__banner {
    display: flex;
  }
}

@media (min-width: 1024px) {
  nav {
    height: 86px;
  }
  .nav__toggle {
    display: none;
  }

  .nav__list {
    display: flex;
  }
  .hero__container {
    padding: 114px 0 40px 100px;
  }
  .header__hero {
    padding-top: 86px;
    height: calc(100vh - 63px);
    padding-bottom: 0; /* reset to default if needed, or remove this line */
  }
  .main__header {
    display: flex;
  }
  .main__right--box::after {
    display: none;
  }
  .main__left,
  .main__right,
  .main__right--box {
    display: flex;
    width: 50%;
    min-height: 360px;
  }

  .main__right {
    flex-wrap: wrap;
    margin-top: -100px;
  }

  .main__left--h1,
  .approach__left--h1 {
    font-size: 38px;
  }

  .main__approach {
    flex-direction: row;
  }
  .approach__left,
  .approach__right {
    width: 50%;
  }
  .approach__right {
    min-height: 450px;
  }
  .box__overlay {
    display: flex;
  }

  .main__right--box:hover .box__overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .main__right--box:hover .box__wrapper {
    opacity: 0;
  }

  .main__left--h1 {
    margin-bottom: 16px;
  }
  .main__left--p,
  .approach__left--p {
    text-align: justify;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: var(--globalPadding);
  }
}
