/* =================================
   STRUKTUR PAGE
================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: white;
  background: #080808;
  overflow-x: hidden;
}

/* =========================
           ANIMATED MESH BACKGROUND
        ========================== */

.mesh-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #f2d77a;
}

.mesh-background::before,
.mesh-background::after {
  content: "";
  position: absolute;
  width: 75vw;
  height: 75vw;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.8;
  animation: meshMove 13s ease-in-out infinite alternate;
}

.mesh-background::before {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.9),
    transparent 70%
  );
  top: -30%;
  left: -20%;
}

.mesh-background::after {
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.5),
    transparent 70%
  );
  bottom: -35%;
  right: -20%;
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}

@keyframes meshMove {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(15%, 20%) scale(1.2);
  }
  100% {
    transform: translate(-10%, 10%) scale(0.9);
  }
}

@keyframes darkMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-20%, 15%);
  }
}

/* =================================
   MAIN CONTAINER
================================= */

.struktur-container {
  position: relative;

  z-index: 6;

  width: 100%;

  min-height: 100vh;

  padding: 113px 20px 60px;

  display: flex;

  flex-direction: column;

  align-items: center;
}

/* =================================
   HEADING
================================= */

.struktur-heading {
  position: relative;

  width: min(565px, 90%);

  min-height: 57px;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 15px 20px;

  margin-bottom: 60px;

  border: 1px solid rgba(255, 255, 255, 0.65);

  border-radius: 22px;

  background: rgba(46, 46, 46, 0.15);

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  overflow: hidden;
}

.struktur-heading h1,
.struktur-heading h2 {
  position: relative;

  z-index: 1;

  font-family: "DM Sans", sans-serif;

  font-size: 17px;

  font-weight: 800;

  text-align: center;

  color: white;
}

.struktur-current-heading {
  margin-top: 60px;
}

.struktur-current-heading h2 {
  color: #000;
}

/* =================================
   PENGURUS CONTAINER
================================= */

.pengurus-container {
  width: min(720px, 95%);

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 38px;

  justify-content: center;
}

/* =================================
   PENGURUS CARD
================================= */

.pengurus-card {
  position: relative;

  min-height: 430px;

  padding: 25px 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  border: 1px solid rgba(255, 255, 255, 0.45);

  border-radius: 25px;

  background: rgba(46, 46, 46, 0.15);

  backdrop-filter: blur(18px);

  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);

  transition: all 0.4s ease;
}

/* CARD HOVER */

.pengurus-card:hover {
  transform: translateY(-8px);

  background: rgba(255, 255, 255, 0.23);

  border-color: rgba(255, 255, 255, 0.8);

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* =================================
   PERIODE
================================= */

.periode {
  font-family: "DM Sans", sans-serif;

  font-size: 18px;

  font-weight: 800;

  color: white;

  text-align: center;

  margin-bottom: 20px;
}

/* =================================
   FOTO PENGURUS
================================= */

.foto-wrapper {
  width: 100%;

  height: 265px;

  display: flex;

  justify-content: center;

  align-items: center;

  overflow: hidden;
}

.foto-pengurus {
  width: 100%;

  height: 100%;

  object-fit: contain;

  object-position: center bottom;

  transition: transform 0.5s ease;
}

/* FOTO MEMBESAR SAAT HOVER */

.pengurus-card:hover .foto-pengurus {
  transform: scale(1.04);
}

/* =================================
   NAMA PENGURUS
================================= */

.pengurus-info {
  width: 100%;

  text-align: center;

  margin-top: 25px;
}

.pengurus-info h3 {
  font-family: "Playfair Display", serif;

  font-size: 18px;

  font-weight: 600;

  color: rgba(255, 255, 255, 0.9);
}

/* =================================
   FOOTER
================================= */

footer {
  padding: 40px 10%;
  text-align: center;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  letter-spacing: 2px;
}

/* =================================
   TABLET
================================= */

@media (max-width: 800px) {
  .pengurus-container {
    width: min(650px, 95%);

    gap: 20px;
  }

  .pengurus-card {
    min-height: 400px;
  }

  .foto-wrapper {
    height: 245px;
  }
}

/* =================================
   MOBILE
================================= */

@media (max-width: 550px) {
  .struktur-container {
    padding-top: 120px;
  }

  .struktur-heading {
    margin-bottom: 35px;
  }

  .struktur-current-heading {
    margin-top: 35px;
  }

  .struktur-heading h1,
  .struktur-heading h2 {
    font-size: 13px;
  }

  .pengurus-container {
    width: min(350px, 95%);

    grid-template-columns: 1fr;

    gap: 25px;
  }

  .pengurus-card {
    min-height: 400px;
  }

  .foto-wrapper {
    height: 260px;
  }

  .periode {
    font-size: 16px;
  }

  .pengurus-info h3 {
    font-size: 17px;
  }
}

/* =================================
   REDUCE MOTION
================================= */

@media (prefers-reduced-motion: reduce) {
  .page-struktur *,
  .page-struktur *::before,
  .page-struktur *::after {
    animation: none !important;

    transition: none !important;
  }
}
