/*
Theme Name: SewaVanBali Custom Theme
Theme URI: https://sewavanbali.com
Author: PT. Gerbang Wisata Indonesia
Author URI: https://sewavanbali.com
Description: Tema WordPress ringan, elegan, minimalis, dengan Importer Artikel JSON Sekali Klik, Peta Internal Linking Otomatis, & Floating WhatsApp di sudut kiri bawah (Desktop & Mobile).
Version: 3.3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sewavanbali
*/

:root {
  --emerald-dark: #1B3B36;
  --emerald-mid: #2C5E56;
  --emerald-light: #EBF3F1;
  --sand-warm: #F5EFE0;
  --gold-accent: #C5A059;
  --edu-tint: #EDF4FA;
  --edu-border: #C8DDF0;
  --edu-text: #1E4E79;
  --bg-mist: #F7FAF9;
  --text-dark: #1E2927;
  --text-muted: #5A6B68;
  --border-soft: #DCE6E3;
  --white: #FFFFFF;
  --wa-green: #1FAF58;
  --wa-green-hover: #189649;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 32px rgba(27, 59, 54, 0.06);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--emerald-dark);
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.site-logo {
  display: flex;
  flex-direction: column;
}

.site-logo-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--emerald-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-logo-sub {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
}

.main-nav a:hover,
.main-nav .current-menu-item > a {
  color: var(--emerald-mid);
  font-weight: 600;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--emerald-dark);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  border: 1px solid var(--emerald-dark);
  cursor: pointer;
}

.btn-wa:hover {
  background-color: var(--emerald-mid);
  border-color: var(--emerald-mid);
  transform: translateY(-1px);
}

.btn-wa-accent {
  background-color: var(--wa-green);
  border-color: var(--wa-green);
  color: var(--white);
}

.btn-wa-accent:hover {
  background-color: var(--wa-green-hover);
  border-color: var(--wa-green-hover);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--emerald-dark);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--emerald-dark);
}

.btn-outline:hover {
  background-color: var(--emerald-light);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.2rem;
  color: var(--emerald-dark);
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  padding: 64px 0 56px;
  background: linear-gradient(180deg, var(--bg-mist) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-mid);
  background: var(--sand-warm);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.eyebrow-edu {
  background: var(--edu-tint);
  color: var(--edu-text);
  border: 1px solid var(--edu-border);
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;
}

.hero-card-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  background: var(--sand-warm);
}

.hero-badge-float {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 14px 20px;
  border-radius: var(--radius-md);
}

.hero-badge-float strong {
  display: block;
  color: var(--emerald-dark);
  font-size: 1.05rem;
}

.hero-badge-float span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Trust Strip */
.trust-strip {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  background: var(--white);
  padding: 24px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.trust-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--emerald-light);
  color: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.trust-item h4 {
  margin: 0 0 2px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--emerald-dark);
}

.trust-item p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* GEO Quick Summary Box */
.geo-box-section {
  padding: 48px 0 24px;
}

.geo-summary-box {
  background: var(--bg-mist);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--emerald-dark);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 28px;
}

.geo-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--emerald-mid);
  margin-bottom: 8px;
  display: block;
}

.geo-summary-box p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--text-dark);
}

/* Section Headers */
.section-pad {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.65rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

/* Fleet Cards */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fleet-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.fleet-card.featured {
  border: 2px solid var(--emerald-dark);
  background: linear-gradient(180deg, var(--sand-warm) 0%, var(--white) 35%);
}

.badge-popular {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--emerald-dark);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}

.fleet-card h3 {
  font-size: 1.65rem;
  margin-bottom: 6px;
}

.fleet-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.fleet-price {
  background: var(--bg-mist);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.fleet-price span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.fleet-price strong {
  font-size: 1.45rem;
  color: var(--emerald-dark);
}

.fleet-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.fleet-specs li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-soft);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
}

/* Interactive RM Calculator */
.calc-wrapper {
  background: var(--emerald-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.calc-wrapper h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.calc-control {
  margin-bottom: 20px;
}

.calc-control label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #E0ECE9;
}

.calc-control input[type="range"] {
  width: 100%;
  accent-color: var(--gold-accent);
}

.calc-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  cursor: pointer;
}

.calc-result-box {
  background: var(--white);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  padding: 28px;
}

/* Kolom Edukasi Cards */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.edu-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.edu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--emerald-mid);
}

.edu-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--edu-tint);
  color: var(--edu-text);
  border: 1px solid var(--edu-border);
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.edu-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.edu-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.edu-read-more {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--emerald-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.edu-read-more:hover {
  color: var(--emerald-mid);
}

/* Single Article & Edukasi Typography */
.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.breadcrumb-nav {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a:hover {
  color: var(--emerald-dark);
  text-decoration: underline;
}

.article-meta {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-soft);
}

.entry-content a {
  color: var(--emerald-mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  color: var(--emerald-dark);
}

.entry-content h2 {
  font-size: 1.85rem;
  margin-top: 36px;
  margin-bottom: 14px;
}

.entry-content h3 {
  font-size: 1.4rem;
  margin-top: 28px;
  margin-bottom: 10px;
}

.entry-content p {
  margin-bottom: 18px;
}

.entry-content ul, .entry-content ol {
  margin-bottom: 20px;
  padding-left: 22px;
}

.entry-content li {
  margin-bottom: 8px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.92rem;
}

.entry-content th {
  background: var(--emerald-dark);
  color: var(--white);
  text-align: left;
  padding: 12px 14px;
}

.entry-content td {
  border: 1px solid var(--border-soft);
  padding: 11px 14px;
}

.entry-content tr:nth-child(even) td {
  background: var(--bg-mist);
}

.related-silo-box {
  background: var(--bg-mist);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin: 36px 0 24px;
}

.related-silo-box h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.96rem;
  color: var(--emerald-dark);
  margin: 0 0 12px;
}

.related-silo-box ul {
  margin: 0;
  padding-left: 20px;
}

.related-silo-box li {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.related-silo-box a {
  color: var(--emerald-mid);
  font-weight: 600;
}

.related-silo-box a:hover {
  text-decoration: underline;
}

.article-cta-box {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-mid) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.article-cta-box h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 10px;
}

.author-eeat-box {
  background: var(--sand-warm);
  border: 1px solid #E5D9BD;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 28px;
  font-size: 0.88rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--emerald-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.94rem;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--emerald-dark);
  color: #D5E3DF;
  padding: 64px 0 36px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a:hover {
  color: var(--gold-accent);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #9FB5B0;
}

/* =========================================================================
   FLOATING WHATSAPP BUTTON — SUDUT KIRI BAWAH (DESKTOP & MOBILE)
   ========================================================================= */
.floating-wa-left {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--wa-green);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(31, 175, 88, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.floating-wa-left:hover {
  background-color: var(--wa-green-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(24, 150, 73, 0.45);
}

.floating-wa-left svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .fleet-grid,
  .edu-grid,
  .calc-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-badge-float {
    position: static;
    margin-top: 14px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-soft);
    padding: 20px 24px;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .header-cta-desktop {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .calc-wrapper {
    padding: 28px 20px;
  }
  .floating-wa-left {
    bottom: 16px;
    left: 16px;
    padding: 11px 16px;
    font-size: 0.84rem;
  }
  .site-footer {
    padding-bottom: 76px;
  }
}
