:root {
  --primary: #c6d8e0;
  --bg: #020737;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "poppins, sans-serif";
  background-color: var(--bg);
  color: #fff;
}

/* navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 7%;
  background-color: rgb(1, 1, 1, 0.8);
  border-bottom: 1px solid #313979;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

.navbar .navbar-logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.navbar .navbar-logo span {
  color: var(--primary);
  font-style: italic;
}

/* Logo and text styling */
.navbar-logo {
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
}

.navbar-logo img {
  height: 40px;
  margin-right: 10px;
}

.navbar .navbar-nav a {
  color: #fff;
  display: inline-block;
  font-size: 1.4rem;
  margin: 0 1rem;
}

.navbar .navbar-nav a:hover {
  color: var(--primary);
}

.navbar .navbar-nav a::after {
  content: "";
  display: block;
  padding-bottom: 0.5rem;
  border-bottom: 0.1rem solid var(--primary);
  transform: scaleX(0);
  transition: 0.2s linear;
}

.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5);
}

/* Your regular CSS styles */

/* Navbar Extra Styles */
.navbar .navbar-extra a {
  color: #fff;
  margin: 0 0.5rem;
}

.navbar .navbar-extra a:hover {
  color: var(--primary);
}

/* Hamburger Menu Styles */
#hamburger-menu {
  display: none; /* Sembunyikan menu hamburger pada awalnya */
}

/* Display Hamburger Menu on Small Screens */
@media screen and (max-width: 758px) {
  #hamburger-menu {
    display: block; /* Tampilkan menu hamburger hanya pada layar kecil */
  }

  .navbar-nav.active {
    display: block; /* Tampilkan menu utama pada perangkat seluler */
  }
}

/* navbar search-form */
.navbar .search-form {
  position: absolute;
  top: 100%;
  right: 7%;
  background-color: #fff;
  width: 50rem;
  height: 5rem;
  display: flex;
  align-items: center;
  transform: scaleY(0);
  transform-origin: top;
  transition: 0.3s;
}

.navbar .search-form.active {
  transform: scaleY(1);
}

.navbar .search-form input {
  height: 100%;
  width: 100%;
  font-size: 1.6rem;
  color: var(--bg);
  padding: 1rem;
}

.navbar .search-form label {
  cursor: pointer;
  font-size: 2rem;
  margin-right: 1.5rem;
  color: var(--bg);
}

/* conkey viisual */
.con_keyvisual {
  margin: 54px auto 0;
  text-align: center; /* Menengahkan elemen di dalam .con_keyvisual */
  position: relative; /* Tambahkan position relative */
  overflow: hidden; /* Mengatasi potongan gambar yang berlebihan */
}

.con_keyvisual img {
  width: 90%;
  margin-top: 2rem;
}

.con_keyvisual::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  background: linear-gradient(0deg, #020737 10%, rgba(155, 255, 255, 0) 50%);
}

