/* ==========================================================================
   ENDJOY TRAVEL — PAKETKILAT.HTML PREMIUM CARD (redesign)
   Kartu dua kolom (foto | info) di desktop, ditumpuk vertikal di tablet &
   mobile. Ukuran foto dikunci (max-width/max-height/aspect-ratio) sehingga
   card tidak pernah "kosong" akibat foto besar, dan ukuran visual foto
   selalu konsisten walau file sumber berbeda-beda.
   ========================================================================== */

.paket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.paket-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 46, 116, 0.08);
  border: 1px solid rgba(11, 46, 116, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paket-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(11, 46, 116, 0.16);
}

.paket-card__media {
  flex: 0 0 200px;
  max-width: 200px;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.paket-card__image {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform 0.4s ease;
}

.paket-card:hover .paket-card__image {
  transform: scale(1.06);
}

.paket-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 24px 26px;
}

.paket-card__body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
}

.paket-card__body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 18px;
  flex: 1;
}

.paket-card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.paket-card__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-secondary);
  white-space: nowrap;
}

.paket-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 12px;
  background: var(--gradient-cta);
  color: #fff;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(11, 46, 116, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.paket-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(11, 46, 116, 0.24);
}

/* ---------- Responsive: dua kolom desktop -> satu kolom, foto di atas ---------- */
@media (max-width: 900px) {
  .paket-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .paket-card { flex-direction: column; }
  .paket-card__media {
    flex: none;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .paket-card__image { padding: 28px; }
}
