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

.page {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page.fade {
  opacity: 0;
}

.navbar {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 160px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: top 0.4s ease, opacity 0.4s ease;
  z-index: 900;
}

.navbar nav {
  display: flex;
  gap: 42px;
  justify-content: center;
  align-items: center;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 16px;
  padding: 6px 0;
}

.navbar a:hover {
  color: #ed7bab;
}

.navbar a.active {
  color: #ed7bab;
  border-bottom: 2px solid #ed7bab;
}


.logo {
  position: fixed;
  top: 50px;
  width: 84px;
  height: auto;
  transition: top 0.4s ease, opacity 0.4s ease, transform 0.5s ease;
  z-index: 1001;
}

.logo-left {
  left: 40px;
  top: 45px;
}

.logo-right {
  right: 40px;
}

.logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.navbar.hide,
.logo.hide {
  top: -100px;
  opacity: 0;
}


.hero {
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}


.hero h1 {
  font-size: 48px;
  color: #333;
  transition: transform 0.3s ease;
}

.hero h1:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  color: #ff69b4;
}

.hero p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  line-height: 1.6;
}


.contact-section {
  padding: 60px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: -150px; /* opsional */
}


.contact-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  object-fit: contain;
}

.contact-card {
  background-color: #fff;
  border-radius: 24px;
  padding: 32px;
  width: 220px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;  /* ini bikin konten di tengah horizontal */
  justify-content: center;
  text-align: center;   /* ini buat teks */
}


.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.contact-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: #ed7bab;
}

.contact-card a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  word-break: break-word;
}

.contact-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 16px;
  background-color: #ed7bab;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #c64780;
}


@media (max-width: 768px) {
  .contact-card {
    width: 80%;
  }
}


footer {
  background-color: #ed7bab;
  color: #f9f9f9;
  padding: 30px 24px;
  text-align: center;
  font-size: 14px;
}


@media (max-width: 768px) {
  .logo {
    width: 50px;
  }

  .navbar {
    padding: 12px 100px;
  }

  .navbar nav {
    gap: 24px;
  }

  .navbar a {
    font-size: 14px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}
