@import url("https://fonts.googleapis.com/css?family=Quicksand:400,500,700");
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  font-size: 62.5%;
  font-size: 10px;
}

.logoLengkap {
  height: 40vh;
}

.produkTitle {
  font-size: 5em;
  font-weight: bold;
}

.abtUsTeks {
  max-width: 700px;
  font-size: 1.8rem;
}

.contactUsMap {
  height: 100%;
}

.footerDesc {
  max-width: 300px;
  font-size: 1.5em;
}

.about-section {
  height: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.list-unstyled {
  font-size: 1.5em;
}

.seoWords {
  max-width: 260px;
  font-size: 1.5em;
}

.footerList {
  color: white;
}

/* Footer text refinement */
.footerDesc,
.seoWords {
  max-width: 300px;
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Biar tetap kelihatan proporsional di desktop */
@media (min-width: 992px) {
  .footerDesc,
  .seoWords {
    text-align: left;
    margin-left: 0;
  }
}

/* Responsif untuk tablet & HP */
@media (max-width: 991px) {
  .footerDesc,
  .seoWords {
    max-width: 100%;
    text-align: center;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.5;
  }
}

/* List link di tengah juga biar simetris di mobile */
@media (max-width: 767px) {
  .list-unstyled {
    text-align: center;
    padding: 0;
  }

  .footerList {
    display: inline-block;
    margin: 2px 5px;
  }
}

#vanta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  color: white;
}

.about-section::after {
  /* Tambah overlay lembut agar teks lebih jelas */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 60, 93, 0.45); /* warna overlay sesuai tema biru laut */
  z-index: 1;
}
/* Navbar section */

.nav {
  width: 100%;
  height: 100px;
  position: fixed;
  line-height: 65px;
  text-align: center;
  z-index: 100;
}

.nav div.logo {
  float: left;
  width: auto;
  height: auto;
  /* padding-left: 3; */
}

.nav div.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 2.5rem;
}

.nav div.logo a:hover {
  color: #00e676;
}

.nav div.main_list {
  height: 65px;
  float: right;
}

.nav div.main_list ul {
  width: 100%;
  height: 65px;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 8px;
}

.nav div.main_list ul li {
  width: auto;
  height: 65px;
  padding: 0;
  padding-right: 3rem;
}

.nav div.main_list ul li a {
  text-decoration: none;
  color: #fff;
  line-height: 65px;
  font-size: 2.4rem;
}

.nav div.main_list ul li a:hover {
  color: #00e676;
}

/* Home section */

/* === Styling Kartu Produk === */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

/* Ukuran gambar seragam */
.product-card img {
  width: 100%;
  height: 255px; /* tinggi seragam */
  object-fit: cover; /* potong gambar tanpa distorsi */
  border-bottom: 1px solid #e0e0e0;
}

/* Body card */
.product-card .card-body {
  display: flex;
  flex-direction: column;
  /* height: 160px; */
}

/* Hover effect */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Judul & teks */
.product-card .card-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #0b3c5d;
}

.product-card .card-text {
  font-size: 1.4rem;
  color: #555;
}

/* Overlay di background home */
.home {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url(assets/bg.jpeg);
  background-position: center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Layer hitam semi-transparan */
.home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(196, 196, 196, 0.6);
  z-index: 1;
}

/* Teks di tengah */
.home .overlay-text {
  position: relative;
  z-index: 2; /* di atas overlay */
  color: white;
  text-align: center;
  padding: 20px;
}

.home .overlay-text h1 {
  /* font-size: 4rem; */
  margin-bottom: 10px;
}

