/* ===== RESET & GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(18, 18, 18, 0.98);
  box-shadow: 0 4px 30px rgba(245, 209, 66, 0.1);
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-brand,
.nav-link {
  color: #f5d142 !important;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-link {
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #f5d142;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

.nav-link:hover {
  color: #fff !important;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)),
    url('Asset/DJI_0039.jpg') center/cover no-repeat fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5d142;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.7);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
  color: #f5f5f5;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
  margin-bottom: 2rem;
}

/* ===== BUTTON ===== */
.btn-gold {
  background: linear-gradient(135deg, #f5d142 0%, #d4b100 100%);
  color: #121212;
  font-weight: 600;
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(245, 209, 66, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-gold:hover::before {
  left: 100%;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d4b100 0%, #b8960d 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(245, 209, 66, 0.5);
}

/* ===== SECTION STYLING ===== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  color: #f5d142;
  margin-bottom: 3rem;
  font-weight: 700;
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  position: relative;
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f5d142, transparent);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== ABOUT SECTION ===== */
#about {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

#about .lead {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #d0d0d0;
}

/* ===== CARD STYLE ===== */
.card {
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border: 1px solid rgba(245, 209, 66, 0.2);
  color: #fff;
  transition: all 0.4s ease;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 40px rgba(245, 209, 66, 0.3);
  border-color: #f5d142;
}

.card-img-top {
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.1);
}

.text-gold {
  color: #f5d142;
}

/* ===== DESTINASI SECTION ===== */
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 2rem;
  padding: 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: #f5d142 #1e1e1e;
}

.scroll-container::-webkit-scrollbar {
  height: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #f5d142, #d4b100);
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-track {
  background: #1e1e1e;
  border-radius: 10px;
}

.scroll-container .card {
  min-width: 320px;
  max-width: 320px;
  flex-shrink: 0;
}

.scroll-container .card-img-top {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

/* ===== PAKET SECTION ===== */
#paket {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

#paket .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#paket .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== GALERI SECTION ===== */
#galeri {
  background-color: #0a0a0a;
}

.gallery-item {
  position: relative;
  width: 100%;
  padding-bottom: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover {
  box-shadow: 0 8px 40px rgba(245, 209, 66, 0.4);
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

/* ===== TESTIMONI SECTION ===== */
#testimoni {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

#testimoni .card {
  background: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem !important;
  text-align: center;
}

#testimoni .card p {
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #f5f5f5;
}

#testimoni .card h5 {
  color: #f5d142;
  font-weight: 600;
}

/* ===== KONTAK SECTION ===== */
#kontak {
  background-color: #0a0a0a;
}

#kontak iframe {
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(245, 209, 66, 0.2);
}

#kontak p {
  font-size: 1.1rem;
  color: #d0d0d0;
}

#kontak strong {
  color: #f5d142;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  color: #ccc;
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(245, 209, 66, 0.2);
}

footer a {
  color: #f5d142;
  text-decoration: none;
  margin: 0 1rem;
  transition: all 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  padding: 8px 14px 8px 8px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #25D366;
  background-color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.whatsapp-icon svg {
  width: 26px;
  height: 26px;
}

.whatsapp-text {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.3px;
  font-family: 'Poppins', sans-serif;
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
  color: #fff;
  text-decoration: none;
}

.whatsapp-float:hover .whatsapp-icon {
  transform: rotate(15deg);
  background-color: #f0f0f0;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 3px 25px rgba(37, 211, 102, 0.7);
  }
  100% {
    box-shadow: 0 3px 15px rgba(37, 211, 102, 0.4);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .scroll-container .card {
    min-width: 280px;
    max-width: 280px;
  }

  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    padding: 7px 12px 7px 7px;
    gap: 7px;
  }

  .whatsapp-icon {
    width: 32px;
    height: 32px;
  }

  .whatsapp-icon svg {
    width: 22px;
    height: 22px;
  }

  .whatsapp-text {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    gap: 6px;
    padding: 6px 10px 6px 6px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }

  .whatsapp-icon svg {
    width: 20px;
    height: 20px;
  }

  .whatsapp-text {
    font-size: 10px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Fade In Animation on Scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay animation for cards in a row */
.scroll-container .card.fade-in {
  transition-delay: 0.1s;
}

.scroll-container .card:nth-child(2).fade-in {
  transition-delay: 0.2s;
}

.scroll-container .card:nth-child(3).fade-in {
  transition-delay: 0.3s;
}

.scroll-container .card:nth-child(4).fade-in {
  transition-delay: 0.4s;
}

.scroll-container .card:nth-child(5).fade-in {
  transition-delay: 0.5s;
}

.scroll-container .card:nth-child(6).fade-in {
  transition-delay: 0.6s;
}

/* Gallery items stagger */
.gallery-item.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

.gallery-item.fade-in:nth-child(2) {
  transition-delay: 0.2s;
}

.gallery-item.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}

.gallery-item.fade-in:nth-child(4) {
  transition-delay: 0.4s;
}

/* Testimonial cards stagger */
#testimoni .card.fade-in:nth-child(1) {
  transition-delay: 0.1s;
}

#testimoni .card.fade-in:nth-child(2) {
  transition-delay: 0.2s;
}

#testimoni .card.fade-in:nth-child(3) {
  transition-delay: 0.3s;
}