/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease-in-out;
}

body {
  background: #f7f8fc;
  color: #333;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ffd700;
}

.hero {
  text-align: center;
  padding: 120px 20px;
  min-height: 100vh;
  background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyMjkEItsy1v_wtEbA-jYT4l4P0uv8CLbUXWlPlLm9eI7jBsS_mgG_l05AqkUHTB2Iob04d4z4zyfnTuBVCTEAVcOdOrSgh65nS8d9oeH-tycMcJ1Q-taAPsZtrppJs_4qE1sPGKM0rUuKlIlbb42Je7XZwecYMuhF1wTSCD1jhDzepbiQcdY8EV_N-A/s570/DESAIN%20TOKO%20BAJU.jpg")
    center/cover no-repeat;
  color: #fff;
  position: relative;
  border-radius: 0 0 40px 40px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0 0 40px 40px;
}

.hero h1,
.hero p,
.hero button {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/* Search & Filter */
.search-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px auto;
}

.search-filter input,
.search-filter select {
  padding: 14px 18px; /* lebih besar */
  border-radius: 30px;
  border: 2px solid #cbd5e0; /* lebih tebal */
  outline: none;
  font-size: 16px; /* font lebih besar */
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* biar ada efek timbul */
}

.search-filter input::placeholder {
  color: #888;
  font-size: 15px;
}

/* Produk */
.produk-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 40px;
}

.produk-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  text-align: center;
}

.produk-card:hover {
  transform: translateY(-5px);
}

.produk-card img {
  width: 100%;
  transition: 0.3s;
}

.produk-card:hover img {
  transform: scale(1.05);
}

.produk-info {
  padding: 15px;
}

/* Form */
form {
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 25px;
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form select,
form textarea,
form button {
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  width: 100%;
}

/* Testimoni */
.testimoni {
  text-align: center;
}

#testimoniList {
  margin-top: 20px;
  display: grid;
  gap: 15px;
}

.testi-card {
  background: #edf2f7;
  border-radius: 10px;
  padding: 15px;
  text-align: left;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

#closeModal {
  cursor: pointer;
  float: right;
  font-size: 20px;
  font-weight: bold;
  color: #805ad5;
}

/* Footer */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* Responsif */
@media (max-width: 900px) {
  .produk-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .produk-container {
    grid-template-columns: 1fr;
  }

  .search-filter {
    flex-direction: column;
    align-items: center;
  }
}
/* === Tambahan untuk gambar hero === */
.hero-img {
  margin-top: 20px;
  max-width: 350px; /* batasi ukuran maksimal */
  width: 90%; /* biar responsif di HP */
  height: auto; /* biar proporsi asli terjaga */
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: block;
  margin-left: auto;
  margin-right: auto; /* biar center */
}
.produk-card img {
  width: 100%;
  height: 200px; /* tinggi fix biar sejajar semua */
  object-fit: cover; /* biar proporsi tetap bagus, nggak gepeng */
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
/* Tentang Kami */
.tentang {
  text-align: center;
  padding: 60px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.tentang h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.tentang p {
  font-size: 16px;
  line-height: 1.6;
}

/* Newsletter */
.newsletter {
  text-align: center;
  padding: 60px 20px;
  background: #f9fafc;
  border-radius: 20px;
  max-width: 700px;
  margin: 40px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.newsletter input {
  flex: 1;
  min-width: 250px;
}
/* Form Pemesanan */
.form-section {
  text-align: center;
  padding: 60px 20px;
}

.form-section h2 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.form-section form {
  margin: 0 auto; /* biar center */
  max-width: 500px; /* biar nggak terlalu melebar */
}
