/* RESET & FONTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #111;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
}
/* Body dengan background animasi gradient */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg, #ff6a00, #ee0979, #00f260, #0575e6);
  background-size: 800% 800%;
  animation: gradientShift 20s ease infinite;
  color: #fff;
  scroll-behavior: smooth;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animasi gradient bergerak */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header tetap solid hitam */
.navbar {
  background: #000 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.animasi-background {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; /* supaya tidak mengganggu klik */
  z-index: 0;
  overflow: hidden;
}

.line {
  position: absolute;
  width: 150%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  filter: blur(1px);
}

/* Posisi dan animasi tiap garis */
.line1 {
  top: 20%;
  animation: slideRight 15s linear infinite;
  animation-delay: 0s;
}
.stars-background {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; /* biar tidak ganggu interaksi */
  z-index: 0;
  background: transparent;
  overflow: hidden;
}

.star {
  position: absolute;
  width: 3px;
  height: 3px;
  background: white;
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 4px 2px white,
    0 0 10px 4px white;
  animation: twinkle 6s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

.line2 {
  top: 45%;
  animation: slideLeft 12s linear infinite;
  animation-delay: 3s;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.15);
}

.line3 {
  top: 70%;
  animation: slideRight 20s linear infinite;
  animation-delay: 5s;
}

.line4 {
  top: 85%;
  animation: slideLeft 18s linear infinite;
  animation-delay: 8s;
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
}

/* Animasi gerak horizontal */
@keyframes slideRight {
  0% { left: -150%; }
  100% { left: 100%; }
}

@keyframes slideLeft {
  0% { left: 100%; }
  100% { left: -150%; }
}

/* Section dengan overlay gelap transparan agar teks mudah dibaca */
section {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.6);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
}

/* Hero khusus, biar full height tanpa overlay */
.hero {
  background: transparent;
  padding: 0;
  margin: 0 auto;
  max-width: none;
  border-radius: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  position: relative;
}

/* Tombol dan link tetap cerah */
.btn {
  background-color: #00f260;
  color: #000;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #0575e6;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffcd07;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ffcd07;
}

/* SECTION STYLES */
section {
  padding: 5rem 2rem;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.hero {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom, #000, #ffb80f);
}

.hero h2 {
  font-size: 3rem;
  animation: slideInDown 1s ease-out;
}

.hero p {
  font-size: 1.5rem;
  animation: slideInUp 1.2s ease-out;
}

.btn {
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background-color: #ffcd07;
  color: #000;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background-color: #0c0;
}

/* CONTENT SECTIONS */
.content-section {
  background: transparent; /* hilangkan background warna */
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  color: #fff; /* pastikan teks tetap jelas */
}

.content-section {
  background: transparent; /* transparan */
  border: 2px solid #fff; /* garis hijau */
  border-radius: 12px;
  padding: 3rem 2rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: center;
  color: #fff; /* teks hijau supaya matching */
}


/* PROJECTS */
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.project-card {
  background: #2a2a2a;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px #ffcd07;
}

/* FOOTER */
.footer {
  background: #000;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .navbar ul {
    flex-direction: column;
    background: #000;
    position: absolute;
    right: 0;
    top: 60px;
    width: 100%;
    display: none;
  }

  .navbar.active ul {
    display: flex;
  }

  .project-list {
    grid-template-columns: 1fr;
  }
}

#typing-title {
  font-family: monospace;
  font-size: 1.2rem;
  color: #fff;
  white-space: nowrap;
  border-right: 3px solid #fff;
  padding-right: 5px;
  animation: blinkCaret 0.7s step-end infinite;
  min-height: 2rem; /* supaya tinggi gak naik turun waktu hapus */
}

@keyframes blinkCaret {
  50% { border-color: transparent; }
  100% { border-color: #fff; }
}
/* Navbar jadi vertikal dan full width saat mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .navbar ul {
    flex-direction: column;
    width: 100%;
    margin-top: 0.5rem;
    gap: 0;
  }

  .navbar ul li {
    width: 100%;
  }

  .navbar ul li a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid #fff;
  }

  /* Hero section */
  .hero h2 {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
  }

  /* Section content */
  section {
    padding: 3rem 1rem;
    margin: 1rem;
  }

  /* Project list jadi kolom tunggal */
  .project-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Project card full width */
  .project-card {
    padding: 1.5rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Typing title ukuran lebih kecil */
  #typing-title {
    font-size: 1.2rem;
    padding-right: 3px;
  }
}

.pricing-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.pricing-card {
  background: #fff;
  border: 2px solid #0f0;
  border-radius: 15px;
  padding: 2rem 1.5rem;
  width: 280px;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  box-shadow: 0 0 8px rgba(0,255,0,0.2);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,255,0,0.6);
}

.pricing-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.pricing-card p {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
}

.pricing-card ul li {
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .content-section {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important; /* kalau pakai background semi transparan juga bisa dihilangkan */
    padding: 2rem 1rem !important;
    margin: 1rem !important;
  }
}
.website-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.website-card {
  background: #fff;
  border: 2px solid #0f0;
  border-radius: 15px;
  width: 300px;
  padding: 1.5rem;
  color: #000;
  box-shadow: 0 0 8px rgba(0, 255, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  text-align: center;
}

.website-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 255, 0, 0.6);
}

.website-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}

.website-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.5rem;
}

.website-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.website-card .btn {
  background-color: #00f260;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.website-card .btn:hover {
  background-color: #0575e6;
}

/* Responsive: kolom tunggal di mobile */
@media (max-width: 768px) {
  .website-cards {
    flex-direction: column;
    gap: 1.5rem;
  }
  .website-card {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
}
.footer {
  background-color: #0d0d1c;
  color: #fff;
  padding: 3rem 2rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  text-align: left; /* <- ini penting untuk semua rata kiri */
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  text-align: left; /* <- pastikan isi kolom juga rata kiri */
}

.footer-column {
  flex: 1 1 220px;
}

.footer-column h4,
.footer-column h3 {
  color: #8f9cf7;
  margin-bottom: 1rem;
  text-align: left;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #fff;
}

.contact-info li {
  margin-bottom: 0.4rem;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  display: inline-block;
  margin-right: 0.5rem;
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: grayscale(100%);
  transition: 0.3s;
}

.social-icons img:hover {
  filter: none;
}

.other-site {
  background-color: #1a1a2e;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 1px solid #333;
}

.other-site p {
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center; /* ini yang bikin teks di tengah */
  font-size: 0.85rem;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-column {
    flex: 1 1 100%;
  }
}
.testimoni-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.testimoni-card {
  background-color: #fff;
  color: #000;
  border: 2px solid #0f0;
  border-radius: 12px;
  padding: 1.5rem;
  width: 300px;
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
  transition: transform 0.3s ease;
}

.testimoni-card:hover {
  transform: translateY(-5px);
}

.testimoni-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimoni-card h4 {
  text-align: right;
  font-weight: normal;
  color: #555;
  margin-top: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .testimoni-container {
    flex-direction: column;
    align-items: center;
  }

  .testimoni-card {
    width: 90%;
  }
}
.blog-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.blog-card {
  background-color: #fff;
  border: 2px solid #0f0;
  border-radius: 12px;
  width: 320px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
  transition: transform 0.3s ease;
  color: #000;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.blog-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.blog-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #333;
}

.read-more {
  text-decoration: none;
  color: #fff;
  background: #0f0;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #09c909;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-cards {
    flex-direction: column;
    align-items: center;
  }

  .blog-card {
    width: 90%;
  }
}
