/* ============================================================
   PESONA WISATA — thema pariwisata Indonesia
   ============================================================ */
:root {
	--pw-primary: #0d7a6f;
	--pw-secondary: #f59e0b;
	--pw-dark: #0e2a28;
	--pw-text: #2c3e3c;
	--pw-muted: #6f8280;
	--pw-bg: #ffffff;
	--pw-bg-alt: #f3faf8;
	--pw-border: #e2edeb;
	--pw-radius: 14px;
	--pw-shadow: 0 10px 30px rgba(13, 122, 111, 0.10);
	--pw-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--pw-font);
	color: var(--pw-text);
	background: var(--pw-bg);
	line-height: 1.7;
	font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: var(--pw-primary); text-decoration: none; }
a:hover { color: var(--pw-dark); }
h1, h2, h3, h4 { line-height: 1.3; color: var(--pw-dark); margin-top: 0; }

.pw-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.pw-center { text-align: center; margin-top: 28px; }
.pw-empty { text-align: center; color: var(--pw-muted); padding: 30px 0; }

/* ---------- Tombol ---------- */
.pw-btn {
	display: inline-block;
	background: var(--pw-primary);
	color: #fff;
	padding: 12px 26px;
	border-radius: 999px;
	font-weight: 700;
	border: 2px solid var(--pw-primary);
	cursor: pointer;
	transition: all .25s ease;
	font-size: 15px;
}
.pw-btn:hover { background: var(--pw-dark); border-color: var(--pw-dark); color: #fff; transform: translateY(-2px); }
.pw-btn-light { background: #fff; border-color: #fff; color: var(--pw-primary); }
.pw-btn-light:hover { background: var(--pw-secondary); border-color: var(--pw-secondary); color: #fff; }
.pw-btn-outline { background: transparent; color: var(--pw-primary); }
.pw-btn-outline:hover { background: var(--pw-primary); color: #fff; }
.pw-btn-small { padding: 8px 18px; font-size: 13px; }
.pw-btn-large { padding: 15px 36px; font-size: 17px; }

/* ---------- Topbar ---------- */
.pw-topbar { background: var(--pw-dark); color: #cfe3e0; font-size: 13px; }
.pw-topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.pw-topbar a { color: #fff; }
.pw-topbar-contact span { margin-right: 18px; }
.pw-topbar-social a { margin-left: 14px; opacity: .85; }
.pw-topbar-social a:hover { opacity: 1; color: var(--pw-secondary); }

/* ---------- Header ---------- */
.pw-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 100; }
.pw-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.pw-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.pw-brand-name { font-size: 24px; font-weight: 800; color: var(--pw-primary); }
.pw-brand-tag { font-size: 12px; color: var(--pw-muted); }
.custom-logo { max-height: 60px; width: auto; }

.pw-menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pw-menu a { display: block; padding: 10px 14px; font-weight: 600; color: var(--pw-dark); border-radius: 8px; font-size: 15px; }
.pw-menu a:hover, .pw-menu .current-menu-item a { color: var(--pw-primary); background: var(--pw-bg-alt); }
.pw-menu .sub-menu { display: none; }

.pw-header-cta { display: flex; align-items: center; gap: 12px; }
.pw-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.pw-hamburger span { display: block; width: 26px; height: 3px; background: var(--pw-dark); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.pw-hero {
	position: relative;
	background: linear-gradient(135deg, var(--pw-primary), #0a5a53);
	background-size: cover;
	background-position: center;
	color: #fff;
	padding: 110px 0 90px;
	text-align: center;
}
.pw-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,45,42,.55), rgba(8,45,42,.75)); }
.pw-hero-inner { position: relative; z-index: 1; }
.pw-hero h1 { color: #fff; font-size: 48px; font-weight: 800; margin-bottom: 12px; }
.pw-hero-sub { font-size: 18px; opacity: .92; max-width: 640px; margin: 0 auto 26px; }
.pw-hero-actions { margin-bottom: 30px; }
.pw-hero-search { max-width: 900px; margin: 0 auto; }

/* ---------- Form pencarian ---------- */
.pw-search {
	display: flex; gap: 10px;
	background: #fff; border-radius: var(--pw-radius);
	padding: 14px; box-shadow: var(--pw-shadow);
	text-align: left;
}
.pw-search-field { flex: 1; display: flex; flex-direction: column; }
.pw-search-field label { font-size: 12px; font-weight: 700; color: var(--pw-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.pw-search-field input, .pw-search-field select {
	border: 1px solid var(--pw-border); border-radius: 8px;
	padding: 10px 12px; font-size: 15px; font-family: inherit; color: var(--pw-text);
	background: #fff; width: 100%;
}
.pw-search-field input:focus, .pw-search-field select:focus { outline: 2px solid var(--pw-primary); border-color: var(--pw-primary); }
.pw-search .pw-btn { align-self: flex-end; white-space: nowrap; }

/* ---------- Section ---------- */
.pw-section { padding: 70px 0; }
.pw-section-alt { background: var(--pw-bg-alt); }
.pw-section-head { text-align: center; margin-bottom: 40px; }
.pw-section-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 8px; }
.pw-section-head h2::after {
	content: ""; display: block; width: 70px; height: 4px;
	background: var(--pw-secondary); border-radius: 2px; margin: 12px auto 0;
}
.pw-section-head p { color: var(--pw-muted); max-width: 600px; margin: 0 auto; }

/* ---------- Grid & kartu ---------- */
.pw-grid { display: grid; gap: 26px; }
.pw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.pw-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pw-grid-2 { grid-template-columns: repeat(2, 1fr); }

.pw-card {
	background: #fff; border-radius: var(--pw-radius); overflow: hidden;
	box-shadow: 0 4px 18px rgba(0,0,0,.07); transition: transform .25s ease, box-shadow .25s ease;
	display: flex; flex-direction: column;
}
.pw-card:hover { transform: translateY(-6px); box-shadow: var(--pw-shadow); }
.pw-card-media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; background: var(--pw-bg-alt); }
.pw-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pw-card:hover .pw-card-media img { transform: scale(1.06); }
.pw-card-placeholder { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 60px; background: linear-gradient(135deg, #d9efeb, #f3faf8); }
.pw-card-badge {
	position: absolute; top: 12px; left: 12px;
	background: var(--pw-secondary); color: #fff;
	font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px;
}
.pw-card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.pw-card-title { font-size: 18px; margin: 0 0 8px; }
.pw-card-title a { color: var(--pw-dark); }
.pw-card-title a:hover { color: var(--pw-primary); }
.pw-card-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--pw-muted); margin-bottom: 12px; }
.pw-card-excerpt { font-size: 14px; color: var(--pw-muted); margin: 0 0 12px; flex: 1; }
.pw-card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--pw-border); padding-top: 12px; margin-top: auto; }
.pw-card-price { font-weight: 800; color: var(--pw-primary); font-size: 17px; }
.pw-card-price small { font-weight: 400; color: var(--pw-muted); font-size: 12px; }
.pw-card-link { font-weight: 700; font-size: 14px; }

/* ---------- Bintang ---------- */
.pw-stars { color: var(--pw-secondary); letter-spacing: 2px; font-size: 15px; }
.pw-stars .star { color: #ddd; }
.pw-stars .star.full { color: var(--pw-secondary); }
.pw-stars .star.half {
	background: linear-gradient(90deg, var(--pw-secondary) 50%, #ddd 50%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Kategori ---------- */
.pw-cat-card {
	background: #fff; border: 1px solid var(--pw-border); border-radius: var(--pw-radius);
	padding: 28px 18px; text-align: center; transition: all .25s ease;
	display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.pw-cat-card:hover { border-color: var(--pw-primary); box-shadow: var(--pw-shadow); transform: translateY(-4px); }
.pw-cat-icon { font-size: 38px; }
.pw-cat-name { font-weight: 700; color: var(--pw-dark); font-size: 17px; }
.pw-cat-count { font-size: 13px; color: var(--pw-muted); }

/* ---------- Testimoni ---------- */
.pw-testi {
	background: #fff; border-radius: var(--pw-radius); padding: 28px;
	box-shadow: 0 4px 18px rgba(0,0,0,.06); border-top: 4px solid var(--pw-secondary);
	margin: 0;
}
.pw-testi-stars { color: var(--pw-secondary); letter-spacing: 3px; margin-bottom: 10px; }
.pw-testi p { font-style: italic; color: var(--pw-text); }
.pw-testi cite { font-style: normal; font-weight: 700; color: var(--pw-primary); }

/* ---------- CTA ---------- */
.pw-cta { background: linear-gradient(135deg, var(--pw-primary), var(--pw-dark)); color: #fff; padding: 70px 0; text-align: center; }
.pw-cta-inner h2 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.pw-cta-inner p { opacity: .9; max-width: 560px; margin: 0 auto 26px; font-size: 17px; }

/* ---------- Page head ---------- */
.pw-page-head { background: linear-gradient(135deg, var(--pw-primary), #0a5a53); color: #fff; padding: 60px 0; text-align: center; }
.pw-page-head h1 { color: #fff; margin-bottom: 8px; font-size: 38px; }
.pw-page-head p { opacity: .9; margin: 0; }
.pw-breadcrumb, .pw-post-meta { font-size: 14px; opacity: .85; }

/* ---------- Filter bar ---------- */
.pw-filter-bar { margin-bottom: 30px; }
.pw-filter-bar .pw-search { box-shadow: 0 4px 18px rgba(0,0,0,.07); border: 1px solid var(--pw-border); }

/* ---------- Single destinasi ---------- */
.pw-single-hero { position: relative; min-height: 420px; display: flex; align-items: flex-end; }
.pw-single-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pw-single-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,45,42,.1), rgba(8,45,42,.8)); }
.pw-single-hero-inner { position: relative; z-index: 1; padding-bottom: 40px; color: #fff; }
.pw-single-hero-inner h1 { color: #fff; font-size: 42px; margin: 10px 0 6px; }
.pw-single-cats a { background: var(--pw-secondary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-right: 6px; }
.pw-single-loc { opacity: .95; font-size: 17px; }

.pw-single-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px; padding-top: 40px; padding-bottom: 40px; }
.pw-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 30px; }
.pw-info-box { background: var(--pw-bg-alt); border: 1px solid var(--pw-border); border-radius: 12px; padding: 16px; }
.pw-info-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--pw-muted); font-weight: 700; margin-bottom: 4px; }
.pw-info-value { font-weight: 600; color: var(--pw-dark); }
.pw-info-value.pw-price { color: var(--pw-primary); font-size: 20px; font-weight: 800; }

.pw-content { font-size: 17px; }
.pw-content h2 { font-size: 26px; margin-top: 36px; }
.pw-content h3 { font-size: 21px; margin-top: 28px; }
.pw-content img { border-radius: 12px; }
.pw-content-narrow { max-width: 760px; margin: 0 auto; }
.pw-post-thumb { margin-bottom: 26px; }
.pw-post-thumb img { border-radius: var(--pw-radius); }
.pw-tags { margin: 30px 0; font-size: 14px; color: var(--pw-muted); }

.pw-booking-box {
	background: linear-gradient(135deg, var(--pw-bg-alt), #fff);
	border: 2px dashed var(--pw-primary); border-radius: var(--pw-radius);
	padding: 28px; text-align: center; margin: 36px 0;
}
.pw-booking-box h3 { margin-bottom: 6px; }

/* ---------- Sidebar & widget ---------- */
.pw-sidebar .pw-widget, .pw-single-side .pw-widget {
	background: #fff; border: 1px solid var(--pw-border); border-radius: var(--pw-radius);
	padding: 22px; margin-bottom: 24px;
}
.pw-widget-title { font-size: 18px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--pw-secondary); }
.pw-widget ul { list-style: none; margin: 0; padding: 0; }
.pw-widget li { margin-bottom: 10px; }
.pw-widget-list li { display: flex; gap: 12px; margin-bottom: 14px; align-items: center; }
.pw-widget-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.pw-widget-text a { font-weight: 600; font-size: 14px; color: var(--pw-dark); line-height: 1.4; display: block; }
.pw-widget-rating .pw-stars { font-size: 12px; }

/* ---------- Footer ---------- */
.pw-footer { background: var(--pw-dark); color: #b9d2cf; margin-top: 0; }
.pw-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding: 60px 20px 40px; }
.pw-footer h4 { color: #fff; font-size: 17px; margin-bottom: 16px; }
.pw-footer p { font-size: 14px; }
.pw-footer a { color: #b9d2cf; }
.pw-footer a:hover { color: var(--pw-secondary); }
.pw-footer-menu { list-style: none; margin: 0; padding: 0; }
.pw-footer-menu li { margin-bottom: 8px; font-size: 14px; }
.pw-footer-contact { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.pw-footer-contact li { margin-bottom: 10px; }
.pw-footer-social { margin-top: 14px; }
.pw-footer-social a { display: inline-block; margin-right: 12px; font-size: 14px; font-weight: 600; }
.pw-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 20px; text-align: center; font-size: 13px; }

/* ---------- Pagination ---------- */
.pw-pagination { margin-top: 40px; text-align: center; }
.pw-pagination .nav-links { display: inline-flex; gap: 8px; }
.pw-pagination .page-numbers {
	display: inline-block; padding: 8px 16px; border: 1px solid var(--pw-border);
	border-radius: 8px; color: var(--pw-dark); font-weight: 600; background: #fff;
}
.pw-pagination .page-numbers.current, .pw-pagination .page-numbers:hover {
	background: var(--pw-primary); border-color: var(--pw-primary); color: #fff;
}

/* ---------- 404 ---------- */
.pw-404 { text-align: center; padding: 40px 0; }
.pw-404-code { font-size: 110px; font-weight: 800; color: var(--pw-primary); line-height: 1; }
.pw-404-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Komentar ---------- */
.pw-comments { margin-top: 40px; border-top: 1px solid var(--pw-border); padding-top: 30px; }
.pw-comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.pw-comment-list li { margin-bottom: 20px; }
.pw-comment-list .comment-body { background: var(--pw-bg-alt); border-radius: 12px; padding: 18px; }
.pw-comment-list .children { list-style: none; margin: 14px 0 0 30px; padding: 0; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid var(--pw-border); border-radius: 8px; padding: 10px 12px; font-family: inherit; font-size: 15px;
}
.comment-form .submit {
	background: var(--pw-primary); color: #fff; border: none; padding: 12px 28px;
	border-radius: 999px; font-weight: 700; cursor: pointer; font-size: 15px;
}
.comment-form .submit:hover { background: var(--pw-dark); }

/* ---------- Search form WP ---------- */
.search-form { display: flex; gap: 8px; justify-content: center; }
.search-field { border: 1px solid var(--pw-border); border-radius: 8px; padding: 10px 14px; font-size: 15px; min-width: 260px; }
.search-submit { background: var(--pw-primary); color: #fff; border: none; border-radius: 8px; padding: 10px 22px; font-weight: 700; cursor: pointer; }

/* ---------- Responsif ---------- */
@media (max-width: 992px) {
	.pw-grid-3, .pw-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.pw-single-wrap { grid-template-columns: 1fr; }
	.pw-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.pw-hero h1 { font-size: 36px; }
}
@media (max-width: 768px) {
	.pw-topbar { display: none; }
	.pw-hamburger { display: block; }
	.pw-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); padding: 10px 20px 20px;
	}
	.pw-nav.open { display: block; }
	.pw-menu { flex-direction: column; }
	.pw-header { position: sticky; }
	.pw-header-inner { position: relative; }
	.pw-search { flex-direction: column; }
	.pw-search .pw-btn { align-self: stretch; }
	.pw-grid-3, .pw-grid-4, .pw-grid-2 { grid-template-columns: 1fr; }
	.pw-hero { padding: 80px 0 60px; }
	.pw-hero h1 { font-size: 30px; }
	.pw-section { padding: 50px 0; }
	.pw-footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.pw-single-hero-inner h1 { font-size: 30px; }
}
