:root{
  --bg: rgb(9,10,12);
  --bg-soft: #2d2d2d;
  --text-light: #f1f1f1;
  --muted-white: rgba(255,255,255,0.95);
  --accent: #d4a15a;
  --purple: #b99aff;
  --neon: #d9ff00;
  --accent: #d4a15a;
  --muted: rgba(255,255,255,0.65);
  --text: rgba(255,255,255,0.95);
  --radius: 10px;
  --card-bg: rgba(255,255,255,0.03); 
}

/* Global */
body {
  margin: 0;
  padding: 0;
  color: #fff;
  scroll-behavior: smooth;
  background-color: #111;
  font-family: jetbrains;
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 90px;
  background: rgba(9, 10, 12, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  box-sizing: border-box;
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 999;
}

.logo img {
  height: 55px;
  cursor: pointer;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.9;
  transition: 0.25s ease;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.nav a span {
  display: block;
  transform: translateY(0);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav a::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s;
  color: white;
}

.nav a:hover {
  opacity: 1;
}

.nav a:hover span {
  transform: translateY(-100%);
}

.nav a:hover::after {
  transform: translateY(0%);
}

.project-container {
  width: 90%;
  max-width: 900px;
  margin: 40px auto;
  margin: 40px auto;
}

/* — Judul — */
.project-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 25px;
  cursor: default;
}

.project-image-wrapper {
  display: flex;
  justify-content: center;
}

/* — Gambar — */
.project-image {
  width: 100%;
  max-width: 750px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.project-image:hover {
  box-shadow: 0 0px 40px rgba(0, 0, 0, 0.35);
  transform: scale(1.02);
}

/* — Date — */
.project-day {
  border-radius: 16px;
  font-weight: 600;
  color: #d7a960;
  margin-top: 10px;
  font-size: 20px;
  cursor: default;
}

.project-date {
  font-size: 18px;
  opacity: 0.8;
  cursor: default;
}

.author-box {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.project-title,
.project-image,
.project-day,
.project-date,
.author-box {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.author-photo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 18px;
  font-weight: 600;
  cursor: default;
}

/* — Content — */
.project-content {
  text-align: left;
  margin-top: 30px;
  line-height: 1.8;
}

/* Case */
.case-study {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
}

.cs-container {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.cs-container {
  counter-reset: cs;
}

.cs-item {
  margin-bottom: 36px;
}

.cs-title {
  counter-increment: cs;
  position: relative;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: var(--accent);
}

.cs-title::before {
  content: counter(cs) ". ";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

.cs-body p {
  margin: 0 0 18px 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--muted-white);
}

.cs-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Wrapper */
.project-extras{
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

/* Project Link Card */
.project-links-card{
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 12px;
  box-sizing: border-box;
}

.project-links-card h4{
  margin: 0 0 18px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: default;
}

/* Button Container */
.project-links{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease;
}

.btn-primary{
  background: #0b0b0b;
  color: var(--accent);
  border: 1px solid rgba(0,0,0,0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.btn-primary svg{ color: var(--accent); opacity: .95; }

.btn-outline{
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.12);
}

.btn-outline svg{ color: var(--text); opacity: .9; }

.btn-primary:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  filter: brightness(1.02);
}
.btn-outline:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,0.04);
  border-color: var(--accent);
  color: var(--accent);
}

/* Technologies List */
.technologies h4{
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 700;
  cursor: default;
}

.tech-list{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-pill{
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: background .14s ease, color .14s ease, transform .14s ease;
  cursor: default;
}

.tech-pill:hover{
  background: var(--accent);
  color: #111;
  transform: translateY(-3px);
  cursor: pointer;
}

/* Footer */
.footer {
  width: 100%;
  padding: 40px 80px;
  background: var(--bg);
  color: rgba(255,255,255,0.85);
  font-family: "Inter", sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-left {
  font-size: 14px;
  letter-spacing: 1px;
  cursor: default;
}

.footer-left .love {
  color: var(--accent);
  font-weight: 700;
}