/* ===================================================
   JAGO NUGAS — STYLE.CSS
   Pure Wireframe Style: White, Black, Boxy, No Emojis
   =================================================== */

/* === RESET & ROOT === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFCC00;
  --black: #000000;
  --white: #FFFFFF;
  --font: 'Inter', monospace, sans-serif;
  --border: 2px solid var(--black);
  --border-light: 1px solid var(--black);
  --grid-size: 20px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  text-transform: uppercase;
}

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

a { color: var(--black); text-decoration: none; }
img { display: block; max-width: 100%; }

/* === WIREFRAME BG === */
.wf-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--black) 1px, transparent 1px),
    linear-gradient(90deg, var(--black) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.wf-grid-bg.dark { opacity: 0.08; }

.wf-section { position: relative; padding: 100px 0; border-bottom: var(--border); }
.wf-box { border: var(--border); background: var(--white); }

/* === TYPOGRAPHY === */
.section-label {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  background: var(--black);
  color: var(--yellow);
  padding: 4px 12px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-sub {
  font-size: 16px;
  font-weight: 600;
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.highlight { background: var(--yellow); padding: 0 8px; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 14px 28px;
  border: var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  background: var(--white);
  position: relative;
}
.btn::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px;
  width: 100%; height: 100%;
  border: var(--border);
  z-index: -1;
  transition: var(--transition);
}

.btn-yellow { background: var(--yellow); }
.btn-yellow::after { background: var(--white); }

.btn:hover { transform: translate(4px, 4px); }
.btn:hover::after { transform: translate(-4px, -4px); }

.btn-outline { background: var(--white); }
.btn-outline::after { background: var(--white); border: none; }

.btn-sm { font-size: 12px; padding: 10px 20px; }
.btn-xl { font-size: 18px; padding: 18px 40px; }

/* === ANIMATION === */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   NAVBAR
   =================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: var(--border);
  transition: padding 0.3s;
}
.navbar.scrolled { padding: 4px 0; }

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: -0.5px;
}
.logo-box {
  width: 24px; height: 24px;
  border: var(--border);
  background: var(--yellow);
  display: inline-block;
}
.logo-accent { background: var(--black); color: var(--yellow); padding: 0 4px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a { font-weight: 700; font-size: 14px; position: relative; }
.nav-links a:not(.btn):hover::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  width: 28px; height: 3px;
  background: var(--black);
  transition: var(--transition);
}

/* ===================================================
   HERO
   =================================================== */
.hero { background: var(--white); padding: 160px 0 80px; text-align: left; }
.hero-inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  position: relative; z-index: 1;
}

.hero-content {
  padding: 40px;
  position: relative;
}
.hero-content::after {
  content: ''; position: absolute;
  top: 8px; left: 8px; width: 100%; height: 100%;
  background: repeating-linear-gradient(45deg, var(--black), var(--black) 2px, transparent 2px, transparent 8px);
  z-index: -1; border: var(--border);
}

.hero-tag {
  font-weight: 800; font-size: 14px;
  margin-bottom: 24px; display: inline-block;
}
.hero-sub {
  font-size: 16px; font-weight: 500;
  margin: 0 0 40px 0; text-align: left;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 40px; border-top: var(--border); padding-top: 24px; }
.stat-num { display: block; font-size: 32px; font-weight: 900; }
.stat-label { font-size: 12px; font-weight: 700; }

