@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* BACKGROUND VIDEO */
#myVideo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* NAVBAR */
nav {
  width: 100%;
  height: 10vh;
  position: relative !important;
  top: 0;
  z-index: 10;
}

.nav-container {
  width: 100%;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

.logo span {
  color: rgb(58, 211, 3);
  text-shadow: 0 0 10px rgb(58, 211, 3);
}

.hamburg,
.cancel {
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
  color: white;
  display: none;
  font-size: clamp(2rem, 1rem + 3vw, 2.5rem);
}

.nav-container .links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-container .links .link a {
  font-size: 1rem;
  color: white;
  text-decoration: none;
  font-weight: 550;
  transition: 0.3s linear;
  padding-bottom: 3px;
}

.nav-container .links .link a:hover {
  color: rgb(58, 211, 3);
  border-bottom: 2px solid rgb(58, 211, 3);
}

.nav-container .links .active a {
  color: rgb(58, 211, 3);
  border-bottom: 2px solid rgb(58, 211, 3);
}

/* DROPDOWN MOBILE */
.dropdown {
  z-index: 9;
  position: absolute;
  top: 0;
  transform: translateY(-500px);
  width: 100%;
  height: auto;
  backdrop-filter: blur(4px) brightness(40%);
  box-shadow: 0 0 20px black;
  transition: 0.2s linear;
}

.dropdown .links {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropdown .links a {
  display: flex;
  color: white;
  text-decoration: none;
  padding: 15px 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  transition: 0.2s linear;
}

.dropdown .links a:hover {
  background-color: rgb(58, 211, 3);
}

.dropdown .cancel {
  position: relative;
  margin: 10px 0 15px;
}

/* MAIN SECTION */
section {
  width: 100%;
  min-height: 100vh;
  height: auto;
  display: flex;
  align-items: center;
}

.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.main-container .content {
  color: white;
  width: 50%;
  min-height: 100px;
}

/* TEXT CONTENT */
.content h1 {
  font-size: clamp(1.5rem, 1rem + 2vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.content h1 span {
  font-weight: 700;
  text-shadow: 0 0 10px rgb(4, 0, 255);
  color: rgb(0, 26, 255);
}

.content .typewriter {
  font-size: clamp(1.1rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.typewriter span {
  color: rgb(58, 211, 3);
  text-shadow: 0 0 10px rgb(58, 211, 3);
}

.vendor-highlight {
  color: rgb(58, 211, 3);              /* hijau neon yang sama kayak tema */
  text-shadow: 0 0 8px rgb(58, 211, 3),
               0 0 14px rgb(58, 211, 3);
  font-weight: 700;
}

.content p {
  font-size: clamp(0.85rem, 0.9rem + 0.3vw, 1rem);
  margin: 10px 0;
  line-height: 1.6;
  text-align: justify;
}

/* SOCIAL ICONS */
.social-links {
  margin-top: 0.75rem;
}

.social-links a {
  text-decoration: none;
  display: inline-block;
}

.social-links i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  background-color: transparent;
  border: 0.2rem solid rgb(58, 211, 3);
  border-radius: 50%;
  color: rgb(58, 211, 3);
  margin: 0 10px 10px 0;
  font-size: 1.5rem;
  transition: 0.2s linear;
}

.social-links i:hover {
  scale: 1.15;
  filter: drop-shadow(0 0 10px rgb(58, 211, 3));
  color: black;
  background-color: rgb(58, 211, 3);
}

/* BUTTON */
.btn {
  margin-top: 1.5rem;
}

.content button {
  width: 50%;
  min-width: 180px;
  height: 6vh;
  max-height: 50px;
  background-color: rgb(18, 171, 0);
  color: white;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
  transition: 0.2s linear;
  cursor: pointer;
}

.content button:hover {
  scale: 1.05;
  color: rgb(58, 211, 3);
  border: 2px solid rgb(58, 211, 3);
  background-color: transparent;
  box-shadow: 0 0 40px 5px rgb(58, 211, 3);
}

/* PROFILE IMAGE */
.main-container .image {
  aspect-ratio: 1 / 1;
  width: min(50vh, 420px);
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 50px rgb(58, 211, 3);
  flex-shrink: 0;
}

.main-container .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;   /* ⚡ FOKUS FOTO DI BAGIAN ATAS – RAMBUT AMAN */
}

.main-container .image:hover {
  animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
  0% { scale: 1; }
  50% { scale: 1.05; }
  100% { scale: 1; }
}

/* TABLET / HP BESAR */
@media (max-width: 884px) {
  nav .logo {
    position: absolute;
    top: 16px;
    left: 15px;
    font-size: 1.5rem;
  }

  .nav-container .links {
    display: none;
  }

  .hamburg,
  .cancel {
    display: block;
  }

  section {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .main-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .main-container .content {
    width: 90%;
  }

  .main-container .image {
    width: min(55vw, 260px);
  }

  .social-links {
    justify-content: center;
  }
}

/* HP KECIL */
@media (max-width: 440px) {
  .main-container .image {
    width: min(70vw, 220px);
  }

  .content button {
    width: 100%;
    min-width: 0;
  }
}
