/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ✅ Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  border-bottom: 1px solid #111;
  font-family: 'Poppins', sans-serif;
}

.navbar a {
  color: #00ff99;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  margin: 0 16px;
  transition: color 0.25s ease;
}

.navbar a:hover {
  color: #fff;
}

/* ✅ Hero Section */
.hero-home {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* Efek gelap */
}

.hero-content {
  position: relative;
  z-index: 1;
  top: 35%;
  transform: translateY(-50%);
  padding-left: 5%;
  color: white;
  max-width: 80%;
  font-family: 'Poppins', sans-serif;
  animation: fadeInUp 1.2s ease forwards;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem); /* besar tapi fleksibel */
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
}

.hero-content h1 span {
  background: linear-gradient(90deg, #00ff99, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  margin: 15px 0 20px;
  font-size: clamp(0.8rem, 2vw, 1rem); /* rasio sinkron ±55% dari h1 */
  opacity: 0.95;
  animation: fadeInUp 1.5s ease forwards;
}

.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(90deg, #00ff99, #00ccff);
  color: #000;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem); /* responsive */
  box-shadow: 0 0 15px rgba(0,255,153,0.5);
  transition: all 0.3s ease;
  animation: fadeInUp 1.8s ease forwards;
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 25px rgba(0,255,153,0.8);
}

/* Animasi Fade-In Up */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ✅ Responsive Mobile */
@media (max-width: 768px) {
  .hero-content {
    top: 40%;           /* turunin biar center */
    padding-left: 3%;   /* lebih rapat ke pinggir */
    max-width: 95%;
    text-align: center; /* rata tengah di HP */
  }

  .hero-content h1 {
    font-size: 1.6rem;   /* lebih kecil di mobile */
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 0.6rem; /* paragraf ikut kecil */
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 10px 22px; /* tombol lebih kecil */
  }

  .navbar {
    justify-content: center; /* biar menu nggak kepotong */
    padding: 0 10px;
  }

  .navbar a {
    margin: 0 8px;
    font-size: 13px; /* kecilin font navbar */
  }
}


