/*-----------------------------------*\
 * #style.css
\*-----------------------------------*/

/*-----------------------------------*\
 * #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
/* Colors */
  --united-nations-blue: hsl(214, 56%, 58%);
  --bright-navy-blue: hsl(214, 57%, 51%);
  --spanish-gray: hsl(0, 0%, 60%);
  --black-coral: hsl(225, 8%, 42%);
  --oxford-blue: hsl(208, 97%, 12%);
  --yale-blue: hsl(214, 72%, 33%);
  --blue-ncs: hsl(197, 100%, 36%);
  --gunmetal: hsl(206, 34%, 20%);
  --gainsboro: hsl(0, 0%, 88%);
  --cultured: hsl(0, 0%, 98%);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --onyx: hsl(0, 0%, 25%);
  --jet: hsl(0, 0%, 20%);
/* Tpography */
  --ff-poppins: "Poppins", sans-serif;
  --ff-montserrat: "Montserrat", sans-serif;

  --fs-1: calc(20px + 3.5vw);
  --fs-2: calc(18px + 1.6vw);
  --fs-3: calc(16px + 0.45vw);
  --fs-4: 15px;
  --fs-5: 14px;
  --fs-6: 13px;
  --fs-7: 12px;
  --fs-8: 11px;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-800: 800;
/* Ttransition */
  --transition: 0.25s ease-in-out;
/* Spacing */
  --section-padding: 50px;
/* Border Radius */
  --radius-15: 15px;
  --radius-25: 25px;
}

/*-----------------------------------*\
 * #RESET
\*-----------------------------------*/

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
label,
button,
ion-icon { display: block; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input { width: 100%; }

ion-icon { pointer-events: none; }

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
}

body { background: var(--white); }

/*-----------------------------------*\
 * #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.btn {
  color: var(--white);
  text-transform: uppercase;
  font-size: var(--fs-5);
  border-radius: 100px;
  padding: var(--padding, 8px 18px);
  border: var(--border-width, 2px) solid transparent;
  transition: var(--transition);
}

.btn-primary {
  background: #0c0c0c;
  border-color: rgb(60, 60, 60);
}

.btn-primary:is(:hover, :focus) {
  background: #A77D1C;
  border-color: #c89214;
}

.btn-secondary { border-color: var(--white); }

.btn-secondary:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.1); }

.h1,
.h2,
.h3 {
  font-weight: var(--fw-800);
  font-family: var(--ff-montserrat);
  text-transform: uppercase;
}

.h1 {
  color: var(--white);
  font-size: var(--fs-1);
}

.h2,
.h3 { color: var(--gunmetal); }

.h2 { font-size: var(--fs-2); }

.h3 {
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
}

.section-subtitle {
  color: #FFAC00;
  font-size: var(--fs-5);
  text-transform: uppercase;
  font-family: var(--ff-montserrat);
  margin-bottom: 8px;
}

.section-title { margin-bottom: 15px; }

.section-text {
  color: var(--black-coral);
  margin-bottom: 30px;
}

.card-text {
  color: var(--black-coral);
  font-size: var(--fs-5);
}

/*-----------------------------------*\
 * 0. HEADER
\*-----------------------------------*/
.header {
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 61px;
  z-index: 4;
}

.header-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  padding-block: 10px;
  z-index: 1;
  transition: var(--transition);
}

.header.active .header-top {
  position: fixed;
  background: white;
}

/* Container utama di header-top */
.header-top .container {
  display: grid;
  grid-template-columns: 20% 60% 20%;
  justify-items: flex-start;
  align-items: center;
}

/* Logo di kiri */
.logo-top {
  grid-column: 1;
  text-align: left;
  margin: 0;
  padding: 0;
}

.logo-top img {
  width: 130px;
  height: auto;
  display: block;
  margin-left: 0;
}

/* Tombol di kanan */
.header-btn-group {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-self: flex-end;
  gap: 10px;
  color: var(--white);
}

.nav-open-btn {
  font-size: 35px;
  color: var(--gunmetal);
}

/* Header bawah */
.header-bottom .container {
  justify-content: space-between;
  align-items: center;
  padding-block: 15px;
}

.header .btn {
  --padding: 4px 20px;
}

