:root {
  --primary: #08a9e6;     /* BIRU LOGO */
  --dark: #0f172a;
  --gray: #64748b;
  --bg: #f8fafc;
  --footer-dark: #020617;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--dark);
  display: flex;
  flex-direction: column;
}

/* ================= HEADER ================= */
header {
  background: white;
  border-bottom: 3px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  max-width: 1100px;
  margin: auto;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 34px;
  display: block;
}

.brand-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

/* NAV */
nav a {
  margin-left: 18px;
  text-decoration: none;
  font-weight: 700;
  color: var(--dark);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: .25s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::after {
  width: 100%;
}

/* ================= MAIN ================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 32px 16px;
  width: 100%;
}

/* ================= CATEGORY HEADER ================= */
.category-header {
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
}

.category-header h1 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  padding: 22px 0;
  color: var(--dark);
}

/* ================= FOOTER ================= */
footer {
  margin-top: auto;               /* INI KUNCI FOOTER NEMPEL BAWAH */
  background: linear-gradient(
    180deg,
    #020617,
    #020617
  );
  color: #cbd5f5;
  padding: 22px 16px;
  text-align: center;
  font-size: 14px;
  border-top: 3px solid var(--primary);
}

/* ================= UTIL ================= */
h1, h2, h3 {
  color: var(--dark);
}