.hero-visual { position: relative; padding: 20px; }
.hero-card {
  padding: 16px; display: flex; align-items: center; gap: 16px;
  margin-bottom: 16px; background: var(--white);
}
.hcard-icon-box {
  width: 40px; height: 40px; border: var(--border);
  background: repeating-linear-gradient(-45deg, transparent, transparent 5px, var(--yellow) 5px, var(--yellow) 10px);
}
.hcard-info { flex: 1; }
.hcard-info strong { display: block; font-size: 16px; font-weight: 800; }
.hcard-info span { font-size: 12px; font-weight: 600; color: #555; }
.hcard-check { font-weight: 900; font-size: 18px; }

.wf-crosshair { position: absolute; width: 40px; height: 40px; pointer-events: none; }
.wf-crosshair::before, .wf-crosshair::after { content: ''; position: absolute; background: var(--black); }
.wf-crosshair::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.wf-crosshair::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.ch-1 { top: 0; right: 0; }
.ch-2 { bottom: 0; left: 0; }

/* ===================================================
   TENTANG KAMI
   =================================================== */
.container-box { text-align: center; position: relative; z-index: 1; }
.keunggulan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.wf-card {
  border: var(--border);
  padding: 32px 24px;
  background: var(--white);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.wf-card::after {
  content: ''; position: absolute;
  top: 6px; left: 6px; width: 100%; height: 100%;
  border: var(--border); z-index: -1; transition: var(--transition);
}
.wf-card:hover { transform: translate(-4px, -4px); }
.wf-card:hover::after { transform: translate(4px, 4px); }

.wf-icon-square {
  width: 48px; height: 48px;
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900;
  margin: 0 auto 20px; background: var(--black); color: var(--white);
}

.wf-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.wf-card p { font-size: 14px; font-weight: 500; flex-grow: 1; margin-bottom: 24px; }
.wf-card .btn { margin-top: auto; width: 100%; justify-content: center; }

/* ===================================================
   LAYANAN
   =================================================== */
.layanan { background: var(--yellow); border-bottom: var(--border); }
.layanan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: left; }


.wf-box-placeholder {
  height: 120px; border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12px; color: #666;
  margin-bottom: 20px;
  background: repeating-linear-gradient(45deg, #f0f0f0, #f0f0f0 10px, #ffffff 10px, #ffffff 20px);
}
.cta-card { background: var(--black); color: var(--white); }
.cta-card .wf-box-placeholder { border-color: var(--white); color: var(--white); background: transparent; }
.cta-card h3 { color: var(--yellow); }


/* ===================================================
   CARA PEMESANAN
   =================================================== */
.wf-steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }

.wf-step {
  border: var(--border);
  padding: 24px 16px;
  background: var(--white);
  text-align: center;
}
.wf-step-box {
  display: inline-block; padding: 4px 12px;
  border: var(--border); background: var(--black); color: var(--yellow);
  font-weight: 800; font-size: 14px; margin-bottom: 20px;
}
.wf-step h3 { font-size: 16px; margin-bottom: 10px; }
.wf-step p { font-size: 13px; font-weight: 500; }

/* ===================================================
   TESTIMONI
   =================================================== */
.testimoni { background: var(--black); color: var(--white); }
.testimoni .section-label { background: var(--white); color: var(--black); }
.testimoni .section-title { color: var(--white); }
.testimoni .wf-card { background: var(--black); border-color: var(--white); color: var(--white); }
.testimoni .wf-card::after { border-color: var(--white); }


.wf-rate { font-weight: 900; font-size: 16px; margin-bottom: 16px; color: var(--yellow); }

.testi-text { font-size: 16px; font-weight: 500; margin-bottom: 24px; font-style: italic; }

.wf-user { display: flex; align-items: center; gap: 16px; }
.wf-avatar {
  width: 48px; height: 48px; border: var(--border); background: var(--white); color: var(--black);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 11px;
}
.wf-user strong { display: block; font-size: 14px; }
.wf-user span { font-size: 12px; font-weight: 500; opacity: 0.7; }

/* ===================================================
   PORTOFOLIO
   =================================================== */
.porto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.porto-card { padding: 24px; }


.wf-porto-box {
  height: 180px; border: var(--border);
  padding: 20px; display: flex; flex-direction: column; gap: 12px;
  background: var(--yellow);
  margin-bottom: 24px;
}
.porto-tag { display: inline-block; font-size: 12px; font-weight: 800; margin-bottom: 12px; letter-spacing: 1px; }
.porto-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; }
.porto-info p { font-size: 14px; font-weight: 600; }

.wf-line { height: 8px; background: var(--black); }
.wf-line.thick { height: 16px; }
.width-lg { width: 100%; }
.width-md { width: 70%; }
.width-sm { width: 40%; }

.wf-box-mini { border: 2px solid var(--black); flex: 1; background: var(--white); }
.code-style { font-family: monospace; font-size: 14px; font-weight: 700; background: var(--black); color: var(--green, #0f0); text-transform: lowercase; }
.code-style .indent { padding-left: 20px; }
.code-style .indent-2 { padding-left: 40px; }

/* ===================================================
   FAQ
   =================================================== */
.faq-list { max-width: 800px; margin: 0 auto; text-align: left; }
.wf-faq-item {
  border: var(--border); margin-bottom: 16px; background: var(--white);
  position: relative; transition: var(--transition);
}
.wf-faq-item::after {
  content: ''; position: absolute; top: 4px; left: 4px; width: 100%; height: 100%;
  border: var(--border); background: var(--white); z-index: -1; transition: var(--transition);
}
.wf-faq-item:hover { transform: translate(-2px, -2px); }
.wf-faq-item:hover::after { transform: translate(2px, 2px); }

.faq-q {
  width: 100%; padding: 24px; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font); font-size: 16px; font-weight: 800; text-align: left; cursor: pointer;
}
.faq-a { max-height: 0; overflow: hidden; transition: 0.3s ease; }
.wf-faq-item.open .faq-a { max-height: 300px; border-top: var(--border-light); }
.faq-a p { padding: 24px; font-weight: 500; font-size: 15px; }

/* ===================================================
   KONTAK
   =================================================== */
.kontak { background: var(--yellow); border-bottom: none; }
.wf-box-large {
  display: inline-block; border: 4px solid var(--black); padding: 8px 24px;
  font-size: 24px; font-weight: 900; margin-bottom: 32px; background: var(--white);
}
.kontak-title { font-size: clamp(32px, 5vw, 56px); margin-bottom: 24px; }
.kontak-info { display: flex; justify-content: center; gap: 24px; margin-top: 40px; font-weight: 800; }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--black); color: var(--white); padding-bottom: 0; }
.footer .logo-box { border-color: var(--white); }
.footer a { color: var(--white); }
.footer .btn { color: var(--black); }