/* Navbar tengah */
.navbar {
  grid-column: 2;
  display: flex;
  justify-content: center;
}

/* Sidenav / menu ketika dibuka */
.header .navbar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 100%;
  max-width: 200px;
  height: 100%;
  background: var(--white);
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

.navbar.active {
  right: 0;
  visibility: visible;
  pointer-events: all;
  transition: 0.25s ease-out;
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 15px;
}

.navbar-top .logo p {
  margin-right: 20px;
  color: white;
}

.nav-close-btn {
  font-size: 20px;
  color: #131313;
}

.nav-close-btn ion-icon {
  --ionicon-stroke-width: 80px;
}

/* Daftar menu */
.navbar-list {
  border-top: 1px solid hsla(0, 0%, 0%, 0.1);
}

.navbar-list li {
  border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
}

.navbar-link {
  padding: 15px 20px;
  color: var(--jet);
  font-weight: var(--fw-500);
  font-size: var(--fs-4);
  text-transform: capitalize;
  transition: var(--transition);
}

.navbar-link:hover,
.navbar-link:focus {
  color: #e89c00;
}

/* Overlay ketika navbar aktif */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 1);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
  transition: var(--transition);
}

.overlay.active {
  opacity: 0.7;
  pointer-events: all;
}
/*-----------------------------------*\
 * 1. HERO
\*-----------------------------------*/
.hero {
  background-image: url("../images/pexels-life-of-pix-7613\ \(1\).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: hsla(0, 0%, 0%, 0.6);
  background-blend-mode: overlay;
  display: grid;
  place-items: center;
  height: 500px;
  padding-top: 10px;
}

.hero-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: -20%;
}

.hero-text-area {
  flex: 1;
  max-width: 600px;
  animation: fadeIn 1s ease-in-out;
  text-align: left;
}

.hero-text-area h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
}

.hero-text-area h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.hero-text {
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.5rem;
  max-width: 600px;
  color: white;
}

.hero-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.hero-btn-primary,
.hero-btn-secondary {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn-primary {
  background-color: #FFAC00;
  color: white;
  border: none;
}

.hero-btn-primary:hover {
  background-color: #9a6805;
}

.hero-btn-secondary {
  background-color: transparent;
  color: #FFAC00;
  border: 2px solid #FFAC00;
}

.hero-btn-secondary:hover {
  background-color: #FFAC00;
  color: #1f2937;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  width: 600px;
  height: 250px;
}

@media (min-width: 768px) {
  .hero-btn-group {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .hero-text-area,
  .hero-text-area h1,
  .hero-text-area h2,
  .hero-text {
    text-align: center;
  }

  .hero-image {
    display: none;
  }

  .hero-btn-group {
    flex-direction: row;
    justify-content: center;
  }

  .hero-text-area h1 {
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }

  .hero-text-area h2 {
    font-size: 1.15rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }

  .hero-text {
    font-size: 0.8rem;
    line-height: 1.5rem;
    padding: 0 1rem;
    max-width: 800px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    font-size: 0.875rem;
    padding: 0.5rem 1.5rem;
  }
}
/*---------------------------------------------------*\
 * 2. PACKAGE / DAFTAR PAKET & TUJUAN
\*---------------------------------------------------*/
.package { 
  padding-block: var(--section-padding); 
}

.package-card {
  display: flex;
  flex-direction: column;
  background: var(--cultured);
  overflow: hidden;
  border-radius: 15px;
}

.package-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 15px;
}

.package-card .card-title { 
  margin-bottom: 10px;
  font-size: 16px;
}

.package-card .card-title-door-to-door { 
  font-size: 30px;
  text-align: center;
  color: var(--gunmetal);
  margin-bottom: 10px;
}

.package-card .card-text {
  line-height: 1.4;
  margin-bottom: 15px;
  font-size: 13px;
}

#packageImage {
  transition: opacity 0.5s ease-in-out;
  display: block;
}

#packageImage.fade-out {
  opacity: 0;
}

.card-meta-list {
  background: var(--white);
  max-width: max-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 6px;
  font-size: 13px;
  box-shadow: 0 0 3px hsla(0, 0%, 0%, 0.1);
  border-radius: 50px;
}

.card-meta-item { position: relative; }

