/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica", sans-serif;
}

/* ================= NAVBAR ================= */
.navbar {
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 80px;
  background: transparent !important;
  z-index: 999;
}

.navbar .nav-link {
  color: white !important;
  margin-left: 25px;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: 0.2s;
}

.navbar .nav-link:hover {
  opacity: 0.6;
}

.follow {
  padding-right: 20px;
}

/* ================= CAROUSEL ================= */
.carousel {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* overlay gelap */
.carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 2.5s ease;
  position: relative;
  z-index: 0;
}

.slide {
  min-width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* tombol */
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px 18px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 25px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
  z-index: 2;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev { left: 20px; }
.next { right: 20px; }

/* ================= COMPANY ================= */
.company {
  padding: 80px 40px;
  max-width: 1200px;
  margin: auto;
  text-align: justify;
}

.company p {
  font-family:'Times New Roman', Times, serif;
  font-size: 22px;
  line-height: 1.6;
}

.company a {
  color: #6b6868;
  text-decoration: none;
}

/* ================= PORTFOLIO ================= */
.porto-terbaru {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 hanya 2 per baris */
  gap: 30px;
  background-color: black;
  padding-left: 120px;
  margin: 0 auto ;
  justify-content: center ;
  align-items: center;
  /* max-width: 900px; */
}


.porto {
  width: 100%;
}

.porto a {
  text-decoration: none;
  color: inherit;
}

.porto img {
  width: 80%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.porto video {
  width: 80%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.porto p {
  padding-top: 20px;
  color: white;
}

/* ================= MORE ================= */
.more {
  text-align: center;
  padding: 50px 0;
}

.more a {
  color: #fff;
  text-decoration: none;
}

.more h2 {
  font-family: "Lucida Sans", Geneva, Verdana, sans-serif;
  font-size: 24px;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
/* Mobile */
@media (max-width: 576px) {
  .navbar {
    padding: 16px 20px;
  }

  .navbar .nav-link {
    font-size: 12px;
    margin-left: 10px;
  }

  .carousel {
    height: 55vh;
  }

  .prev,
  .next {
    padding: 6px 10px;
    font-size: 18px;
  }

  /* ================= PORTFOLIO MOBILE ================= */
  .porto-terbaru {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr; /* 🔥 1 kolom */
    gap: 25px;
    text-align: center;
  }

  .porto {
    display: flex;
    flex-direction: column;
    align-items: center; /* 🔥 konten tengah */
  }

  .porto img {
    width: 100%;        /* 🔥 full lebar container */
    max-width: 320px;   /* 🔥 biar nggak kegedean */
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
  }
   .porto video {
    width: 100%;        /* 🔥 full lebar container */
    max-width: 320px;   /* 🔥 biar nggak kegedean */
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
  }

  .porto p {
    padding-top: 14px;
    font-size: 14px;
  }

  .company {
    padding: 60px 20px;
  }
}

