/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
/* list */
li.elementor-icon-list-item {
  display: list-item !important;
}

.list-perjalanan li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
}
.list-perjalanan li::before {
      content: "";
      margin-top: 4px;
      display: inline-block;
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path fill='none' stroke='%23387F81' stroke-linecap='round' stroke-linejoin='round' stroke-width='4' d='m19 12l12 12l-12 12'/></svg>");
      background-repeat: no-repeat;
      background-size: contain;
      background-position: center;
      
}

/* Style gambar full dengan overlay */
div:has(> img.bg-gambar-full-container){
        height: auto;
        width: 100%;
		position: absolute;
        inset: 0;
}

div:has(> img.bg-gambar-full-container)::after {
		content: '';
		position: absolute;
		inset: 0;
		background: linear-gradient(
			to top,
			var(--overlay-color, rgba(0, 0, 0, 0.7)) 20%,
			transparent 80%
    );
}

div:has(> img.bg-gambar-full-container.overlay-putih)::after {
    --overlay-color: rgba(255, 255, 255, 0.7);
}

img.bg-gambar-full-container{
	width:100%; height:100%; object-fit:cover;
}

.bayangan-elemen-faq details{
	box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
}


/* Style untuk garis timeline */
.timeline-indicator {
	display: flex;
  	flex-direction: column;
  	align-items: center;
	height: 100%;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;         /* jadikan lingkaran */
  background-color: #2a7c6f;
}

.timeline-line {
  flex: 1;                    /* otomatis isi sisa tinggi parent */
  width: 2px;
  background-color: #DCDAD5;
  margin-top: 4px;
}

/* Style fomulir */
.wa-form-input,
.wa-form-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f4f3f0;
    color: #222;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.15s;
    outline: none;
}

.wa-form-input:focus,
.wa-form-textarea:focus {
    border-color: #0f6e56;
    background: #fff;
  }

.wa-form-textarea {
	resize: vertical;
	min-height: 120px;
}

.wa-form-error {
	font-size: 12px;
	color: #c0392b;
	margin-top: 4px;
	display: none;
}
.wa-form-error.show {
	display: block;
}
.wa-btn {
	width: 100%;
	padding: 14px;
	background: #0f6e56;
	color: #fff;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.3px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: background 0.15s, transform 0.1s;
	margin-top: 4px;
}
.wa-btn:hover {
	background: #0a5040;
}
.wa-btn:active {
	transform: scale(0.98);
}
.wa-btn svg {
	width: 20px;
	height: 20px;
	fill: #fff;
}

.wa-link::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* tombol share */
.share-label{
	font-family: var(--e-global-typography-text-font-family);
	color: #272829;
	margin-right: 16px;
	font-weight: 600;
}

.share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 8px 8px;
	height: 32px;
	width: 32px;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
	white-space: nowrap;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-btn i {
	font-size: 16px;
}

.share-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	filter: brightness(1.08);
	color: #fff;
	text-decoration: none;
}

.share-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Brand colours */
.share-btn--facebook {
	background: #1877f2;
}
.share-btn--instagram {
	background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.share-btn--x {
	background: #000;
}
.share-btn--tiktok {
	background: #010101;
}
.share-btn--whatsapp {
	background: #25d366;
}

/* TikTok icon colour trick */
.share-btn--tiktok .fa-tiktok {
	background: linear-gradient(135deg, #69c9d0, #ee1d52, #fff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.current-url {
	font-size: 13px;
	color: #aaa;
	margin-top: 24px;
	word-break: break-all;
}

.current-url span {
	font-weight: 600;
	color: #555;
}

.toast {
	position: fixed;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #333;
	color: #fff;
	padding: 10px 22px;
	border-radius: 50px;
	font-size: 14px;
	opacity: 0;
	transition:
		opacity 0.3s,
		transform 0.3s;
	pointer-events: none;
	z-index: 9999;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

/* style table of contents */
  .toc-title {
    font-family: 'Noto Serif', serif;
    color: #387F81;
    font-size: var(--e-global-typography-0e4a543-font-size, 1.75rem);
    line-height: var(--e-global-typography-0e4a543-line-height, 1.3);
    font-weight: 700;
    margin: 0 0 16px 0;
    padding: 0;
  }

  .toc-divider {
    border: none;
    border-top: 1.5px solid #e0e0da;
    margin: 0 0 12px 0;
  }

  .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* Indentasi berdasarkan level heading */
  .toc-list li[data-level="h2"] a {
    padding-left: 20px;
  }

  .toc-list li[data-level="h3"] a {
    padding-left: 32px;
  }

  .toc-list li[data-level="h4"] a {
    padding-left: 44px;
  }

  .toc-list li[data-level="h3"] a {
    font-size: 0.9rem;
  }

  .toc-list li[data-level="h4"] a {
    font-size: 0.85rem;
  }

  .toc-list li a {
    position: relative;
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--e-global-color-b99f9a4, #444444);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 14px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .toc-list li a::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    border-radius: 999px;
    background-color: transparent;
    transition: background-color 0.2s ease, height 0.2s ease;
  }

  .toc-list li a:hover {
    background-color: #edf2f2;
    color: #387F81;
  }

  .toc-list li a:hover::before {
    background-color: #387F81;
  }

  .toc-list li.active a {
    background-color: #edf2f2;
    color: #387F81;
    font-weight: 600;
  }

  .toc-list li.active a::before {
    background-color: #387F81;
    height: 65%;
  }

  /* ---- Minimize toggle ---- */
  .toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
  }

  .toc-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #387F81;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
  }

  .toc-toggle-btn:hover {
    background-color: #387F81;
    color: #ffffff;
  }

  .toc-toggle-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .toc-wrapper.collapsed .toc-toggle-btn svg {
    transform: rotate(-90deg);
  }

  .toc-collapsible {
    overflow: hidden;
    max-height: 600px;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 1;
  }

  .toc-wrapper.collapsed .toc-collapsible {
    max-height: 0;
    opacity: 0;
  }

/* Styles untuk tablet */
@media (min-width: 768px) and (max-width: 1024px) {
	.paket-rekomendasi{
		overflow: scroll;
	}
}

/* === Styles untuk smartphone === */
@media (max-width: 767px) {
	.paket-rekomendasi{
		overflow: scroll;
	}
	
	div:has(> img.bg-gambar-full-container)::after {
		background: linear-gradient(
			to top,
			var(--overlay-color, rgba(0, 0, 0, 0.7)) 50%,
			transparent 100%
    	);
	}
	
	img.bg-white{
	background: linear-gradient(
			to top,
			rgba(255, 255, 255, 0.7) 40%,
			transparent 100%
		);
}
}