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

body {
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

@font-face {
  font-family: binggo;
  src: url(fonts/demo-binggo-wood-display.otf);
}

/* Navbar */
.navbar {
  background-color: #004d00;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 200px;
  transition: top 0.3s ease;
}

.logo img {
  height: 90px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  gap: 60px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.nav-menu a.active {
  background-color: #9fff00;
  color: #004d00;
  padding: 0px 20px;
  border-radius: 12px;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('images/SaveClip.App_459105338_3784752821812698_8621651961487040768_n 1.png');
  background-size: cover;
  background-position: center;
  transition: filter 0.3s ease;
  z-index: 1;
}

.hero:hover::before {
  filter: brightness(60%);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  text-align: center;
  color: white;
  width: 900px;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
}

.hero-overlay.reveal {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.hero-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  font-family: binggo;
}

.hero-overlay h2 {
  font-size: 2.5rem;
  color: #9fff00;
  margin-top: 10px;
  font-family: binggo;
}



/* Section gabungan */
.profil-sejarah {
  background-color: white;
  padding: 60px 40px;
}

/* Profil */
.profil-block {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.profil-img {
  width: 300px;
  height: auto;
  margin-bottom: 20px;
  margin-left: -200px;
}

.section-title {
  width: 400px;
  margin-bottom: 20px;
  margin-left: -130px;
}

.profil-block p {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #222;
  margin-left: 85px;
}

/* Wave */
.wave-block {
  width: 100%;
  text-align: center;
}

.wave-img {
  width: 1740px;
  margin-left: -50px;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Sejarah */
.sejarah-block {
  max-width: auto;
  margin: 0 auto;
  text-align: left;
}
.sejarah-block img{
      width: 300px;
  height: auto;
  margin-bottom: 20px;
  margin-left: 750px;
}
.sejarah-block p {
  font-size: 1rem;
  line-height: 1.6;
  color: #222;
  margin-left: 800px;
}

/* Footer */
.footer {
  background-color: #004d00;
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  height: 155px;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-icons img {
  width: 70px;
  margin-left: 15px;
  cursor: pointer;
  margin-right: 60px;
}

.footer-icons img:hover {
  opacity: 0.8;
}

/* Responsive (optional) */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }

  .hero-overlay {
    width: 90%;
  }

  .section-title {
    width: 150px;
  }

  .section-divider {
    margin: 20px 0;
  }

  .footer {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
