/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
}

.container {
  max-width: 1002px;
  margin: 0 auto;
  padding: 0 40px;
}

/* NAVBAR */
.navbar {
  background-color: #19423c;
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
  position: fixed;
  top: 0;
  z-index: 1000;
  transition: top 0.3s ease;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  white-space: nowrap;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.nav-menu li a:hover {
  color: #f2ab04;
  font-weight: 500;
}

.nav-menu li a.active {
  color: #f2ab04;
  font-weight: 600;
  position: relative;
}

/* Optional: garis bawah untuk menu aktif */
.nav-menu li a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f2ab04;
}
/* HERO */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 70px;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 2;
}

.hero-text {
  position: absolute;
  bottom: 160px;
  left: 190px;
  color: white;
  z-index: 3;
  text-align: left;
  max-width: 500px;
}

.hero-text h1 {
  font-size: 80px;
  font-weight: 300;
  margin-bottom: 12px;
  white-space: nowrap; /* ⬅️ Mencegah teks turun ke baris baru */
}

.hero-text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 314px;
}

/* Produk */
.product {
  background-color: #5e786f;
  padding: 6rem 2rem 2rem;
  height: 500px;
  text-align: center;
  color: white;
    border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  margin-top: -40px;
  position: relative;
  z-index: 3;
}
.product h3 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.product-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-item {
  text-align: center;
}
.product-card {
  background-color: white;
  color: #333;
  padding: 1rem;
  border-radius: 10px;
  width: 200px;
  height: 200px;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  position: relative;
  z-index: 1;
  align-items: center; /* Ini bikin semua isi di tengah secara horizontal */
  justify-content: center; /* Tengah secara vertikal */

}
.product-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 25px rgba(0, 0, 0, 0.12);
}
.product-card img {
  width: 190px;
  height: 190px;
  margin-left: -10px;
  background-color: #dddddd00;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.product-card:hover img {
  transform: scale(1.1);
}
.product-item p {
  margin-top: 0.5rem;
  color: white;
  font-size: 0.9rem;
}

/* See All */
.see-all-section {
  background-color: #ffffff;
  padding: 1.5rem 0;
  text-align: center;
}
.btn-see-all {
  background-color: #c2621a;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-see-all:hover {
  background-color: #a14f13;
  transform: scale(1.05);
}


/* FOOTER */
.footer {
  background-color: #1e1b1b;
  color: white;
  height: 450px;
  padding: 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer h4 {
  margin-bottom: 0.8rem;
}

.footer p {
  color: white; /* atau warna lain sesuai tema kamu */
  text-decoration: none;
}
.footer p:hover {
  text-decoration: underline; /* opsional */
}


/* Scroll Reveal Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

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