* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0a0a;
  background-image: radial-gradient(circle, #8381816c 2px, transparent 1.5px);
  background-size: 32px 32px;
  color: #f0ece8;
  font-family: 'Poppins', sans-serif;
  overflow: hidden; 
}

.item {
  display: flex;
  height: 100vh; 
  align-items: center;
}

.foto {
  width: 60%;
  flex-shrink: 0;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foto img {
  width: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
  border: 9px solid #4bb74b;
  border-radius: 15px;
}

.deskripsi {
  width: 40%;
  flex-shrink: 0;
  padding: 60px 48px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.deskripsi.visible {
  opacity: 1;
  transform: translateY(0);
}

.deskripsi h2 {
  font-size: 50px;
  font-weight: 600;
  color: #4bb74b;
  margin-bottom: 16px;
}

.deskripsi p {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.9;
  color: #888;
}

main {
  height: 100vh;
  overflow: hidden; 
}

@media (max-width: 768px) {
  body {
    overflow: auto;
  }

  main {
    height: auto;
    overflow: auto;
  }

  .item {
    flex-direction: column;
    height: auto;        /* hapus height 100vh */
    min-height: auto;    /* hapus min-height juga */
    padding: 40px 0;
  }

  .foto {
    width: 100%;
    padding: 16px;
    order: 1;
  }

  .foto img {
    max-height: 45vh;
  }

  .deskripsi {
    width: 100%;
    padding: 16px 24px;
    order: 2;
    opacity: 1;           /* langsung visible di mobile */
    transform: none;      /* hapus animasi di mobile */
  }

  .deskripsi h2 {
    font-size: 28px;
  }

  .deskripsi p {
    font-size: 15px;
  }
}

.btn-back {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  font-size: 1.6rem;
  color: #4bb74b;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.btn-back:hover {
  transform: scale(1.1);
}