/* ========== GLOBAL ========== */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
  background: #fbf6ef;
  color: #3b2a1f;
  scroll-behavior: smooth;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ========== NAVBAR ========== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 48px;
  box-shadow: 0 6px 20px rgba(15, 15, 15, 0.06);
  z-index: 999;
}
.header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header .brand img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}
.header .brand .title {
  font-weight: 700;
  color: #5a3e24;
  letter-spacing: 0.6px;
  font-size: 18px;
}
.header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.header nav a {
  color: #6b4a34;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all 0.18s ease;
}
.header nav a:hover {
  background: #fff2e6;
  color: #a55728;
  transform: translateY(-2px);
}
.header nav a.active {
  background: #a55728; /* warna latar saat aktif */
  color: white;        /* teks putih */
  font-weight: 700;    /* lebih tebal */
  transform: none;     /* hilangkan animasi hover */
  cursor: default;     /* pointer jadi default */
}

/* untuk memberi ruang konten setelah header fixed */
.page-content {
  padding-top: 92px;
}

/* ========== HERO (home) ========== */
.hero {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
  padding: 56px 48px;
  background: linear-gradient(180deg, #fff8f0 0%, #f7e7d0 100%);
}
.hero .left {
  max-width: 56%;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.02;
  margin: 0 0 12px;
  color: #3b2a1f;
  font-weight: 800;
}
.hero h1 .accent {
  color: #a55728;
}
.hero p {
  margin: 8px 0 18px;
  color: #5a4032;
  font-size: 16px;
}
.btn-cta {
  display: inline-block;
  background: #a55728;
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(165, 87, 40, 0.18);
}
.hero .right img {
  width: 420px;
  max-width: 45vw;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(61, 34, 22, 0.12);
}

/* ========== SECTIONS ========== */
.section {
  padding: 56px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.section h2 {
  font-size: 26px;
  margin-bottom: 14px;
  color: #40210f;
  font-weight: 800;
}
.lead {
  color: #6b4a34;
  margin-bottom: 20px;
}

/* tentang kami: 1 foto besar tim */
.team-grid .member {
  text-align: center;
  margin-top: 40px; /* tambahkan jarak atas */
}

.member {
  background: white;
  padding: 20px;
  width: 100%;
  max-width: 400px; /* atur sesuai selera */
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 8px 18px rgba(27, 17, 12, 0.06);
}

.member img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  display: block;
  margin: 20px auto; /* atas-bawah 20px, kiri-kanan auto */
}

.member h4 {
  margin: 20px 0 6px; /* angka pertama = jarak dari atas */
  font-size: 18px;
  color: #3b2a1f;
}

.member p {
  margin: 0;
  color: #7a5a45;
  font-size: 15px;
}

/* produk grid */
.produk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 18px;
}
.card-produk {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 18px rgba(27, 17, 12, 0.06);
}
.card-produk img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.card-produk .info {
  padding: 14px;
}
.card-produk h3 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #382218;
}
.card-produk p {
  margin: 0 0 12px;
  color: #786254;
  font-size: 14px;
}
.card-produk .harga {
  font-weight: 700;
  color: #a55728;
}
.card-produk:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 44px rgba(61, 34, 22, 0.12);
}

/* cara pemesanan steps */
.steps {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
.step {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  width: 240px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(27, 17, 12, 0.06);
}
.step .icon {
  font-size: 28px;
  background: #fff1e6;
  color: #a55728;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* ========== CONTACT / FOOTER ========== */
.footer {
  background: #3b2a1f;
  color: white;
  padding: 30px 48px;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer .col {
  min-width: 220px;
}
.contact-links a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  background: #fff2e6;
  color: #3b2a1f;
  padding: 8px 12px;
  border-radius: 10px;
  margin-right: 8px;
  font-weight: 700;
  transition: transform 0.2s ease-in-out; /* Ensure smooth transition */
}

.contact-links a:hover {
  transform: translateY(-4px); /* Moves the icon up */
}

.copy {
  color: #e6d6c8;
  margin-top: 16px;
  font-size: 13px;
}
.alamat-link {
  display: inline-block;
  margin-top: 1px;
  color: #e6d6c8;
  padding: 2px 1px;
  border-radius: 8px;
  transition: all 0.18s ease;
}
.alamat-link:hover {
  background: #a55728;
  color: white;
  transform: translateY(-2px);
}
/* =================== CARA PEMESANAN =================== */
.steps {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.step {
  background: #fff3e6;
  border-radius: 16px;
  padding: 24px 20px;
  width: 240px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(61, 34, 22, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(61, 34, 22, 0.15);
  background: #ffe8d9;
}

.step .icon {
  font-size: 28px;
  background: #a55728;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.step:hover .icon {
  transform: scale(1.2);
  background: #ff9f00;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #3b2a1f;
}

.step p {
  font-size: 14px;
  color: #5c4331;
}

/* =================== CONTACT LINKS =================== */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #a55728;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.contact-links a:hover {
  background: #ff9f00;
  transform: translateY(-4px) scale(1.05);
}

/* ========== RESPONSIVE ========== */

/* Laptop kecil (max 1200px) */
@media (max-width: 1200px) {
  .hero {
    padding: 48px 30px;
    gap: 30px;
  }
  .section {
    padding: 48px 30px;
  }
  .header {
    padding: 14px 30px;
  }
}

/* Tablet (max 900px) */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 36px 20px;
    text-align: center;
  }
  .hero .left {
    max-width: 100%;
  }
  .hero .right img {
    width: 100%;
    max-width: 360px;
  }
  .header {
    padding: 12px 18px;
  }
  .page-content {
    padding-top: 84px;
  }
  .footer {
    padding: 24px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .member img {
    max-width: 100%;
  }
  .section {
    padding: 40px 20px;
  }
}

/* HP (max 600px) */
@media (max-width: 600px) {
  /* Tampilkan hamburger */
  .hamburger {
    display: flex;
    margin-left: auto;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-around;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
  }
  .hamburger span {
    width: 28px;
    height: 3px;
    background: #6b4a34;
    border-radius: 2px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
  }

  /* Sembunyikan nav biasa */
  .header nav {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 62px;
    right: 0;
    width: 220px;
    padding: 16px;
    box-shadow: 0 8px 20px rgba(15, 15, 15, 0.15);
    border-radius: 0 0 0 12px;
    z-index: 1000;
    text-align: left;
  }
  .header nav.active {
    display: flex;
  }
  .header nav a {
    display: block;
    padding: 8px 12px;
    color: #6b4a34;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.18s ease;
    text-align: left;
  }
  .header nav a:hover {
    background: #fff2e6;
    color: #a55728;
    transform: translateX(4px);
  }
}

/* Sembunyikan hamburger di layar lebih besar dari 600px */
@media (min-width: 601px) {
  .hamburger {
    display: none !important;
  }
}