/* === 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/Bird\ Waching.jpg') no-repeat center center/cover;
  min-height: 95vh;
  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 (min-width: 320px) and (max-width: 1024px) {

  /* Hero section */
  .hero {
    min-height: 75vh;
  }

  .hero h1 {
    font-size: 3rem;
    /* kecilkan judul */
    text-align: center;
  }

  .hero h2 {
    font-size: 5rem;
    /* 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 */
  }

  /* 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;
}


body,
html {
  margin: 0;
  padding: 0;
}


/* === 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;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f5f5;
  padding: 0px 0;
  min-height: 100vh;
}



/* =========================
   SECTION UTAMA FUN DIVING
   ========================= */
.birdwatching-section {
  background-color: #ebe6e6;  /* abu gelap */
  color: #000;
  padding: 40px 0;
  width: 100%; /* full melebar */
}
.jungle-trekking-section {
  padding: 40px 0;
  width: 100%; /* full melebar */
}
.mangrove-tour-section {
  background-color: #ebe6e6;  /* abu gelap */
  color: #000;
  padding: 40px 0;
  width: 100%; /* full melebar */
}


/* Judul */
.diving-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 37px;
  font-weight: 700;
  color: #000;
  text-align: left;
  margin-top: 50px;
  margin-left: 20px;
  padding-bottom: 30px;
  position: relative;
  display: inline-block;
}

.diving-title::after {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 80%;
  height: 2px;
  background-color: #f5be27;
}

/* Container judul */
.title-container {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

/* =========================
   GALLERY
   ========================= */
.gallery-wrapper {
  position: relative;
  width: 100%;
  max-width: 2000px;
  margin: 0px auto 0px auto;
  padding: 0 25px;
}

.gallery-viewport {
  overflow: hidden;
  width: 100%;
}

.gambar-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 15px;
}

.gambar-container img {
  flex: 0 0 calc((100% - 30px) / 3);
  width: calc((100% - 30px) / 3);
  height: 280px;
  object-fit: cover;
  border: none; /* tanpa border */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
}

.gambar-container img:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tombol slide */
.btn-scroll {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FFD700;
  color: #333;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 30%;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-scroll:hover {
  background: #FFC700;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-scroll:active {
  transform: translateY(-50%) scale(0.95);
}

.btn-scroll:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-left { left: 10px; }
.btn-right { right: 20px; }

/* =========================
   DESKRIPSI
   ========================= */
.gallery-description {
  padding: 0;
}

.description-content {
  margin-top: 40px;
  padding: 0 10px;
}

.description-content p {
  font-size: 14px;
  line-height: 1.5;
}

/* Tombol Book */
.btn-book-custom {
  background-color: #f5be27 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 13px 30px !important;
  font-size: 15px !important;
  max-width: 160px;
  margin-top: 40px;
  margin-left: 10px;
  margin-bottom: 10;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 190, 39, 0.3);
  text-decoration: none;
}

.btn-book-custom:hover {
  background-color: #e6af1f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 190, 39, 0.4);
}

/* =========================
   RESPONSIVE
   ========================= */

/* Tablet */
@media (max-width: 1024px) {
  .gallery-wrapper {
    max-width: 900px;
    padding: 20px;
    margin: auto;
  }

  .gambar-container img {
    height: 150px;
  }

  .btn-left { left: 10px; }
  .btn-right { right: 10px; }

  .description-content {
    margin-top: 30px;
    padding: 0 20px;
  }

  .btn-book-custom {
    margin: 20px auto;
    display: block;
  }

  .diving-title {
    font-size: 32px;
    margin-left: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-wrapper {
    padding: 0 10px;
    margin: auto;
  }

  .gambar-container {
    gap: 0;
  }

  .gambar-container img {
    flex: 0 0 130%;
    width: 100%;
    height: 260px;
  }

  .btn-scroll {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .btn-left { left: 12px; }
  .btn-right { right: 12px; }

  .description-content {
    margin-top: 50px;
    padding: 0 10px;
  }

  .diving-title {
    font-size: 28px;
    margin: 20px 20px;
    margin-left: 20px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .gambar-container img {
    height: 220px;
    width: 100%;
  }

  .btn-scroll {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
}
