@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Poppins', sans-serif;

  background:
  linear-gradient(rgba(120,255,230,0.15), rgba(120,255,200,0.25)),
  url('bg1.jpg');

  background-size: cover;
  background-position: center;

  color: #ffffff;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  padding: 15px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255,255,255,0.12);
}

header h2 {
  color: #ffffff;
}

/* NAV */
nav a {
  margin: 0 10px;
  color: #eaffff;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #00ffd5;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background: #00ffd5;
  left: 0;
  bottom: -3px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 60px;
  text-align: center;

  background:
  radial-gradient(circle at left, rgba(0,255,200,0.25), transparent 40%),
  radial-gradient(circle at right, rgba(100,255,220,0.25), transparent 40%),
  linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7));
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
}

.hero p {
  margin-top: 20px;
  font-size: 18px;
  color: #d9ffff;
  line-height: 1.7;
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 30px;

  padding: 14px 32px;
  border-radius: 30px;

  background: #00ffd5;
  color: #003333;

  font-weight: 600;
  text-decoration: none;

  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* MENU */
.menu-utama {
  display: flex;
  gap: 25px;
  padding: 100px 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* CARD UMUM */
.menu-card {
  width: 230px;
  height: 260px;

  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);

  border-radius: 20px;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s;

  position: relative;
  overflow: hidden;
}

.menu-card:hover {
  transform: translateY(-10px) scale(1.03);
}

/* =========================
   TUJUAN CARD FIX FINAL
   ========================= */

.tujuan-card {
  perspective: 1000px;
  height: 320px;
}

/* FRONT */
.tujuan-card .card-front {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transition: 0.6s;
  backface-visibility: hidden;
}

/* BACK */
.tujuan-card .card-back {
  position: absolute;
  inset: 0;

  background: rgba(0,50,50,0.92);
  border-radius: 20px;
  padding: 20px;

  display: flex;
  flex-direction: column;

  transform: rotateY(180deg);
  backface-visibility: hidden;

  opacity: 0;
  visibility: hidden;

  overflow-y: auto;
}

/* ACTIVE FLIP */
.tujuan-card.active .card-front {
  transform: rotateY(180deg);
  opacity: 0;
}

.tujuan-card.active .card-back {
  transform: rotateY(0deg);
  opacity: 1;
  visibility: visible;
}

/* ICON FIX */
.icon-tujuan {
  width: 85px;
  height: 85px;
  margin-bottom: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.icon-tujuan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 5px;
}

/* LIST TUJUAN */
.tujuan-list {
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
}

/* BACK BUTTON */
.tujuan-card .card-back .btn {
  margin-top: auto;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* INFO SECTION */
.info-section {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  padding: 60px 20px;
}

.info-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.info-box h3 {
  margin-bottom: 15px;
  color: #00ffd5;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,50,50,0.85);
  color: #ccffff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 36px;
  }

  header {
    flex-direction: column;
    gap: 10px;
  }
}