/* ============================= */
/*      Import Google Fonts      */
/* ============================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');

/* ============================= */
/*       Font Global Setting     */
/* ============================= */
body {
  font-family: 'Montserrat', sans-serif; /* font utama */
  margin: 0;
  padding: 0;
}

/* Heading korporat, bisa pakai Poppins */
h1, h2, h3, .slide-layer.slide-title {
  font-family: 'Poppins', sans-serif;
}

/* ============================= */
/*    Parent Carousel Slide      */
/* ============================= */
/* Pastikan setiap .carousel-item punya posisi relatif */
.hero-carousel .carousel-item {
  position: relative;
}

/* ============================= */
/*        Hero + Carousel        */
/* ============================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 100%;
}
.hero-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================= */
/*     Slow Zoom Animation       */
/* ============================= */
@keyframes zoomSlow {
  from { transform: scale(1); }
  to   { transform: scale(1.1); }
}
.hero-carousel .carousel-item.active img {
  animation: zoomSlow 5s ease-in-out forwards;
}

/* ============================= */
/*        Overlay Gelap          */
/* ============================= */
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
  pointer-events: none;
}
/* ============================= */
/*      Posisi Teks di Tengah    */
/* ============================= */
.hero .slide-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 15px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif; /* pastikan slide juga pakai Montserrat */
}


/* Ukuran font responsif */
.hero .slide-layer.slide-title {
  font-size: clamp(22px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
}

.hero .slide-layer.slide-subtitle {
  font-size: calc(1rem + 1vw);
  margin-bottom: 0.5rem;
}

/* ============================= */
/*        Indicator Styling      */
/* ============================= */
/* (jaga agar indikator juga terlihat di atas overlay) */
.carousel-indicators [data-bs-target] {
  z-index: 3;
}
