@import url("https://fonts.googleapis.com/css2?family=Righteous&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --primary-color: #1658d4fe;
  --primary-color-dark: #2476da;
  --text-dark: #0a0a0a;
  --text-light: #737373;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
  --background-clr: #edf33a;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  /* background-color: var(--background-clr); */
  z-index: 0;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__container-2 {
  /* max-width: var(--max-width); */
  /* margin: auto; */
  /* display: fle;/ */
  justify-content: center;
  padding: 5rem 1rem;
}

.section__header {
  margin-bottom: 5px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
}

.section__description {
  max-width: 600px;
  margin-inline: auto;
  color: var(--text-light);
  text-align: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  outline: none;
  border: none;
  font-size: 1rem;
  white-space: nowrap;
  color: white;
  background-color: var(--primary-color);
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.logo img {
  width: 250px;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

nav {
  position: fixed;
  isolation: isolate;
  top: 0;
  width: 100%;
  background-color: var(--primary-color);
  z-index: 9999;
}

.nav__header {
  padding: 1rem;
  /* width: 100%; */
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  border-bottom: 20px;
  border-left: 20px;
  z-index: 999;
}

.nav__logo .logo {
  font-size: 1.5rem;
  color: var(--white);
}

.nav__menu__btn {
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}

/* Update only these CSS rules */
.nav__links {
  position: fixed;
  top: -100%;  /* Changed from bottom: 0 */
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  color: var(--white);
  background-color: var(--primary-color);
  transition: 0.5s;
  /* z-index: 999999;   */
}

.nav__links.open {
  top: 60px;  /* Changed from transform: translateY(100%) */
}

.nav__links a {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}

.nav__links li a:hover {
  color: var(--background-clr);
}

.nav__btns {
  display: none;
}

.nav__btns a {
  color: #ffffff;
}

header {
  margin-inline: 1rem;
  margin-top: 7rem;
  padding-inline: 1rem;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header::before {
  position: absolute;
  content: "";
  height: 100%;
  width: calc(100% - 2rem);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url("assets/background-header.jpg");
  background-position: center center;
  background-size: cover;
  opacity: 40%;
  background-repeat: no-repeat;
  border-radius: 3rem;
  /* z-index: -1; */
}

.header__container {
  display: grid;
}

.header__content {
  /* padding: 2rem 1rem; */
  margin-left: 20px;
}

.inject {
  margin-top: 5rem;
}

.header__content p {
  margin-bottom: 5px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
}

.header__content h1 {
  margin-bottom: 2rem;
  width: 600px;
  font-size: 4.5rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 4.5rem;
  text-align: center;
}

.header__img {
  width: 80%;
}

.header__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.header__btns .btn {
  padding: 1rem 2rem;
}

.header__btns .a-first {
  color: white;
}

.header__btns .a-second {
  padding: 9px 13px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: var(--white);
  border-radius: 100%;
}

.header__btns a:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.destination__container :is(.section__header, .section__description) {
  text-align: center;
  /* margin-inline-start: unset; */
}

.destination__grid {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem 1rem;
}

.destination__card img {
  border-radius: 1.5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  width: 900px;
  height: 500px;
  object-fit: contain;
}

.destination__card__details {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.destination__card__details h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
  font-weight: 600;
  columns: var(--text-dark);
}

.destination__card__details p {
  columns: var(--text-light);
}

.destination__rating {
  padding: 5px 10px;
  font-size: 0.9rem;
  white-space: nowrap;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 1rem;
  transition: 0.3s;
}

.destination__card:hover .destination__rating {
  background-color: var(--primary-color-dark);
}

.journey__grid {
  margin-top: 2rem;
  display: grid;
  gap: 0 1rem;
}

.journey__card {
  position: relative;
  isolation: isolate;
  padding-top: 4rem;
  overflow: hidden;
}

.journey__card__bg {
  padding: 3.5rem;
  background-color: var(--extra-light);
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  border: 1px solid #0a0a0a;
}

.journey__card__bg span {
  display: inline-block;
  margin-bottom: 4rem;
  font-size: 1.75rem;
  color: var(--primary-color);
}

.journey__card__bg h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.journey__card__content {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2rem;
  background-color: var(--primary-color);
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  transition: 0.3s;
}

.journey__card:hover .journey__card__content {
  top: 0;
}

.journey__card__content span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 7px 9px;
  font-size: 1rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
}

.journey__card__content h4 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.journey__card__content p {
  color: var(--extra-light);
}

.showcase__container {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.showcase__container-2 {
  display: grid;
  gap: 2rem;
  overflow: hidden;
}

.showcase__image img {
  max-width: 400px;
  margin-inline: auto;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.videoDivoom {
  object-fit: fill;
}

.showcase__image-2 video {
  max-width: var(--max-width);
  margin-inline: auto;
  margin-left: 5rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.showcase__content h4 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.showcase__content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.showcase__content .btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  background-image: url("assets/header-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.showcase__content .btn a {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  /* background-image: url("assets/header-bg.jpg"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.showcase__content .btn a:hover {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  /* background-image: url("assets/header-bg.jpg"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.showcase__container-2 {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 20px; /* Beri jarak antar elemen */
}

.showcase__image-2 img {
  max-width: 100%; /* Pastikan gambar tidak melewati container */
  height: auto;
  margin-left: 20px;
}

.showcase__content-2 {
  max-width: 600px; /* Batasi lebar teks agar rapi */
  text-align: center;
}

.showcase__content-2 h4 {
  margin-bottom: 2rem;
  font-size: 3rem;
  font-weight: 600;
  color: var(--text-dark);
}

.showcase__content-2 p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.showcase__content-2 .btn {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  background-image: url("assets/header-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.showcase__content-2 .btn a {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  /* background-image: url("assets/header-bg.jpg"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.showcase__content-2 .btn a:hover {
  width: 100%;
  margin-top: 2rem;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  /* background-image: url("assets/header-bg.jpg"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 5px;
}

.banner__container {
  display: grid;
  gap: 2rem;
}

.banner__card {
  padding: 2rem 1rem;
  text-align: center;
  background-color: var(--extra-light);
  border-radius: 2rem;
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.banner__card h4 {
  font-size: 3rem;
  font-weight: 500;
  color: var(--primary-color);
}

.banner__card p {
  color: var(--text-light);
}

.discover__grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

.discover__card {
  padding: 2rem 1rem;
  text-align: center;
  transition: 0.3s;
  border-radius: 1rem;
}

.discover__card:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.1);
}

.discover__card span {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 10px 15px;
  font-size: 1.5rem;
  color: var(--primary-color);
  background-color: rgba(40, 135, 255, 0.1);
  border-radius: 100%;
}

.discover__card h4 {
  max-width: 150px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.destination__card p {
  color: var(--text-light);
}

.swiper {
  margin-top: 4rem;
  width: 100%;
  padding: 0 20px; /* Add padding for navigation arrows */
}

.swiper-slide {
  width: auto; /* Change to auto */
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client__card {
  width: 100%; /* Add this */
  max-width: 300px;
  margin: 0 auto; /* Add this */
  padding: 5px;
  background-color: var(--extra-light);
  border-radius: 1rem;
  transition: 0.3s;
}

.client__container {
  margin: 0;
}

.client__card:hover {
  background-color: var(--primary-color);
}

.client__content {
  padding: 1rem;
  background-color: var(--white);
  border-radius: calc(1rem - 5px);
  text-align: center;
}

.client__rating {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.client__content p {
  color: var(--text-dark);
}

.client__details {
  padding: 1rem;
  /* display: flex; */
  align-items: center;
  gap: 1rem;
}

.client__details img {
  max-width: 50px;
  border-radius: 100%;
}

.client__details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: 0.3s;
}

.client__card:hover h4 {
  color: var(--white);
}

.client__details h5 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  transition: 0.3s;
}

.client__card:hover h5 {
  color: var(--extra-light);
}

footer {
  background-color: var(--extra-light);
}

.footer__container {
  display: grid;
  gap: 4rem 2rem;
}

.footer__col p {
  max-width: 300px;
  margin-block: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__socials a {
  display: inline-block;
  padding: 7px 10px;
  font-size: 1.25rem;
  color: var(--white);
  background-color: var(--primary-color);
  border-radius: 100%;
}

.footer__socials a:hover {
  background-color: var(--primary-color-dark);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-dark);
}

.footer__links {
  display: grid;
  gap: 1rem;
}

.footer__links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.footer__links a:hover {
  color: var(--primary-color);
}

.footer__links a span {
  font-size: 1.25rem;
}

.footer__col form {
  display: grid;
  gap: 1rem;
}

.footer__col input {
  padding: 0.75rem;
  font-size: 1rem;
  color: var(--text-dark);
  background-color: var(--white);
  border: 1px solid var(--text-light);
  border-radius: 5px;
}

.footer__col input::placeholder {
  color: var(--text-light);
}

.footer__col .btn {
  border-radius: 5px;
}

.footer__bar {
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

/* Mobile nav */
@media screen and (max-width: 500px) {
  body {
    overflow-x: hidden;
  }
  .destination__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .showcase__image-2 video {
    max-width: var(--max-width);
    margin-inline: auto;
    /* margin-left: 2.5rem; */
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  }

  .section__container-2 {
    margin: auto;
  }

  .section__container {
    margin: 0;
  }

  .destination__card img {
    border-radius: 1.5rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    height: 500px;
    object-fit: cover;
  }

  header {
    margin-top: -2rem;
  }

  #home {
    display: flex;
    justify-content: center;
    margin-top: 7rem;
    z-index: -1;
  }

  .header__content {
    margin-left: 0;
  }

  .header__content h1 {
    width: fit-content;
    align-items: center;
    font-size: 3rem;
    line-height: 3rem;
  }

  .header__content p {
    margin-block: 25px 20px;
  }

  .header__img {
    width: 80%;
    margin: auto;
  }

  .journey__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  .showcase__content-2 {
    width: 330px;
    margin: auto;
  }

  .showcase__content-2 p {
    font-size: 1rem;
  }
  
  video {
    width: 230px;
    
  }

  .showcase__content-2 h4{
    font-size: 2rem;
  }

  .showcase__content-2 img{
    font-size: 2rem;
    margin-left: 0;
  }

  .banner__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .discover__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }

  header {
    margin-top: 7rem;
  }

  #home {
    display: flex;
    margin-top: 7rem;
    justify-content: center;
  }

  .header__content h1 {
    width: fit-content;
    align-items: center;
    /* size: 10px; */
  }

  .header__content p {
    margin-block: 25px 20px;
  }
  .open {
    z-index: 999999999;
  }
  nav {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
  }
  #contact__form {
    order: 4;
  }
}

@media only screen and (max-device-width: 580px) {
  .destination__card {
    overflow-x: hidden;
  }
  .destination__card {
    overflow-x: hidden;
  }
  .open {
    z-index: 999999999;
    overflow-x: hidden;
  }

  /* .showcase__content-2 {
    align-items: center;
    justify-content: center;
    text-align: center;
  } */

  .destination__card img {
    border-radius: 1.5rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
    width: 300px;
    height: 500px;
    object-fit: cover;
  }
  .nav__logo img {
    width: 180px;
  }
  .swiper-slide {
    padding: 0; /* Remove padding to prevent gaps */
    margin: 0; /* Ensure no additional margins */
  }
  body {
    overflow-x: hidden;
  }
  .destination__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  .showcase__container-2 {
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
  }

  .banner__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .discover__grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__container {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__col:last-child {
    grid-area: 2/1/3/2;
  }

  .footer__col {
    order: 0;
  }

  #contact__form {
    order: 4;
  }

  header {
    margin-top: 7rem;
    size: 1rem;
  }
  .showcase__image-2 {
    display: flex;
  }
  video {
    padding: auto;
    margin: auto;
    width: 350px;
    height: 500px;
    order: 2;
  }

  #home {
    display: flex;
    justify-content: center;
  }

  .header__content h1 {
    width: fit-content;
    padding: 8px;
    align-items: center;
    line-height: 3.5rem;
    font-size: 3.2rem;
  }

  .header__content p {
    margin-block: 25px 20px;
    padding-inline: 4px;
    font-size: 1.7rem;
  }

  .header__content img{
    margin-top: 8px;
  }

  nav {
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
  }
}
@media (width > 768px) {
  nav {
    /* position: static; */
    padding: 1rem 1rem;
    /* max-width: var(--max-width); */
    /* margin-inline: auto; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 20px;
    border-left: 20px;
  }


  .nav__header {
    flex: 1;
    padding: 0;
    background-color: transparent;
    border-bottom: 20px;
    border-left: 20px;
  }

  .nav__logo .logo {
    color: var(--text-dark);
  }

  .nav__menu__btn {
    display: none;
  }

  .nav__links {
    position: static;
    width: fit-content;
    padding: 0;
    flex-direction: row;
    background-color: transparent;
    transform: none !important;
  }

  .nav__links a {
    color: var(--white);
  }

  .nav__links a:hover {
    color: var(--primary-color);
  }

  .nav__links li:last-child {
    display: none;
  }

  .nav__btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }

  .nav__btns button {
    padding: 0.75rem 2rem;
    background-color: var(--text-dark);
  }

  .header__container {
    grid-template-columns:
      minmax(0, 1fr)
      repeat(5, minmax(0, calc(var(--max-width) / 5)))
      minmax(0, 1fr);
  }

  .header__content {
    grid-column: 2/4;
    padding-block: 3rem;
  }

  .header__content :is(p, h1) {
    text-align: left;
  }

  .header__btns {
    justify-content: flex-start;
  }

  .header__image {
    grid-column: 5/8;
    position: relative;
    isolation: isolate;
    height: 100%;
    /* padding-left: 20px; */
  }

  .header__image img {
    position: absolute;
    top: 0rem;
    left: 0;
    height: 100%;
    width: 90%;
    /* width: unset; */
  }

  .destination__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .journey__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__content {
    grid-column: 2/4;
  }

  .showcase__container-2 {
    grid-template-columns: repeat(3, 1fr);
  }

  .showcase__content-2 {
    grid-column: 2/4;
  }

  .banner__container {
    grid-template-columns: repeat(3, 1fr);
  }

  .discover__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__container {
    width: 100%;
    max-width: none;
    grid-template-columns: 2fr 1fr 1fr 2fr;
  }

  .footer__col:last-child {
    grid-area: unset;
  }

  @media (width > 1200px) {
    .header__content {
      padding-inline: 1rem 0;
    }

    .destination__grid {
      gap: 2rem;
    }
    .client__card {
      width: 100%;
    }
  }
}
@media (width > 1400px) {
  .showcase__image-2 video {
    max-width: var(--max-width);
    margin: auto;
    margin-left: 25rem;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
  }  
}