/* === FONT HERO === */
.hero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 800;
  font-size: 4rem;
  letter-spacing: 1px;
}

.hero p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 10px;
}

/* === HERO SECTION === */
.hero {
  background: url('../img/home_page.jpg') no-repeat center center/cover;
  min-height: 100vh;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero .container {
  position: relative;
  z-index: 2;
}


/* === NAVBAR LINK STYLING (DESKTOP BESAR) === */
.hero .navbar .nav-link {
  font-weight: 600;
  /* lebih tebal */
  font-size: 0.9rem;
  /* lebih besar */
  padding: 0rem 0.1rem;
  /* jarak dalam menu lebih besar */
  margin: 0 10px;
  /* jarak antar menu */
  color: #fff !important;
  text-transform: uppercase;
  /* huruf besar semua */
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 1px;
  /* spasi antar huruf */
}

.hero .navbar .nav-link:hover {
  color: #f0d24d !important;
  transform: translateY(-2px);
}

/* Tambah efek underline */
.hero .navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #f0d24d;
  transition: width 0.3s ease;
}

.hero .navbar .nav-link:hover::after {
  width: 100%;
}

/* Pusatkan menu di desktop */
@media (min-width: 992px) {
  .hero .navbar-nav {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    /* tambah jarak antar link */
  }
}

/* Geser logo dan navbar ke kanan */
.hero .navbar .container {
  padding-left: 100px;
  /* atur sesuai kebutuhan */
}

/* Kalau mau navlink lebih ke kanan lagi */
.hero .navbar-nav {
  margin-left: 500px;
  /* tambah jarak dari logo */
}



/* === RESPONSIVE (MOBILE) === */
@media (max-width: 768px) {

  /* Hero section */
  .hero {
    min-height: 120vh;
  }

  .hero h1 {
    font-size: 3.2rem;
    /* kecilkan judul */
    text-align: center;
  }

  .hero p {
    font-size: 1rem;
    text-align: center;
    padding: 0 15px;
    /* biar gak nempel ke pinggir */
  }

  /* Navbar */
  .hero .navbar .container {
    padding-left: 20px;
    /* reset padding agar tidak terlalu jauh */
  }

  .hero .navbar-nav {
    margin-left: 0;
    /* reset margin */
    gap: 10px;
    text-align: center;
  }

  .hero .navbar .nav-link {
    font-size: 0.95rem;
    padding: 8px 0;
    display: block;
    /* biar menu rapih ke bawah */
  }

  /* About section image */
  .about-section img {
    max-width: 100% !important;
    padding: 0 15px;
    /* beri ruang kiri-kanan */
  }

  /* Feature image */
  .feature-img {
    height: 250px;
    /* kecilkan tinggi gambar */
  }

  /* WhatsApp button */
  .wa-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .wa-float img {
    width: 28px;
    height: 28px;
  }
}

/* === HAMBURGER ICON === */
.hamburger {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  display: none;
  /* hanya muncul di mobile */
  z-index: 1100;
}

@media (max-width: 991px) {
  .hamburger {
    display: block;
  }

  .hero .navbar-nav {
    display: none !important;
    /* sembunyikan navlink bootstrap di mobile */
  }
}

.sidebar {
  position: fixed;
  top: 0;
  right: -45%;
  width: 45%;
  height: 100%;
  background: #000;
  transition: 0.3s ease;
  padding: 20px;
  z-index: 2000;
}

.sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: flex-start;
  /* sejajar kiri */
  align-items: center;
  margin-bottom: 30px;
}

.sidebar .close-btn {
  font-size: 2rem;
  color: #fff;
  text-decoration: none;
}

.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin: 15px 0;
}

.sidebar-link {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: orange;
}

.btn-orange {
  background-color: orange;
  color: #fff;
  border: none;
}

.btn-orange:hover {
  background-color: darkorange;
  /* warna lebih gelap saat hover */
  color: #fff;
}




/* === PAKET SECTION === */
.paket-section h2 {
  font-family: "Playfair Display", serif;
}

.paket-section h5 {
  font-family: "Playfair Display", serif;
}

.paket-section .card-img-top{
 border-radius: 0;
}





/* === ABOUT SECTION === */
.about-section {
  padding: 0 0;
  margin-left: 115px;
}

.about-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #f5be27ff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  margin-left: 50px;
}

.about-section h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.2;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-left: 50px;
}

/* Garis Orange di bawah h1 */
.about-section h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: #f5be27ff;
  border-radius: 2px;
}

.about-section p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  text-align: justify;
  margin-left: 50px;
}

/* === ABOUT IMAGE === */
.about-section .about-img {
  width: 80%;
  height: 350px;
  object-fit: cover;
  border-radius: 0;
}