@media screen and (min-width: 1080px) {
  .con_keyvisual {
    margin: 98px auto -60px;
    width: 1366px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero Section */
/* .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(1, 1, 3, 1) 10%,
    rgba(155, 255, 255, 0) 50%
  );
} */

.hero .content {
  padding: 1.4rem 7%;
  max-width: 60rem;
}

.hero .content h1 {
  font-size: 5rem;
  color: #fff;
  text-shadow: 1 px 1px 3 px rgba(1, 1, 1, 0.5);
  line-height: 1.2;
}

.hero .content h1 span {
  color: var(--primary);
}

.hero .content p {
  font-size: 1.6rem;
  margin-top: 1rem;
  line-height: 1.4;
  font-weight: 100;
  text-shadow: 1 px 1px 3 px rgba(1, 1, 1, 0.5);
  mix-blend-mode: difference;
}

/* .hero .content .cta {
  margin-top: 1rem;
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.4rem;
  color: #fff;
  background-color: var(--primary);
  border-radius: 0.5rem;
  box-shadow: 1px, 1px, 3px, rgba(1, 2, 3, 0.5);
} */

/* Aboout Section */
.about,
.menu,
.products,
.contact {
  padding: 7rem 7% 1.4rem;
}

.about h2,
.menu h2,
.products h2,
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.about h2 span,
.menu h2 span,
.products h2 span,
.contact h2 span {
  color: var(--primary);
}

.about .aboutme,
.menu .menume,
.products .productme {
  font-size: 1.8rem;
  margin-bottom: 4rem;
  text-align: center;
  font-style: normal;
}

/* about 1 */
.about .row {
  display: flex;
}

.about .row .about-img {
  flex: 1 1 45rem;
}

.about .row .content {
  flex: 1 1 35rem;
}

.about .row .content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about .row .content p {
  margin-bottom: rem;
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.6;
}

.titletype_lp {
  align-items: center;
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
  background: #313979;
  padding: 10px;
  width: calc(100% - 0px);
  color: #fff;
  position: relative;
  margin-bottom: 40px;
  margin-top: 80px;
  font-style: italic;
}

.titletype_lp:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 40px 0 40px;
  border-color: #fff transparent transparent transparent;
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: auto;
}

.fixmt {
  margin-top: 14px;
}

.bg_lp {
  background: #f3f3f3;
  padding: 40px 0;
}

@media screen and (min-width: 1080px) {
  .titletype_lp {
    font-size: 1.75rem;
  }

  .bg_lp {
    background: #f3f3f3;
    padding: 100px 0 40px 0;
  }

  .w1080 {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .fixmt {
    margin-top: 88px;
  }
}

.rep_content li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #040404;
  background: var(--primary);
  background-size: cover;
  margin-bottom: 30px;
  padding: 25px 25px 25px;
  font-size: 1rem;
  flex-flow: column;
}

.rep_content li img {
  width: 100%;
  height: auto;
  max-width: 400px;

  /* Atur lebar maksimum untuk gambar */
  margin: auto;
  /* Agar gambar berada di tengah */
  display: block;
  /* Hilangkan space di bawah gambar */
}

.rep_content li div {
  width: 100%;
  padding: px 25px 25px;
  box-sizing: border-box;
  text-align: justify;
  /* Agar teks berada di tengah */
}

@media all and (-ms-high-contrast: none) and (max-width: 767px) {
  .rep_content li .rep_content li {
    display: block;
  }
}

.titletype_lp02 {
  font-size: 1.25rem;
  padding: 15px 0;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
}

@media screen and (min-width: 768px) {
  .rep_content li {
    align-items: flex-start;
    font-size: 1.125rem;
    margin-bottom: 10px;
    flex-flow: row;
  }

  .rep_content li img {
    width: 35%;
    height: auto;
  }

  .rep_content li div {
    width: 65%;
    padding: 30px;
  }

  .titletype_lp02 {
    font-size: 1.5rem;
  }
}

.lp_line {
  display: inline-block;
  padding-left: 15px;
  border-left: solid 5px var(--bg);
  font-weight: 700;
}

/* about 2 */
.about .row1 {
  display: flex;
}

.about .row1 .about-img {
  flex: 1 1 45rem;
}

.about .row1 .content1 {
  flex: 1 1 35rem;
}

.about .row1 .content1 h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about .row1 .content1 p {
  margin-bottom: rem;
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1.6;
}

.titletype_lp1 {
  align-items: center;
  font-size: 2rem;
  line-height: 1.6;
  text-align: center;
  background: #313979;
  padding: 10px;
  width: calc(100% - 0px);
  color: #fff;
  position: relative;
  margin-bottom: 40px;
  margin-top: 80px;
  font-style: italic;
}

.titletype_lp1:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 40px 0 40px;
  border-color: #fff transparent transparent transparent;
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: auto;
}

.fixmt1 {
  margin-top: 14px;
}

.bg_lp1 {
  background: #f3f3f3;
  padding: 40px 0;
}

@media screen and (min-width: 1080px) {
  .titletype_lp1 {
    font-size: 1.75rem;
  }

  .bg_lp1 {
    background: #f3f3f3;
    padding: 100px 0 40px 0;
  }

  .w1080 {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  .fixmt {
    margin-top: 88px;
  }
}

.rep_content1 li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #333;
  background: var(--primary);
  background-size: cover;
  margin-bottom: 30px;
  padding: 25px 25px 25px;
  font-size: 1rem;
  flex-flow: column;
}

.rep_content1 li img {
  width: 100%;
  height: auto;
  max-width: 400px;

  /* Atur lebar maksimum untuk gambar */
  margin: auto;
  /* Agar gambar berada di tengah */
  display: block;
  /* Hilangkan space di bawah gambar */
}

.rep_content1 li div {
  width: 100%;
  padding: px 25px 25px;
  box-sizing: border-box;
  text-align: justify;
  /* Agar teks berada di tengah */
}

@media all and (-ms-high-contrast: none) and (max-width: 767px) {
  .rep_content1 li .rep_content1 li {
    display: block;
  }
}

.titletype_lp02 {
  font-size: 1.25rem;
  padding: 15px 0;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
}

