{"id":8,"date":"2025-06-19T14:18:22","date_gmt":"2025-06-19T14:18:22","guid":{"rendered":"https:\/\/diengtour.co.id\/booking\/?page_id=8"},"modified":"2025-06-19T14:18:55","modified_gmt":"2025-06-19T14:18:55","slug":"paket-wisata","status":"publish","type":"page","link":"https:\/\/diengtour.co.id\/booking\/","title":{"rendered":"Paket Wisata"},"content":{"rendered":"<!-- Pembuka Chatbot Versi Amazing -->\n<div style=\"\n  padding: 1.5rem 1.25rem;\n  max-width: 540px;\n  margin: 0 auto 1.5rem;\n  font-family: 'Segoe UI', sans-serif;\n  background: linear-gradient(135deg, #e0f7fa, #f0f9ff);\n  border-radius: 1.25rem;\n  box-shadow: 0 8px 30px rgba(0,0,0,0.06);\n  text-align: center;\n  animation: fadeSlideIn 0.8s ease-out both;\n\">\n\n  <!-- Subheading tipis & elegan -->\n  <div style=\"\n    font-size:0.9rem;\n    font-weight:300;\n    font-style:italic;\n    color:#4b5563;\n    line-height:1.2;\n    margin:0 0 0.5rem;\n    letter-spacing:0.5px;\n  \">\n    Explore Dieng bersama Platour\n  <\/div>\n\n  <!-- Judul utama -->\n  <h2 style=\"\n    font-size:1.6rem;\n    font-weight:800;\n    color:#1e3a8a;\n    margin:0 0 0.5rem;\n  \">\n    Paket Wisata Dieng\n  <\/h2>\n\n  <!-- Deskripsi compact & nyaman dibaca -->\n  <p style=\"\n    font-size:1rem;\n    color:#374151;\n    line-height:1.55;\n    margin:0;\n  \">\n    Pilih paket, cek harga, dan nikmati private trip nyaman ke Dieng \u2014 fleksibel untuk keluarga, teman, atau rombongan.\n  <\/p>\n\n<\/div>\n\n\n<style>\n\t.wa-button {\n  background: linear-gradient(to right, #25d366, #1faa52);\n  color: white;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 0.5rem;\n  padding: 0.75rem 1.5rem;\n  border-radius: 999px;\n  font-size: 15px;\n  font-weight: 600;\n  text-decoration: none;\n  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);\n  transition: background 0.2s ease, transform 0.2s ease;\n  margin-top: 1.25rem;\n  border: none;\n  outline: none;\n}\n.wa-button:focus,\n.wa-button:active {\n  border: none;\n  outline: none;\n}\n\n@keyframes fadeSlideIn {\n  from { opacity: 0; transform: translateY(20px); }\n  to { opacity: 1; transform: translateY(0); }\n}\nbody {\n  background: linear-gradient(to bottom, #f0f9ff, #ffffff);\n  font-family: 'Segoe UI', sans-serif;\n  margin: 0;\n  padding: 0;\n}\n.chat-container {\n  width: 100%;\n  max-width: 100%;\n  background: linear-gradient(to bottom right, #ffffff, #e0f2fe);\n  border-radius: 1rem;\n  padding: 1.5rem 1rem;\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);\n  display: flex;\n  flex-direction: column;\n  scroll-behavior: smooth;\n  margin: 1.25rem auto;\n  animation: fadeIn 0.5s ease-in;\n}\n@keyframes fadeIn {\n  from { opacity: 0; transform: translateY(10px); }\n  to { opacity: 1; transform: translateY(0); }\n}\n.chat-line {\n  display: flex;\n  flex-direction: column;\n  margin-bottom: 1rem;\n}\n.chat-bubble {\n  padding: 0.9rem 1.2rem;\n  border-radius: 1rem;\n  max-width: 85%;\n  word-wrap: break-word;\n  font-size: 14.5px;\n  line-height: 1.6;\n  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);\n}\n.bot {\n  background: #ecfeff;\n  color: #0f172a;\n  align-self: flex-start;\n}\n.user {\n  background: linear-gradient(to right, #38bdf8, #0ea5e9);\n  color: white;\n  align-self: flex-end;\n  text-align: right;\n}\n.option-buttons {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 0.5rem;\n  margin-top: 0.5rem;\n}\n.option-buttons button {\n  padding: 0.55rem 1.2rem;\n  background: linear-gradient(to right, #4ade80, #22c55e);\n  color: white;\n  font-weight: 600;\n  font-size: 14px;\n  border: none;\n  border-radius: 999px;\n  cursor: pointer;\n  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);\n  transition: transform 0.2s ease, box-shadow 0.2s ease;\n}\n.option-buttons button:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);\n}\ninput[type=\"text\"], input[type=\"date\"] {\n  padding: 0.75rem 1rem;\n  border-radius: 0.75rem;\n  border: 1px solid #cbd5e1;\n  background: #f0f9ff;\n  width: 100%;\n  font-size: 14px;\n  margin-top: 0.75rem;\n  transition: border 0.2s ease, background 0.2s ease;\n}\ninput:focus {\n  border-color: #0ea5e9;\n  background: #ffffff;\n  outline: none;\n}\n.wa-button {\n  background: linear-gradient(to right, #25d366, #1faa52);\n  color: white;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  gap: 0.5rem;\n  padding: 0.75rem 1.5rem;\n  border-radius: 999px;\n  font-size: 15px;\n  font-weight: 600;\n  text-decoration: none;\n  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);\n  transition: background 0.2s ease, transform 0.2s ease;\n  margin-top: 1.25rem;\n}\n.wa-button:hover {\n  background: #22c55e;\n  transform: translateY(-2px);\n}\n.wa-button svg {\n  width: 20px;\n  height: 20px;\n  fill: white;\n}\n\t\n\t\n.dieng-thanks {\n  max-width: 540px;\n  margin: 0 auto 1.5rem;\n  padding: 1rem 1rem;\n  border-radius: 1.25rem;\n  background: linear-gradient(135deg, #e0f7fa, #f0f9ff);\n  border: 1px solid #e5e7eb;\n  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);\n  text-align: center;\n  font-family: 'Segoe UI', sans-serif;\n}\n\n.dieng-thanks .quote {\n  font-size: 13px;\n  color: #6b7280;\n  font-style: italic;\n  padding: 0.75rem 1rem;\n  margin-bottom: 0.5rem;\n}\n\n.dieng-thanks .thanks {\n  font-size: 14px;\n  color: #1f2937;\n  line-height: 1.6;\n}\n\n.dieng-thanks .thanks a {\n  color: #1e3a8a;\n  font-weight: 700;\n  text-decoration: none;\n}\n\n.dieng-thanks .thanks a:hover {\n  text-decoration: underline;\n}\n\n.option-buttons button {\n  padding: 0.85rem 1.4rem;\n  background: linear-gradient(to right, #4ade80, #22c55e);\n  color: white;\n  font-weight: 700;\n  font-size: 16px;\n  border: none;\n  border-radius: 14px;\n  cursor: pointer;\n  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.25);\n  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;\n  min-width: 210px;\n}\n\n.option-buttons button:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.35);\n  filter: brightness(1.05);\n}\n\n<\/style>\n\n<div class=\"chat-container\" id=\"chatBox\">\n  <div class=\"chat-line\">\n    <div class=\"chat-bubble bot\">\ud83d\udc4b Hai! Kami senang kamu mau liburan ke Dieng \ud83d\ude04<br><br>\ud83d\udc47 Pilih durasi trip untuk mulai dapatkan info lengkap & penawaran harga\n<\/div>\n  <\/div>\n  <div class=\"option-buttons\" id=\"step1\">\n    <button onclick=\"selectOption(1)\">Paket Dieng 1 Hari<\/button>\n    <button onclick=\"selectOption(2)\">Paket Dieng 2 Hari 1 Malam<\/button>\n    <button onclick=\"selectOption(3)\">Paket Dieng 3 Hari 2 Malam<\/button>\n  <\/div>\n<\/div>\n\n<script>\n\nconst fasilitasData = {\n  1: ['Private tour','Kendaraan','Tiket masuk wisata','Driver wisata','Pemandu wisata','Layanan makan 2x'],\n  2: ['Private tour','Kendaraan','Tiket obyek wisata','Penginapan 1 malam','Makan 4x','Driver wisata','Pemandu wisata','Air mineral'],\n  3: ['Private tour','Kendaraan','Tiket obyek wisata','Penginapan 2 malam','Makan 7x','Driver wisata','Pemandu wisata','Air mineral']\n};\nconst destinasiData = {\n  1: ['Sunrise Sikunir','Candi Arjuna','Kawah Sikidang','Batu Ratapan Angin','Dieng Plateau Theater'],\n  2: ['Pintu Langit','Candi Arjuna','Kawah Sikidang','Batu Ratapan Angin','Dieng Plateau Theater','Telaga Warna','Sunrise Sikunir','Telaga Cebong','Kebun Teh','Telaga Menjer'],\n  3: ['Pintu Langit','Candi Arjuna','Kawah Sikidang','Batu Ratapan Angin','Dieng Plateau Theater','Telaga Warna','Sunrise Sikunir','Telaga Cebong','Kebun Teh','Telaga Menjer','Kawah Candradimuka','Telaga Dringo','Pemandian Air Panas','Tol Kahyangan','Air Terjun Sikarim']\n};\n\nlet userData = {};\n\nfunction appendBot(msg) {\n  const bubble = `<div class='chat-line'><div class='chat-bubble bot'>${msg}<\/div><\/div>`;\n  document.getElementById(\"chatBox\").insertAdjacentHTML(\"beforeend\", bubble);\n}\nfunction appendUser(msg) {\n  const bubble = `<div class='chat-line'><div class='chat-bubble user'>${msg}<\/div><\/div>`;\n  document.getElementById(\"chatBox\").insertAdjacentHTML(\"beforeend\", bubble);\n}\n\nfunction selectOption(paket) {\n  userData.paket = paket;\n  if (document.getElementById(\"step1\")) document.getElementById(\"step1\").remove();\n  const label = [\"Paket 1 Hari\",\"Paket 2 Hari 1 Malam\",\"Paket 3 Hari 2 Malam\"][paket - 1];\n  appendUser(label);\n  setTimeout(() => {\n    appendBot(`\ud83c\udfaf Oke, ${label} ini favorit banyak traveler lho! Pas buat kamu yang cari suasana sejuk & memorable.`);\n    setTimeout(() => {\n      appendBot(\"\ud83d\udc65 Berapa orang yang akan ikut trip ini?\");\n      const wrap = document.createElement(\"div\");\n      wrap.className = \"option-buttons\"; wrap.id = \"step2\";\n      for (let i = 1; i <= 10; i++) {\n        const btn = document.createElement(\"button\");\n        btn.type = \"button\";\n        btn.innerText = i + \" Orang\";\n        btn.onclick = () => selectJumlah(i);\n        wrap.appendChild(btn);\n      }\n      const lebihBtn = document.createElement(\"button\");\n      lebihBtn.type = \"button\";\n      lebihBtn.innerText = \"Lebih dari 10 Orang\";\n      lebihBtn.onclick = () => {\n        if (document.getElementById(\"step2\")) document.getElementById(\"step2\").remove();\n        appendUser(\"Lebih dari 10 Orang\");\n        appendBot(\"\ud83d\udcdd Masukkan jumlah peserta:\");\n        const input = document.createElement(\"input\");\n        input.type = \"number\";\n        input.min = 11;\n        input.placeholder = \"Misalnya 15 orang\";\n\n        const wrapInput = document.createElement(\"div\");\n        const submitBtn = document.createElement(\"button\");\n        submitBtn.innerText = \"Kirim\";\n        submitBtn.className = \"wa-button\";\n        submitBtn.type = \"button\";\n        submitBtn.onclick = () => {\n          const val = parseInt(input.value);\n          if (!val || val < 11 || isNaN(val)) return alert(\"Minimal 11 orang ya!\");\n          userData.jumlah = val;\n          appendUser(`${val} Orang`);\n          wrapInput.remove();\n          selectMepoStep();\n        };\n\n        wrapInput.appendChild(input);\n        wrapInput.appendChild(submitBtn);\n        document.getElementById(\"chatBox\").appendChild(wrapInput);\n      };\n      wrap.appendChild(lebihBtn);\n      document.getElementById(\"chatBox\").appendChild(wrap);\n    }, 600);\n  }, 400);\n}\n\nfunction selectJumlah(jml) {\n  userData.jumlah = jml;\n  if (document.getElementById(\"step2\")) document.getElementById(\"step2\").remove();\n  appendUser(`${jml} Orang`);\n  setTimeout(() => {\n    appendBot(\"\u2705 Noted! Jumlah peserta sudah kami catat. Sekarang tinggal pilih kota penjemputannya ya \ud83c\udf0d\");\n    selectMepoStep();\n  }, 400);\n}\n\nfunction selectMepoStep() {\n  setTimeout(() => {\n    appendBot(\"\ud83d\udccd Dari kota mana kamu ingin dijemput?\");\n    const wrap = document.createElement(\"div\");\n    wrap.className = \"option-buttons\"; wrap.id = \"step3\";\n    [\"wonosobo\", \"jogja\", \"semarang\", \"purwokerto\", \"solo\", \"kota lainnya\"].forEach(kota => {\n      const btn = document.createElement(\"button\");\n      btn.type = \"button\";\n      btn.innerText = kota.charAt(0).toUpperCase() + kota.slice(1);\n      btn.onclick = () => {\n        if (document.getElementById(\"step3\")) document.getElementById(\"step3\").remove();\n        if (kota === \"kota lainnya\") {\n          appendUser(\"Kota Lainnya\");\n          appendBot(\"\ud83d\udcdd Masukkan nama kota penjemputanmu ya:\");\n          const input = document.createElement(\"input\");\n          input.type = \"text\";\n          input.placeholder = \"Contoh: Pekalongan\";\n\n          const wrapInput = document.createElement(\"div\");\n          const btnLanjut = document.createElement(\"button\");\n          btnLanjut.innerText = \"Lanjutkan\";\n          btnLanjut.className = \"wa-button\";\n          btnLanjut.type = \"button\";\n          btnLanjut.onclick = () => {\n            const val = input.value.trim();\n            if (!val) return alert(\"Isi nama kota ya!\");\n            userData.mepo = val;\n            appendUser(val);\n            wrapInput.remove();\n            showForm();\n          };\n          wrapInput.appendChild(input);\n          wrapInput.appendChild(btnLanjut);\n          document.getElementById(\"chatBox\").appendChild(wrapInput);\n        } else {\n          userData.mepo = kota;\n          appendUser(kota.charAt(0).toUpperCase() + kota.slice(1));\n          setTimeout(() => {\n            appendBot(\"\ud83d\ude97 Penjemputan siap kami atur dari lokasi kamu. Tinggal isi nama kamu, ya!\");\n            showForm();\n          }, 400);\n        }\n      };\n      wrap.appendChild(btn);\n    });\n    document.getElementById(\"chatBox\").appendChild(wrap);\n  }, 500);\n}\n\nfunction showForm() {\n  setTimeout(() => {\n    appendBot(`<b>\u2728 Fasilitas yang kamu dapat:<\/b><br>${fasilitasData[userData.paket].join(\"<br>\")}<br><br><b>\ud83d\udccd Destinasi yang akan kamu jelajahi:<\/b><br>${destinasiData[userData.paket].join(\"<br>\")}<br><br>Cukup tulis nama kamu di bawah \ud83d\udc47`);\n\n    const form = document.createElement(\"div\");\n    form.innerHTML = `\n      <div style=\"\n        background:#ffffff; \n        padding:1.5rem; \n        border-radius:1.25rem; \n        box-shadow:0 8px 30px rgba(0,0,0,0.06);\n        margin-top:1rem;\n      \">\n        <label for=\"nama\" style=\"\n          font-weight:600; \n          color:#1e3a8a; \n          font-size:1rem; \n          margin-bottom:0.75rem; \n          display:block;\n        \">\n          Nama kamu?\n        <\/label>\n        <input type=\"text\" id=\"nama\" style=\"\n          font-size:16px;\n          padding:1rem 1rem;\n          border-radius:1rem;\n          border:1px solid #cbd5e1;\n          background:#f9fafb;\n          width:100%;\n          box-shadow:0 4px 16px rgba(0,0,0,0.06);\n          transition: all 0.25s ease;\n          height:3.2rem;\n          margin-bottom:1rem;\n        \"\n        onfocus=\"this.style.boxShadow='0 6px 20px rgba(0,0,0,0.12)'; this.style.borderColor='#0ea5e9'; this.style.background='#ffffff';\"\n        onblur=\"this.style.boxShadow='0 4px 16px rgba(0,0,0,0.06)'; this.style.borderColor='#cbd5e1'; this.style.background='#f9fafb';\"\n        >\n\n        <button onclick=\"submitPenawaran()\" class=\"wa-button\" type=\"button\" style=\"\n          width:100%; \n          font-size:16px; \n          padding:1rem;\n          border-radius:1rem;\n          box-shadow:0 6px 16px rgba(0,0,0,0.12);\n          transition: all 0.25s ease;\n        \" onmouseover=\"this.style.transform='translateY(-2px)'; this.style.boxShadow='0 10px 24px rgba(0,0,0,0.16)';\" onmouseout=\"this.style.transform='translateY(0)'; this.style.boxShadow='0 6px 16px rgba(0,0,0,0.12)';\">\n          Cek Harga Sekarang\n        <\/button>\n\n      <\/div>\n    `;\n    document.getElementById(\"chatBox\").appendChild(form);\n  }, 800);\n}\n\n\nfunction submitPenawaran() {\n  const nama = document.getElementById(\"nama\").value.trim();\n  if (!nama || typeof userData.jumlah === \"undefined\" || !userData.mepo) {\n    return alert(\"Isi semua data ya!\");\n  }\n  appendBot(\"\ud83c\udf89 Yeay! Semua data sudah lengkap. Terima kasih sudah mengisi \u2014 penawaran terbaik kami siap dikirim ke WhatsApp kamu \ud83e\udd1d\");\n  const label = [\"1 Hari\", \"2 Hari 1 Malam\", \"3 Hari 2 Malam\"][userData.paket - 1];\n  const kota = userData.mepo.charAt(0).toUpperCase() + userData.mepo.slice(1);\n  const peserta = `${userData.jumlah} orang`;\n  const pesan = `Halo Diengtour.co.id \ud83d\udc4b\\n\\nSaya *${nama}* mau tanya info paket wisata ke Dieng ya.\\nBoleh minta rincian harga dan fasilitasnya?\\n\\n\ud83e\uddf3 Paket: ${label}\\n\ud83d\udc65 Jumlah peserta: ${peserta}\\n\ud83d\udccd Penjemputan dari: ${kota}\\n\\nTerima kasih banyak ya \ud83d\ude0a`;\n\n  const base = 'https:\/\/api.whatsapp.com\/send?phone=62811260969&text=';\n  window.open(base + encodeURIComponent(pesan), '_blank');\n}\n\n<\/script>\n\n\n<div class=\"dieng-thanks\">\n  <div class=\"quote\">\n    \ud83c\udf04 \"Hidup bukan hanya tentang bekerja, tapi juga tentang melihat matahari terbit dari tempat yang belum pernah kau injak.\"\n  <\/div>\n\n  <div class=\"thanks\">\n    Terima kasih teman-teman yang sudah ikut trip ke Dieng bareng <strong>Dieng Platour<\/strong> \ud83d\ude4f  \n    Mau lihat dokumentasi video perjalanan & pengalaman tamu?  \n    Klik IG kami:\n    <a href=\"https:\/\/www.instagram.com\/paketwisatadieng_\" target=\"_blank\" rel=\"noopener noreferrer\">\n      @paketwisatadieng_\n    <\/a>\n  <\/div>\n<\/div>\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-app.php","meta":{"footnotes":""},"class_list":["post-8","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/pages\/8","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/comments?post=8"}],"version-history":[{"count":1,"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/pages\/8\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/pages\/8\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/diengtour.co.id\/booking\/wp-json\/wp\/v2\/media?parent=8"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}