html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero {
  background-image: url('img/tugu.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 30px;
  color: #fff;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay .btn {
  display: inline-block;
  margin-top: 20px;
  background-color: #ff3399;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
.section {
  padding: 80px 40px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  min-height: auto; /* ubah ini */
}


.cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 280px;
  background: #f4f4f4;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.card img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
}

.card p {
  font-size: 0.95rem;
  line-height: 1.5;
}



.dark {
  background-image: url('danau.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  position: relative;
  z-index: 1;
}

.dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6); 
  z-index: -1;
}


footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}
.sosmed {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sosmed a {
  text-decoration: none;
  font-size: 24px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s ease;
  color: white;
}

/* Warna masing-masing ikon */
.sosmed .tiktok {
  background: #010101;
}

.sosmed .instagram {
  background: radial-gradient(circle at 30% 30%, #feda75, #d62976, #962fbf);
}

.sosmed .whatsapp {
  background: #25D366;
}

.sosmed .facebook {
  background: #3b5998;
}

/* Hover efek ringan */
.sosmed a:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* === NAVIGATION HEADER === */
.navbar {
  background-color: #fff;
  padding: 10px 30px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 8px 12px;
  transition: background 0.3s, color 0.3s;
}

.nav-menu a:hover {
  background-color: #ff3399;
  color: white;
  border-radius: 5px;
}

/* Beri jarak agar hero section tidak tertutup menu */
.hero {
  margin-top: 80px;
}

.tentang-gallery {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.foto-item {
  width: 300px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  backdrop-filter: blur(3px);
}

.foto-item p {
  color: #fff;
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.foto-item img {
  width: 100%;
  border-radius: 10px;
  height: 180px;
  object-fit: cover;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    right: 30px;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 10px 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #eee;
  }

  .menu-toggle {
    display: block;
  }
}

/* Animasi muncul perlahan */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

footer .copyright {
  margin-top: 15px;
  font-size: 0.75rem;     /* Lebih kecil dari default */
  color: #ccc;
  border-top: 1px solid #444;  /* Garis atas pemisah */
  padding-top: 10px;
  animation: fadeInCopyright 1s ease forwards;
  opacity: 0;
}

/* Fade in animation */
@keyframes fadeInCopyright {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.statistic-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-top: 1rem;
}

.stat-card {
  background-color: #f9f9f9;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  font-size: 1.1rem;
  min-width: 150px;
  transition: all 0.5s ease-in-out;
}

.stat-card span {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
  margin-top: 0.5rem;
}

/* Untuk animasi scroll */
.stat-card.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.stat-card.show {
  animation: fadeSlideUp 1s ease forwards;
}

/* Animasi muncul */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (max-width: 600px) {
  .stat-card {
    min-width: 100%;
  }
}
.stat-card.hidden {
  opacity: 0;
  transform: translateY(40px);
}

.stat-card.show {
  animation: fadeSlideUp 1s ease forwards;
}

