/* ============================================================
   MENKO STATIONERY — Core Stylesheet
   Gaya: Modern, Tegas, Kontras Tinggi, Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;450;500;600;700&display=swap');

:root {
  --red:        #E10E1C;
  --red-dark:   #B70A15;
  --black:      #0E0E10;
  --char:       #1A1A1E;
  --char-2:     #26262C;
  --ink:        #14141A;
  --grey-1:     #6B6B73;
  --grey-2:     #9A9AA2;
  --grey-3:     #C9C9CF;
  --line:       #E6E6E9;
  --line-2:     #F0F0F2;
  --bg:         #FFFFFF;
  --bg-2:       #F6F6F7;
  --bg-3:       #EDEDEF;
  --paper:      #FFFFFF;

  --shadow-xs:  0 1px 2px rgba(14,14,16,0.06);
  --shadow-sm:  0 2px 10px rgba(14,14,16,0.07);
  --shadow-md:  0 10px 34px rgba(14,14,16,0.10);
  --shadow-lg:  0 28px 64px rgba(14,14,16,0.18);

  --radius:     4px;
  --radius-md:  8px;
  --radius-lg:  14px;

  --display: 'Space Grotesk', sans-serif;
  --body:    'Inter', sans-serif;

  --maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1,h2,h3,h4 {
  font-family: var(--display); font-weight: 600;
  line-height: 1.12; color: var(--ink); letter-spacing: -0.02em;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

/* selection */
::selection { background: var(--red); color: #fff; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 500; font-size: 0.94rem;
  padding: 14px 28px; border: 1.5px solid transparent;
  cursor: pointer; transition: all .2s cubic-bezier(.4,0,.2,1);
  white-space: nowrap; letter-spacing: -0.01em; border-radius: var(--radius);
}
.btn svg { transition: transform .2s ease; }
.btn-red {
  background: var(--red); color: #fff;
}
.btn-red:hover { background: var(--red-dark); }
.btn-red:hover svg { transform: translateX(3px); }
.btn-black {
  background: var(--black); color: #fff;
}
.btn-black:hover { background: var(--char-2); }
.btn-black:hover svg { transform: translateX(3px); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-white {
  background: #fff; color: var(--ink);
}
.btn-white:hover { background: var(--bg-3); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}

/* --- LOGO --- */
.brand { display: flex; align-items: center; gap: 12px; }
/*
  SLOT LOGO:
  Ganti isi .brand-logo dengan: <img src="logo-menko.png" alt="Menko Stationery">
  Logo akan otomatis menyesuaikan tinggi 38px.
  Sementara, ditampilkan logo placeholder berbasis teks di bawah.
*/
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 38px; width: auto; display: block; }
.logo-placeholder {
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 38px; height: 38px; background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border-radius: 3px;
}
.logo-mark span {
  font-family: var(--display); font-weight: 700; font-size: 1.32rem;
  color: #fff; line-height: 1;
}
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word .lw1 {
  font-family: var(--display); font-weight: 700; font-size: 1.16rem;
  color: var(--ink); letter-spacing: 0.04em;
}
.logo-word .lw2 {
  font-family: var(--body); font-weight: 500; font-size: 0.56rem;
  color: var(--grey-1); letter-spacing: 0.34em; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--display); font-weight: 500; font-size: 0.92rem;
  padding: 9px 16px; color: var(--grey-1);
  transition: color .15s ease; position: relative; letter-spacing: -0.01em;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--red);
}
.nav-cta { margin-left: 14px; }
.nav-toggle {
  display: none; background: var(--ink); border: none;
  width: 42px; height: 42px; cursor: pointer; border-radius: var(--radius);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: #fff;
  margin: 4px auto; transition: .25s;
}

/* ---------- SHARED HEADINGS ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: ''; width: 28px; height: 2px; background: var(--red);
}
.eyebrow.center::before { display: none; }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3rem); margin: 18px 0 14px;
  font-weight: 600; letter-spacing: -0.03em;
}
.section-intro { font-size: 1.05rem; color: var(--grey-1); max-width: 540px; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg); color: var(--ink);
  padding: 80px 0 32px; margin-top: 0;
  border-top: 4px solid var(--red);
}
.footer-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 56px; padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
.footer-logo-word .lw1 { color: var(--ink); }
.footer-logo-word .lw2 { color: var(--red); }
.footer-brand p {
  color: var(--grey-1); margin-top: 20px; max-width: 300px;
  font-size: 0.94rem; line-height: 1.7;
}
.footer-col h4 {
  color: var(--ink); font-size: 0.72rem; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 0.16em; font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block; color: var(--grey-1);
  padding: 7px 0; transition: color .15s ease; font-size: 0.93rem;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 26px; flex-wrap: wrap; gap: 12px;
  color: var(--grey-2); font-size: 0.84rem;
}

/* ---------- ANIMATIONS ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.in { animation: rise .6s cubic-bezier(.22,.61,.36,1) forwards; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    background: #fff; flex-direction: column;
    padding: 22px; gap: 2px; align-items: stretch;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-135%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { font-size: 1.04rem; padding: 14px 16px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; justify-content: center; }
  .nav-toggle { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .wrap { padding: 0 22px; }
}
