/* 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: 80px;
}

.hero-image {
  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: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 160px;
  left: 190px;
  color: white;
  z-index: 3;
  text-align: left;
  max-width: 500px;
}
.piring {
  position: absolute;
  width: 2000px;
  z-index: 5;
  filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}
@keyframes spinIn {
  0% {
    opacity: 0;
    transform: rotate(-100deg) scale(0.1);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

.piring {
  position: absolute;
  width: 1000px;
  z-index: 2;
  filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.3));
  animation: spinIn 1s ease-out forwards;
  opacity: 0; 
}



.piring-1 {
  top: 25%;
  left: 15%;
  margin-left: -370px;
  margin-top: -80px;
  animation-delay: 0.5s;
}

.piring-2 {
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0.5s;
}

.piring-3 {
  top: 25%;
  right: 15%;
  margin-left: -190px;
  margin-top: 200px;
}
.hero-text h1 {
  font-size: 80px;
  font-weight: 300;
  margin-bottom: 12px;
}

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

/*product*/
.product {
  background-color: #20463f;
  padding: 4rem 10rem;
  color: white;
  margin-top: -50px;
  position: relative;
  z-index: 4;
  border-top-left-radius: 45px;
  border-top-right-radius: 45px;
  
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  justify-items: center;
  
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.5s ease-out, transform 1s ease-out;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-item {
  display: flex;
  flex-direction: column;
  width: 180px; /* sesuaikan dengan ukuran .product-card */
}


.product-card {
  background-color: rgba(255, 255, 255, 0);
  color: #333;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}


.product-card:hover img {
  transform: scale(1.3);
  
}

.product-card:hover {
  transform: translateY(-8px) scale(1.05);
}

.product-item p {
  text-align: left;
  max-width: 180px; /* atau sama dengan width .product-card */
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: white;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

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

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