:root {
  --text-dark-blue: #34363e;
}

@font-face {
  font-family: Bellefair;
  src: url(../../assets/fonts/Bellefair-Regular.ttf);
}

/*Paragraph Text Font*/
@font-face {
  font-family: Barlow-Regular;
  src: url(../../assets/fonts/Barlow-Regular.ttf);
}

/*Body*/
body {
  height: 100vh;
  width: 100%;
  background-image: url(../../assets/destination/background-destination-desktop.jpg);
  background-position: center;
  background-size: cover;
  padding-top: 2%;
  padding-left: 3%;
  font-family: Barlow-Regular;
}

/*Navigation*/
.nav-box {
  display: flex;
  justify-content: space-between;
  height: 8%;
}

.nav-box__logo {
  display: flex;
  align-items: center;
}

.nav-box__links {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 2px;
  width: 60%;
  height: 100%;
  background-color: #49526967;
  color: white;
  font-family: Bellefair;
  font-size: 18px;
  padding-right: 4%;
  padding-left: 10%;
  position: relative;
  text-decoration: none;
}
.nav-box__links a {
  text-decoration: none;
  color: white;
}
.nav-box__links::before {
  content: "";
  width: 60%;
  height: 2px;
  background-color: #5e5f6b86;
  position: absolute;
  top: 50%;
  right: 96%;
}

.nav-box__links li:nth-child(2) {
  position: relative;
}

.nav-box__links li:nth-child(2)::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: white;
  position: absolute;
  bottom: -100%;
  left: 0;
}

.nav-box__links.nav-box__links:hover {
  cursor: pointer;
}

/*Destination Section*/
.destination {
  height: 90%;
  width: 100%;
  color: white;
  display: flex;
  justify-content: center;
}

.destination-wrapper {
  position: relative;
  height: 90%;
  width: 85%;
  display: flex;
  justify-content: flex-start; /* <--- changed from space-between */
  align-items: flex-end;
}

/*Top of wrapper*/
.pick-your-destination {
  position: absolute;
  top: 7%;
  font-size: 30px;
}
.pick-your-destination span {
  color: #8a8d98;
}
/*This is to align the destination image 
  and the text container on the right to 
  get them on the same level*/
.align-destination-containers {
  display: flex;
  gap: 5%;
  height: 70%;
}
.destination-wrapper__left {
  height: 100%;
  width: 40%;
  display: flex;
  align-items: center;
}
.destination-image {
  width: 100%;
}
.destination-wrapper__right {
  margin-left: 3%;
  width: 45%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.destination-wrapper__right_row1 {
  display: flex;
  list-style-type: none;
  gap: 10%;
  width: 100%;
  padding: 0px;
  font-size: 18px;
  font-weight: bold;
}
.destination-wrapper__right_row1 li {
  color: #7780a0;
}
.destination-wrapper__right_row1 li:first-child {
  padding-bottom: 1%;
  border-bottom: 2px solid white;
  color: white;
}
.destination-wrapper__right_row1:hover {
  cursor: pointer;
}
.destination-wrapper__right_row2 {
  font-size: 100px;
  width: 100%;
  letter-spacing: 4px;
}
.destination-wrapper__right_row3 {
  line-height: 4vh;
  font-size: 18px;
  letter-spacing: 1px;
  word-spacing: 4px;
  text-align: justify;
  color: #a7adc4;
}
.destination-wrapper__right_row4 {
  width: 100%;
  height: 0.1%;
  background-color: rgb(124, 124, 124);
  align-self: stretch;
  /* or */
  flex-shrink: 0;
  /* prevent shrinking */
  display: block;
  /* ensure block-level */
}
.destination-wrapper__right_row5 {
  display: flex;
  width: 80%;
}
.avg-distance-container {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
}
.avg-distance-title {
  width: 100%;
  color: #7780a0;
}
.avg-distance-number {
  font-size: 25px;
}
.estimated-travel-time-container {
  display: flex;
  flex-wrap: wrap;
  width: 50%;
}
.estimated-title {
  width: 100%;
  color: #7780a0;
}
.estimated-number {
  font-size: 25px;
}
.hambuger-wrapper {
  display: flex;
  align-items: center;
  display: none;
}
.close-menu {
  z-index: 1001;
  height: 10%;
  display: flex;
  justify-content: right;
}

.close-menu img {
  width: 4%;
  height: 30%;
}

.navigation-bar {
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #28282c, #1b1b1d);
  display: flex;
  flex-direction: column;
  padding: 8%;
  display: none;
}

.nav-box__links-mobile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  list-style-type: none;
  width: 100%;
  height: 20%;
  color: white;
  letter-spacing: 2px;
  padding: 0px;
  font-size: 20px;
  z-index: 1001;
}

