/* *** HALAMAN PAKET *** */
/* ==========================
   Paket wisata - CSS
============================= */
/* Container utama */
.paket-container,
.paket-scroll-wrapper {
  max-width: 1000px;
  margin: var(--section-spacing) auto;
  padding: var(--section-padding);
  text-align: center;
  box-sizing: border-box;
}

/* Section Title */
.paket-title {
  font-size: 26px;
  font-weight: var(--font-weight-bold);
  color: var(--text);
  margin-bottom: var(--title-margin-bottom);
}

/* Filter */
.paket-filter-wrapper {
  margin-bottom: 20px;
}

.paket-filter-wrapper label {
  font-size: 14px;
  color: var(--accent);
  margin-right: 10px;
}

.paket-filter-wrapper select {
  padding: 6px 10px;
  border-radius: var(--border-radius);
  border: var(--card-border-width) solid #ccc;
}

/* Card */
.paket-item,
.paket-item-populer {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--card-box-shadow);
  border: var(--card-border-width) solid #ddd;
  overflow: hidden;
  position: relative;
  margin: 10px;
  display: inline-block;
  vertical-align: top;
  width: 100%;
  max-width: 320px;
  transition: var(--transition);
  --paket-color: #0077b6;
}

.paket-item img,
.paket-item-populer img {
  width: 100%;
  height: auto;
  display: block;
}

/* Konten kartu */
.paket-card-content {
  padding: 12px;
}

/* Judul */
.paket-card-content h3 {
  font-size: 18px;
  text-align: center;
  font-weight: var(--font-weight-bold);
  color: var(--paket-color);
  margin-bottom: 4px;
}

/* Rating */
.paket-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px 0;
}

.paket-rating div {
  font-size: 24px;
  background: linear-gradient(to right, gold 0%, #ccc 0%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.paket-rating span {
  font-size: 13px;
  color: var(--accent);
}

/* default: deskripsi hanya 2 baris + ellipsis */
.paket-description {
  display: block;
  overflow: hidden;
  transition: max-height 0.3s ease;
  /* animasi halus */
  max-height: 3em;
  /* kira-kira 2 baris */
  line-height: 1.5em;
  margin-bottom: 5px;
}

/* saat tombol toggle diklik */
.paket-description.expanded {
  max-height: 100vh;
  /* biar terbuka penuh */
  overflow: visible;
}

.paket-toggle-btn {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.9rem;
  color: var(--paket-color, #007BFF);
  cursor: pointer;
  user-select: none;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.paket-toggle-btn:hover {
  color: #0056b3;
}

/* Info tambahan */
.paket-additional {
  font-size: 13px;
  color: var(--accent);
  margin-top: 6px;
  display: block;
  text-align: left;
}

/* Harga */
.paket-price {
  font-size: 14px;
  margin-top: 6px;
  text-align: left;
  color: var(--accent);
}

.paket-price del {
  color: #888;
  font-size: 13px;
}

.paket-price strong {
  color: var(--paket-color);
  font-size: 15px;
  display: block;
  margin-top: 2px;
}

/* Tombol link */
.paket-link {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: var(--border-radius);
  background-color: var(--paket-color);
  color: var(--primary-button-text-color);
  text-decoration: none;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  text-align: left;
}

/* Badge */
.paket-badge {
  position: absolute;
  right: -30px;
  bottom: 18px;
  width: 120px;
  text-align: center;
  background: #efbf04;
  color: var(--text-color-dark);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  padding: 4px 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  z-index: 2;
  animation: paketGlow 2s infinite ease-in-out;
  border-radius: 2px;
}

.paket-badge::before,
.paket-badge::after {
  content: "";
  position: absolute;
  top: -6px;
  border-bottom: 6px solid rgba(0, 0, 0, 0.3);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
}

.paket-badge::before {
  left: 0;
}

.paket-badge::after {
  right: 0;
}

/* Animasi Glow */
@keyframes paketGlow {
  0% {
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 12px rgba(255, 215, 0, 0.3);
  }

  50% {
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.6);
  }

  100% {
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.5), 0 0 12px rgba(255, 215, 0, 0.3);
  }
}

/* Scroll wrapper */
.paket-scroll-wrapper {
  padding-bottom: 10px;
  width: 100%;
}

.paket-scroll-area {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  width: 100%;
}

.paket-scroll-content {
  display: flex;
  gap: 20px;
  padding-bottom: 10px;
  width: max-content;
  box-sizing: border-box;
}

.paket-scroll-content>.paket-item {
  flex: 0 0 auto;
  width: 85vw;
  max-width: 260px;
  box-sizing: border-box;
}

/* Filter message */
.paket-filter-message {
  text-align: center;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--accent);
}

/* Responsive */
@media (min-width: 768px) {
  #paket-container-populer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .paket-item-populer {
    flex: 1 1 calc(50% - 20px);
    max-width: unset;
    margin: 0;
  }

  .paket-scroll-content>.paket-item {
    width: 200px;
  }
}

/* *** PREMIUM SEO SECTION *** */
.seo-content-section {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 0 1rem;
}

.paket-hero {
  margin: 0 auto 2rem;
  text-align: center;
  max-width: 800px;
}

.seo-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  padding: 3rem;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.seo-block {
  margin-bottom: 2.5rem;
}

.seo-block:last-child {
  margin-bottom: 0;
}

.seo-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  text-align: left;
  margin-bottom: 1.2rem;
  border-bottom: 2px solid #f0f4f8;
  padding-bottom: 0.8rem;
  font-weight: 600;
}

.seo-block-title i {
  color: var(--accent-color, #ffbb33);
  font-size: 1.2rem;
}

.seo-block-text {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.8;
  text-align: justify;
}

/* * FAQ ACCORDION * */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #edf2f7;
  border-radius: 12px;
  background: #fcfcfc;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: #cbd5e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-question {
  padding: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}


.faq-question::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.2rem 1.2rem;
  color: #4a5568;
  line-height: 1.7;
  border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
  border-top-color: #edf2f7;
  padding-top: 1.2rem;
}

@media (max-width: 600px) {
  .seo-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
  .seo-block-title {
    font-size: 1.25rem;
  }
}