.home .overlay-text p {
  font-size: 1.8rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

.navTrigger {
  display: none;
}

.nav {
  padding-top: 20px;
  padding-bottom: 20px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

:root {
  --svg-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1280 128'%3E%3Cpath d='M0 48c237-62 403-63 640 0 237 62 403 62 640 0v80H0V48z'/%3E%3C/svg%3E");
  --waves-width: 640px;
  --waves-height: 64px;
  --anim-duration: 5s;
  --max-width: 100%;
  /* 	--max-width: 960px; */
  --blue: #072b46;
  --blue-siw: #072b46;
  --blue-siw: hsl(207, 79%, 11%);

  /* 🎨 Exact Filter for #072b46 */
  /* Dihitung agar jika diterapkan ke elemen hitam (0,0,0), hasil visualnya identik dengan #072b46 */
  --filter-black-to-blue: invert(10%) sepia(19%) saturate(5737%) hue-rotate(177deg) brightness(90%) contrast(101%);
  --filter-black-to-blue-siw: invert(10%) sepia(19%) saturate(5737%) hue-rotate(177deg) brightness(90%) contrast(101%);
}

header,
main,
footer {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  background-color: white;
  padding: 2em;
  box-sizing: border-box;
}
footer {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  top: 15vh;
  background-color: var(--blue-siw);
  text-align: center;
}
.waves {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  height: var(--waves-height);
  top: calc(var(--waves-height) * -1);
  left: 0;
  overflow: hidden;
}
.waves li {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--waves-height);
  color: transparent;
  -webkit-user-select: none;
  user-select: none;
  background-image: var(--svg-wave);
  background-size: var(--waves-width) var(--waves-height);
  background-repeat: repeat-x;
  animation: animateWave var(--anim-duration) linear infinite;
  filter: var(--filter-black-to-blue-siw);
}
@keyframes animateWave {
  0% {
    background-position-x: 0;
  }
  100% {
    background-position-x: var(--waves-width);
  }
}
.waves li:nth-child(1) {
  bottom: -15px;
}
.waves li:nth-child(2) {
  bottom: -7px;
  opacity: 0.7;
}
.waves li:nth-child(3) {
  bottom: -5px;
  opacity: 0.5;
}
.waves li:nth-child(4) {
  opacity: 0.3;
}
.waves li:nth-child(even) {
  animation-direction: reverse;
}
.waves li:nth-child(n + 3) {
  background-size: calc(var(--waves-width) / 2);
  background-image: var(--svg-wave), linear-gradient(to top, black 50%, transparent 50%);
}

main {
  flex-grow: 999;
  padding-bottom: calc(2em + var(--waves-height));
}
/* Media qurey section */

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .navTrigger {
    display: block;
  }
  .nav div.logo {
    margin-left: 15px;
  }
  .nav div.main_list {
    width: 100%;
    height: 0;
    overflow: hidden;
  }
  .nav div.show_list {
    height: auto;
    display: none;
  }
  .nav div.main_list ul {
    flex-direction: column;
    width: 100%;
    height: 100vh;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: #111;
    /*same background color of navbar*/
    background-position: center top;
  }
  .nav div.main_list ul li {
    width: 100%;
    text-align: right;
  }
  .nav div.main_list ul li a {
    text-align: center;
    width: 100%;
    font-size: 3rem;
    padding: 20px;
  }
  .nav div.media_button {
    display: block;
  }
}

/* Animation */
/* Inspiration taken from Dicson https://codemyui.com/simple-hamburger-menu-x-mark-animation/ */

.navTrigger {
  cursor: pointer;
  width: 30px;
  height: 25px;
  margin: auto;
  position: absolute;
  right: 30px;
  top: 0;
  bottom: 0;
}

.navTrigger i {
  background-color: #fff;
  border-radius: 2px;
  content: "";
  display: block;
  width: 100%;
  height: 4px;
}