.card-meta-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: -1px;
  bottom: 4px;
  width: 1px;
  background: hsla(0, 0%, 0%, 0.3);
}

.meta-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding-inline: 7px;
  color: var(--black-coral);
  font-size: var(--fs-8);
}

.meta-box > ion-icon {
  color: #FFAC00;
  font-size: 13px;
}

.package-card .card-price {
  background-color: #FAAD1E;
  color: var(--white);
  padding: 15px 15px;
  text-align: center;
}

.package-card .card-price .wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 5px 10px;
  margin-bottom: 8px;
}

.package-card .card-price .reviews { 
  font-size: 12px;
}

.package-card .card-rating {
  color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1px;
  font-size: 12px;
}

.package-card .card-rating ion-icon:last-child { 
  color: whitesmoke
}

.package-card .price {
  font-size: 80px;
  font-family: var(--ff-montserrat);
  font-weight: var(--fw-800);
  margin-bottom: 15px;
}

.package-card .price-door-to-door {
  font-size: 40px;
  font-family: var(--ff-montserrat);
  font-weight: var(--fw-800);
  margin-bottom: 15px;
}

.package-card .price span {
  font-size: 12px;
  font-weight: initial;
}

.package .btn { 
  margin-inline: auto;
  font-size: 14px;
  padding: 6px 12px;
}

.package-info-item h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.package-info-item p {
  font-size: 1em;
  color: #666;
}

.populer-section-title {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--gunmetal);
  position: relative;
  font-size: var(--fs-2);
}

.populer-section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  background-color: #FFAC00; /* Warna aksen biru */
  margin: 16px auto 0;
  border-radius: 2px;
}

.departure-schedule {
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px 30px;
  background-color: #f4f4f4;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.departure-title {
  font-size: 25px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.departure-title-h4 {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.departure-subtitle {
  font-size: 16px;
  text-align: center;
  margin-bottom: 8px;
  color: #555;
}

.departure-note {
  font-size: 16px;
  text-align: center;
  font-weight: 500;
  color: #FAAD1E;
  margin-bottom: 24px;
}

.schedule-table {
  overflow-x: auto;
}

.schedule-table table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
  font-size: 15px;
  color: #333;
}

.schedule-table th {
  background-color: #444;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
}

.schedule-table tr:hover td {
  background-color: #eaeaea;
}

@media (max-width: 768px) {
  .card-price .wrapper,
  .card-price .price-door-to-door,
  .card-price .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 10px;
    margin: 5px 0;
  }

  .card-price {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
  }

  .card-price .wrapper {
    flex-direction: column;
    margin: 5px 0;
  }

  .card-price .price-door-to-door {
    font-size: 14px;
    margin: 0 10px;
  }

  .card-price .btn-secondary {
    font-size: 14px;
    padding: 6px 12px;
  }
}
/*-----------------------------------*\
 * 3. RAHYU TRANS SERVICE
\*-----------------------------------*/
.service { padding-block: var(--section-padding); 
  background-color: #f8f9f9;
}

.service-wrapper {
  display: flex;
  align-items: stretch;
  gap: 32px;
  margin-top: 32px;
}

