/* style.css */

/* ======= RESET UMUM ======= */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #fafafa;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* cegah geser horizontal */
}

/* ======= NAVBAR ======= */
.navbar {
  background: #fff;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
}
.navbar-brand {
  font-size: 1.4rem;
  color: #e67e22 !important;
  letter-spacing: 1px;
}
.navbar .nav-link {
  font-weight: 500;
  color: #333 !important;
}
.navbar .nav-link:hover {
  color: #e67e22 !important;
}

/* ======= HERO SECTION ======= */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ======= PROFILE ======= */
.profile-box {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease-in-out;
}
.profile-box:hover {
  transform: translateY(-5px);
}
.profile-box img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
}
.profile-desc h5 {
  color: #e67e22;
  margin-bottom: 0.5rem;
}

/* ======= ETALASE PRODUK ======= */
.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}
.product-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}
.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-body .btn {
  transition: all 0.3s ease;
}
.card-body .btn:hover {
  background: #e67e22;
  color: #fff;
  border-color: #e67e22;
}

/* ======= FOOTER ======= */
.footer {
  background: linear-gradient(to right, #f1ceb6, #f3e0d6);
  padding: 2rem 1rem;
  font-size: 0.95rem;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
}
.footer h4 {
  color: #e67e22;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.footer img {
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ======= RESPONSIVE DESIGN ======= */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .profile-box {
    flex-direction: column;
    text-align: center;
  }
  .profile-box img {
    width: 80px;
    height: 80px;
  }
  .hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .hero {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 1.6rem;
  }
  .hero-content p {
    font-size: 0.85rem;
  }
  .card-title {
    font-size: 1rem;
  }
  .product-img {
    height: 180px;
  }
  .footer a {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}
