/* section hero */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: white;
  color: white;
}

.container {
  display: flex;
  justify-content: space-between;
  padding: 40px;
  padding-top: 120px;
  height: 100vh;
  box-sizing: border-box;
  gap: 20px;
  background-color: black;
}

/* LEFT SIDE */
.left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 48%;
}

.top-images {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

/* Foto 1 portrait */
.top-images img:first-child {
  width: 65%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  animation: slideInLeft 1.2s ease-out forwards;
}

/* Foto 2 kecil */
.top-images img:last-child {
  width: 35%;
  height: 200px;
  margin-top: 80px;
  object-fit: cover;
  border-radius: 4px;
  align-self: flex-start;
  animation: slideInTop 1.2s ease-out forwards;
}

.text-section h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: left;
}

.text-section p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ccc;
  max-width: 100%;
  text-align: left;
}

/* RIGHT SIDE */
.right {
  display: flex;
  flex-direction: column;
  width: 48%;
  justify-content: flex-start;
}

.right h1 {
  display: flex;
  align-items: center; /* sejajar vertikal */
  gap: 20px; /* jarak teks dan gambar */
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 30px;
}


.right img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: auto;
  animation: slideInRight 1s ease-out forwards;
}


/* ANIMATIONS */
@keyframes slideInLeft {
  from { transform: translateX(-50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInTop {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    gap: 0px;
  }

  /* Hilangkan foto kecil & foto kanan */
  .top-images img:last-child,
  .top-images img:first-child,
  .right img {
    display: none;
  }

  .right {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .left {
    order: 2;
    width: 100%;
    align-items: center;
    text-align: center;
    padding-top: 0px; /* beri jarak agar teks tidak nempel garis */
    margin-top: 0px;
  }

  .top-images {
    flex: 0 0 auto;
    max-width: 40%; /* kontrol lebar foto */
  }


  .right h2::after {
    content: "";
    display: block;
    flex-basis: 100%; 
    width: 70%;
    height: 2px;
    margin: 20px auto;
    background: #ccc;
  }

  .text-section {
    flex: 1;
    margin-top: 0;
    max-width: 100%;
  }

  .text-section h2,
  .text-section p {
  text-align: center;
  }

  .right h1 {
    font-size: 2rem;
    margin: 10px 0;
    justify-content: center;
  }
}

/* section achievement */
.works {
  background-color: white;
  color: black;
  padding: 40px 40px;
}

.achievement-content,
.whatido-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin: 0 auto;
}

.whatido-content {
  margin-top: 40px;
}

.image-stack {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-stack img {
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}




.works .text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: left;
}

.works .text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: black;
  text-align: left;
}

.works .image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}


@media (max-width: 1042px) {
  .achievement-content,
  .whatido-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .achievement-content {
    flex-direction: column;
    text-align: center;
  }

  .whatido-content {
    flex-direction: column-reverse; /* gambar di atas, text di bawah */
    text-align: center;
  }

}



/* section tools */
.project-tools {
  background-color: black;
  color: white;
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 40px;
  padding-right: 40px;
}

.tool-a-container,
.tool-b-container {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.tool-b-container,
.tool-a-container {
  margin-top: 100px;
}

.tool-a-title,
.tool-b-title {
  flex: 1;
  max-width: 300px;
  align-self: center;
}

.tool-a-title h2,
.tool-b-title h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

.tool-a-columns,
.tool-b-columns {
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 30px;
  flex-wrap: wrap;
}

.tool-b-columns {
  order: 1;
}

.tool-b-title {
  order: 2;
}

.tool-a-column,
.tool-b-column {
  flex: 1;
  border-top: 1px solid #555;
  padding-top: 15px;
  min-width: 150px;
}

.tool-a-column h3,
.tool-b-column h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: bold;
}

.tool-a-column p,
.tool-b-column p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  


  .tool-a-columns,
  .tool-b-columns {
    gap: 20px;
  }

  .tool-b-column {
    order: 2;
  }

  .tool-b-title {
    order: 1;
  }
}


.tools-container {
  padding-top: 50px;
  
}

.tools-columns {
  display: flex;
  flex-direction: row;
  background: white;
  align-items: center;
  justify-content: center;
  border-radius: 8px; /* opsional biar lebih rapi */
}

.tools-images img {
  height: 50px;   /* atur lebar sesuai kebutuhan */
  width: auto;  /* biar proporsional */
  margin: 10px;  /* jarak antar gambar */
  object-fit: contain; /* jaga gambar tidak ketarik */
  padding: 10px;
}




