@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
  --accent: #f59932;
  --muted: #626262;
  --text: #494949;
  --bg-gradient: linear-gradient(180deg, #ffffff, #f8f9fb);
  --card: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.06);

  --font-body: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  --font-heading: 'Poppins', 'Montserrat', system-ui, sans-serif;
}

*{box-sizing:border-box}
html, body {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text);
  margin: 0;
}

/* Heading & Section Title */
h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title {
  font-family: var(--font-heading);
}
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* Header */
.site-header{position:sticky;top:0;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,0.04);z-index:120}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.logo{font-weight:600;font-size:22px;color:var(--text);text-decoration:none;margin-left:16px}
.logo .accent{color:var(--accent);margin-left:6px}
.nav {
  margin-left: auto;
  margin-right: 24px;
}
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500; /* lighter */
  font-size: 15px;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s ease;
}
.nav-list a:hover {
  color: var(--accent);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.nav-list a:hover::after {
  width: 100%;
}

/* header actions */
.header-actions{display:flex;align-items:center;gap:12px}
.btn{display:inline-block;padding:10px 16px;border-radius:10px;text-decoration:none;font-weight:700;cursor:pointer;border:0}
.btn-primary{background:linear-gradient(90deg,var(--accent),#ffb263);color:#fff}
.btn-outline{border:1px solid #eee;color:#f59932;background:transparent}

/* ======= HEADER BUTTON ======= */
.btn-cta {
  background: linear-gradient(90deg, #f59932, #ffb263);
  color: #fff;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
}

.btn-cta:hover {
  box-shadow: 0 4px 12px rgba(245, 153, 50, 0.4);
  transform: translateY(-2px);
}

/* sembunyikan tombol login di mobile */
@media (max-width: 768px) {
  .btn-login {
    display: none;
  }
}

/* hamburger */
.hamburger{display:none;background:transparent;border:0;font-size:22px;cursor:pointer; margin-right: 16px;}

/* HERO */
.hero{padding:72px 0}
.hero-inner{display:grid;gap:36px;align-items:center}
@media(min-width:920px){.hero-inner{grid-template-columns:1fr 520px}}
.kicker{color:var(--muted);font-weight:600;margin-bottom:8px}
.hero-title{font-size:45px;line-height:1.08;margin-bottom:8px}
.hero-title .accent{color:var(--accent)}
.hero-desc{color:var(--muted);margin-bottom:16px}
.cta-group{display:flex;gap:12px;margin-bottom:18px}
.hero-features{display:flex;gap:12px;color:var(--muted);font-weight:600;flex-wrap:wrap}

/* Slider */
.hero-slider{position:relative;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);background:var(--card)}
.slides{position:relative;height:340px}
.slide{position:absolute;inset:0;opacity:0;transform:translateX(24px);transition:all .55s cubic-bezier(.2,.9,.3,1)}
.slide.active{opacity:1;transform:none}
.slide img{display:block;width:100%;height:100%;object-fit:cover}
.slide-btn{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.9);border:0;border-radius:50%;width:38px;height:38px;cursor:pointer;box-shadow:0 6px 18px rgba(16,24,40,0.06)}
.slide-btn.prev{left:12px}
.slide-btn.next{right:12px}
.dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:8px}
.dot{width:10px;height:10px;border-radius:999px;background:#e6e6e6;border:0;cursor:pointer}
.dot.active{background:var(--accent);transform:scale(1.08)}

/* SECTION */
.section{padding:68px 0}
.section.alt{background:#fff}
.section-title{text-align:center;font-size:22px;margin-bottom:26px}

/* grids */
.grid{display:grid;gap:20px}
.grid-5{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.grid-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}

/* card */
.card{background:var(--card);padding:22px;border-radius:var(--radius);box-shadow:var(--shadow);text-align:center}
.card .icon{margin-bottom:12px}
.service-card h3, .consult-card h3{margin:6px 0 8px;font-size:18px}
.service-card p, .consult-card p{color:var(--muted);margin:0}

/* client */
.client-slider{overflow:hidden;padding:8px}
.client-track{display:flex;gap:36px;align-items:center;will-change:transform}
.client-track img{height:48px;object-fit:contain;opacity:.95;filter:grayscale(0.08)}

/* blog */
.post-card img{width:100%;height:250px;object-fit:cover;border-radius:8px;margin-bottom:12px}
.post-card h4{margin:0 0 6px}
.post-card .meta{color:var(--muted);font-size:13px;margin-bottom:8px}
.post-card .excerpt{color:var(--muted);font-size:15px}

/* contact layout */
.contact-grid{display:grid;gap:24px;align-items:start}
@media(min-width:920px){.contact-grid{grid-template-columns:1fr 420px}}
.contact-card{padding:18px;border-radius:12px;box-shadow:var(--shadow);background:var(--card)}
.map-wrap iframe{width:100%;height:345px;border-radius:10px;border:0}
.contact-form .field input,.contact-form .field textarea{width:100%;padding:12px;border:1px solid #e6e6e6;border-radius:10px;margin-bottom:12px;resize:vertical}
.form-title{text-align:center;font-size:20px;margin-bottom:12px}
.contact-form button{display:block;width:100%;padding:12px;border-radius:12px;border:0;background:var(--accent);color:#fff;font-weight:700}

/* footer */
.site-footer{padding:22px 0;text-align:center;color:var(--muted);background:transparent;border-top:1px solid rgba(0,0,0,0.03)}

/* ======= FLOATING WA BUTTON ======= */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.floating-wa a {
  background: #f59932;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.floating-wa svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.floating-wa a:hover {
  background: #ffae54;
  box-shadow: 0 6px 14px rgba(245,153,50,0.4);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .floating-wa a {
    width: 50px;
    height: 50px;
  }
  .floating-wa svg {
    width: 24px;
    height: 24px;
  }
}



/* ======= PAKET WEBSITE ======= */
#paket {
  padding: 80px 0;
  background: #f9f9f9;
}

.section-subtitle {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.paket-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
}

.paket-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-top: 4px solid #f59932;
}

.paket-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.paket-card .paket-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.paket-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.paket-card ul li {
  font-size: 14px;
  color: #444;
  margin: 6px 0;
}

.paket-price {
  font-size: 18px;
  font-weight: 700;
  color: #f59932;
  margin: 10px 0;
}

.paket-price span {
  font-size: 13px;
  color: #888;
  font-weight: 500;
}

.btn-paket {
  display: inline-block;
  background: linear-gradient(90deg, #f59932, #ffb45c);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-paket:hover {
  background: #ffae54;
  transform: translateY(-2px);
}

@media(max-width:768px) {
  #paket {
    padding: 60px 0;
  }
  .paket-card {
    padding: 25px 20px;
  }
}




/* ======= TESTIMONI CAROUSEL ======= */
#testimoni {
  background: #f9f9f9;
}
.testi-carousel {
  position: relative;
  overflow: hidden;
}

.testi-slider {
  overflow: hidden;
}

.testi-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}

.testi-card {
  flex: 0 0 calc(33.333% - 14px);
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
  min-height: 200px;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.testi-text {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-meta img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testi-meta h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}

.testi-meta p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* tombol prev/next */
.testi-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 109;
}
.testi-btn:hover {
  background: var(--accent);
  color: #fff;
}
.testi-btn.prev { left: 0px; }
.testi-btn.next { right: 0px; }

/* responsive */
@media (max-width: 920px) {
  .testi-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .testi-card {
    flex: 0 0 100%;
  }
  .testi-btn.prev { left: 4px; }
  .testi-btn.next { right: 4px; }
}



/* responsive */
@media(max-width:920px){
  .nav{display:none}
  .hamburger{display:inline-block}
  .hero-slider .slides{height:260px}
  .hero-left{text-align:center}
  .hero-features{justify-content:center}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .client-track{gap:24px}
  .post-card img{height:250px}
  .contact-card iframe{height:180px}
}
@media(max-width:480px){
  .services-grid{grid-template-columns:repeat(1,1fr)}
  .grid-3{grid-template-columns:repeat(1,1fr)}
  .hero-title{font-size:26px}
}



/* === MOBILE NAV FIX === */
.mobile-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border-top: 1px solid #eee;
  transition: all 0.3s ease;
  z-index: 99;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  text-align: center;
}

.mobile-nav li {
  margin: 8px 0;
}

.mobile-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  display: block;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--accent);
}












