/* =====================================================================
   GAYA BERSAMA SEMUA HALAMAN (Des 2026)
   Bahasa desain sama dengan beranda baru: judul Fredoka, teks rata kiri,
   kartu bersih tanpa blob/glow, baris filter yang bisa digeser di mobile.

   ATURAN: file ini TIDAK mengatur warna tema. Warna tetap dari styles.css,
   uiux.css, dan christmas.css (tema musiman me-remap variabel yang sama).
   Yang boleh di sini: tata letak, ukuran, jarak, bentuk, dan warna netral
   (putih kartu, abu-abu garis) yang memang sudah dipakai versi legacy.
   ===================================================================== */

:root {
  --font-heading: 'Fredoka', 'Nunito', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ds-radius: 18px;
  --ds-line: #e2e8f0;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Hero subhalaman ---------- */
.page-hero,
.artikel-hero {
  text-align: left;
  padding: 56px 0 48px;
}
/* /artikel tidak punya breadcrumb: hero harus mulai di bawah header */
.artikel-hero { padding-top: calc(var(--header-height) + 40px); }
.page-hero .container > *,
.artikel-hero .container > * { max-width: 46rem; margin-left: 0; margin-right: 0; }
.page-hero h1,
.artikel-hero h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 14px;
}
.page-hero p,
.artikel-hero p { margin: 0 0 22px; max-width: 42rem; line-height: 1.6; }
.page-hero .hero-buttons { justify-content: flex-start; }
.page-hero .service-label-hero { border-radius: 999px; letter-spacing: 0.04em; }

/* ---------- Breadcrumb ----------
   Header fixed (96px desktop, 80px <=768px). Dulu breadcrumb duduk di y=0 dan
   tertutup header di semua subhalaman; sekarang konten dimulai di bawah header. */
.breadcrumb-nav { padding: 10px 0; margin-top: var(--header-height); }
body:not(:has(.breadcrumb-nav)) .page-hero { padding-top: calc(var(--header-height) + 40px); }
.breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.breadcrumb::-webkit-scrollbar { display: none; }

/* ---------- Judul section: rata kiri ---------- */
.section-header { text-align: left; max-width: 46rem; margin-left: 0; margin-right: 0; }
.section-header h2 { display: block; line-height: 1.15; }
.section-header h2::after { display: none; }
.section-header p { margin-left: 0; margin-right: 0; }
.section-header--split { max-width: none; }

/* ---------- Strip fakta (trust bar) ---------- */
.trust-bar { padding: 14px 0; }
.trust-bar-items {
  justify-content: flex-start;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  scrollbar-width: none;
}
.trust-bar-items::-webkit-scrollbar { display: none; }
.trust-item {
  flex: none;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--ds-line);
  border-radius: 999px;
  padding: 8px 14px;
  white-space: nowrap;
}
.trust-item strong { font-size: 0.98rem; }
.trust-item span { font-size: 0.8rem; }

