h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
}

h2 {
  font-size: clamp(1rem, 2vw, 2rem);
}

p,
li,
button {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
}

@media (min-width: 1600px) {
  h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  h2 {
    font-size: clamp(1rem, 2vw, 2rem);
  }

  p,
  li,
  button {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
  }
}

.header-carousel, 
.header-carousel .slick-list, 
.header-carousel .slick-track {
  height: 50vh;
  height: 50dvh;
}

header {
  display: block;
  height: 50vh;
  height: 50dvh;
  position: relative;
  visibility: hidden;
}

header::-webkit-scrollbar {
  display: none;
}

header.slick-initialized {
  visibility: visible;
}

.header-carousel-card {
  height: 50vh;
  height: 50dvh;
  position: relative;
  overflow: hidden;

  scroll-snap-align: start;
}

.header-carousel-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.header-carousel-card .header-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;

  padding: 1rem;
  padding-bottom: 2rem;

  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  color: white;

  background: linear-gradient(
    0deg, 
    rgba(0, 0, 0, 0.6) 0%, 
    rgba(0, 0, 0, 0) 40%
  );    
}  

.header-carousel-card h1,
.header-carousel-card p {
  width: 80%;
}

.header-carousel-card p {
  font-weight: 300;
}

.slick-prev {
  left: 20px;
  color: white;
}

.slick-next {
  right: 20px;
}

.slick-dots {
  bottom: 10px;
  position: absolute;
  width: 100%;
}

.slick-dots li {
  margin: 0 3px;
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before {
  color: white;
  font-size: 8px;
  opacity: 0.5;
}

.slick-dots li.slick-active button:before {
  opacity: 1;
}

.slick-dotted.slick-slider {
  margin-bottom: 0;
}

/* Main */
main {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin: 0 auto;
  padding: 1rem;

  transition: padding 0.3s ease;
}

.journey {
  max-width: 1920px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  text-align: justify;
}

.journey-card-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journey-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  padding: 0.5rem;
  border-radius: 20px;

  text-decoration: none;
  color: #fff;
  background: linear-gradient(90deg, #0c4a6e, #55aedf);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  transition: box-shadow 0.3s ease;
}

.journey-card:hover span {
  padding: 0 0.5rem;
}

.journey-card span {
  display: flex;
  align-items: center;

  padding: 0;

  border: 1px solid white;
  border-radius: 20px;

  transition: padding 0.3s ease;
}

.journey-card span img {
  width: 1.5rem;
}

.journey-card:hover{
  box-shadow: none;
}

.journey-card-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.journey-card-left .blue-filter {
  filter: invert(21%) sepia(99%) saturate(1040%) hue-rotate(194deg) brightness(96%) contrast(89%);;
}

.icon-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 1.8rem;
  height: 1.8rem;

  border: 2px solid #fff;
  border-radius: 50%;

  background-color: #fff;
  box-shadow: 0px 0px 0px 2.2px #005199 inset;
}

.icon-container img{
  width: 1.1rem;
}

.destination {
  max-width: 1920px;
  text-align: justify;
}

.destination-left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.destination-title {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.destination-title img {
  order: 1;
  width: clamp(2rem, 5vw, 4rem);
  filter: invert(0%) sepia(0%) saturate(50%) hue-rotate(266deg) brightness(0%) contrast(105%);
}

.destination-right {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  
  margin-top: 1rem;
}

.destination-card {
  aspect-ratio: 10 / 13;
  overflow: hidden;

  border-radius: 20px;

  box-shadow: 0 0 5px #7a7a7a;

  transition: box-shadow 0.5s ease;
  position: relative;
}

.destination-card:hover {
  box-shadow: none;
}

.destination-card img {
  width: 100%;
  height: 100%;

  z-index: 0;
}

.destination-card div {
  padding-bottom: 1rem;

  color: white;
  text-align: center;

  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.overview {
  max-width: 1920px;
}

.overview-image-container {
  aspect-ratio: 5 / 2;
  overflow: hidden;
  
  border-radius: 20px;

  box-shadow: 0 0 5px #7a7a7a;

  transition: box-shadow 0.5s ease;
}

.overview-image-container:hover {
  box-shadow: none;
}

.overview-image-container img {
  width: 100%;
  height: 100%;

  object-fit: cover;
}

.overview-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: justify;

  margin-top: 1rem;
}

.carrousel-nav-wrapper {
  position: relative;
}

.overview-card-container {
  display: flex;
  gap: 0.5rem;

  border-radius: 20px;

  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  position: relative;

  -ms-overflow-style: none;
  scrollbar-width: none;
}

.overview-card-container::-webkit-scrollbar {
  display: none;
}

.overview-card {
  flex: 0 0 100%;
  aspect-ratio: 5 / 3;

  border-radius: 20px;

  position: relative;
  display: inline-block;
  overflow: hidden;

  scroll-snap-align: start;
}

.overview-card img {
  width: 100%;
  height: 100%;
}

.overview-card div {
  padding: 2rem 1rem 1rem 1rem;

  color: #fff;
  text-align: right;

  position: absolute;
  bottom: 0;
  right: 0; 
  width: 100%;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
}

.overview-card p {
  font-weight: 700;
}

.overview-carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 0 0.3rem;

  pointer-events: none;

  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 10;
}