.navTrigger i:nth-child(1) {
  -webkit-animation: outT 0.8s backwards;
  animation: outT 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(2) {
  margin: 5px 0;
  -webkit-animation: outM 0.8s backwards;
  animation: outM 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger i:nth-child(3) {
  -webkit-animation: outBtm 0.8s backwards;
  animation: outBtm 0.8s backwards;
  -webkit-animation-direction: reverse;
  animation-direction: reverse;
}

.navTrigger.active i:nth-child(1) {
  -webkit-animation: inT 0.8s forwards;
  animation: inT 0.8s forwards;
}

.navTrigger.active i:nth-child(2) {
  -webkit-animation: inM 0.8s forwards;
  animation: inM 0.8s forwards;
}

.navTrigger.active i:nth-child(3) {
  -webkit-animation: inBtm 0.8s forwards;
  animation: inBtm 0.8s forwards;
}

.aboutUs {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background-color: #0a192f; /* warna dasar kalau partikel tidak tampil */
}

#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.aboutUs .container {
  position: relative;
  z-index: 2; /* supaya teks di atas partikel */
}

.aboutUs h2,
.aboutUs p {
  color: white;
}

@-webkit-keyframes inM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes inM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes outM {
  50% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(45deg);
  }
}

@keyframes outM {
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(45deg);
  }
}

@-webkit-keyframes inT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes inT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes outT {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(9px) rotate(135deg);
  }
}

@keyframes outT {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(9px) rotate(0deg);
  }
  100% {
    transform: translateY(9px) rotate(135deg);
  }
}

@-webkit-keyframes inBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes inBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

@-webkit-keyframes outBtm {
  0% {
    -webkit-transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-9px) rotate(0deg);
  }
  100% {
    -webkit-transform: translateY(-9px) rotate(135deg);
  }
}

@keyframes outBtm {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-9px) rotate(0deg);
  }
  100% {
    transform: translateY(-9px) rotate(135deg);
  }
}

.affix {
  padding: 10px;
  background-color: rgba(10, 25, 47, 0.8);
}

.myH2 {
  text-align: center;
  font-size: 4rem;
}
.myP {
  text-align: center;
  padding-left: 15%;
  padding-right: 15%;
  font-size: 20px;
}
@media all and (max-width: 700px) {
  .myP {
    padding: 2%;
  }
}
/* === Styling Card Contact === */
.contact-card {
  background: #ffffff;
  border-radius: 15px;
  border: 1px solid #dfe6ee;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-control {
  border-radius: 8px;
  border: 1px solid #ced4da;
  font-size: 2rem;
}

.form-control:focus {
  border-color: #0b3c5d;
  box-shadow: 0 0 0 0.2rem rgba(11, 60, 93, 0.2);
}

/* Tombol */
.btn-primary {
  background-color: #0b3c5d;
  border-color: #0b3c5d;
  border-radius: 8px;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #0e4b74;
  border-color: #0e4b74;
}

/* Map Styling */
.map-container iframe {
  border-radius: 15px 15px 0 0;
  filter: grayscale(20%) contrast(110%);
}

/* Responsive: stack form & map */
@media (max-width: 992px) {
  .map-container iframe {
    height: 300px;
  }
}

.contact-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}
.contact-float img {
  width: 50px;
  height: 50px;
  transition: transform 0.2s ease;
}
.contact-float img:hover {
  transform: scale(1.1);
}
.namaP {
  height: auto;
  max-height: 70px; /* batas tinggi di desktop */
  width: auto;
  max-width: 220px; /* biar gak melebar berlebihan */
  object-fit: contain; /* menjaga proporsi gambar */
  transition: all 0.3s ease;
}

/* Saat navbar mengecil (HP atau tablet) */
@media (max-width: 992px) {
  .namaP {
    max-height: 55px;
    max-width: 180px;
  }
}

@media (max-width: 576px) {
  .namaP {
    max-height: 45px;
    max-width: 150px;
  }
}
/* ==== FOOTER RESPONSIVE FIX (≤1030px) ==== */
@media (max-width: 1030px) {
  #footer footer .row {
    justify-content: center;
    text-align: center;
  }

  #footer footer .row > div {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #footer footer p.center-align {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 90%; /* biar tetap proporsional, tidak terlalu sempit */
  }

  #footer footer ul {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    text-align: center;
  }

  #footer footer li {
    display: inline-block;
    margin: 0 6px;
  }

  /* opsional: spacing biar ada ruang antar section footer */
  #footer footer h5,
  #footer footer h6 {
    text-align: center;
    margin-top: 20px;
  }
}
