/* ============================================================
   home.css — page-specific styles untuk index.html
   ============================================================ */

/* ---- HERO ---- */
.hero {
  margin-top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  min-height: 540px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1564760055775-d63b17a55c44?w=1600&q=80');
  background-size: cover; background-position: center 30%;
  transform: scale(1.05); transition: transform 6s ease-out;
}
.hero-bg.loaded { transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(28,58,36,0.82) 0%,
    rgba(45,95,63,0.65) 50%,
    rgba(0,0,0,0.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 40px 24px; max-width: 700px; margin-left: 8%;
  animation: heroIn 0.9s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); padding: 6px 16px; border-radius: 100px;
  font-size: 0.82em; font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2em, 5vw, 3.8em);
  color: var(--white); line-height: 1.15; margin-bottom: 20px;
}
.hero h1 em { color: #f5c97a; font-style: normal; }
.hero-desc {
  font-size: clamp(1em, 2vw, 1.2em);
  color: rgba(255,255,255,0.9); line-height: 1.7;
  margin-bottom: 36px; max-width: 520px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll span { display: block; width: 1px; height: 40px; background: rgba(255,255,255,0.4); }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ---- STATS BAR ---- */
.stats-bar { background: var(--green); padding: 24px; }
.stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; text-align: center;
}
.stat-item { padding: 8px; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2em; font-weight: 700; color: #f5c97a; line-height: 1;
}
.stat-label { font-size: 0.82em; color: rgba(255,255,255,0.8); margin-top: 4px; }

/* ---- FEATURES ---- */
.features { background: var(--cream); }
.features-header { text-align: center; margin-bottom: 56px; }
.features-header .section-sub { margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 24px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition); border: 1px solid transparent;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-pale); }
.feature-icon {
  width: 54px; height: 54px; background: var(--green-pale); border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px;
}
.feature-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15em; color: var(--dark); margin-bottom: 10px; }
.feature-card p { font-size: 0.9em; color: var(--grey); line-height: 1.6; }

/* ---- PAKET ---- */
.paket-section { background: var(--white); padding: 80px 24px; }
.paket-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px; flex-wrap: wrap; gap: 20px;
}
.paket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.paket-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--grey-light); transition: var(--transition);
  display: flex; flex-direction: column;
}
.paket-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.paket-card-img { height: 200px; position: relative; overflow: hidden; }
.paket-card-img img { height: 100%; transition: transform 0.5s; }
.paket-card:hover .paket-card-img img { transform: scale(1.06); }
.paket-card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: var(--white);
  font-size: 0.72em; font-weight: 700; padding: 4px 10px;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.5px;
}
.paket-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.paket-card-meta { display: flex; gap: 14px; margin-bottom: 10px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 5px; font-size: 0.8em; color: var(--grey); }
.paket-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2em; color: var(--dark); margin-bottom: 10px; }
.paket-card p { font-size: 0.88em; color: var(--grey); line-height: 1.6; flex: 1; margin-bottom: 20px; }
.paket-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--grey-light);
}
.paket-price .from { font-size: 0.75em; color: var(--grey); display: block; }
.paket-price .amount { font-family: 'Playfair Display', serif; font-size: 1.2em; color: var(--green); font-weight: 700; }
.paket-price .amount small { font-family: 'Inter', sans-serif; font-size: 0.6em; font-weight: 400; }
.pnbp-inline {
  margin-top: 24px; padding: 14px 20px;
  background: var(--cream); border-radius: 10px;
  border-left: 4px solid var(--orange); font-size: 0.85em; color: var(--grey);
}

/* ---- GALLERY ---- */
.gallery-section { background: var(--cream); padding: 80px 24px; }
.gallery-header { margin-bottom: 40px; }
.gallery-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { height: 100%; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:first-child { grid-row: span 2; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 20px;
  color: white; font-size: 0.85em; font-weight: 600;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-cta { text-align: center; margin-top: 36px; }

/* ---- TESTIMONIALS ---- */
.testi-section { background: var(--white); padding: 80px 24px; }
.testi-header { text-align: center; margin-bottom: 48px; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 24px; }
.testi-card { background: var(--cream); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.testi-quote { position: absolute; top: 20px; right: 24px; font-size: 3em; color: var(--green-pale); font-family: 'Playfair Display', serif; line-height: 1; }
.testi-stars { color: #f5a623; font-size: 1em; margin-bottom: 14px; letter-spacing: 2px; }
.testi-text { font-size: 0.95em; color: var(--dark); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; font-size: 1.2em; flex-shrink: 0; }
.testi-author .name { font-weight: 600; font-size: 0.92em; color: var(--dark); }
.testi-author .origin { font-size: 0.78em; color: var(--grey); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  padding: 80px 24px; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '🐘'; position: absolute; right: -40px; bottom: -40px;
  font-size: 220px; opacity: 0.07; transform: rotate(-10deg);
}
.cta-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.cta-inner h2 { font-size: clamp(1.8em,4vw,2.8em); color: var(--white); margin-bottom: 16px; }
.cta-inner p { color: rgba(255,255,255,0.85); font-size: 1.1em; margin-bottom: 36px; line-height: 1.6; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gallery-item:first-child { grid-row: span 1; grid-column: span 2; }
}
@media (max-width: 600px) {
  .hero-content { margin-left: 0; padding: 24px 16px; }
  .stats-inner { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 1; }
  .gallery-item { height: 200px; }
  .paket-header { flex-direction: column; align-items: flex-start; }
}
