/* ============================================================
   MAS TUKANG JOGJA — Shared Blog Styles
   Brand colors: Navy #1F3A5F + Yellow #F5B82E
   ============================================================ */

:root {
  --navy-900: #0F2440;
  --navy-800: #1F3A5F;
  --navy-700: #2E5984;
  --navy-50: #F0F4F8;
  --yellow-500: #F5B82E;
  --yellow-400: #FFD073;
  --yellow-100: #FFF4D6;
  --cream: #FBF8F1;
  --warm-white: #FEFCF6;
  --gray-100: #F5F5F4;
  --gray-300: #D6D3D1;
  --gray-500: #78716C;
  --gray-700: #44403C;
  --gray-900: #1C1917;
  --whatsapp: #25D366;
  --green-success: #2D8659;
  --shadow-sm: 0 2px 8px rgba(15, 36, 64, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 36, 64, 0.1);
  --shadow-lg: 0 20px 48px rgba(15, 36, 64, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--navy-900);
  background: var(--warm-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 19px;
  color: var(--navy-900);
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy-900); color: var(--yellow-500);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.logo-img {
  width: 38px; height: 38px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.blog-footer-logo .logo-img {
  width: 38px; height: 38px;
}
.nav-links {
  display: flex; align-items: center; gap: 20px;
}
.nav-link {
  color: var(--navy-900); font-weight: 600; font-size: 14px;
  padding: 8px 4px;
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--yellow-500); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 4px; left: 4px; right: 4px;
  height: 2px; background: var(--yellow-500);
}
.nav-cta {
  background: var(--yellow-500); color: var(--navy-900);
  padding: 10px 20px; border-radius: 999px;
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.nav-cta:hover { background: var(--yellow-400); transform: translateY(-1px); }

/* ============================================================
   FOOTER (shared)
   ============================================================ */
footer.blog-footer {
  background: var(--navy-900); color: white;
  padding: 48px 0 32px;
  margin-top: 60px;
}
.blog-footer-inner {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.blog-footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 18px;
  color: white;
  text-decoration: none;
}
.blog-footer-logo .logo-icon {
  background: var(--yellow-500); color: var(--navy-900);
}
.blog-footer-back {
  color: var(--yellow-500); font-weight: 600; font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-footer-back:hover { text-decoration: underline; }
.blog-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 32px; padding-top: 20px;
  text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.6);
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.float-wa {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.25s;
}
.float-wa:hover { transform: scale(1.1); }
.float-wa svg { width: 30px; height: 30px; }

/* ============================================================
   SHARED CTAs & BUTTONS
   ============================================================ */
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--whatsapp); color: white;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}
.btn-wa:hover {
  background: #20BC5C;
  transform: translateY(-2px);
}
.btn-wa svg { width: 20px; height: 20px; }

/* ============================================================
   RESPONSIVE NAV (shared)
   ============================================================ */
@media (max-width: 768px) {
  .container, .container-narrow { padding: 0 18px; }
  .nav-inner { padding: 12px 18px; }
  .logo { font-size: 16px; }
  .logo-icon { width: 32px; height: 32px; font-size: 15px; }
  .logo-img { width: 32px; height: 32px; border-radius: 8px; }
  .nav-cta { padding: 8px 14px; font-size: 12px; }
  .nav-link { font-size: 13px; }
  .nav-links { gap: 12px; }
  .float-wa { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .float-wa svg { width: 26px; height: 26px; }
  .blog-footer-inner { flex-direction: column; text-align: center; gap: 14px; }
}
@media (max-width: 480px) {
  .nav-link { font-size: 12.5px; }
  .nav-cta { padding: 7px 12px; font-size: 11px; }
}
