/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #121212;
  color: #e0e0e0;
}

/* Header Container */
.header {
  background-color: #1f1f1f;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  position: fixed;
}

/* Logo Styling */
.logo img {
  height: 40px;
  width: auto;
}

/* Navigation Styling */
.nav-menu {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  transition: 0.3s ease;
}

/* Hover & Active State */
.nav-menu a:hover,
.nav-menu a.current {
  color: #b39ddb;
  font-weight: bold;
}

/* Burger menu icon */
.menu-btn {
  font-size: 28px;
  cursor: pointer;
  display: none;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 30px;
    background-color: #222;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}

/* overlay */
.home {
  background-image: url('../asset/img/home.JPG');
  background-size: cover;
  background-position: top;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(98, 0, 255, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 1;
}

.home-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  cursor: default;
}

.home-overlay h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 500;
}

.home-overlay h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.home-overlay p {
  font-size: 14px;
  letter-spacing: 6px;
  margin-top: 10px;
  font-weight: 300;
}

/* Section Stat */
.statistik {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
  background-color: #1a1a1a;
}

.stat-box {
  width: 250px;
  border: 2px solid #673ab7;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  background-color: #222;
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-box h2 {
  font-size: 48px;
  font-weight: bold;
  color: #f5f5f5;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.4);
  user-select: none;
  cursor: default;
}

.stat-box p {
  font-size: 16px;
  color: #bbb;
  line-height: 1.4;
  font-weight: 500;
  user-select: none;
  cursor: default;
}

/* section gallery */
.galeri-section {
  background: #1a1a1a;
  padding: 60px 20px 80px;
  text-align: center;
}

.galeri-section h2 {
  color: #e0e0e0;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  cursor: default;
}

/* Swiper container */
.galeri-slider {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 60px;
  position: relative;
}

/* Swiper slide image */
.swiper-slide img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
}

.about-section {
  background-color: #121212;
  color: #e0e0e0;
  padding: 60px 20px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #b39ddb;
  text-align: center;
  cursor: default;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #d0d0d0;
  text-align: justify;
}

.about-image {
  flex: 1 1 500px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(98, 0, 255, 0.3);
}

.about-section {
  background-color: #111;
  color: #f0f0f0;
  padding: 60px 20px 80px;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.about-text {
  flex: 1 1 500px;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #ccc;
}

@media (max-width: 480px) {
  .about-text p,
  .info-profile p {
    font-size: 17px;
  }
}

.about-image {
  flex: 1 1 500px;
}

.about-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.site-footer {
  background: linear-gradient(to top, #4a006e, #1a1a1a);
  color: #e0e0e0;
  padding: 40px 20px;
  font-size: 14px;
  text-align: center;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 40px;
  cursor: default;
}

.footer-logo img {
  height: 60px;
  filter: brightness(0.95);
}

.footer-follow h4,
.footer-rate h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #d1c4e9;
}

.footer-follow a {
  display: block;
  color: #a68dff;
  margin-bottom: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.footer-follow a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-rate {
  text-align: center;
}

.footer-rate input[type="range"] {
  width: 150px;
  margin-top: 10px;
  accent-color: #8e24aa;
}

#footer-emoji {
  font-size: 36px;
  margin-top: 10px;
  transition: transform 0.2s ease;
}

#footer-emoji:hover {
  transform: scale(1.1);
}

.copyright {
  margin-top: 10px;
  font-size: 13px;
  color: #bbb;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .galeri-section,
  .about-section {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 100px;
  }

  .footer-top {
    padding-bottom: 50px;
  }
}

.gallery-page {
  background-color: #1a1a1a;
  padding: 60px 5px 60px 5px;
  text-align: center;
}

.gallery-page h2 {
  color: #b39ddb;
  font-size: 28px;
  margin-bottom: 40px;
  cursor: default;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(98, 0, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(28, 28, 28, 0.7);
  color: #eee;
  padding: 12px;
  text-align: center;
  font-size: 16px;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.gallery-item:hover .caption {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .gallery-item .caption {
    opacity: 1;
    transform: translateY(0);
  }
}

.anggota-section {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 80px 30px 60px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.anggota-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: white;
  text-align: center;
  padding-left: 10px;
}

/* Container grid */
.anggota-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.anggota-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow: 0 4px 12px rgba(98, 0, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anggota-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(98, 0, 255, 0.3);
}

.anggota-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.anggota-card:hover img {
  transform: scale(1.05);
}

.anggota-nama {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(18, 18, 18, 0.6); /* lapisan gelap */
  color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  font-size: 18px;
  font-weight: bold;
  transition: opacity 0.3s ease;
  text-align: center;
}

.anggota-card:hover .anggota-nama {
  opacity: 1;
}

.profile-orang {
  background: #1a1a1a;
  color: #f0f0f0;
  padding: 60px 20px 30px;;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.container-profile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1100px;
}

.container-profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.info-profile {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-profile .role {
  font-size: 14px;
  color: #b39ddb;
  cursor: default;
}

.info-profile h2 {
  font-size: 24px;
  margin: 10px 0;
  color: #e0e0e0;
  cursor: default;
}

.info-profile p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  cursor: default;
}

.sosial-link {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.sosial-link a {
  background: #6200ea;
  color: white;
  font-size: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(98, 0, 255, 0.2);
}

.sosial-link a:hover {
  background: #7c4dff;
  transform: scale(1.1);
}

.pemisah {
  border: none;
  border-top: 2px solid #3a3a3a;
  margin: 40px auto;
  width: 90%;
  background: transparent;
}

.galeri-personal {
  padding: 40px 30px 60px;
  background-color: #1a1a1a;
}

.foto-grid-personal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
}

.foto-grid-personal img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(98, 0, 255, 0.2);
  transition: transform 0.3s ease;
}

.foto-grid-personal img:hover {
  transform: scale(1.03);
}