/*
Theme Name: Goweb - Jasa Pembuatan Website Keren & Simpel
Theme URI: https://goweb.web.id
Author: PT. Muzain Global Indonesia (Goweb Studio)
Author URI: https://goweb.web.id
Description: Tema WordPress resmi berbadan hukum PT. Muzain Global Indonesia dengan profil lengkap PT dan Owner Muzain (kontak resmi, alamat, jam layanan, WhatsApp & email ptmuzainglobalindonesia@gmail.com), footer ringkas bersih hanya hak cipta, header sticky rapat top:0, menu HP responsif, tipografi Outfit modern, logo GoWeb 2026, dan kalkulator biaya interaktif.
Version: 3.3.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goweb-theme
Tags: agency, portfolio, web-development, services, modern, responsive, bright-blue, clean, company-profile
*/

/* ==========================================================================
   1. CSS RESET & WARNA DASAR BIRU MUDA CERAH
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --kw-bg: #eef6fc;
  --kw-bg-alt: #e0f2fe;
  --kw-surface: #ffffff;
  --kw-card: #ffffff;
  --kw-border: rgba(186, 230, 253, 0.9);
  --kw-border-hover: rgba(2, 132, 199, 0.5);
  --kw-primary: #0284c7;
  --kw-primary-hover: #0369a1;
  --kw-text: #0f172a;
  --kw-text-muted: #64748b;
  --kw-success: #10b981;
  
  --kw-font-display: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --kw-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

html {
  font-family: var(--kw-font-body);
  background-color: var(--kw-bg);
  color: var(--kw-text);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--kw-bg);
  color: var(--kw-text);
  line-height: 1.6;
  font-size: 0.9375rem;
  overflow-x: clip;
  padding-top: 4.5rem !important;
}

/* Header Pinned Fixed Top - Rapat Tanpa Hilang/Lepas saat Scroll */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kw-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Hanya di Desktop saat Admin Bar WordPress fixed */
@media screen and (min-width: 783px) {
  body.admin-bar {
    padding-top: calc(4.5rem + 32px) !important;
  }
  body.admin-bar .site-header {
    top: 32px !important;
  }
}

/* Di HP/Mobile (<= 782px), Admin Bar ikut tergulung, header WAJIB rapat di top: 0 */
@media screen and (max-width: 782px) {
  body.admin-bar {
    padding-top: 4.5rem !important;
  }
  body.admin-bar .site-header {
    top: 0 !important;
  }
}

/* ==========================================================================
   2. CONTAINER & TATA LETAK
   ========================================================================== */
.site-container {
  width: 100%;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .site-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Nav Wrapper */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-wrapper {
    height: 4.75rem;
  }
}

.site-brand a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--kw-font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--kw-primary);
}

.brand-company {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--kw-text-muted);
}

/* Navigasi Desktop Simple */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
}

.desktop-nav a:hover {
  color: var(--kw-primary);
  background-color: var(--kw-bg-alt);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.75rem;
  }
}

/* Tombol WhatsApp Hijau */
.btn-primary.btn-whatsapp {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-primary.btn-whatsapp:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.38);
  transform: translateY(-1px);
}

.btn-whatsapp-header {
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  border-radius: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .btn-whatsapp-header {
    padding: 0.6rem 1.15rem;
    font-size: 0.875rem;
    gap: 0.5rem;
  }
}

.btn-text-short {
  display: inline;
}
.btn-text-full {
  display: none;
}
@media (min-width: 640px) {
  .btn-text-short {
    display: none;
  }
  .btn-text-full {
    display: inline;
  }
}

/* Hamburger Toggle Button - Sejajar & Pas Ukurannya dengan Tombol WA */
.mobile-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  min-height: 36px;
  min-width: 36px;
  border-radius: 0.75rem;
  background-color: #ffffff;
  border: 1.5px solid #38bdf8;
  color: #0284c7;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 3px rgba(2, 132, 199, 0.12);
  padding: 0;
  flex-shrink: 0;
}

