@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Pacifico&display=swap");

@import url("https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-chubby/css/uicons-solid-chubby.css");

@import url("https://cdn-uicons.flaticon.com/2.6.0/uicons-solid-rounded/css/uicons-solid-rounded.css");

@import url("https://cdn-uicons.flaticon.com/2.6.0/uicons-bold-rounded/css/uicons-bold-rounded.css");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Montserrat", sans-serif;
  background-image: url("../11223344_assets/bg/wave_desktop.svg");
  background-repeat: repeat-y;
  background-size: cover;
  background-position: top center;
  padding-top: 70px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

nav {
  background: linear-gradient(to right, #002233, #002233);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  height: 100%; /* Menjaga navbar tetap tinggi */
}

.logo {
  color: white;
  font-size: 19px;
  font-weight: bold;
  text-decoration: none;
  z-index: 20;
}

.sub-logo {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #aaa;
  margin-top: 2px;
  letter-spacing: 1px;
  font-family: "Pacifico", cursive;
  font-style: italic;
  margin-top: -5px;
  margin-left: 10px;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle .bar {
  position: absolute;
  height: 3px;
  width: 100%;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.menu-toggle .bar:nth-child(1) {
  top: 5px;
}

.menu-toggle .bar:nth-child(2) {
  top: 13px;
}

.menu-toggle .bar:nth-child(3) {
  top: 21px;
}

/* Ketika aktif, ubah ikon jadi X */
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg);
  top: 13px;
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg);
  top: 13px;
}

.menu {
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.4s ease-in-out;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.menu.active {
  transform: translateY(0);
  opacity: 1;
}

.menu a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  margin-left: 20px;
}

.menu a:hover {
  color: #0066ff;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
  -webkit-focus-ring-color: transparent;
  outline: none;
}

@media (min-width: 769px) {
  .menu {
    display: flex !important;
    transform: none;
    opacity: 1;
    position: static;
    height: auto;
    background: none;
    padding: 0;
    gap: 0;
  }
}

@media (max-width: 768px) {
  body {
    background-image: url("../11223344_assets/bg/wave.svg");
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 35px;
  }

  /* menu aktif hanya di mobile */
  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background: linear-gradient(135deg, #002233, #0066ff);
    padding-top: 50px;
    padding-left: 10px;
    gap: 20px;
    z-index: 15;
  }

  .menu a {
    font-size: 18px !important;
  }

  .menu.active {
    display: flex;
  }
}

/*=======================
    | Styling Ganti Bahasa
    =======================*/
.language-switcher-mobile {
  display: flex;
  gap: 5px;
  padding-left: 20px;
}

.language-switcher-mobile button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 15px;
  color: white;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

.language-switcher-mobile button:hover {
  color: #ff0000;
}

/* Tampilan untuk mobile */
@media (max-width: 768px) {
  .language-switcher-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 40px;
    font-size: 18px;
    margin-left: -25px;
  }

  .language-switcher-mobile button {
    background: none;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    margin-top: -80px;
  }

  .language-switcher-mobile button:hover {
    color: red;
  }
}