@media screen and (min-width: 768px) {
  .rep_content1 li {
    align-items: flex-start;
    font-size: 1.125rem;
    margin-bottom: 10px;
    flex-flow: row;
  }

  .rep_content1 li img {
    width: 35%;
    height: auto;
  }

  .rep_content1 li div {
    width: 65%;
    padding: 30px;
  }

  .titletype_lp02 {
    font-size: 1.5rem;
  }
}

.lp_line1 {
  display: inline-block;
  padding-left: 15px;
  border-left: solid 5px var(--bg);
  font-weight: 700;
}
/* menu section */
.menu h2,
.contact h2 {
  margin-bottom: 1rem;
}

.menu p,
.contact p {
  text-align: center;
  max-width: 30rem;
  margin: auto;
  font-weight: 100;
  line-height: 1.6;
}

.menu .row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5rem;
  justify-content: center;
}

/* CSS untuk tata letak dan gaya menu */

.menu .row .menu-card {
  text-align: center;
  margin-bottom: 3rem; /* Tambahkan margin di bagian bawah card */
}

.menu .row .menu-card img {
  width: 80%; /* Sesuaikan lebar gambar sesuai kebutuhan */
  max-width: 250px; /* Batasi lebar maksimal gambar */
  height: auto; /* Biarkan tinggi mengikuti lebar secara proporsional */
  display: block; /* Membuat gambar menjadi blok sehingga margin auto bekerja */
  margin: 0 auto 1rem; /* Tambahkan margin untuk penyesuaian vertikal */
  margin-bottom: 1rem; /* Tambahkan margin di bagian bawah gambar */
}

.menu .row .menu-card .menu-card-title {
  margin: 1.5rem auto 1rem;
}

/* Pruduct sectiion */
.products .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 2fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.products .product-card {
  text-align: center;
  border: 1px solid #666;
  padding: 2rem;
}

.products .product-icons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.products .product-icons a {
  width: 4rem;
  height: 4rem;
  color: #fff;
  margin: 0.3rem;
  border: 1px solid #666;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.products .product-icons a:hover {
  background-color: var(--primary);
  border: 1px solid var(--primary);
}

.products .product-image {
  padding: 1rem 0;
}

.products .product-image img {
  height: 15rem;
}

.products .product-stars {
  font-size: 1.7rem;
  padding: 0.8rem;
  color: var(--primary);
}

.products .product-stars .star-full {
  fill: var(--primary);
}

/* contact  section */
.contact .row {
  display: flex;
  margin-top: 2rem;
  background-color: #fff;
}

.contact .row .map {
  flex: 0.5 0.5 30rem;
  width: 80%;
  margin: 1rem;
  object-fit: cover;
}

/* Perbaikan CSS untuk form kontak */
.contact .row form {
  flex: 0.5 0.5 30rem;
  text-align: center;
  font-size: 1.7rem;
  background: none;
}

.contact .row form .input-group {
  display: flex;
  align-items: center;
  margin: 1rem;
  background-color: #c6d8e0;
  border: 1px solid var(--bg);
  padding: 7px; /* Tambahkan padding agar lebih rapi */
}

.contact .row form .input-group label {
  flex: 0.3; /* Agar label mengambil sebagian ruang di dalam input-group */
  font-size: 1.3rem;
  color: rgba(1, 1, 3, 1);
  padding-right: 10px; /* Tambahkan padding di sebelah kanan untuk jarak antara label dan input */
}

.contact .row form .input-group input,
.contact .row form .input-group textarea {
  flex: 1; /* Agar input dan textarea dapat mengambil ruang tersisa di dalam input-group */
  font-size: 1.3rem;
  font-family: inherit; /* Gunakan jenis font yang sama dengan parent element (form) */
  background: none;
  color: rgba(1, 1, 3, 1);
  border: none; /* Hapus border agar tampak lebih rapi */
  overflow-y: auto;
}

.contact .row form .input-group textarea {
  resize: none; /* Agar textarea tidak dapat diresize oleh pengguna */
}

.contact .row form .btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.7rem;
  color: rgba(1, 1, 3, 1);
  background-color: var(--primary);
  cursor: pointer;
  margin-bottom: 1rem;
  border: none;
  border-radius: 5px;
}

/* Popup Button Styles */
.popup-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
}


/* Popup Styles */
/* Popup Styles */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}



.btn {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* Additional styles for SweetAlert */
.swal2-popup {
  font-size: 16px;
}


/* CSS untuk contact-info */
.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 800px;
  margin: 1rem auto;
  margin-left: 1rem;
}