/* ======= FOOTER (DARK ELEGANT) ======= */
.footer-section {
  background: #2c2c2c; /* Lebih gelap dari #626262, elegan */
  color: #dcdcdc;
  padding: 60px 0 0;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px; /* lebih kecil dari sebelumnya */
  line-height: 1.7;
}

.footer-title {
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.footer-sub {
  margin-top: 10px;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: #cfcfcf;
  font-weight: 400;
  transition: color 0.25s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Social icons */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-links a {
  color: var(--accent);
  font-size: 18px;
  transition: opacity 0.2s;
}

.social-links a:hover {
  opacity: 0.7;
}

/* Payment logos */
.payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.payments img {
  height: 30px;
  opacity: 0.85;
  filter: grayscale(0.3);
  transition: opacity 0.25s, filter 0.25s;
}

.payments img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* Contact info */
.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--accent);
}

/* Footer bottom */
.footer-bottom {
  background: #1e1e1e;
  color: #999;
  margin-top: 50px;
  text-align: center;
  padding: 16px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  margin: 0 6px;
  font-weight: 500;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media(max-width: 768px) {
  .footer-section {
    padding-top: 40px;
  }
  .footer-grid {
    gap: 24px;
  }
  .footer-col {
    text-align: center;
    font-size: 13.5px;
  }
  .payments {
    justify-content: center;
  }
  .social-links {
    justify-content: center;
  }
}


/* === SCROLL REVEAL ANIMATION === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ======= SECTION TITLE ENHANCE ======= */
.section-title,
.section h2 {
  font-size: 28px; /* sebelumnya 22–24px */
  font-weight: 800;
  text-align: center;
  color: var(--text);
  margin-bottom: 30px;
  letter-spacing: 0.3px;
  position: relative;
}

/* garis dekoratif di bawah judul */
.section-title::after,
.section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #f59932;
  margin: 10px auto 0;
  border-radius: 4px;
  opacity: 0.9;
}

