/* Reset dasar */
html,
body {
  scroll-behavior: smooth;
  background-color: #000000;
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  font-style: normal;
}

/* Gunakan gambar sebagai elemen agar proporsional */
.background {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.background img {
  width: 100%; /* Lebar menyesuaikan layar */
  height: auto; /* Tinggi otomatis, tidak terpotong */
  display: block;
}

/* Konten di atas gambar */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 15px 0px;
  /* background: rgba(0, 0, 0, 0.3); Transparan */
  z-index: 10;
  backdrop-filter: blur(5px); /* efek kaca (opsional) */
}

.logo {
  display: flex;
  align-items: center;
  gap: 50px;
}

.logo img {
  width: 100%;
  height: 5rem;
}

.logo span {
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.3em;
  font-weight: 700;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00bfff;
}

/* Hero Section */
.hero {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%);
  padding: 20px 40px;
}

.hero img {
  height: 20em;
  width: 100%;
}

/* after hero */
.after-hero {
  position: absolute;
  bottom: 7%;
  left: 50%;
  transform: translate(-50%);
  color: white;
  text-align: center;
  padding: 20px;
  width: 80vw;
  /* background: rgba(0, 0, 0, 0.3); */
}

.after-hero h1 {
  font-size: 7rem;
  font-weight: 900;
  letter-spacing: 3px;
  line-height: 1;
}

.after-hero .buttons {
  padding: 50px;
  display: flex;
  justify-content: center;
  gap: 150px;
}

.after-hero .buttons .btn {
  display: inline-block;
  padding: 2rem 4rem;
  font-size: 2rem;
  color: white;
  border-radius: 50px;
  background: linear-gradient(90deg, #007bff, #00e5ff);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

/* end after hero */

/* About */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
  background-color: #000000;
  color: #fff;
}

.content {
  max-width: 50vw;
}

.about h1 {
  font-weight: 900;
  font-size: 7rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.about p {
  margin-top: 8rem;
  font-weight: 700;
  font-size: 1.5em;
  line-height: 2;
  margin-bottom: 1rem;
}
/* end About */

/* core */
.core {
  background: url("../img/core.webp") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1250px;
  text-align: center;
}

.core .content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.core h1 {
  font-weight: 900;
  font-size: 7em;
  margin-top: 5rem;
  color: #ffffff;
  line-height: 1;
}
.core .icons-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.core .content .row {
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 6rem;
}

.core .content .icons-grid .row img {
  height: 14rem;
  color: #ffffffcc;
  transition: all 0.3s ease;
}

/* end core */

/* bg after core */
.bg {
  background: url("../img/bg2.webp") center/cover no-repeat;
  height: 1200px;
}

/* end */

/* portofolio */
.portofolio {
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1300px;
  text-align: center;
}

.portofolio .portofolio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portofolio .portofolio-content h1 {
  font-weight: 900;
  font-size: 7em;
  margin-top: 1rem;
  color: #ffffff;
  line-height: 1;
}
.portofolio .icons-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  bottom: 5rem;
}

.portofolio .portofolio-content .row {
  padding: 40px;
  display: flex;
  justify-content: center;
  gap: 6rem;
}

.portofolio .portofolio-content .icons-grid .row img {
  height: 13rem;
  color: #ffffffcc;
  transition: all 0.3s ease;
}
.portofolio .portofolio-content .buttons {
  padding: 150px;
  display: flex;
  justify-content: center;
  gap: 150px;
}

.portofolio .portofolio-content .buttons .btn {
  display: inline-block;
  padding: 2rem 4rem;
  font-size: 2rem;
  color: white;
  border-radius: 50px;
  background: linear-gradient(90deg, #007bff, #00e5ff);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}

.portofolio .portofolio-content .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.4);
}

/* end portofolio */

/* banner */
.banner {
  background: url("../img/banner.webp") center/cover no-repeat;
  height: 500px;
}
/* end banner */

/* registration */
.registration {
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1400px;
  text-align: center;
}

.registration .registration-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.registration .registration-content h1 {
  font-weight: 900;
  font-size: 7em;
  margin-top: 1rem;
  margin-bottom: 6rem;
  color: #ffffff;
  line-height: 1;
}

.registration .registration-content .form-box {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 700px;
  padding: 80px;
  text-align: left;
}

/* ==== FORM ELEMENTS ==== */
.registration .registration-content .form-box form {
  display: flex;
  flex-direction: column;
}

.registration .registration-content .form-box label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 1em;
}

input,
textarea {
  background: #f1f1f1;
  border: none;
  padding: 10px 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  color: #333;
  outline: none;
  transition: 0.3s, border-left 0.3s;
}

input:focus,
textarea:focus {
  background: #e9f6ff;
  border-left: 3px solid #00bfff;
}

/* ==== BUTTON ==== */
.registration .registration-content .form-box button {
  margin-top: 70px;
  border: none;
  padding: 1rem;
  font-size: 1.5rem;
  color: white;
  border-radius: 50px;
  background: linear-gradient(90deg, #007bff, #00e5ff);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 700;
}

.registration .registration-content .form-box button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

/* end registration  */

/* footer */
.footer {
  background: url("../img/footer.webp") center/cover no-repeat;
  height: 900px;
}

.footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer .footer-content .img {
  margin-top: 5rem;
  height: 25em;
  /* width: 100%; */
}

.footer .footer-content .text {
  margin-top: 6rem;
  font-weight: 300;
  font-size: 1.5em;
  margin-bottom: 6rem;
  color: #fff;
}

.footer .footer-content .item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  margin: auto;
}

