/* === GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

/* === Background === */
#animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(-45deg, #3aa9d8, #54244c, #221754, #791a37);
  background-size: 600% 600%;
  animation: bgAnimation 5s ease infinite;
  z-index: -1;
}

@keyframes bgAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === Navigation === */
.top-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1.2rem;
}

.menu-wrapper {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-btn {
  padding: 10px 22px;
  background: linear-gradient(to right, #00d2ff, #3a7bd5);
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
}

.menu-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 210, 255, 0.5);
}

.menu-btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 210, 255, 0.7);
}


/* === Header Bar === */
.contact-header-bar {
  width: 80%;
  max-width: 720px;
  height: 16px;
  background: linear-gradient(to right, #00d2ff, #3a7bd5);
  border-radius: 50px;
  margin: 20px auto 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-header-bar span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #00d2ff;
  padding: 10px 40px;
  border-radius: 30px;
  color: white;
  font-weight: bold;
  font-size: 1.1rem;
}

/* === Sosial Link === */
.social-links {
  margin: 2rem auto;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 2rem;
}

.social-links a {
  color: white;
  transition: transform 0.3s ease, color 0.3s;
}

.social-links a:hover {
  color: #00d2ff;
  transform: scale(1.2);
}

/* === Form Kontak === */
.contact-form-container {
  display: flex;
  justify-content: center;
  padding: 1rem;
  margin-top: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.contact-form input,
.contact-form textarea {
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  outline: none;
}

.contact-form button {
  padding: 12px;
  background: linear-gradient(to right, #00c6ff, #0072ff);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.contact-form button:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .menu-wrapper button {
    width: 100%;
    max-width: 100px;
    font-size: 0.9rem;
    padding: 10px 10px;
  }
  .menu-btn{
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
  }

  .menu-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 210, 255, 0.5);
  }

  .menu-btn:nth-child(1) { order: 1; } /* About me */
  .menu-btn:nth-child(2) { order: 3; } /* Project */
  .menu-btn:nth-child(3) { order: 2; } /* Home */
  .menu-btn:nth-child(4) { order: 4; } /* Contact */
  .menu-btn:nth-child(5) { order: 5; } /* Produk */

}