/* =============================================
   FONT FACE
   ============================================= */
@font-face {
  font-family: 'Poltab';
  src: url('Poltab-Regular.ttf') format('truetype');
  font-weight: 400;
}
@font-face {
  font-family: 'Poltab';
  src: url('Poltab-Bold.ttf') format('truetype');
  font-weight: 700;
}
@font-face {
  font-family: 'PoltabBlack';
  src: url('Poltab-Black.ttf') format('truetype');
  font-weight: 900;
}
@font-face {
  font-family: 'RahilaArabic';
  src: url('Rahila Arabic.ttf') format('truetype');
  font-weight: normal;
}

/* Slide-in animations */
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(60px) translateY(-50%); }
  to   { opacity: 1; transform: translateX(0)    translateY(-50%); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   HERO
   ============================================= */
.paket-hero {
  width: 100%;
  height: 56vw;
  min-height: 400px;
  max-height: 700px;
  background: #4caf50;
  overflow: hidden;
  position: relative;
}

.paket-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
  z-index: 1;
}

.paket-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.15) 55%,
    rgba(0,0,0,0.0) 100%
  );
  z-index: 2;
}

.paket-hero-text {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 46%;
  text-align: right;
  animation: slideInRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.paket-hero-text h1 {
  font-family: 'RahilaArabic', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.45);
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.paket-hero-text p {
  font-family: 'Poltab', sans-serif;
  font-size: clamp(0.7rem, 1.3vw, 0.9rem);
  color: #f0f0f0;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* =============================================
   SECTION
   ============================================= */
.paket-section {
  background-color: #fde488;
  padding: 48px 48px 56px;
}

.section-title {
  text-align: center;
  font-family: 'PoltabBlack', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #2e7d32;
  margin-bottom: 32px;
}

/* =============================================
   GRID
   ============================================= */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

/* =============================================
   CARD — foto penuh, overlay hijau menempel di bawah foto
   ============================================= */
.paket-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}

/* Foto */
.card-img-wrap {
  width: 100%;
  height: 220px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.card-tall .card-img-wrap {
  height: 340px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay hijau — penuh sejajar foto */
.card-info-box {
  background: #4caf50;
  border-radius: 0 0 14px 14px;
  padding: 14px 16px 16px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.card-info-box h3 {
  font-family: 'PoltabBlack', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 6px;
}

.card-price {
  font-family: 'PoltabBlack', sans-serif;
  font-size: 0.85rem;
  font-weight: 900;
  color: #2e7d32;
  background: #fde488;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.card-desc {
  font-family: 'Poltab', sans-serif;
  font-size: 0.72rem;
  color: #e8f5e9;
  line-height: 1.55;
}

/* =============================================
   NAVBAR ACTIVE
   ============================================= */
.navbar nav ul li a.active {
  border-bottom: 2px solid #4caf50;
  padding-bottom: 2px;
  opacity: 0.75;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .paket-hero {
    min-height: 260px;
    max-height: 400px;
  }

  .paket-hero-text {
    max-width: 65%;
  }

  .paket-section {
    padding: 32px 20px 40px;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .paket-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
  }

  .card-img-wrap {
    height: 200px;
  }

  .card-tall .card-img-wrap {
    height: 280px;
  }

  .card-info-box {
    width: 100%;
  }
}
