/* ===================== HEADER ===================== */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.header-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
}

/* ===================== HERO SECTION ===================== */
.hero {
  position: relative;
  width: 100%;
  height: 65vh;
  max-height: 700px;
  overflow: hidden;
  background-color: #000; /* fallback */
}

/* ===================== SLIDER ===================== */
.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
}

/* ===================== HERO TEXT ===================== */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ===================== HERO PRODUK (Overlay + Shadow) ===================== */
.hero-produk {
  position: relative;
}

.hero-produk::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
  z-index: 1;
  pointer-events: none;
}

.hero-produk .hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px 40px;
}

.hero-produk .hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 0;
}

/* ===================== RESPONSIVE ===================== */
/* Laptop & tablet landscape */
@media (max-width: 1024px) {
  .hero {
    height: 55vh;
  }
  .hero-content h1 {
    font-size: 36px;
  }
  .hero-content p {
    font-size: 16px;
  }
}

/* Tablet & HP */
@media (max-width: 768px) {
  .hero {
    height: 50vh;
  }
  .hero-content h1 {
    font-size: 26px;
  }
  .hero-content p {
    font-size: 14px;
  }
  .hero-produk .hero-content h1 {
    font-size: 36px;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .hero {
    height: 45vh;
  }
  .hero-content h1 {
    font-size: 22px;
  }
  .hero-content p {
    font-size: 13px;
  }
  .hero-produk .hero-content h1 {
    font-size: 26px;
  }
}
