.hero {
  height: 75vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('images/background.jpeg') center/cover no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;
  /* penting */
}

.overlay {
  padding: 40px;
  color: white;
  text-align: center;
  border-radius: 10px;

  margin: 0;
  /* reset */
}

/* SECTION UMUM */
section {
  padding: 80px 20px;
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: auto;
}

.overlay h1 {
  font-size: 52px;
  font-weight: bold;
  margin-bottom: 10px;
}

/* TENTANG */
.tentang {
  background: #f9f9f9;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.about-content img {
  width: 200px;
  border-radius: 12px;
}

.about-text {
  max-width: 500px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Judul tengah */
.judul {
  text-align: center;
  margin-bottom: 40px;
}

/* Layout */
.about-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* Foto bulat */
.about-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ddd;
}

/* Text */
.about-text {
  max-width: 600px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Biodata */
.biodata p {
  margin: 5px 0;
}

/* Lebarkan area text */
.about-text {
  max-width: 800px;
  /* sebelumnya 500/600 */
}

/* Rata kiri kanan */
.about-text p {
  text-align: justify;
}

/* kondisi awal */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

/* saat muncul */
.show {
  opacity: 1;
  transform: translateY(0);
}

/* KONTAK */
/* Judul tengah */
.kontak .judul {
  text-align: center;
  margin-bottom: 30px;
}

/* List tengah */
.kontak-list {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Item */
.kontak-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  background: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

/* Icon */
.kontak-item i {
  font-size: 20px;
  color: #007bff;
}

/* Hover */
.kontak-item:hover {
  transform: translateY(-5px);
}

.kontak-item {
  text-decoration: none;
  color: black;
}

.kontak-item:hover {
  transform: translateY(-5px);
  color: #007bff;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #222;
  color: white;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  transition: 0.3s;
  background: transparent;
  z-index: 1000;
}

.logo img {
  height: 60px;
}

.logo img {
  filter: brightness(0) invert(1);
  /* jadi putih */
}

.navbar.scrolled .logo img {
  filter: none;
  /* kembali normal */
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: white;
  text-decoration: none;
}

.menu li a:hover {
  color: yellow;
}

/* Saat scroll */
.navbar.scrolled {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled a {
  color: black;
}

.navbar.scrolled .logo {
  color: black;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ========================= */
/* RESPONSIVE HP */
/* ========================= */
@media (max-width: 768px) {

  /* ABOUT jadi vertikal */
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  .about-text p {
    text-align: justify;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  /* KONTAK */
  .kontak-list {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .kontak-item {
    width: 90%;
    justify-content: center;
  }

  /* FOOTER */
  footer {
    font-size: 14px;
  }

  @media (max-width: 768px) {
    .about-image {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .about-image img {
      margin: 0 auto;
    }
  }

  /* sembunyikan deskripsi tambahan */
  .more-text {
    display: none;
  }

  /* tombol */
  .btn-toggle {
    margin-top: 15px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid white;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.3s;
  }

  .btn-toggle:hover {
    background: white;
    color: black;
  }
}

/* ========================= */
/* HERO MOBILE */
/* ========================= */
@media (max-width: 768px) {

  .hero {
    height: 100vh;
    padding: 20px;
  }

  .overlay h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .overlay p {
    font-size: 14px;
  }

  /* sembunyikan deskripsi panjang di mobile */
  .more-text {
    display: none;
  }

  /* tombol */
  .btn-toggle {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
  }

}

/* DEFAULT = DESKTOP */
.btn-toggle {
  display: none;
}

.more-text {
  display: block;
}

/* MOBILE */
@media (max-width: 768px) {

  .more-text {
    display: none;
  }

  .btn-toggle {
    display: inline-block;
  }

}

/* ========================= */
/* NAVBAR RESPONSIVE HP */
/* ========================= */
@media (max-width: 768px) {

  /* NAVBAR JANGAN PAKAI PADDING BESAR */
  .navbar {
    padding: 15px 0;
  }

  /* CONTAINER ATUR JARAK */
  .nav-container {
    max-width: 100%;
    padding: 0 15px;
  }

  /* LOGO */
  .logo img {
    height: 45px;
  }

  /* MENU */
  .menu {
    gap: 12px;
  }

  .menu li a {
    font-size: 13px;
  }

}