.mobile-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2.2;
}

@media (min-width: 640px) {
  .mobile-toggle-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (min-width: 960px) {
  .mobile-toggle-btn {
    display: none;
  }
}

.mobile-toggle-btn:hover {
  background-color: #f0f9ff;
  color: #0369a1;
  border-color: #0284c7;
  transform: translateY(-0.5px);
}

.mobile-toggle-btn.is-active {
  background-color: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

/* Mobile Nav Panel (Laci Navigasi HP) Pinned Directly Under Header */
.mobile-nav-panel {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-height: calc(100vh - 4.25rem) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background-color: #ffffff !important;
  border-top: 1px solid #e0f2fe !important;
  border-bottom: 2px solid #bae6fd !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15) !important;
  z-index: 99998 !important;
  padding: 1rem !important;
}

@media screen and (min-width: 783px) {
  body.admin-bar .mobile-nav-panel {
    top: calc(4.5rem + 32px) !important;
    max-height: calc(100vh - 4.5rem - 32px) !important;
  }
}

.mobile-nav-panel.is-active {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.35rem !important;
  animation: mobileNavSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (min-width: 640px) {
  .mobile-nav-panel.is-active {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    padding: 1.25rem !important;
  }
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mobile-nav-item:hover, .mobile-nav-item:active {
  background-color: #e0f2fe;
  border-color: #7dd3fc;
  color: #0284c7;
}

.nav-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-item-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  flex-shrink: 0;
}

.nav-item-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #0f172a;
}

.nav-item-desc {
  font-size: 0.6875rem;
  color: #64748b;
  font-weight: 500;
}

.nav-item-arrow {
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
}

@media (min-width: 960px) {
  .mobile-nav-panel, .mobile-nav-panel.is-active {
    display: none !important;
  }
}

@keyframes mobileNavSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   3. HERO SECTION & KOMPONEN UMUM
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, #e1f0fe 0%, #edf6fd 60%, #f4f9fd 100%);
  border-bottom: 1px solid var(--kw-border);
}

@media (min-width: 768px) {
  .hero-section {
    padding: 4.5rem 0 5rem;
  }
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: #ffffff;
  border: 1px solid var(--kw-border);
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--kw-font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (max-width: 639px) {
  .hero-cta-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100% !important;
    max-width: 22rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: var(--kw-primary);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--kw-primary-hover);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #ffffff;
  color: #0f172a !important;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 0.75rem;
  border: 1px solid var(--kw-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-whatsapp.w-full,
.btn-primary.btn-whatsapp.w-full {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
}

.btn-secondary:hover {
  background-color: var(--kw-bg-alt);
  border-color: var(--kw-primary);
}

.section-wrapper {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--kw-border);
}

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--kw-font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   4. TAILWIND UTILITY FALLBACKS FOR 100% PREVIEW FIDELITY
   ========================================================================== */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-9 { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.bg-white { background-color: #ffffff; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-100 { background-color: #e0f2fe; }
.bg-sky-600 { background-color: #0284c7; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-500 { background-color: #10b981; }

.border { border-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-sky-100 { border-color: #e0f2fe; }
.border-sky-200 { border-color: #bae6fd; }

.text-slate-900 { color: #0f172a; }
.text-slate-800 { color: #1e293b; }
.text-slate-700 { color: #334155; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #64748b; }
.text-sky-600 { color: #0284c7; }
.text-sky-700 { color: #0369a1; }
.text-emerald-600 { color: #059669; }
.text-emerald-700 { color: #047857; }

.font-display { font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif; }
.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }

.shadow-xs { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-sm { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }

/* Compact Quiet Footer */
.site-footer {
  background-color: #e4f1fc;
  border-top: 1px solid var(--kw-border);
  padding: 1.5rem 0;
  text-align: center;
}
