@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, sans-serif;
}

/* =====================
   COLOR SYSTEM
===================== */
:root {
  --bg: #020617;
  --card: #0b0b14;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --neon: #38bdf8;
  --neon2: #6366f1;
}

/* =====================
   BASE
===================== */
body {
  background: radial-gradient(circle at top, #0f172a, #020617);
  color: var(--text);
  line-height: 1.7;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 18px;
}

.section {
  padding: 80px 0;
}

.center { text-align: center; }

.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* =====================
   HEADER (COMPACT)
===================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(2,6,23,.7);
  border-bottom: 1px solid rgba(255,255,255,.06);
  z-index: 100;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

/* Logo */
.logo {
  font-weight: 800;
  letter-spacing: .08em;
  font-size: 14px;
  color: var(--neon);
}

.logo img {
  height: 24px;
}

/* Header buttons */
.nav-actions button {
  margin-left: 6px;
  padding: 4px 8px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(135deg,var(--neon),var(--neon2));
  color:#000;
  font-size: 12px;
  cursor: pointer;
}

/* MENU */
nav {
  position: fixed;
  top: 52px;
  right: -100%;
  background: var(--card);
  padding: 18px;
  border-radius: 14px;
  transition: .35s ease;
  box-shadow: 0 30px 80px rgba(0,0,0,.8);
}

nav.show { right: 16px; }

nav a {
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* =====================
   HERO
===================== */
.hero-editorial {
  padding: 120px 0 70px;
}

.hero-grid {
  display: grid;
  gap: 42px;
}

.hero-photo {
  position: relative;
  max-width: 260px;
  margin: auto;
}

.hero-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,.8);
}

.photo-bg {
  position: absolute;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg,var(--neon),var(--neon2));
  border-radius: 50%;
  top: 30px;
  left: -30px;
  filter: blur(36px);
  opacity: .6;
}

.hero-editorial h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 16px 0;
  line-height: 1.3;
}

.hero-editorial h1 span {
  background: linear-gradient(135deg,var(--neon),var(--neon2));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: 14px;
  color: var(--muted);
}

.hero-cta {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 26px;
  background: linear-gradient(135deg,var(--neon),var(--neon2));
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color:#000;

  box-shadow:
    0 8px 0 #020617,
    0 18px 30px rgba(0,0,0,.6);
  transition: .25s;
}

.hero-cta:hover {
  transform: translateY(3px);
  box-shadow:
    0 4px 0 #020617,
    0 10px 20px rgba(0,0,0,.6);
}