.nav-box__links-mobile span {
  font-weight: bolder;
}

.nav-box__links-mobile a {
  color: white;
  text-decoration: none;
}
.nav-box__links-mobile:hover {
  cursor: pointer;
}
/* Mobile styles */
@media (max-width: 767px) {
  /*Body*/
  body {
    padding: 0px;
    background-image: url(../../assets/destination/background-destination-mobile.jpg);
  }

  /*Navigation Styling for Mobile*/
  .nav-box__links::before {
    display: none;
  }

  .nav-box__links {
    width: 85%;
    display: none;
  }
  .navigation-bar {
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #28282c, #1b1b1d);
    display: flex;
    flex-direction: column;
    padding: 8%;
  display: none;  }
  /* .nav-box::after {
    content: url(../../assets/shared/icon-hamburger.svg);
    margin: auto 0;
  } */
  .hambuger-wrapper {
    display: flex;
  }

  .nav-box {
    padding: 4%;
    height: 10%;
  } /*Hero section styling for Mobile*/
  .align-destination-containers {
    flex-direction: column;
    align-items: center;
  }

  .destination-wrapper__right {
    width: 80%;
  }

  .destination-wrapper {
    width: 90%;
    align-items: center;
  }

  .destination-wrapper__right {
    text-align: center;
  }

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

  .destination-wrapper__right_row3 {
    text-align: center;
  }

  .estimated-travel-time-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 50%;
  }

  .avg-distance-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 50%;
  }

  .destination-wrapper__right_row5 {
    width: 100%;
  }

  .destination-wrapper__right_row4 {
    margin-top: 3%;
    margin-bottom: 3%;
  }

  .align-destination-containers {
    margin-top: -4%;
  }

  .pick-your-destination {
    position: absolute;
    top: 4%;
    font-size: 22px;
    letter-spacing: 4px;
  }
}

/* Tablet styles */
@media (min-width: 768px) and (max-width: 1024px) {
  body {
    background-image: url(../../assets/destination/background-destination-tablet.jpg);
  }

  /*Navigation Styling for Tablets*/
  .nav-box__links::before {
    display: none;
  }

  .nav-box__links {
    width: 85%; /*Hero section styling for tablets*/
    .align-destination-containers {
      flex-direction: column;
      align-items: center;
    }

    .destination-wrapper__right {
      width: 80%;
    }

    .destination-wrapper {
      width: 90%;
      align-items: center;
    }

    .destination-wrapper__right {
      text-align: center;
    }

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

    .destination-wrapper__right_row3 {
      text-align: center;
    }

    .estimated-travel-time-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      width: 50%;
    }

    .avg-distance-container {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      width: 50%;
    }

    .destination-wrapper__right_row5 {
      width: 100%;
    }

    .destination-wrapper__right_row4 {
      margin-top: 3%;
      margin-bottom: 3%;
    }

    .align-destination-containers {
      margin-top: -4%;
    }

    .pick-your-destination {
      position: absolute;
      top: 4%;
      font-size: 22px;
      letter-spacing: 4px;
    }
  }
  /*Hero section styling for tablets*/
  .align-destination-containers {
    flex-direction: column;
    align-items: center;
  }
  .destination-wrapper__right {
    width: 80%;
  }
  .destination-wrapper {
    width: 90%;
    align-items: center;
  }
  .destination-wrapper__right {
    text-align: center;
  }
  .destination-wrapper__right_row1 {
    justify-content: center;
  }
  .destination-wrapper__right_row3 {
    text-align: center;
  }
  .estimated-travel-time-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 50%;
  }
  .avg-distance-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 50%;
  }
  .destination-wrapper__right_row5 {
    width: 100%;
  }
  .destination-wrapper__right_row4 {
    margin-top: 3%;
    margin-bottom: 3%;
  }
  .align-destination-containers {
    margin-top: -4%;
  }
  .pick-your-destination {
    position: absolute;
    top: 4%;
    font-size: 22px;
    letter-spacing: 4px;
  }
}
