/* =========================================================
   PRABUTRANS PUBLIC SITE — Brand Refresh
   Palette: Green #0E5B3C, Gold #F6C343, Dark #222222, Light #F8F8F8
   Ini me-override token warna dari admin.css (yang di-load duluan),
   jadi HANYA berlaku di halaman publik — admin panel tetap teal.
   ========================================================= */
:root {
  --pt-primary: #0E5B3C;
  --pt-primary-dark: #0A4530;
  --pt-accent: #F6C343;
  --pt-accent-dark: #D9A62A;
  --pt-sidebar: #222222;
  --pt-text: #222222;
  --pt-bg: #F8F8F8;
  --pt-border: #E7E5E1;
  --pt-sidebar-text: #cfcfcf;
}

body { font-family: 'Inter', sans-serif; color: var(--pt-text); background: var(--pt-bg); }
h1, h2, h3, h4, h5 { font-family: 'Poppins', sans-serif; font-weight: 700; }

/* ============ NAVBAR (light, sesuai mockup) ============ */
.pt-pub-navbar {
  background: #fff;
  padding: .85rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  border-bottom: 1px solid var(--pt-border);
}
.pt-pub-navbar .navbar-brand { color: var(--pt-text) !important; display: flex; align-items: center; gap: .6rem; }
.pt-pub-brandmark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--pt-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.pt-pub-brandtext { line-height: 1.15; }
.pt-pub-brandtext .pt-brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.05rem; }
.pt-pub-brandtext .pt-brand-tag { display:block; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #8a8a8a; }

.pt-pub-navbar .nav-link { color: #444 !important; font-weight: 600; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; padding: .5rem .8rem !important; position: relative; }
.pt-pub-navbar .nav-link.active { color: var(--pt-text) !important; }
.pt-pub-navbar .nav-link.active::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; background: var(--pt-accent);
}
.pt-pub-navbar .nav-link:hover { color: var(--pt-primary) !important; }

.pt-wa-pill {
  background: var(--pt-primary); color: #fff !important; border: none;
  padding: .55rem 1.1rem; border-radius: 30px; font-weight: 600; font-size: .82rem;
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
}
.pt-wa-pill:hover { background: var(--pt-primary-dark); color: #fff; }

/* ============ SIMPLE HERO (untuk halaman selain homepage: motor, tours, dll) ============ */
.pt-hero {
  background: linear-gradient(160deg, #123d2b 0%, var(--pt-primary) 55%, #0E5B3C 100%);
  color: #fff; text-align: center;
}
.pt-hero .pt-hero-sub { opacity: .85; }

/* ============ HERO (photo, khusus homepage) ============ */
.pt-hero-photo {
  position: relative; color: #fff; padding: 4.5rem 0 8rem; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10,20,15,.82) 0%, rgba(10,20,15,.45) 45%, rgba(10,20,15,.15) 75%),
    var(--pt-hero-image, linear-gradient(135deg, #0E5B3C 0%, #123d2b 60%, #1a2a22 100%));
  background-size: cover; background-position: center;
}
.pt-hero-photo h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1.05; margin-bottom: 1rem; }
.pt-hero-photo h1 .pt-accent-word { color: var(--pt-accent); font-style: italic; }
.pt-hero-photo .pt-hero-sub { font-size: 1.05rem; max-width: 480px; opacity: .92; margin-bottom: 1rem; }
.pt-hero-location { font-size: .85rem; opacity: .85; margin-bottom: 2.5rem; }

.pt-hero-cards { position: relative; z-index: 3; margin-top: -4.5rem; }
.pt-hero-quickcard {
  background: #fff; border-radius: 12px; padding: 1rem 1.1rem;
  display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--pt-text);
  box-shadow: 0 12px 28px rgba(0,0,0,.18); height: 100%; border: none; width: 100%; text-align: left;
}
.pt-hero-quickcard .pt-hqc-icon {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem;
}
.pt-hero-quickcard .pt-hqc-title { font-weight: 700; font-size: .85rem; text-transform: uppercase; line-height: 1.2; }
.pt-hero-quickcard .pt-hqc-sub { font-size: .78rem; color: #777; }
.pt-hero-quickcard .bi-arrow-right { margin-left: auto; color: #999; }

/* ============ TRUST ROW ============ */
.pt-trust-row { background: #fff; padding: 2.25rem 0; border-bottom: 1px solid var(--pt-border); }
.pt-trust-item { display: flex; align-items: flex-start; gap: .75rem; }
.pt-trust-item i { font-size: 1.4rem; color: var(--pt-primary); margin-top: .1rem; }
.pt-trust-item .pt-trust-title { font-weight: 700; font-size: .85rem; text-transform: uppercase; }
.pt-trust-item .pt-trust-sub { font-size: .8rem; color: #777; }

/* ============ SECTION ============ */
.pt-section { padding: 3.5rem 1.5rem; }
.pt-section-title { text-align: center; margin-bottom: 2.25rem; }
.pt-section-title h2 { font-size: 1.4rem; letter-spacing: .03em; text-transform: uppercase; }
.pt-section-title .pt-underline { width: 44px; height: 3px; background: var(--pt-primary); margin: .5rem auto 0; border-radius: 2px; }

/* ============ SERVICE CARDS (photo top) ============ */
.pt-service-card2 {
  background: #fff; border: 1px solid var(--pt-border); border-radius: 14px; overflow: hidden; height: 100%;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pt-service-card2:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.1); }
.pt-service-card2 .pt-sc-photo { height: 170px; position: relative; background: #DCE3E5; }
.pt-service-card2 .pt-sc-photo img { width: 100%; height: 100%; object-fit: cover; }
.pt-service-card2 .pt-sc-icon {
  position: absolute; left: 1rem; bottom: -20px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(0,0,0,.2); border: 3px solid #fff;
}
.pt-service-card2 .pt-sc-body { padding: 1.75rem 1.25rem 1.25rem; }

/* ============ DESTINATIONS SCROLLER ============ */
.pt-dest-scroller-wrap { position: relative; }
.pt-dest-scroller {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem;
  scrollbar-width: none;
}
.pt-dest-scroller::-webkit-scrollbar { display: none; }
.pt-dest-scroller .pt-dest-card2 {
  scroll-snap-align: start; flex: 0 0 180px; height: 220px; border-radius: 12px; overflow: hidden;
  position: relative; background: #DCE3E5; text-decoration: none;
}
.pt-dest-card2 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pt-dest-card2 .pt-dest-overlay2 {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding: .8rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 70%);
}
.pt-dest-card2 .pt-dest-name { font-weight: 700; font-size: .82rem; text-transform: uppercase; }
.pt-dest-card2 .pt-dest-tag { font-size: .68rem; opacity: .85; }
.pt-scroll-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--pt-border);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(0,0,0,.1);
}
.pt-scroll-btn.left { left: -14px; } .pt-scroll-btn.right { right: -14px; }

/* ============ ARTICLES ============ */
.pt-article-card { background:#fff; border:1px solid var(--pt-border); border-radius:14px; overflow:hidden; height:100%; text-decoration:none; color:var(--pt-text); display:block; transition: transform .15s ease, box-shadow .15s ease; }
.pt-article-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.1); color:var(--pt-text); }
.pt-article-card .pt-ac-photo { height: 160px; background:#DCE3E5; }
.pt-article-card .pt-ac-photo img { width:100%; height:100%; object-fit:cover; }
.pt-article-card .pt-ac-body { padding: 1.1rem 1.25rem 1.35rem; }
.pt-article-badge { display:inline-block; font-size:.65rem; text-transform:uppercase; letter-spacing:.04em; font-weight:700; color: var(--pt-primary); background: rgba(14,91,60,.1); padding:.25rem .6rem; border-radius: 20px; margin-bottom:.5rem; }

/* ============ TESTIMONIAL (dark photo bg) ============ */
.pt-testimonial-section {
  background: linear-gradient(180deg, rgba(10,15,12,.55), rgba(10,15,12,.85)), linear-gradient(135deg,#1a2a22,#0E5B3C);
  color: #fff; padding: 3.5rem 1.5rem;
}
.pt-testimonial-section .pt-section-title h2 { color: #fff; }
.pt-testimonial-section .pt-underline { background: var(--pt-accent); }
.pt-testimonial2 { text-align: center; padding: 0 1rem; }
.pt-testimonial2 .pt-stars { color: var(--pt-accent); margin-bottom: .6rem; }
.pt-testimonial2 p { font-size: .92rem; opacity: .92; }
.pt-testimonial2 .pt-t-name { font-weight: 700; margin-top: .5rem; font-size: .85rem; }

/* ============ CTA BANNER ============ */
.pt-cta-banner2 {
  background: var(--pt-primary); color: #fff; padding: 2.5rem 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.pt-cta-banner2 h2 { font-size: 1.4rem; margin-bottom: .25rem; }
.pt-cta-btn-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.pt-cta-btn-group .btn { border-radius: 8px; font-weight: 600; font-size: .82rem; padding: .6rem 1.1rem; white-space: nowrap; }

/* ============ FOOTER ============ */
.pt-pub-footer { background: var(--pt-sidebar); color: var(--pt-sidebar-text); padding: 3rem 1.5rem 1.5rem; }
.pt-pub-footer h6 { color: #fff; font-family: 'Poppins', sans-serif; font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.pt-pub-footer a { color: var(--pt-sidebar-text); text-decoration: none; font-size: .87rem; }
.pt-pub-footer a:hover { color: var(--pt-accent); }
.pt-pub-footer .pt-footer-brandmark { width: 40px; height: 40px; border-radius: 10px; background: var(--pt-primary); color:#fff; display:flex; align-items:center; justify-content:center; }
.pt-footer-social { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #fff; }
.pt-footer-social:hover { background: var(--pt-primary); color: #fff; }
.pt-pub-footer .pt-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2rem; padding-top: 1.25rem; font-size: .8rem; text-align: center; opacity: .65; }

/* ============ WHATSAPP FLOAT BUTTON ============ */
.pt-wa-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1040;
  width: 54px; height: 54px; border-radius: 50%; background: #25D366;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; box-shadow: 0 8px 20px rgba(0,0,0,.25); text-decoration: none;
}
.pt-wa-float:hover { color: #fff; transform: scale(1.05); }

@media (max-width: 767px) {
  .pt-hero-photo { padding: 3rem 0 7rem; text-align: center; }
  .pt-hero-photo .pt-hero-sub { margin-left:auto; margin-right:auto; }
  .pt-cta-banner2 { text-align:center; justify-content:center; }
}