/* Responsif untuk mobile */
@media (max-width: 768px) {
  .section-title,
  .section h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }
}


/* ======= CTA SECTION ======= */
.cta-section {
  background: var(--accent);
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.cta-text h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 8px;
}

.cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

/* Buttons */
.btn-cta-white {
  background: #fff;
  color: var(--accent);
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-cta-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-cta-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 11px 26px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section {
    padding: 60px 20px;
  }
  .cta-text h2 {
    font-size: 24px;
  }
  .cta-text p {
    font-size: 14px;
  }
}



/* ======= PORTOFOLIO ======= */
#portofolio {
  background: #fff !important;
}

.porto-carousel {
  position: relative;
  overflow: hidden;
  background: #ffffff;
 
}

.porto-slider {
  overflow: hidden;
  padding: 5px;
}

.porto-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s ease;
}

.porto-card {
  position: relative;
  margin: auto 10px;
  flex: 0 0 calc(33.333% - 14px);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 9px rgba(0,0,0,0.09);
  cursor: pointer;
}

.porto-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.porto-card:hover img {
  transform: scale(1.05);
}

.porto-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: opacity 0.4s ease;
}

.porto-card:hover .porto-overlay {
  opacity: 1;
}

.porto-overlay h4 {
  font-size: 18px;
  margin: 0 0 6px;
}

.porto-overlay p {
  font-size: 14px;
  margin: 0;
  opacity: 0.85;
}

/* tombol prev/next */
.porto-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 9;
}
.porto-btn:hover {
  background: var(--accent);
  color: #fff;
}
.porto-btn.prev { left: 0px; }
.porto-btn.next { right: 0px; }

/* responsive */
@media (max-width: 920px) {
  .porto-card {
    flex: 0 0 calc(50% - 12px);
  }
}
@media (max-width: 600px) {
  .porto-card {
    flex: 0 0 100%;
  }
  .porto-btn.prev { left: 4px; }
  .porto-btn.next { right: 4px; }
}



