/* ========== RESET ========== */
*{
  box-sizing:border-box;
  font-family:Segoe UI, Arial, sans-serif;
}

/* ===================== BASE ===================== */
html,body{
  margin:0;
  min-height:100%;
  background:#060b1c;
  color:white;
}

/* ❗ Scroll HANYA dimatikan di HOME */
body.no-scroll{
  overflow:hidden;
}

/* ================= STAR BACKGROUND ================= */
.stars{
  position:fixed;
  inset:0;
  background-image:
    radial-gradient(white 1px,transparent 1px),
    radial-gradient(white 1px,transparent 1px);
  background-size:80px 80px,120px 120px;
  opacity:.35;
  z-index:-1;
}

/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  height:70px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 40px;
  background:rgba(8,15,35,.88);
  backdrop-filter:blur(14px);
  z-index:100;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.nav-logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.nav-logo img{height:36px}

.nav-menu a{
  color:#9ff;
  margin:0 12px;
  text-decoration:none;
  font-weight:500;
}
.nav-menu a:hover{
  color:white;
  text-shadow:0 0 8px rgba(160,255,255,.6);
}

/* ================= HOME LAYOUT ================= */
.layout{
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  padding-top:70px;
}

.center{
  width:92%;
  max-width:1200px;
  display:grid;
  grid-template-columns:420px 1fr;
  gap:70px;
  align-items:center;
}

/* ================= SOLAR SYSTEM ================= */
.solar-system{
  position:relative;
  width:320px;
  height:320px;
}
.sun{
  width:92px;
  height:92px;
  background:#ffd54a;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  box-shadow:0 0 45px rgba(255,213,74,.9);
}
.sun img{width:56px}

.orbit{
  position:absolute;
  border:1px dotted rgba(255,255,255,.18);
  border-radius:50%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  animation:spin linear infinite;
}
.orbit span{
  width:14px;
  height:14px;
  background:#00f7ff;
  border-radius:50%;
  position:absolute;
  top:-7px;
  left:50%;
  transform:translateX(-50%);
}
.p1{width:160px;height:160px;animation-duration:9s}
.p2{width:230px;height:230px;animation-duration:14s}
.p3{width:300px;height:300px;animation-duration:20s}

@keyframes spin{
  from{transform:translate(-50%,-50%) rotate(0)}
  to{transform:translate(-50%,-50%) rotate(360deg)}
}

/* ================= HOME CONTENT ================= */
.content-wrap{
  display:flex;
  flex-direction:column;
  gap:22px;
}
.welcome h1{
  margin:0;
  font-size:38px;
  color:#8ff;
}
.welcome p{
  color:#ccc;
  line-height:1.6;
  font-size:16px;
}

/* ================= FULL PAGE CONTENT ================= */
.page{
  width:100%;
  min-height:calc(100vh - 70px);
  padding:110px 6% 60px;
}

/* Judul halaman */
.page h1{
  color:#8ff;
  margin-bottom:20px;
  font-size:32px;
}

/* ================= CARD / ARTICLE ================= */
article, .card{
  background:rgba(255,255,255,.06);
  margin-bottom:20px;
  padding:20px;
  border-radius:16px;
}
article h3, .card h3{
  margin:0 0 10px;
  color:#9ff;
}

/* ================= BUTTON ================= */
.btn{
  display:inline-block;
  margin-top:12px;
  background:#00c6ff;
  color:#000;
  padding:8px 24px;
  border-radius:24px;
  font-weight:bold;
  font-size:13px;
  text-decoration:none;
}
.btn:hover{
  background:#8ff;
  box-shadow:0 0 12px rgba(0,255,255,.6);
}

/* ================= SLIDESHOW GALERI ================= */
.slideshow-container{
  position:relative;
  width:100%;
  max-width:900px;
  height:420px;              /* ✅ lebih proporsional */
  margin:30px auto;
  overflow:hidden;
  border-radius:18px;
  background:#0b132f;
  border:1px solid rgba(255,255,255,.1);
}

/* SLIDE */
.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .8s ease-in-out;
  display:flex;
  justify-content:center;
  align-items:center;
}

.slide.active{
  opacity:1;
  z-index:2;
}

/* GAMBAR */
.slide img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;        /* ✅ INI KUNCINYA */
}

/* CAPTION */
.caption{
  position:absolute;
  bottom:0;
  width:100%;
  padding:14px 18px;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.85),
    rgba(0,0,0,0)
  );
  font-size:14px;
  color:#fff;
  text-align:center;
}


/* ================= FOOTER ================= */
footer{
  text-align:center;
  color:#777;
  font-size:13px;
  padding:30px 0;
}
