.home-page .hero {
  height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(to right, rgba(20, 35, 25, 0.85), rgba(20, 35, 25, 0.2)),
    url("/assets/images/hero.jpg") center/cover no-repeat;
}

.home-page .hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-page .hero-content {
  align-items: center;
  max-width: 100%;
  color: #fff;
  text-align: center;
  justify-content: center;
}

.home-page .hero h1 {
  font-size: 48px;
  line-height: 1.2;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.home-page .hero h1 span {
  color: #e7b35a;
}

.home-page .hero p {
  margin-top: 16px;
  font-size: 16px;
  opacity: 0.9;
}

/* SEARCH */
.home-page .hero-search {
  margin-top: 24px;
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.home-page .hero-search input {
  flex: 1;
  border: none;
  padding: 14px;
}

.home-page .hero-search button {
  background: #3f5f3a;
  color: #fff;
  border: none;
  padding: 0 20px;
}

/* CTA */
.home-page .hero-cta {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.home-page .btn-primary {
  background: #3f5f3a;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}

.home-page .btn-outline {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}

.home-page .search-box {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================
   POPULAR BAR
========================= */
.home-page .popular-bar {
  margin-top: -20px;
  position: relative;
  z-index: 10;
}

.home-page .popular-inner {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;

  display: flex;
  align-items: center;
  gap: 16px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.home-page .popular-label {
  font-weight: 600;
}

.home-page .popular-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.home-page .popular-list a {
  background: #f3f5f2;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  color: #2c3e2f;
}

.home-page .popular-list a:hover {
  background: #3f5f3a;
  color: #fff;
}

/* =========================
   SECTION
========================= */
.home-page .section {
  padding: 40px 0;
}

.home-page .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.home-page .link-more {
  font-size: 14px;
  color: #3f5f3a;
}

/* =========================
   GRID
========================= */
.home-page .grid {
  display: grid;
  gap: 20px;
}

/* =========================
   LATEST SECTION FIX
========================= */

.home-page .grid-6 {
  grid-template-columns: repeat(5, 1fr); /* dari 5 → 4 */
  gap: 20px;
}

/* CARD */
.home-page .latest-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.home-page .latest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* THUMB */
.home-page .latest-card-thumb {
  height: 160px;
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.home-page .latest-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  border-radius: 10px;
}

/* overlay biar hidup */
.home-page .latest-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
}

/* FALLBACK */
.home-page .thumb-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f3d2b, #3e6b4f);
}

.home-page .thumb-placeholder img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* BODY */
.home-page .latest-card-body {
  padding: 14px;
}

/* TITLE */
.home-page .latest-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 6px 0;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-page .latest-card h3 a {
  text-decoration: none;
  color: #222;
}

.home-page .latest-card h3 a:hover {
  color: #3f5f3a;
}

/* SUMMARY */
.home-page .latest-card p {
  font-size: 13px;
  color: #666;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* READ MORE */
.home-page .read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #3f5f3a;
  text-decoration: none;
}

.home-page .read-more:hover {
  text-decoration: underline;
}

/* =========================
   FEATURES
========================= */

.home-page .features {
  background: #f5f6f4;
  border-radius: 24px;
  padding: 10px 20px;
  margin-top: 10px;
}

.home-page .features-container {
  background: #e5e5e5;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* title tengah */
.home-page .section-center-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 30px;
}

/* grid */
.home-page .features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

/* card */
.home-page .feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: 0.25s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.home-page .feature-card:hover {
  background: #fff;
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* icon bulat */
.home-page .feature-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #eef4ee;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 24px;
}

/* text */
.home-page .feature-card h3 {
  font-size: 14px;
  margin-bottom: 6px;
}

.home-page .feature-card p {
  font-size: 12px;
  color: #666;
}

/* READ MORE */
.home-page .read-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: #3f5f3a;
  text-decoration: none;
}

/* =========================
   PRODUCTS SECTION
========================= */

.home-page .explore-grid {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 24px;
  align-items: stretch;
  padding-bottom: 30px;
}

.home-page .product-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-page .product-card {
  border-radius: 16px;
  background: #fff;
  padding: 12px;
  transition: 0.3s;
}

.home-page .product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.home-page .product-card img {
  border-radius: 12px;
  height: 90px;
}

.home-page .hotel-card {
  height: 100%;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.home-page .hotel-image {
  width: 100%;
}

.home-page .hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hotel-text {
  padding: 24px;
}

.home-page .hotel-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.home-page .hotel-text a {
  font-weight: 600;
  color: #ffffff;
}

.home-page .explore-cta {
  color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1f3d2b, #2f5d3f);
  border-radius: 20px;
  padding: 20px 20px;
  text-align: center;
}

.home-page .explore-cta .cta-final {
  padding: 60px 20px;
  position: relative;
  z-index: 1;
}

.home-page .cta-final h2 {
  font-size: 28px;
}

.home-page .cta-final p {
  opacity: 0.9;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .home-page .explore-grid {
   grid-template-columns: 1fr 2fr;
  }

  .home-page .products-grid {
    grid-template-columns: 2fr;
  }

  .home-page .product-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .home-page .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .home-page .products-grid {
    grid-template-columns: 1fr;
  }

  .home-page .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-page .product-list {
    grid-template-columns: repeat(1, 1fr);
  }

  .home-page .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}