.service-image-slider {
  position: relative;
  width: 70%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-image-slider img {
    width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 12px;
}

.service-list {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.btn-service-list {
  color: var(--white);
  background-color: #FFAC00;
  text-transform: uppercase;
  font-size: var(--fs-5);
  border-radius: 100px;
  padding: 8px 16px; /* lebih kecil dari sebelumnya */
  border: 2px solid transparent;
  transition: var(--transition);
  width: fit-content; /* biar hanya selebar isi tombol */
  white-space: nowrap; /* mencegah tombol pecah ke bawah */
  flex-shrink: 0; /* jangan ikut mengecil jika ada flex */
  margin: 0 auto;
}

.btn-primary-service-list {
  background: #FFAC00;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary-service-list:hover {
  background-color: #e89c00; /* warna sedikit lebih gelap saat hover */
  transform: scale(1.05); /* sedikit membesar saat hover */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25); /* bayangan lebih besar */
}

.service-number {
  width: 32px;
  height: 32px;
  border: 2px solid #f0c040;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  color: #f0c040;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.service-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.slider-track {
    display: flex;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

.slider-dots {
  text-align: center;
  background-color: white;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #333;
}

@media (max-width: 768px) {
  .service-wrapper {
    flex-direction: column;
  }

  .service-image-slider,
  .service-list {
    width: 100%;
  }
}
/*-----------------------------------*\
 * 4. ABOUT   /   TENTANG KAMI
\*-----------------------------------*/
.about {
  padding-block: var(--section-padding);
}

.about-list > li:not(:last-child) {
  margin-bottom: 30px;
}

.about-section-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.about-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(45deg, #ef9f00, #FFAC00);
  padding: 40px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.banner-left {
  display: flex;
  justify-content: center; 
  align-items: center;
  width: 100%;
}

.banner-left img {
  max-width: 90%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

#banner-image {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.banner-left:hover img {
  transform: scale(1.05);
}

.about-info-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
  margin-top: 20px;
}

.about-info-title {
  color: var(--gunmetal);
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.about-info-item {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Work Sans', sans-serif;
  cursor: default;
  border-left: 4px solid #FFAC00;
}

.about-info-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.icon-wrapper {
  font-size: 36px;
  color: #FFAC00;
  margin-bottom: 12px;
}
/* --- Tablet dan Mobile --- */
@media (max-width: 768px) {
  .about-banner {
    padding: 30px 16px;
    gap: 10px; /* digabung dari sebelumnya */
    flex-direction: column;
  }

  .banner-left,
  .banner-right {
    flex: 0 0 100%;
    padding: 10px;
  }

  .banner-left img {
    max-width: 100%;
  }

  .banner-right h2,
  .banner-right p {
    text-align: center;
  }
}

/* --- Mobile Khusus --- */
@media (max-width: 480px) {
  .about-banner {
    padding: 20px 12px;
    gap: 12px;
  }
}

/* --- Untuk grid dan teks kecil --- */
@media (max-width: 600px) {
  .about-info-container {
    grid-template-columns: 1fr;
  }

  .about-info-title {
    font-size: 1.2rem;
  }
}
/*-----------------------------------*\
 * FASILITY
\*-----------------------------------*/
.facility { padding-block: var(--section-padding); 
  background-color: #f8f9f9;
}

.facility-card-container {
  display: flex;
  justify-content: center; /* untuk meratakan ke tengah secara horizontal */
  flex-wrap: wrap; /* agar bisa responsif saat layar kecil */
  margin-top: 10px;
  gap: 50px; /* Menambahkan jarak antar card */
}

.facility-custom-card {
  width: 90vw;
  max-width: 350px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 16px;

}

.facility-custom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.facility-image-box {
  width: 100%;
  height: 200px; /* tinggi tetap */
  border: 2px solid #ddd;
  background-color: #f9f9f9;
  overflow: hidden;
  border-radius: 4px;
}

.facility-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* penting: agar gambar tetap rapi */
  display: block;
}

.facility-card-title a {
  font-size: 18px;
  color: #333;
  text-decoration: none;
  display: block;
  margin: 8px 0;
  text-align: center; /* Membuat teks rata tengah */
}

.facility-card-text {
  font-size: 14px;
  color: #555;
  margin-top: 8px; /* Menambahkan jarak atas untuk teks */
  text-align: center; /* Membuat teks rata tengah */
}

.facility-text-box {
  text-align: left;
}
/*-----------------------------------*\
 * #TESTIMONI
\*-----------------------------------*/
.testimoni { 
  padding-block: var(--section-padding); 
  background-color: #f9f9f9;
}

@media (max-width: 600px) {
  .review-box {
    min-width: 200px; /* lebih kecil supaya pas di layar HP */
    padding: 16px;
    font-size: 14px;
  }
}
  
  .review-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .review-box {
    min-width: 250px;
    background-color: white;
    padding: 20px;
    border: 1px solid #e0e0e0; /* bingkai tipis berwarna abu terang */
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  }

  .review-name {
    font-weight: bold;
    margin-bottom: 5px;
  }

  .review-stars {
    color: #f5b301;
    margin-bottom: 10px;
  }

  .review-text {
    color: #333;
    font-size: 14px;
  }

  .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
  }
  
  .review-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* membuat bentuk lingkaran */
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #ccc; /* border lingkaran */
  }