/* =====================
   CARD SYSTEM (3D)
===================== */
.card,
.project-card {
  background: linear-gradient(180deg,#0b0b14,#0e0e18);
  padding: 26px;
  border-radius: 20px;

  box-shadow:
    0 20px 50px rgba(0,0,0,.8),
    inset 0 0 0 1px rgba(255,255,255,.05);

  transform-style: preserve-3d;
  transition: .35s;
}

.project-card:hover {
  transform: translateY(-8px) translateZ(12px);
}

.project-card h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.project-card p {
  font-size: 13px;
  color: var(--muted);
}

/* GRID */
.project-grid {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

/* =====================
   CAROUSEL FUTURE
===================== */
.carousel-wrapper {
  margin-top: 40px;
  padding: 22px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size: 32px 32px;

  box-shadow: 0 40px 90px rgba(0,0,0,.9);
}

.carousel-track {
  display: flex;
  gap: 16px;
  transition: .6s cubic-bezier(.16,1,.3,1);
}

.carousel-item {
  min-width: 100%;
  border-radius: 18px;
  background: #05050a;
  padding: 5px;
  cursor:pointer;

  box-shadow:
    0 14px 40px rgba(0,0,0,.8),
    inset 0 0 0 1px rgba(255,255,255,.08);

  transition:.35s;
}

.carousel-item:hover {
  transform: translateY(-6px) scale(1.02);
}

.carousel-item img {
  width:100%;
  border-radius:14px;
}

/* =====================
   FULLSCREEN IMAGE MODAL
===================== */
.img-modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:9999;

  justify-content:center;
  align-items:center;
  padding:20px;
}

.img-modal.show{
  display:flex;
}

.modal-content{
  max-width:95%;
  max-height:95%;
  border-radius:12px;

  animation:zoom .3s ease;
  box-shadow:
    0 0 40px rgba(56,189,248,.5),
    0 0 80px rgba(99,102,241,.4);
}

.close-modal{
  position:absolute;
  top:20px;
  right:26px;
  font-size:34px;
  color:#fff;
  cursor:pointer;
  font-weight:bold;
  opacity:.8;
}
.close-modal:hover{opacity:1;}

@keyframes zoom{
  from{transform:scale(.8);opacity:0}
  to{transform:scale(1);opacity:1}
}


/* NAV */
.carousel-btn {
  position:absolute;
  top:45%;
  background:linear-gradient(135deg,var(--neon),var(--neon2));
  color:#000;
  border:none;
  font-size:22px;
  padding:6px 12px;
  border-radius:50%;
  cursor:pointer;
  z-index:10;
}

/* =====================
   3D BUTTON
===================== */
.btn-3d {
  display:inline-block;
  background:linear-gradient(135deg,var(--neon),var(--neon2));
  color:#000;
  padding:12px 24px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  font-size: 14px;

  box-shadow:
    0 8px 0 #020617,
    0 18px 30px rgba(0,0,0,.7);
  transition:.25s;
}

.btn-3d:hover{
  transform:translateY(3px);
  box-shadow:
    0 4px 0 #020617,
    0 10px 20px rgba(0,0,0,.7);
}

.btn-3d.small{
  margin-top:16px;
  padding:8px 18px;
  font-size:13px;
}

/* =====================
   FOOTER
===================== */
footer{
  text-align:center;
  padding:32px;
  background:#020617;
  color:var(--muted);
  font-size:13px;
}
/* FOOTER LOGO */
.footer-logo {
  height: 22px;   /* kecil & proporsional */
  opacity: 0.8;   /* lebih subtle */
}


/* =====================
   RESPONSIVE (DESKTOP)
===================== */
@media(min-width:900px){
  .hero-grid{grid-template-columns:360px 1fr;}
  .hero-editorial h1{font-size:40px;}

  .project-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .carousel-item{
    min-width:calc(100%/3 - 12px);
  }
}

@media(min-width:600px) and (max-width:900px){
  .carousel-item{
    min-width:calc(100%/2 - 10px);
  }
}

/* =====================
   ANIMATION
===================== */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:1s ease;
}
.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* =====================
   STACK CAROUSEL UPGRADE
===================== */

.stack-carousel {
  position: relative;
  margin-top: 50px;
  height: 340px;
  perspective: 1200px;
}

/* MOBILE HEIGHT */
@media(max-width:600px){
  .stack-carousel{
    height:260px;
  }
}

.stack-item{
  position:absolute;
  top:50%;
  left:50%;
  width:300px;
  height:210px;
  transform-style:preserve-3d;
  transform:translate(-50%,-50%) scale(.8);
  opacity:0;
  transition:.7s cubic-bezier(.16,1,.3,1);

  background:#fff;
  padding:10px;
  border-radius:8px;

  box-shadow:
    0 25px 60px rgba(0,0,0,.45);
}

/* MOBILE SIZE */
@media(max-width:600px){
  .stack-item{
    width:220px;
    height:160px;
  }
}

/* IMAGE */
.stack-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:4px;
}

/* ACTIVE */
.stack-item.active{
  transform:translate(-50%,-50%) scale(1);
  opacity:1;
  z-index:5;

  /* GLOW */
  box-shadow:
    0 30px 80px rgba(56,189,248,.6),
    0 0 40px rgba(99,102,241,.6);
}

/* NEXT & PREV */
.stack-item.next{
  transform:translate(-50%,-50%) translateX(70px) scale(.9);
  opacity:.8;
  z-index:4;
}
.stack-item.prev{
  transform:translate(-50%,-50%) translateX(-70px) scale(.9);
  opacity:.8;
  z-index:4;
}

/* BACK */
.stack-item.back{
  transform:translate(-50%,-50%) translateZ(-120px) scale(.75);
  opacity:.35;
}

/* BUTTON */
.stack-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:#020617;
  color:#fff;
  border:none;
  font-size:20px;
  padding:8px 14px;
  border-radius:50%;
  cursor:pointer;
  z-index:10;
  opacity:.8;
}
.stack-btn:hover{opacity:1;}

.stack-btn.prev{left:10px;}
.stack-btn.next{right:10px;}

