* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #080b0c;
}

header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url(../../assets/img/wall.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.container {
  width: 80%;
  margin-inline: auto;
}

.navbar {
  padding: 20px 0 20px 0;
  position: fixed;
  width: 100%;
  transition: all 0.3s ease;
  z-index: 9999;
}

.navbar.scrolling-active {
  background-color: #2138ab;
  padding: 30px 0 30px 0;
}

.navbar .box-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .box-navbar .logo img {
  width: 100%;
  height: 40px;
}

.navbar .box-navbar .menu {
  display: flex;
  column-gap: 20px;
}

.navbar .box-navbar .menu li {
  list-style-type: none;
}

.navbar .box-navbar .menu li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px 10px 15px;
}

.navbar .box-navbar .menu .active a {
  background-color: #2138ab;
}

.navbar .box-navbar .menu li a:hover {
  background-color: #1b2e8b;
  transition: all 0.3s ease;
}

.menu-bar {
  font-size: 18px;
  display: none;
  width: 80px;
  height: 50px;
  background-color: transparent;
  font-weight: bold;
  color: white;
  border: black;
  cursor: pointer;
  border-radius: 5px;
}

.hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 50px;
}

.hero .box-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  column-gap: 50px;
}

.hero .box-hero .box:nth-child(1) h1 {
  color: white;
  font-size: 3vw;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero .box-hero .box:nth-child(1) p {
  line-height: 2;
  color: white;
  margin-bottom: 20px;
  font-weight: 100;
}

.hero .box-hero .box:nth-child(1) button {
  width: 180px;
  height: 50px;
  background-color: #2138ab;
  font-weight: bold;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.hero .box-hero .box:nth-child(1) button:hover {
  background-color: #1b2e8b;
  transition: all 0.3s ease;
}

.hero .box-hero .box:nth-child(2) img {
  width: 100%;
}

.unggul {
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  padding: 100px 0 50px 0;
}

.unggul .box-unggul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 50px;
}

.unggul .box-unggul .box {
  width: 300px;
  text-align: center;
  color: white;
}

.unggul .box-unggul .box i {
  font-size: 40px;
  margin-bottom: 10px;
  color: #2138ab;
}

.unggul .box-unggul .box p {
  font-weight: 100;
}

.project {
  padding: 50px 0 50px 0;
}

.project .box-project {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  row-gap: 50px;
}

.project .box-project .box {
  text-align: center;
  color: white;
  transition: all 0.3s ease;
}

.project .box-project .box:hover {
  transform: translateY(-20px);
}

.project .box-project .box img {
  width: 100%;
  height: 200px;
  margin-bottom: 10px;
  border-radius: 5px;
}

.project .box-project .box p {
  font-weight: 100;
  margin-bottom: 10px;
}

.project .box-project .box button {
  width: 120px;
  height: 40px;
  border: none;
  background-color: #2138ab;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.project .box-project .box button:hover {
  background-color: #1b2e8b;
  transition: all 0.3s ease;
}

.medsos {
  padding: 50px 0 100px 0;
}

.medsos .box-medsos {
  color: white;
  text-align: center;
}

.medsos .box-medsos h1 {
  margin-bottom: 50px;
}

.medsos .box-medsos h3 {
  font-weight: 400;
  margin: 10px;
  animation: animasi 2s infinite;
}

@keyframes animasi {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.medsos .box-medsos button {
  border: none;
  min-width: 100px;
  min-height: 40px;
  border-radius: 5px;
  cursor: pointer;
  background-color: #2138ab;
  color: white;
  padding-inline: 10px;
}

.medsos .box-medsos button i {
  font-size: 16px;
  font-weight: bold;
  margin-inline: 5px;
}

.footer {
  padding: 50px 0 50px 0;
  background-color: #2138ab;
}

.footer .box-footer {
  display: grid;
  grid-template-columns: 2fr auto 2fr;
  column-gap: 100px;
  align-items: center;
}

.footer .box-footer .box {
  color: white;
}

.footer .box-footer .box:nth-child(2) {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.footer .box-footer .box:nth-child(2) a {
  text-decoration: none;
  color: white;
  font-weight: 200;
}

.footer .box-footer .box p {
  font-weight: 200;
}

.footer .box-footer .box i {
  margin-right: 5px;
}

.footer .box-footer .box:nth-child(1) p {
  font-size: 15px;
  line-height: 2;
  margin-top: 10px;
}

.footer .box-footer .box:nth-child(3) {
  text-align: center;
}

.footer .box-footer .box:nth-child(3) span {
  font-weight: bold;
}

@media screen and (max-width: 1200px) {
  .hero .box-hero .box:nth-child(1) button {
    width: 150px;
  }
}

@media screen and (max-width: 990px) {
  .menu-bar {
    display: block;
  }

  .navbar .box-navbar .menu {
    position: absolute;
    flex-direction: column;
    width: 100%;
    height: 300px;
    row-gap: 20px;
    justify-content: center;
    align-items: center;
    top: 70px;
    right: 50%;
    transform: translateX(50%);
    opacity: 0;
    transition: all 0.3s ease;
    background-color: #0050b3;
  }

  .navbar .box-navbar .menu.menu-active {
    top: 80px;
    opacity: 1;
    border-top: 1px solid white;
  }

  .hero .box-hero .box:nth-child(1) p {
    font-size: 14px;
  }

  .medsos .box-medsos h1 {
    font-size: 28px;
  }

  .footer .box-footer {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .hero .box-hero {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(1, 1fr);
    row-gap: 10px;
  }

  .hero .box-hero .box:nth-child(1) {
    order: 2;
    text-align: center;
  }

  .hero .box-hero .box:nth-child(2) {
    order: 1;
    text-align: center;
  }

  .hero .box-hero .box:nth-child(2) img {
    width: 55vw;
    margin-top: 50px;
  }
}

@media screen and (max-width: 575px) {
  .hero .box-hero .box:nth-child(1) h1 {
    font-size: 18px;
  }
}

@media screen and (max-width: 475px) {
  .medsos .box-medsos button {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 370px) {
  .hero .box-hero .box:nth-child(2) {
    width: 55vw;
    align-self: flex-end;
    justify-self: center;
  }

  .project .box-project {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

.detail-page {
  width: 100%;
  padding-top: 80px;
}

.detail-page section {
  padding: 40px 60px;
}

.detail-page .header-detail {
  text-align: center;
}

.detail-page .header-detail h1 {
  font-size: 36px;
  font-weight: 700;
  color: #f9fafb;
}

.detail-page .header-detail p {
  color: #d1d5db;
  margin-top: 10px;
}

.detail-page .galeri {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.detail-page .galeri img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.detail-page .tentang h2,
.detail-page .spesifikasi h2,
.detail-page .tipe h2 {
  color: #f9fafb;
  margin-bottom: 15px;
}

.detail-page .tentang p {
  color: #d1d5db;
  max-width: 800px;
  line-height: 1.7;
}

.detail-page .spesifikasi ul {
  list-style: disc;
  padding-left: 20px;
}

.detail-page .spesifikasi li {
  color: #d1d5db;
  margin-bottom: 8px;
}

.detail-page .tipe-card {
  margin-top: 20px;
  padding: 25px;
  max-width: 320px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.15);
}

.detail-page .tipe-card h3 {
  color: #f9fafb;
  margin-bottom: 10px;
}

.detail-page .tipe-card p {
  color: #d1d5db;
}

.detail-page .lokasi {
  text-align: center;
}

.detail-page .lokasi h2 {
  color: #f9fafb;
}

.detail-page .btn-wa {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 30px;
  font-weight: 600;
}

.tipe {
  padding: 60px 0;
  color: white;
}

.tipe h2 {
  text-align: center;
  margin-bottom: 40px;
}

.tipe-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.tipe-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2138ab;
  border-radius: 12px;
  padding: 25px;
  transition: 0.3s ease;
}

.tipe-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.1);
}

.tipe-card h3 {
  margin-bottom: 15px;
  color: #ffffff;
}

.tipe-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 15px;
}

.tipe-card ul li {
  font-weight: 300;
  margin-bottom: 8px;
}

.tipe-card .harga {
  font-weight: bold;
  color: #22c55e;
}

.detail-page .tipe-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.detail-page .tipe-card {
  width: 280px;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tipe-card {
  overflow: hidden;
  padding: 0;
}

.tipe-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.tipe-card h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  padding: 0 20px;
}

.tipe-card ul {
  padding: 0 20px;
  margin-bottom: 15px;
}

.tipe-card .harga {
  padding: 0 20px;
  margin-bottom: 20px;
}

.tipe-card .btn-wa {
  margin: 0 20px 25px 20px;
  display: block;
  text-align: center;
}