/*-----------------------------------*\
 * #social
\*-----------------------------------*/
.social-list {
  display: flex;
  align-items: center;
  gap: 5px;
}

.social-link {
  color: var(--white);
  padding: 8px;
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  border-radius: 50%;
  font-size: 15px;
  transition: var(--transition);
}

.social-link:is(:hover, :focus) { background: hsla(0, 0%, 100%, 0.2); }

/*-----------------------------------*\
 * #FOOTER
\*-----------------------------------*/

.footer-top {
  background: var(--gunmetal);
  padding-block: var(--section-padding);
  color: var(--gainsboro);
}

.footer-brand { margin-bottom: 30px; }

.footer-brand img { width: 180px; }

.footer-brand .logo { margin-bottom: 20px; }

.footer-text {
  font-size: var(--fs-5);
  line-height: 1.7;
}

.footer-contact { margin-bottom: 30px; }

.contact-title {
  position: relative;
  font-family: var(--ff-montserrat);
  font-weight: var(--fw-500);
  margin-bottom: 30px;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #FFAC00;
}

.contact-text {
  font-size: var(--fs-5);
  margin-bottom: 15px;
  max-width: 200px;
}

.contact-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-item ion-icon { --ionicon-stroke-width: 40px; }

.contact-link,
address {
  font-style: normal;
  color: var(--gainsboro);
  font-size: var(--fs-5);
}

.contact-link:is(:hover, :focus) { color: var(--white); }

.form-text {
  font-size: var(--fs-5);
  margin-bottom: 20px;
}

.footer-form .input-field {
  background: var(--white);
  font-size: var(--fs-5);
  padding: 15px 20px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.footer-form .btn { width: 100%; }

.footer-bottom {
  --gunmetal: hsl(205, 36%, 17%);
  background: var(--gunmetal);
  padding-block: 20px;
  text-align: center;
}

.copyright {
  color: var(--gainsboro);
  font-size: var(--fs-5);
  margin-bottom: 10px;
}

.copyright a {
  color: inherit;
  display: inline-block;
}

.copyright a:is(:hover, :focus) { color: var(--white); }

.footer-bottom-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 21px;
}

.footer-bottom-list > li { position: relative; }

.footer-bottom-list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3px;
  right: -10px;
  bottom: 3px;
  width: 1px;
  background: hsla(0, 0%, 100%, 0.2);
}

.footer-bottom-link {
  color: var(--gainsboro);
  font-size: var(--fs-7);
  transition: var(--transition);
}

.footer-bottom-link:is(:hover, :focus) { color: var(--white); }

/*-----------------------------------*\
 * #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: #FFAC00;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: 0 1px 3px hsla(0, 0%, 0%, 0.5);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: var(--transition);
}

.go-top.active {
  opacity: 0.8;
  transform: translateY(0);
  visibility: visible;
}

.go-top:is(:hover, :focus) { opacity: 1; }

/*-----------------------------------*\
 * #MEDIA QUERIES
\*-----------------------------------*/

/* responsive for larger than 580px screen */

@media (max-width: 768px) {
  .section-title {
    text-align: center;
  }
  .section-subtitle {
    text-align: center;
  }
  .section-text {
    text-align: center;
    text-justify: inter-word; /* Meratakan berdasarkan kata, bukan huruf */
    line-height: 1.6;
    font-size: 0.8rem;
  }
}

@media (min-width: 580px) {

/* REUSED STYLE */

  .container {
    max-width: 580px;
    margin-inline: auto;
  }
  .btn {
    --fs-5: 16px;
    --padding: 12px 30px;
  }
  section:not(.cta) :is(.section-subtitle, .section-title, .section-text) {
    text-align: center;
  }
  .section-text { margin-bottom: 40px; }
  .card-text { --fs-5: 15px; }

/* HEADER */

  .header { padding-top: 83px; }
  .helpline-box .icon-box { padding: 14px; }
  .header-top .logo img { max-width: unset; }
  .search-btn { font-size: 30px; }
  .nav-open-btn { font-size: 40px; }
  .header .btn {
    --fs-5: 14px;
    --padding: 6px 20px;
  }

/* HERO */

  .hero {
    min-height: 800px;
    padding-top: 85px;
  }
  .hero-text { --fs-5: 15px; }
  .btn-group { gap: 20px; }

/* TOUR SEARCH */

  .about-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 15px;
  }
  .about-form .input-wrapper { margin-bottom: 0; }
  .about-form .input-field { padding: 16px 20px; }
  .about .btn {
    grid-column: span 2;
    margin-top: 20px;
  }