/* === RESPONSIVE ABOUT SECTION === */
@media (max-width: 1024px) {
  .about-section {
    padding: 0 0;
    margin-left: 45px;
    overflow-x: hidden;
    /* Mencegah scroll horizontal */
  }

  .about-section .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .about-section .row {
    margin-left: 0;
    margin-right: 0;
  }

  .about-section .col-md-5,
  .about-section .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .about-section h2 {
    font-size: 1.2rem;
    margin-left: 15px;
  }

  .about-section h1 {
    font-size: 1.8rem;
    display: block;
    padding-bottom: 20px;
    margin-left: 15px;
    word-wrap: break-word;
    /* Mencegah text overflow */
  }

  /* Garis orange di kiri */
  .about-section h1::after {
    left: 15px;
    transform: none;
    width: 60px;
  }

  .about-section p {
    font-size: 0.95rem;
    /* Perbaikan: gunakan titik bukan koma */
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 1.6;
    word-wrap: break-word;
  }

  .about-section .about-img {
    width: 100%;
    /* Pastikan full width */
    height: 200px;
    /* Tinggi yang lebih proporsional */
    border-radius: 0;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    object-fit: cover;
  }

  .about-section .col-md-5 {
    margin-bottom: 0 !important;
  }

  .about-section .col-md-6 {
    margin-bottom: 20px;
  }
}

/* === RESPONSIVE ABOUT SECTION === */
@media (max-width: 768px) {
  .about-section {
    padding: 0 0;
    margin: 0;
    overflow-x: hidden;
    /* Mencegah scroll horizontal */
  }

  .about-section .container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100%;
  }

  .about-section .row {
    margin-left: 0;
    margin-right: 0;
  }

  .about-section .col-md-5,
  .about-section .col-md-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .about-section h2 {
    font-size: 1.2rem;
    margin-left: 15px;
  }

  .about-section h1 {
    font-size: 1.8rem;
    display: block;
    padding-bottom: 20px;
    margin-left: 15px;
    word-wrap: break-word;
    /* Mencegah text overflow */
  }

  /* Garis orange di kiri */
  .about-section h1::after {
    left: 15px;
    transform: none;
    width: 60px;
  }

  .about-section p {
    font-size: 0.95rem;
    /* Perbaikan: gunakan titik bukan koma */
    text-align: left;
    margin-left: 15px;
    margin-right: 15px;
    line-height: 1.6;
    word-wrap: break-word;
  }

  .about-section .about-img {
    width: 100%;
    /* Pastikan full width */
    height: 200px;
    /* Tinggi yang lebih proporsional */
    border-radius: 0;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    object-fit: cover;
  }

  .about-section .col-md-5 {
    margin-bottom: 0 !important;
  }

  .about-section .col-md-6 {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .about-section h2 {
    font-size: 1rem;
  }

  .about-section h1 {
    font-size: 2.4rem;
    margin-left: 15px;
  }

  .about-section h1::after {
    left: 0px;
    width: 50px;
    height: 3px;
  }

  .about-section p {
    font-size: 0.9rem;
    margin-left: 15px;
    margin-bottom: 0;
  }

  .about-section .about-img {
    height: 250px;
  }
}

/*End Style About*/


/* === FULL WIDTH IMAGE WRAPPER === */
.full-width-image-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  overflow: hidden;
}

.full-width-image-wrapper .custom-height {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* === DESKTOP (1200px+) === */
@media (min-width: 1200px) {
  .full-width-image-wrapper .custom-height {
    height: 450px;
  }
}

/* === TABLET PORTRAIT (768px - 991px) === */
@media (max-width: 991px) and (min-width: 769px) {
  .full-width-image-wrapper .custom-height {
    height: 350px;
  }
}

/* === MOBILE & SMALL TABLET (max-width: 768px) === */
@media (max-width: 768px) {
  .full-width-image-wrapper .custom-height {
    height: 120px;
  }
}

/* === MOBILE SMALL (max-width: 480px) === */
@media (max-width: 480px) {
  .full-width-image-wrapper .custom-height {
    height: 120px;
  }
}




/* === CONTACT SECTION === */
/* === MOBILE & SMALL TABLET (max-width: 768px) === */
@media (max-width: 768px) {

  /* Tinggikan gambar Fun Dive untuk mobile */
  .contact-section .col-md-6 .h-100 {
    height: 500px !important;
    min-height: 400px;
  }

  .contact-section .col-md-6 .img-fluid {
    height: 500px !important;
    object-fit: cover;
  }
}

/* === MOBILE SMALL (max-width: 480px) === */
@media (max-width: 480px) {

  /* Gambar sedikit lebih pendek untuk mobile kecil */
  .contact-section .col-md-6 .h-100 {
    height: 400px !important;
    min-height: 350px;
  }

  .contact-section .col-md-6 .img-fluid {
    height: 400px !important;
  }
}


body,
html {
  margin: 0;
  padding: 0;
}

.map-section {
  margin: 0;
  padding: 0;
  line-height: 0;
  /* hilangkan celah kecil bawaan inline element */
}



/* === BODY & TEXT === */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1,
h2,
h3 {
  font-weight: bold;
}

/* === FEATURE IMAGE === */
.feature-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* === WA FLOAT BUTTON === */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes shake {

  0%,
  100% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-2px, 0);
  }

  40% {
    transform: translate(2px, 0);
  }

  60% {
    transform: translate(-2px, 0);
  }

  80% {
    transform: translate(2px, 0);
  }
}

.wa-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

.wa-float:hover {
  animation: shake 0.5s infinite;
}

.wa-float img {
  width: 35px;
  height: 35px;
}