/* 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/gf.png');
  background-size: cover;
  background-position: center;
  margin-top: 150px;
  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;
}


.menu-recommended {
  padding: 80px 40px;
  background-color: white;
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3b1e00;
  text-align: center;
  margin-bottom: 60px;
}

.menu-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.tangan-img {
  width: 350px;
  height: auto;
  align-self: flex-end;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  margin-left: -360px;
  margin-bottom: -80px;
}

.menu-grid {
  display: flex;
  gap: 90px;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.menu-item {
  text-align: center;
  max-width: 250px;
  background-color: #fff;
  transition: transform 0.3s ease;
}

.menu-item img {
  width: 250px;
  height: auto;

  margin-bottom: 15px;
  transition: transform 0.3s ease; /* animasi smooth */
}

.menu-item img:hover {
  transform: scale(1.05); /* sedikit membesar */
}



.menu-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: #444;
  margin-bottom: 5px;
}

.menu-item .price {
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .menu-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .tangan-img {
    display: none;
  }

  .menu-grid {
    flex-direction: column;
    gap: 40px;
  }
}



/* 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);
}

