/* HERO */
.detail-page .detail-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  background: radial-gradient(
    circle at center,
    transparent,
    rgba(0, 0, 0, 0.4)
  );
}

.detail-page .detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.detail-page .detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-page .detail-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.detail-page .hero-content {
  position: absolute;
  bottom: 40px;
  color: #fff;
}

.detail-page .hero-content h1 {
  font-size: 36px;
  max-width: 700px;
  margin-bottom: 10px;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.detail-page .badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
}

.detail-page .meta {
  font-size: 14px;
  opacity: 0.9;
}

/* ARTICLE */
.detail-page .article-content {
  max-width: 720px;
  margin: 60px auto;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.detail-page .article-content p {
  margin-bottom: 18px;
}

.detail-page .article-content p + p {
  margin-top: 14px;
}

.detail-page .article-content p:first-child {
  font-size: 19px;
  font-weight: 500;
  color: #222;
}

.detail-page .article-content img {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

/* INFO BOX */
.detail-page .info-box {
  max-width: 720px;
  margin: 40px auto;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 12px;
  line-height: 1.6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #2f5d3f;
}

/* CTA */
.detail-page .detail-cta {
  padding: 60px 20px;
  background: linear-gradient(135deg, #1f3d2b, #2f5d3f);
  color: #fff;
  border-radius: 20px;
  margin: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.detail-page .detail-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/images/gold.jpg") center/cover;
  opacity: 0.05;
  pointer-events: none;
}

.detail-page .btn-primary {
  display: inline-block;
  margin-top: 20px;
  background: #fff;
  color: #1f3d2b;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.detail-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .detail-page .hero-content h1 {
    font-size: 24px;
  }

  .detail-page .detail-cta {
    margin: 20px;
  }
}

/* === LAYOUT 2 KOLOM === */
.detail-page .detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* MAIN */
.detail-page .main-content {
  min-width: 0;
}

/* SIDEBAR */
.detail-page .sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  height: fit-content;
}

/* CARD */
.detail-page .sidebar-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* RELATED */
.detail-page .related-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #333;
}

.detail-page .related-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

/* PRODUK */
.detail-page .product-mini {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.detail-page .product-mini img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

/* HOTEL */
.detail-page .hotel img {
  width: 100%;
  border-radius: 10px;
}

.detail-page .hotel-content {
  margin-top: 10px;
}

.detail-page .btn-hotel {
  display: inline-block;
  margin-top: 10px;
  background: #2f5d3f;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
}

/* HOVER RELATED */
.detail-page .related-item:hover {
  transform: translateX(4px);
}

/* PRODUK */
.detail-page .product-mini span {
  font-size: 14px;
  font-weight: 500;
}

.detail-page .product-mini small {
  color: #2f5d3f;
  font-weight: 600;
}

/* HOTEL */
.detail-page .btn-hotel:hover {
  background: #1f3d2b;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .detail-page .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-page .sidebar {
    position: relative;
    top: 0;
  }
}
