@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --hijau: #1F3D2B;
  --hijau-muda: #2d5a3d;
  --emas: #C8A951;
  --emas-muda: #e0c270;
  --krem: #F5F1E8;
  --krem-gelap: #EDE8DA;
  --putih: #ffffff;
  --gelap: #0f1f17;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--krem);
  color: var(--hijau);
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--krem); }
::-webkit-scrollbar-thumb { background: var(--emas); border-radius: 10px; }

/* ===== NAVBAR ===== */
.navbar {
  background-color: rgba(245, 241, 232, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--emas);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 30px rgba(31, 61, 43, 0.12);
}

.logo {
  height: 52px;
  width: auto;
}

.navbar-nav .nav-link {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--hijau) !important;
  letter-spacing: 0.03em;
  padding: 8px 4px !important;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--emas);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--emas) !important;
}

/* ===== HERO / CAROUSEL ===== */
.hero-slide {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 31, 23, 0.35) 0%,
    rgba(15, 31, 23, 0.55) 60%,
    rgba(15, 31, 23, 0.7) 100%
  );
  z-index: 1;
}

.hero-slide > div {
  position: relative;
  z-index: 2;
}

.slide1 { background-image: url(../image/kratonsolo.jpg); }
.slide2 { background-image: url(../image/mangkunegaran.png); }
.slide3 { background-image: url(../image/zayed1.png); }
.slide4 { background-image: url(../image/3.png); }

.hero-slide h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--emas);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.2;
}

.hero-slide p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

.hero-badge {
  display: inline-block;
  background: rgba(200, 169, 81, 0.2);
  border: 1px solid rgba(200, 169, 81, 0.5);
  color: var(--emas);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,169,81,0.8), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 24px;
  gap: 8px;
}

.carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background-color: rgba(255,255,255,0.4) !important;
  border: 1px solid rgba(255,255,255,0.5) !important;
  transition: all 0.3s ease;
  padding: 0 !important;
}

.carousel-indicators .active {
  background-color: var(--emas) !important;
  border-color: var(--emas) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* Carousel arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(31, 61, 43, 0.8);
  border-radius: 50%;
  padding: 20px;
  border: 1px solid var(--emas);
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 100px 20px;
  background-color: var(--krem);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--emas), transparent);
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  flex: 1 1 320px;
  height: 420px;
  background-image: url('../image/bghome.jpg');
  background-size: cover;
  background-position: center;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 20px 60px rgba(31, 61, 43, 0.2), 0 0 0 8px rgba(200,169,81,0.15);
}

.about-image:hover {
  transform: scale(1.03);
  box-shadow: 0 30px 80px rgba(31, 61, 43, 0.25), 0 0 0 12px rgba(200,169,81,0.2);
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3a5a47;
  text-align: justify;
}

.about-divider {
  width: 60px;
  height: 3px;
  background: var(--emas);
  margin-bottom: 20px;
  border-radius: 2px;
}

/* ===== DESTINATION SECTION ===== */
.hero2 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--hijau);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(200,169,81,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(200,169,81,0.04) 0%, transparent 60%);
}

/* ===== PACKAGE SECTION ===== */
.hero1 {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--krem);
  padding: 80px 0;
  position: relative;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
  margin-bottom: 8px;
}

.section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: var(--emas);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 5px;
}

.section-title1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}

.section-title1::after {
  content: "";
  width: 160px;
  height: 3px;
  background: var(--emas);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  border-radius: 5px;
}

/* ===== CARDS ===== */
.card {
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-body {
  background-color: var(--hijau);
  border-bottom: 1px solid rgba(200, 169, 81, 0.4);
  border-left: 1px solid rgba(200, 169, 81, 0.4);
  border-right: 1px solid rgba(200, 169, 81, 0.4);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(31, 61, 43, 0.2), 0 0 0 1px rgba(200,169,81,0.3);
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

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

/* ===== DESTINATION CAROUSEL ===== */
#destination {
  padding: 80px 0;
}

#destinationSlider {
  position: relative;
}

#destinationSlider .carousel-control-prev,
#destinationSlider .carousel-control-next {
  width: auto;
}

#destinationSlider .carousel-control-prev {
  left: -2%;
  transform: translateX(-50%);
}

#destinationSlider .carousel-control-next {
  right: -2%;
  transform: translateX(50%);
}

/* ===== BUTTONS ===== */
.btn-emas {
  background: linear-gradient(135deg, var(--emas), var(--emas-muda));
  border: none;
  color: var(--hijau);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.03em;
  padding: 10px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(200, 169, 81, 0.3);
}

.btn-emas:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 81, 0.45);
  color: var(--hijau);
}

.btn-emas:active {
  transform: translateY(0);
}

/* ===== TEXT UTILITIES ===== */
.text-ijo { color: var(--hijau) !important; }
.text-emas { color: var(--emas) !important; }
.text-oren { color: #f57c00; }
.link-900 { color: #ffffff !important; }

/* ===== ACCORDION ===== */
.accordion-item {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(200, 169, 81, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(200, 169, 81, 0.5) !important;
}

.accordion-button {
  background-color: var(--hijau) !important;
  color: var(--krem) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 18px 24px;
}

.accordion-button:not(.collapsed) {
  background-color: var(--hijau-muda) !important;
  color: var(--emas) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: transparent !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  background-color: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  padding: 20px 24px;
}

/* ===== IMAGE GRID ===== */
.img-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  grid-template-rows: 140px 140px;
  gap: 16px;
  margin-top: 40px;
  align-items: center;
}

.img-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(200,169,81,0.2);
}

.img-layout img:hover {
  transform: scale(1.06);
  border-color: rgba(200,169,81,0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.g1 { grid-column: 1; grid-row: 1; }
.g2 { grid-column: 1; grid-row: 2; }
.g3 { grid-column: 2; grid-row: 1 / span 2; height: 100%; }
.g4 { grid-column: 3; grid-row: 1; }
.g5 { grid-column: 3; grid-row: 2; }

/* ===== FOOTER AREA ===== */
.footer-section {
  background: var(--hijau);
  color: var(--krem);
  padding: 40px 0 20px;
  border-top: 2px solid var(--emas);
  text-align: center;
  font-size: 0.9rem;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-image { height: 280px; }
  .img-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .g3 { grid-column: 1 / span 2; grid-row: auto; height: 200px; }
}