.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; text-align: left; padding-bottom: 60px; }
.footer-links h4, .footer-contact h4 { margin-bottom: 24px; font-size: 16px; letter-spacing: 2px; }
.footer-links li { margin-bottom: 12px; font-weight: 600; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }
.footer-bottom { border-top: var(--border); border-color: var(--white); padding: 24px 0; font-weight: 700; }
.footer-bottom .container { display: flex; justify-content: space-between; }

/* ===================================================
   FLOATING WHATSAPP
   =================================================== */
.wf-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 999;
  width: 64px; height: 64px; border: var(--border); background: var(--black); color: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 24px;
  transition: var(--transition);
}
.wf-float::after {
  content: ''; position: absolute; top: 4px; left: 4px; width: 100%; height: 100%;
  border: var(--border); background: var(--white); z-index: -1; transition: var(--transition);
}
.wf-float:hover { transform: translate(-4px, -4px); }
.wf-float:hover::after { transform: translate(4px, 4px); }

.float-wa-tooltip {
  position: absolute; right: 80px; white-space: nowrap;
  background: var(--white); color: var(--black); border: var(--border); padding: 8px 16px;
  font-size: 14px; opacity: 0; pointer-events: none; transition: 0.2s;
}
.wf-float:hover .float-wa-tooltip { opacity: 1; transform: translateX(-10px); }

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1100px) {
  .layanan-grid { grid-template-columns: repeat(2, 1fr); }
  .keunggulan-grid { grid-template-columns: repeat(2, 1fr); }
  .porto-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .wf-steps-grid { grid-template-columns: repeat(3, 1fr); }

  /* --- SIDEBAR MENU (RIGHT) --- */
  .hamburger { display: flex; z-index: 1001; }
  .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-links {
    position: fixed; top: 0; right: -300px;
    width: 280px; height: 100vh;
    background: var(--white);
    border-left: var(--border);
    flex-direction: column; align-items: flex-start;
    padding: 80px 24px 24px; gap: 0;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }

  .nav-links li { width: 100%; border-bottom: var(--border-light); }
  .nav-links a { display: block; padding: 16px 0; font-size: 16px; }
  .nav-links .btn { 
    margin-top: 24px; width: 100%; justify-content: center; 
    border-bottom: var(--border);
  }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  
  .footer-inner { 
    grid-template-columns: repeat(2, 1fr); 
    gap: 48px 32px; 
    padding-bottom: 40px;
  }
  
  /* Reordering Footer Items for 2x2 sejajar grid */
  .footer-inner > div:nth-child(1) { order: 1; } /* Jago Nugas */
  .footer-inner > div:nth-child(4) { order: 2; } /* Hubungi Kami */
  .footer-inner > div:nth-child(2) { order: 3; } /* Navigasi */
  .footer-inner > div:nth-child(3) { order: 4; } /* Layanan */
  
  .wf-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

/* MOBILE LAYOUT ADJUSTMENTS */
@media (max-width: 768px) {
  .wf-section { padding: 60px 0; }
  .section-title { font-size: 28px; }

  /* --- GRIDS & LAYOUT --- */
  .hero { padding: 120px 0 60px; }
  .hero-stats { flex-direction: column; gap: 20px; align-items: flex-start; }
  
  .layanan-grid { grid-template-columns: 1fr; }
  .keunggulan-grid { grid-template-columns: 1fr; }
  .porto-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .wf-steps-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .footer-bottom .container { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { display: flex; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .section-title { font-size: 24px; }
  .wf-card { padding: 24px 16px; }
  .faq-q { flex-direction: column; align-items: flex-start; gap: 12px; }
  .faq-q span:first-child { font-size: 14px; line-height: 1.4; }

  .kontak { padding-bottom: 120px; }
  .kontak-title { font-size: 28px; }
  .btn-xl { padding: 16px 20px; font-size: 14px; width: 100%; white-space: normal; }
  .kontak-info { flex-direction: column; gap: 12px; margin-top: 32px; font-size: 12px; }

  .wf-float { width: 56px; height: 56px; font-size: 20px; bottom: 24px; right: 24px; }

  /* Mobile Footer Adjustments */
  .footer-inner { grid-template-columns: 1fr; gap: 32px 16px; }
  .footer-inner > div:nth-child(1) { order: 1; } /* Jago Nugas */
  .footer-inner > div:nth-child(4) { order: 2; } /* Hubungi Kami */
  .footer-inner > div:nth-child(2) { order: 3; } /* Navigasi */
  .footer-inner > div:nth-child(3) { order: 4; } /* Layanan */

  .footer-contact .btn { font-size: 13px; padding: 14px; width: 100%; white-space: normal; }
  .footer-brand p { font-size: 13px; }
}