.wave-wrapper {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.wave-svg {
  width: 100%;
  height: 100%;
  display: block;
}
/*=======================
    | Styling Card
    =======================*/

/* .kontak-section {
  padding-top: 20px;
  text-align: center;
  background-color: transparent;
  font-family: "Montserrat", sans-serif;
}

.kontak-card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  height: 300px;
  flex-direction: column;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 68px;
}

.kontak-info h3 {
  font-size: 1.8em;
  margin: 0;
  color: #fff;
  font-weight: 600;
}

.kontak-info p {
  font-size: 1em;
  color: #f0f0f0;
  margin: 6px 0;
  line-height: 1.6;
}

.kontak-info i {
  margin-right: 10px;
  color: #00bcd4;
  font-size: 1.2em;
}

.kontak-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 220px;
  align-self: center;
}

.btn-kontak {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 45px;
  background: #0066cc;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95em;
}

.btn-kontak:hover {
  background: #004c99;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-kontak.green {
  background: #25d366;
}

.btn-kontak.green:hover {
  background: #1ebe5d;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

@media (min-width: 768px) {
  .kontak-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }

  .kontak-info,
  .kontak-actions {
    flex: 1;
  }

  .kontak-actions {
    align-items: flex-end;
  }
}

@media (max-width: 768px) {
  .kontak-actions {
    padding-top: -15px;
  }

  .kontak-card {
    width: 330px;
    height: 345px;
    margin-bottom: -52px;
    margin-top: 10px;
  }

  .kontak-info h3 {
    font-size: 20px;
    margin-bottom: 25px;
  }

  .kontak-info p {
    font-size: 15px;
  }
} */

.kontak-section {
  max-width: 700px;
  margin: 50px auto;
  padding: 30px 25px;
  background: #0f0f17; /* gelap untuk kontras neon */
  border-radius: 15px;
  /* box-shadow: 0 0 15px #0ff, 0 0 30px #0ff; */
  font-family: "Orbitron", sans-serif; /* font futuristic */
  color: #0ff;
  text-align: center;
}

.kontak-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.kontak-info {
  flex: 1 1 300px;
}

.kontak-info h3 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px #0ff, 0 0 40px #00fff7;
  color: #0ff;
}

.kontak-info p {
  font-size: 1.1rem;
  margin: 8px 0;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  color: #aaffff;
}

.kontak-actions {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-kontak {
  background: transparent;
  border: 2px solid #0ff;
  color: #0ff;
  padding: 14px 25px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  text-shadow: 0 0 5px #0ff, 0 0 10px #0ff;
  box-shadow: 0 0 10px #0ff, 0 0 20px #0ff inset;
  transition: all 0.3s ease;
}

.btn-kontak:hover {
  background: #0ff;
  color: #0a0a0a;
  box-shadow: 0 0 20px #0ff, 0 0 30px #0ff inset;
  text-shadow: none;
}

.btn-kontak.green {
  border-color: #0f0;
  color: #0f0;
  text-shadow: 0 0 5px #0f0, 0 0 10px #0f0;
  box-shadow: 0 0 10px #0f0, 0 0 20px #0f0 inset;
}

.btn-kontak.green:hover {
  background: #0f0;
  color: #0a0a0a;
  box-shadow: 0 0 25px #0f0, 0 0 35px #0f0 inset;
  text-shadow: none;
}

@media (max-width: 768px) {
  .kontak-section {
    width: 350px;
    height: 390px;
    margin-top: -40px;
    border-radius: 50px;
    border-left: 5px solid #0ff;
  }

  .kontak-card {
    flex-direction: column;
    gap: 25px;
    padding: 0 15px;
  }

  .kontak-info {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 30px;
  }

  .kontak-info h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    margin-top: 30px;
  }

  .kontak-info p {
    font-size: 1rem;
  }

  .kontak-actions {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .btn-kontak {
    display: flex; /* tambahkan ini */
    justify-content: center;
    align-items: center;
    padding: 8px 15px;
    font-size: 0.95rem;
    width: 130px;
    border-radius: 8px;
    height: 50px;
  }
}

/*=====================
    | Styling footer
    =====================*/
footer {
  background: linear-gradient(to right, #002233, #002233);
  color: white;
  padding: 20px;
  text-align: center;
  width: 100%;
  margin-top: 10px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 15px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links span {
  color: white;
  font-weight: bold;
}

p a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: none;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  animation: fadeInOverlay 0.3s ease forwards;
}

.popup-content {
  background: rgba(255, 255, 255, 0.9);
  color: #002233;
  padding: 35px 30px;
  max-width: 520px;
  width: 90%;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  text-align: left;
  animation: slideInPopup 0.4s ease forwards;
  font-family: "Montserrat", sans-serif;
}

.popup-content h2 {
  margin-bottom: 18px;
  font-size: 1.75rem;
  font-weight: 700;
  color: #004aad;
}

.popup-content p {
  margin-bottom: 14px;
  line-height: 1.6;
  font-size: 1rem;
  color: #333;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 26px;
  font-weight: bold;
  cursor: pointer;
  color: #666;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #000;
}

/* Animations */
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInPopup {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