/* ---------- Baris filter / kategori: satu baris, geser di mobile ---------- */
.category-filter nav,
.faq-category-nav nav,
.gallery-filter {
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.category-filter nav::-webkit-scrollbar,
.faq-category-nav nav::-webkit-scrollbar,
.gallery-filter::-webkit-scrollbar { display: none; }
.cat-pill, .faq-cat-pill, .filter-btn { flex: none; white-space: nowrap; }
@media (min-width: 993px) {
  .category-filter nav,
  .faq-category-nav nav,
  .gallery-filter { flex-wrap: wrap; overflow: visible; }
}

/* ---------- Kartu umum ---------- */
.service-card,
.lokasi-card,
.article-card,
.harga-category {
  border-radius: var(--ds-radius);
  box-shadow: none;
}
.service-card:hover,
.lokasi-card:hover,
.article-card:hover { box-shadow: 0 10px 24px rgba(30, 41, 59, 0.08); transform: translateY(-2px); }
.article-card { overflow: hidden; }
.article-card-image img { display: block; }

/* ---------- Kartu paket: tanpa blob dan ikon dekoratif ---------- */
.package-card::before,
.package-card::after { display: none; }
.package-card .package-icon-badge { display: none; }
.package-card { border-radius: 20px; }
.package-card:hover { transform: translateY(-3px); }
.package-card.package-popular,
.package-card.featured { transform: none; }
.package-card.package-popular:hover,
.package-card.featured:hover { transform: translateY(-3px); }

/* ---------- Galeri: grid foto biasa, tanpa gaya kartu gacha ---------- */
.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery-grid-full .gallery-item-card,
.gallery-row .gallery-item-card {
  width: auto;
  height: auto;
  aspect-ratio: 4 / 5;
  clip-path: none;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}
.gallery-row .gallery-item-card { width: 240px; flex: none; }
.gallery-item-card::before,
.gallery-item-card::after,
.gic-corner-gem { display: none; }
.gallery-item-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(30, 41, 59, 0.14); }
.gallery-item-card:hover .gic-img { transform: scale(1.04); }
.gic-plate {
  left: 10px;
  right: auto;
  bottom: 10px;
  max-width: calc(100% - 20px);
  background: #fff;
  border-radius: 12px;
  padding: 6px 12px 7px;
  text-align: left;
}
.gic-plate::before, .gic-plate::after { display: none; }
.gic-name {
  display: block;
  color: #1e293b;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-shadow: none;
  letter-spacing: 0;
  text-transform: none;
}
.gic-count { display: block; color: #64748b; font-size: 0.78rem; font-weight: 700; text-shadow: none; }
.gallery-item-more { clip-path: none; border-radius: 16px; box-shadow: none; }

/* ---------- FAQ ---------- */
.faq-item h3 { font-size: 1.12rem; line-height: 1.35; }

/* ---------- Daftar artikel: 24 dulu, tombol tampilkan lagi (lihat initArtikelMore) ---------- */
.dk-paged > .dk-hidden { display: none !important; }
.dk-more-wrap { text-align: center; margin: 2rem 0 0.5rem; }
.dk-more-wrap small { display: block; margin-top: 0.6rem; color: #64748b; }

/* ---------- Halaman detail paket (/paket/<slug>) ---------- */
.pk-hero .pk-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1;
  margin: 0 0 14px;
  color: var(--accent);
}
.pk-body { padding: 56px 0; }
.pk-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pk-items h2, .pk-info h2 { font-size: 1.5rem; margin: 0 0 18px; }
.pk-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pk-item {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--ds-line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.pk-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.pk-item span { padding: 10px 14px 12px; font-weight: 700; color: var(--text-dark); line-height: 1.35; }
.pk-item__dot { display: none; }
.pk-item:not(:has(img)) { justify-content: center; min-height: 64px; background: var(--bg-gray); }
.pk-info {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 24px;
}
.pk-info dl { margin: 0 0 18px; }
.pk-info dt { font-weight: 800; color: var(--text-dark); font-size: 0.9rem; }
.pk-info dd { margin: 2px 0 12px; color: var(--text-medium); font-size: 0.95rem; line-height: 1.5; }
.pk-info__btn { width: 100%; }
.pk-info__note { margin: 10px 0 0; font-size: 0.85rem; color: #64748b; text-align: center; }
.pk-compare { padding: 8px 0 64px; }
.pk-compare__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pk-compare__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  border: 1.5px solid var(--ds-line);
  border-radius: 18px;
  background: #fff;
  text-decoration: none;
  color: var(--text-medium);
  transition: transform .15s ease, box-shadow .15s ease;
}
.pk-compare__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(30, 41, 59, 0.08); }
.pk-compare__card strong { font-family: var(--font-heading); font-weight: 600; font-size: 1.15rem; color: var(--text-dark); }
.pk-compare__price { font-family: var(--font-heading); font-weight: 700; font-size: 1.4rem; color: var(--primary); }
.pk-compare__feat { font-size: 0.88rem; line-height: 1.5; }
.pk-compare__go { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--primary); }
@media (max-width: 900px) {
  .pk-grid { grid-template-columns: 1fr; gap: 28px; }
  .pk-info { position: static; }
  .pk-compare__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pk-body { padding: 32px 0; }
  .pk-list { gap: 10px; }
  .pk-item span { padding: 8px 10px 10px; font-size: 0.9rem; }
}

/* ---------- Tombol mengambang di mobile ----------
   Bar WhatsApp + Telepon sudah menempel di bawah. Tombol "ke atas" hanya
   menambah tumpukan di sudut layar, jadi disembunyikan di mobile. */
@media (max-width: 768px) {
  .back-to-top { display: none !important; }
}

/* ---------- Footer mobile: kolom link 2 x 2, bukan 4 tumpuk ---------- */
@media (max-width: 768px) {
  .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
  .footer-column ul li { margin-bottom: 0.35rem; }
  .footer-column ul li a { font-size: 0.88rem; line-height: 1.4; }
  .footer-column h3 { margin-bottom: 0.9rem; }
}

/* ---------- Mobile ---------- */
@media (max-width: 992px) {
  .gallery-grid-full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .page-hero,
  .artikel-hero { padding: 30px 0 30px; }
  .artikel-hero { padding-top: calc(var(--header-height) + 28px); }
  .page-hero h1,
  .artikel-hero h1 { font-size: 1.85rem; }
  .page-hero p,
  .artikel-hero p { font-size: 1rem; margin-bottom: 18px; }
  .page-hero .hero-buttons { flex-direction: column; align-items: stretch; }
  .page-hero .hero-buttons .btn { width: 100%; }
  .section-header { margin-bottom: 1.5rem; }
  .section-header h2 { font-size: 1.6rem; }
  .gallery-grid-full { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-row .gallery-item-card { width: 70vw; }
  .gic-name { font-size: 0.92rem; }
  .gic-plate { left: 8px; bottom: 8px; padding: 5px 10px 6px; }
  .trust-bar { padding: 10px 0; }
  .lokasi-card-actions { flex-wrap: wrap; }
  .lokasi-card-actions .btn { flex: 1 1 auto; }
}

/* ---------- Ulasan Google asli (3 Des 2026) ----------
   Teks disalin persis dari Google, termasuk baris baru: pre-line.
   Foto pengulas tampil sebagai thumbnail kecil, klik untuk ukuran penuh. */
.testimonial-text { white-space: pre-line; }
.testimonial-photos {
  display: flex;
  gap: 8px;
  margin: 0.25rem 0 1rem;
}
.testimonial-photos a { display: block; flex: 0 1 120px; }
.testimonial-photos img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
}
.testimonial-source { display: inline-flex; align-items: center; gap: 0.35rem; }
.testimonial-source svg { width: 14px; height: 14px; flex-shrink: 0; }