/* Gambar */
.footer .footer-content .item-row img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  margin-right: 20px;
}

.footer .footer-content .item-text {
  flex: 1; /* supaya teks mengisi ruang di antara gambar dan link */
}

.footer .footer-content .item-text a {
  text-decoration: none;
  margin-top: 6rem;
  font-weight: 700;
  font-size: 1.5em;
  color: #fff;
}
/* end footer */

/* Responsive */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* display: flex; */
    justify-content: start;
    align-items: center;
    padding: 5px 10px;
    /* background: rgba(0, 0, 0, 0.3); Transparan */
    z-index: 10;
    backdrop-filter: blur(5px); /* efek kaca (opsional) */
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .logo img {
    width: 100%;
    height: 2rem;
  }

  .logo span {
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .nav-links {
    list-style: none;
    display: flex;
    gap: 0.8em;
  }

  .nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.9em;
    font-weight: 700;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #00bfff;
  }
  /* End Navbar */

  /* Hero */
  .hero {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translate(-50%);
    padding: 20px 40px;
  }
  .hero img {
    height: 5em;
    width: auto;
  }
  /* End Hero */

  /* after hero */
  .after-hero {
    position: absolute;
    bottom: 1%;
    left: 50%;
    transform: translate(-50%);
    color: white;
    text-align: center;
    padding: 20px;
    width: 100vw;
    /* background: rgba(0, 0, 0, 0.3); */
  }

  .after-hero h1 {
    padding: 0 30px;
    font-size: 1.8rem;
    line-height: 1;
  }

  .after-hero .buttons {
    padding: 10px 25px;
    gap: 25px;
  }

  .after-hero .buttons .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 700;
  }
  /* end after hero */

  /* About */
  .about {
    height: 600px;
  }

  .content {
    max-width: 75vw;
  }

  .about h1 {
    font-size: 1.8rem;
  }

  .about p {
    margin-top: 2rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  /* end About */

  /* core */
  .core {
    height: 450px;
    width: 100vw;
  }

  .core h1 {
    font-size: 1.8rem;
    margin-top: 25px;
  }
  .core .icons-grid {
    gap: 1rem;
  }

  .core .content .row {
    padding: 10px;
    gap: 2rem;
  }

  .core .content .icons-grid .row img {
    height: 5rem;
  }
  /* end core */

  /* bg after core */
  .bg {
    height: 200px;
    width: 100vw;
  }
  /* end */

  /* portofolio */
  .portofolio {
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    text-align: center;
  }

  .portofolio .portofolio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .portofolio .portofolio-content h1 {
    font-weight: 900;
    font-size: 1.8rem;
    margin: 50px 0;
    color: #ffffff;
    line-height: 1;
  }
  .portofolio .icons-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    bottom: 5rem;
  }

  .portofolio .portofolio-content .row {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .portofolio .portofolio-content .icons-grid .row img {
    height: 4rem;
    color: #ffffffcc;
    transition: all 0.3s ease;
  }
  .portofolio .portofolio-content .buttons {
    padding: 50px 25px;
    gap: 25px;
  }

  .portofolio .portofolio-content .buttons .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 700;
  }
  /* end portofolio */

  /* banner */
  .banner {
    background: url("../img/bannerm.webp") center/cover no-repeat;
    height: 150px;
  }
  /* end banner */

  /* registration */
  .registration {
    height: 800px;
  }

  .registration .registration-content h1 {
    font-size: 1.8em;
    margin-top: 1rem;
    margin-bottom: 5rem;
    line-height: 1;
  }

  .registration .registration-content .form-box {
    width: 100%;
    max-width: 250px;
    padding: 30px;
  }

  /* ==== FORM ELEMENTS ==== */

  .registration .registration-content .form-box label {
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.8rem;
  }

  input,
  textarea {
    padding: 5px;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  /* ==== BUTTON ==== */
  .registration .registration-content .form-box button {
    margin-top: 30px;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 700;
  }
  /* end registration  */

  /* footer */
  .footer {
    background: url("../img/footer.webp") center/cover no-repeat;
    height: 300px;
  }

  .footer .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer .footer-content .img {
    margin-top: 2rem;
    height: 10em;
    /* width: 100%; */
  }

  .footer .footer-content .text {
    margin-top: 3rem;
    font-weight: 300;
    font-size: 1em;
    margin-bottom: 3rem;
    color: #fff;
  }

  .footer .footer-content .item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
  }

  /* Gambar */
  .footer .footer-content .item-row img {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 20px;
  }

  .footer .footer-content .item-text {
    flex: 1; /* supaya teks mengisi ruang di antara gambar dan link */
  }

  .footer .footer-content .item-text a {
    text-decoration: none;
    margin-top: 3rem;
    font-weight: 700;
    font-size: 1em;
    color: #fff;
  }
  /* end footer */
}