.overview-carousel-nav button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 2rem;
  height: 2rem;
  
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;

  cursor: pointer;
  pointer-events: auto;

  opacity: 80%;
}

.hidden {
  display: none;
}

@media (min-width: 800px) {
  .header-carousel, 
  .header-carousel .slick-list, 
  .header-carousel .slick-track {
    height: 60vh;
  }

  header {
    height: 60vh;
  }

  .header-carousel-card{
    height: 60vh;
  }

  .header-carousel-card .header-text{
    padding: 2rem;

    transition: padding 0.3s ease;
  }

  .header-carousel-card .header-text h1,
  .header-carousel-card .header-text p {
    width: 70%;
  }

  main {
    gap: 4rem;

    padding: 2rem;

    transition: padding 0.3s ease;
  }

  .destination {
    display: flex;
    gap: 2rem;
  }

  .destination-left {
    justify-content: center;
  }

  .destination-title {
    flex-direction: column;
    align-items: start;
  }

  .destination-title img {
    order: 0;
  }

  .destination-title h2 {
    width: 80%;
    text-align: start;
  }

  .destination-right {
    margin-top: 0;
    gap: 1rem;
  }

  .overview {
    display: flex;
    gap: 2rem;
  }

  .overview-image-container {
    aspect-ratio: 16 / 9;
    flex: 0.9;
  }

  .overview-right {
    flex: 1;
    justify-content: flex-end;

    margin-top: 0;
  }

  .overview-right h2,
  .overview-right p {
    padding-left: 1.5rem;
  }

  .overview-right h2 {
    text-align: start;
  }

  .overview-card{
    flex: 0 0 80%;

    scroll-snap-align: center;

    transition: flex-basis 0.5s ease;
  }
}

@media (min-width: 1000px) {
  .header-carousel-card .header-text{
    padding: 4rem;

    transition: padding 0.3s ease;
  }

  .slick-dots li button:before,
  .slick-dots li.slick-active button:before {
    color: white;
    font-size: 12px;
  }

  main {
    gap: 7rem;

    padding: 4rem;

    transition: padding 0.3s ease;
  }

  .journey-card-container {
    flex-direction: row;
    gap: 1rem;
  }

  .journey-card {
    flex: 1;
    align-items: flex-end;

    padding: 1rem;

    min-height: clamp(7rem, 15vw, 10rem);
  }

  .journey-card span {
    padding: 0 1rem;
    transition: padding 0.5s ease;
  }
  
  .journey-card:hover span {
    padding: 0 0.3rem;
  }

  .journey-card-left {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
  }

  .journey-card-left .icon-container {
    width: 3.5rem;
    height: 3.5rem;
  }

  .journey-card-left .icon-container img {
    width: 2.3rem;
  }
}

@media (min-width: 1200px) {
  .header-carousel, 
  .header-carousel .slick-list, 
  .header-carousel .slick-track {
    height: 70vh;
  }

  header {
    height: 70vh;
  }

  .header-carousel-card{
    height: 70vh;
  }

  .header-carousel-card .header-text{
    padding: 6rem;

    transition: padding 0.3s ease;
  }

  main {
    padding: 6rem;
    gap: 10rem;

    transition: padding 0.3s ease;
  }

  .journey {
    gap: 1rem;
  }

  .journey-card-container {
    gap: 2rem;
  }

  .destination-left p {
    width: 95%;
  }

  .destination-right {
    gap: 2rem;
  }

  .destination-card {
    max-height: 80rem;
  }


  .overview-card-container {
    gap: 1rem;
  }

  .overview-card {
    flex: 0 0 50%;

    transition: flex-basis 0.5s ease;
  }
}

@media (min-width: 1400px) {
  .destination-card {
    max-height: 60rem;
  }

  .overview-card {
    flex: 0 0 50%;
  }
}