/* FOOTER */

  .footer .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-form { grid-column: span 2; }
  .footer-bottom { text-align: left; }
  .copyright { margin-bottom: 0; }
  .footer-bottom-list { justify-content: flex-end; }
}

/* responsive for larger than 768px screen */

@media (min-width: 768px) {

/* CUSTOM PROPERTY */

  :root {

/* typography */
    --fs-5: 15px;
  }

/* REUSED STYLE */

  .container { max-width: 800px; }
  .section-text {
    max-width: 90ch;
    margin-inline: auto;
  }

/* HEADER */

  .helpline-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }
  .helpline-box .wrapper {
    display: block;
    color: var(--white);
    font-size: var(--fs-6);
  }

/* ABOUT */

  .about-list {
    display: flex;
    overflow-x: auto;
    gap: 1rem; /* jarak antar card */
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }
  .about-list > li:not(:last-child) { margin-bottom: 0; }

/* PACKAGE */

  .package-list { margin-bottom: 50px; }
  .package-list > li:not(:last-child) { margin-bottom: 40px; }
  .package-card {
    display: grid;
    grid-template-columns: 3fr 1fr;
    background: var(--cultured);
  }
  .package-card .card-banner {
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .package-card .banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .package-card .card-price {
    display: grid;
    place-content: center;
  }
  .package-card .card-price .wrapper { margin-bottom: 15px; }

/* GALLERY */

  .gallery { padding-bottom: calc(var(--section-padding * 2)); }
  .gallery-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .gallery-image { border-radius: var(--radius-25); }

/* CTA */
  
  .cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .cta-content { width: calc(100% - 225px); }
  .cta .section-text { margin-inline: 0; }

/* FOOTER */

  .form-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
  }
  .footer-form .input-field { margin-bottom: 0; }
  .footer-form .btn { width: max-content; }
}

/* responsive for larger than 992px screen */

@media (min-width: 992px) {

/* REUSED STYLE */

  .container { max-width: 1050px; }

/* HEADER */

  .header.active .header-top {
    position: unset;
    background: unset;
  }
  .nav-open-btn,
  .navbar-top { display: none; }
  .header-top { border-bottom: none; }
  .header.active .header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    color: var(--onyx);
    box-shadow: 0 2px 5px hsla(0, 0%, 0%, 0.08);
    transition: var(--transition);
  }
  .header-top .container { padding-block: 0; }
  .header .navbar { 
    all: unset; 
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  .navbar-list {
    border-top: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
  }
  .navbar-list li { border-bottom: none; }
  .navbar-link {
    color: var(--gunmetal);
    --fs-4: 16px;
    font-weight: unset;
    text-transform: uppercase;
    padding: 20px 15px;
  }
  .header.active .navbar-link { 
    color: var(--onyx); 
  }
  .header.active .navbar-link:is(:hover, :focus) { color: #FFAC00; }
  .overlay { display: none; }

/* HERO */

  /* .hero .hero-container { max-width: 1500px; } */

/* ABOUT */
  .about-form { grid-template-columns: repeat(5, 1fr); }
  .about .btn {
    --padding: 15px;
    grid-column: unset;
    margin-top: 0;
  }
  .about-list { grid-template-columns: repeat(3, 1fr); }

/* PACKAGE */

  .meta-box { --fs-8: 13px; }
  .meta-box > ion-icon { font-size: 15px; }

/* CTA */

  .cta .section-title { max-width: 25ch; }

/* FOOTER */

  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }
  .footer-form { grid-column: unset; }
  .form-wrapper { flex-direction: column; } 
  .footer-form .btn { width: 100%; }

}

/* responsive for larger than 1200px screen */


@media (min-width: 1200px) {

/* CUSTOM PROPERTY */

  :root {
  /* spacing */

    --section-padding: 100px;
  }

/* REUSED STYLE */

  .container { max-width: 1180px; }

}