.info-item {
  flex: 0 0 calc(100% - 20px); /* Mengambil seluruh lebar row dengan jarak margin 20px */
  text-align: center;
  background-color: #c6d8e0;
  padding: 20px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

/* CSS untuk ikon dan judul */
/* CSS untuk ikon dan judul */
.info-item i {
  font-size: 24px;
  margin-bottom: 5px;
  margin-right: 5px; /* Atur margin kanan untuk memberikan jarak antara icon dan teks */
  display: block; /* Mengubah i menjadi blok agar memiliki lebar penuh */
}

.info-item h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px; /* Atur margin bawah untuk memberikan jarak antara judul dan paragraf */
}

/* CSS untuk teks kontak */
.info-item p {
  font-size: 16px;
  color: rgba(1, 1, 3, 1);
  line-height: 1.6; /* Tinggi baris agar huruf melebar */
  margin-bottom: 10px;
}

/* footer */
footer {
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}

footer .socials {
  padding: 1rem 0;
}

footer .socials a {
  margin: 1rem;
  color: #fff;
}

footer .socials a:hover,
footer .links a:hover {
  color: #0018ff;
}

footer .links {
  margin-bottom: 1.4rem;
}

footer .links a {
  color: #fff;
  padding: 0.7rem 1rem;
}

footer .credit {
  font-size: 0.8rem;
}

footer .credit a {
  color: #fff;
  font-weight: 700;
}

/* Modal Box */
/* item Detail */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
  position: relative;
  background-color: #fefefe;
  color: var(--bg);
  margin: 15% auto;
  padding: 1.2rem;
  border: 1px solid #666;
  width: 80%;
  height: 50%;
  animation: animateModal 0.5s;
}

/* modal animation */
@keyframes animateModal {
  from {
    top: -3000px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

.modal-container .close-icon,
.modal-container2 .close-icon-2,
.modal-container3 .close-icon-3,
.modal-container4 .close-icon-4 {
  position: absolute;
  right: 1rem;
}

.modal-content {
  display: flex;
  flex-wrap: nowrap;
}

.modal-content img {
  height: 20rem;
  margin-right: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

.modal-content p {
  font-size: 1.2rem;
  line-height: 1.8rem;
  margin-top: 1.2rem;
}

.modal-content a {
  display: flex;
  gap: 1rem;
  width: 12rem;
  background-color: var(--primary);
  color: #fff;
  margin-top: 1rem;
  padding: 1rem 1.6rem;
}

/* media queries */

/* laptop */
@media (min-width: 1366px) {
  html {
    font-size: 75%;
  }
}

/* tablet */
@media (max-width: 758px) {
  html {
    font-size: 62.5%;
  }
  .navbar-logo img {
    height: 30px; /* Adjust the height for tablets */
  }

  .navbar .navbar-nav {
    position: absolute;
    top: 100%;
    right: -100%;
    background-color: #fff;
    width: 30rem;
    height: 100vh;
  }

  .navbar .navbar-nav.active {
    right: 0;
  }

  .navbar .navbar-nav a {
    color: var(--bg);
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 2rem;
  }

  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }

  .navbar .navbar-nav a::hover {
    transform: scaleX(0.2);
  }

  .navbar .search-form {
    width: 90%;
    right: 2rem;
  }

  .about .row {
    flex-wrap: wrap;
  }

  .about .row .about-img img {
    height: 24rem;
    object-fit: cover;
    object-position: center;
  }

  .about .row .content {
    padding: 0;
  }

  .about .row .content h3 {
    margin-top: 1rem;
    font-size: 1.6rem;
  }

  .about .row .content p {
    font-size: 1.6rem;
  }

  .rep_content li img {
    flex-wrap: wrap;
  }
  .menu p {
    font-size: 1.2rem;
  }

  .contact .row {
    flex-wrap: wrap;
  }

  .contact .row .map {
    height: 30rem;
  }

  .contact .row form {
    padding-top: 0;
    margin-top: 1rem;
  }

  .contact .row textarea {
    padding-top: 0;
  }

  .contact .row .contact-info {
    flex-wrap: wrap;
  }
  .contact-info {
    flex-direction: column; /* Mengubah orientasi menjadi kolom */
    align-items: center; /* Pusatkan item-info secara horizontal pada tablet */
  }

  .info-item {
    width: 100%; /* Mengisi seluruh lebar layar pada mode tablet */
    margin: 0 auto 20px; /* Memberikan jarak bawah antara info-item pada mode tablet */
  }

  .modal-content {
    flex-wrap: wrap;
  }
  /* mobile-phone */
  @media (max-width: 450px) {
    html {
      font-size: 55%;
    }
  }
}