/* ======= SECTION CTA BUTTON ======= */
.section-cta {
  text-align: center;
  margin-top: 40px;
  animation: fadeInUp 1s ease both;
}

.btn-more {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #f59932, #ffb263);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(245, 153, 50, 0.25);
}

/* efek animasi glow */
.btn-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.btn-more:hover::before {
  left: 200%;
}

.btn-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(245, 153, 50, 0.4);
}

/* animasi muncul */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-more .arrow {
  margin-left: 8px;
  transition: transform 0.3s ease;
}
.btn-more:hover .arrow {
  transform: translateX(4px);
}



/* ======= PORTOFOLIO PAGE GRID ======= */
#portofolio-page {
  background: #fff;
}

.porto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.porto-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.porto-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.porto-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.porto-hover {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.porto-item:hover .porto-hover {
  opacity: 1;
}

.porto-hover h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.porto-hover p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0 0 10px;
}

.porto-view {
  display: inline-block;
  padding: 8px 18px;
  background: linear-gradient(90deg, #f59932, #ffb263);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.porto-view:hover {
  background: #ffae54;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .porto-thumb img {
    height: 200px;
  }
}


/* ======= BLOG PAGE ======= */
#blog-page {
  background: #fff;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-content {
  padding: 20px 18px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-content .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.blog-content h3 {
  font-size: 18px;
  color: #222;
  font-weight: 700;
  margin: 0 0 8px;
}

.blog-content .excerpt {
  color: #494949;
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 18px;
}

.btn-read {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
}

.btn-read:hover {
  color: #ffb263;
  transform: translateX(3px);
}

/* responsive */
@media (max-width: 768px) {
  .blog-thumb img {
    height: 200px;
  }
}


/* ======= BLOG DETAIL ======= */
#blog-detail {
  background: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.blog-detail-content {
  max-width: 850px;
  margin: 0 auto;
}

.blog-detail-title {
  font-size: 32px;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
  line-height: 1.3;
}

.blog-detail-content .meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.blog-detail-thumb {
  margin-bottom: 28px;
  text-align: center;
}

.blog-detail-thumb img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.blog-detail-body {
  color: #494949;
  font-size: 16px;
  line-height: 1.8;
}

.blog-detail-body p {
  margin-bottom: 18px;
}

.blog-detail-body h2,
.blog-detail-body h3 {
  color: #222;
  margin-top: 28px;
}

.blog-tags {
  margin-top: 32px;
}

.blog-tags strong {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
}

.tag-item {
  display: inline-block;
  background: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 5px 14px;
  margin: 4px 6px;
  font-size: 13px;
  color: #666;
  transition: all 0.3s ease;
}

.tag-item:hover {
  background: var(--accent);
  color: #fff;
}

/* responsive */
@media (max-width: 768px) {
  .blog-detail-title {
    font-size: 26px;
  }
  .blog-detail-content {
    padding: 0 10px;
  }
}


/* Tombol Kembali */
.back-btn-wrap {
  margin-bottom: 20px;
}

.back-btn {
  display: inline-block;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  background: rgba(245, 153, 50, 0.1);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateX(-3px);
}



/* ======= SOCIAL ICONS ======= */
.social-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-links a {
  color: #f59932;
  font-size: 18px;
  background: rgba(255,255,255,0.08);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(245,153,50,0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
}

/* === WA POPUP === */
.wa-popup {
  position: fixed;
  bottom: 20px;
  right: 25px;
  z-index: 9999;
  display: none;
  animation: fadeInUp 0.6s ease forwards;
}

.wa-popup-inner {
  background: #fff;
  color: #333;
  width: 320px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  animation: popupSlide 0.4s ease;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(90deg, #f59932, #ffb45c);
  padding: 12px 16px;
  color: #fff;
}

.wa-header img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
}

.wa-header h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.wa-header p {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

.wa-body {
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.btn-wa-chat {
  display: block;
  background: #25D366;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  margin-top: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-wa-chat:hover {
  background: #1ebe5b;
  transform: translateY(-2px);
}

/* close button */
.wa-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popupSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
