:root {
  --primary: #6b4f4f;
  --secondary: #d9cab3;
  --accent: #8b5e3c;
  --light: #f5f5f5;
  --dark: #1a1a1a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background-color: #f9f6f2;
  line-height: 1.8;
}

/* header */
header {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../image/pallet-ispm15.JPG") center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

header h1 {
  font-size: 2.5rem;
  max-width: 800px;
  margin: auto;
  line-height: 1.4;
  animation: slideUp 1.2s ease-out;
}

header .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 1px;
  animation: fadeIn 1.8s ease-out;
}

header .subtext {
  max-width: 700px;
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.9;
  color: #fff;
  text-align: center;
  margin: 20px auto;
  letter-spacing: 0.3px;
  animation: fadeIn 2s ease-in;
}

/* penjelasan awal */
.penjelasan-awal {
  background-color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  color: #333;
  font-family: "Poppins", sans-serif;
  line-height: 1.8;
  /* animation: fadeIn 1.2s ease-in; */
}

.penjelasan-awal .container {
  max-width: 900px;
  margin: 0 auto;
}

.penjelasan-awal p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.penjelasan-awal strong {
  color: #f8b400;
}

/* Tombol CTA (Hubungi Sekarang) */
.btn-hubungi {
  display: inline-block;
  margin-top: 30px;
  background-color: #f8b400;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(248, 180, 0, 0.4);
  transition: all 0.3s ease;
}

.btn-hubungi:hover {
  background-color: #ffca28;
  box-shadow: 0 6px 18px rgba(248, 180, 0, 0.55);
  transform: translateY(-3px);
}

.wave {
  display: block;
  margin-top: -30px;
}

/* dampak pemilihan */
.dampak-pemilihan {
  background: #f9f6f2;
  padding: 80px 10%;
}

.dampak-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.dampak-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.dampak-content {
  flex: 1;
  color: #333;
}

.dampak-content h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #6b4f4f;
  font-weight: 700;
}

.dampak-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.dampak-content li {
  background: #fff;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-left: 6px solid #6b4f4f;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.dampak-content li:hover {
  transform: translateX(6px);
}

.highlight {
  background: linear-gradient(90deg, #6b4f4f 0%, #8b6f6f 100%);
  padding: 16px;
  border-radius: 12px;
  margin: 20px 0;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(107, 79, 79, 0.3);
}

.highlight p {
  color: #fff;
}

.dampak-content p {
  line-height: 1.6;
}

/* pemilihan kayu */
.pemilihan-kayu {
  background: #fffaf7;
  padding: 80px 10%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.pemilihan-container {
  text-align: center;
  color: #333;
}

.pemilihan-kayu h2 {
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #6b4f4f;
  font-weight: 700;
}

.pemilihan-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.pemilihan-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9f6f2 100%);
  border: 2px solid #e2d6d6;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(107, 79, 79, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
}

.pemilihan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(107, 79, 79, 0.2);
  border-color: #6b4f4f;
}

.pemilihan-card strong {
  color: #6b4f4f;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 6px;
}

.pemilihan-kayu p {
  line-height: 1.6;
  font-size: 1rem;
  color: #444;
  max-width: 700px;
  margin: 0 auto;
}

/* keuntungan vendor */
.keuntungan-vendor {
  background: linear-gradient(135deg, #f7ede2, #fffaf5);
  padding: 80px 10%;
  color: #3b2f2f;
}

.keuntungan-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.keuntungan-vendor h2 {
  font-size: 1.9rem;
  color: #6b4f4f;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Daftar keuntungan */
.keuntungan-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.keuntungan-item {
  background: #ffffff;
  border: 2px solid #e6d8d0;
  border-radius: 16px;
  padding: 24px;
  font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(107, 79, 79, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.keuntungan-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(107, 79, 79, 0.2);
  border-color: #6b4f4f;
}

/* Highlight vendor section */
.highlight-vendor {
  background: #6b4f4f;
  color: #fff;
  padding: 40px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.highlight-vendor h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.highlight-vendor p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.vendor-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.vendor-list li {
  margin: 8px 0;
}

/* Tombol Pesan Sekarang */
.btn-pesan {
  display: inline-block;
  background: #f8b400;
  color: #3b2f2f;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-pesan:hover {
  background: #ffcd58;
  transform: translateY(-3px);
}

/* faq section */
.faq-section {
  background: #fdfcfb;
  padding: 80px 20px;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.faq-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #4b3a3a;
  margin-bottom: 50px;
}

.faq-item {
  border-bottom: 1px solid #e6dcd3;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  padding: 18px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b4f4f;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #a36b4f;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-answer p {
  padding: 0 0 16px 0;
  color: #555;
  line-height: 1.7;
  font-size: 1rem;
}

/* Aktif saat dibuka */
.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* share section */
.share-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff7e6;
  border-radius: 16px;
  margin: 60px auto;
  max-width: 800px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.share-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.share-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.share-btn.fb {
  background: #1877f2;
}

.share-btn.tw {
  background: #1da1f2;
}

.share-btn.li {
  background: #0077b5;
}

.share-btn.wa {
  background: #25d366;
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* swiper js */
.backlink-section {
  background: #fcfbf9;
  padding: 80px 20px;
  text-align: center;
}

.backlink-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #4b3a3a;
  margin-bottom: 10px;
}

.backlink-section .subtitle {
  color: #6b4f4f;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Swiper Container */
.backlink-swiper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 50px;
}

/* Slide Card */
.backlink-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 30px 24px;
  text-align: left;
  transition: all 0.35s ease;
  height: 100%;
  text-decoration: none;
}

.backlink-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(155, 110, 70, 0.25);
  background: #fffdf9;
}

.backlink-card h3 {
  font-size: 1.25rem;
  color: #5a3e36;
  margin-bottom: 10px;
}

.backlink-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.link-arrow {
  display: inline-block;
  margin-top: 12px;
  font-size: 1.2rem;
  color: #a36b4f;
  transition: transform 0.3s ease;
}

.backlink-card:hover .link-arrow {
  transform: translateX(5px);
}

/* Swiper Controls */
.swiper-button-next,
.swiper-button-prev {
  color: #a36b4f;
  transition: color 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #d18f5a;
}

.swiper-pagination-bullet {
  background: #a36b4f;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

/* footer */
.wave-footer {
  position: relative;
  width: 100%;
  background: transparent;
  overflow: hidden;
  margin-top: 60px;
}

/* Wave Background */
#wave {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-bottom: -2px;
}

/* Footer Container */
.footer {
  position: absolute;
  top: 90px;
  /* left: 0; */
  right: 400px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: left;
  align-items: flex-end;
  flex-direction: column;
  text-align: center;
  z-index: 2;
  color: #fff;
  padding-bottom: 60px;
}

/* Footer Content */
.footer-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
}

/* Logo Styling */
.footer-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
  padding: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  margin-bottom: 18px;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.08);
}

/* Title */
.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8b400;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

/* Description */
.footer-desc {
  font-size: 1rem;
  color: #fefefe;
  max-width: 500px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* Copy Text */
.footer-copy {
  font-size: 0.9rem;
  color: #f3eaea;
}

.footer-copy a {
  color: #f8b400;
  font-weight: 600;
  text-decoration: none;
}

.footer-copy a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1251px) {
  .wave-footer {
    height: 400px;
  }

  #wave {
    width: 300%;
  }

  .footer {
    /* padding-bottom: 40px; */
    top: 35%;
    right: 0;
  }
}

/* laptop */
@media (max-width: 900px) {
  .dampak-container {
    flex-direction: column;
    text-align: center;
  }

  .dampak-content h2 {
    font-size: 1.5rem;
  }

  .dampak-content li {
    text-align: left;
  }

  /* footer */
  .wave-footer {
    height: 300px;
  }

  #wave {
    width: 200%;
  }

  .footer {
    /* padding-bottom: 40px; */
    top: 15%;
    right: 0;
  }
}

/* tablet */
@media (max-width: 768px) {
  /* header */
  header h1 {
    font-size: 1.8rem;
  }

  header .tagline {
    font-size: 1rem;
  }

  header .subtext {
    font-size: 0.9rem;
  }

  /* keuntungan vendor */
  .highlight-vendor {
    text-align: center;
  }

  .btn-pesan {
    display: block;
    margin: 20px auto 0;
  }

  /* faq */
  .faq-section h2 {
    font-size: 1.6rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  /* swiper js */
  .backlink-card {
    padding: 20px;
  }

  .backlink-card h3 {
    font-size: 1.1rem;
  }

  .backlink-card p {
    font-size: 0.9rem;
  }

  /* footer */
  .wave-footer {
    height: 300px;
  }

  #wave {
    width: 200%;
  }

  .footer {
    /* padding-bottom: 40px; */
    top: 15%;
    right: 0;
  }

  .footer-logo {
    width: 70px;
    height: 70px;
  }

  .footer-title {
    font-size: 1.25rem;
  }

  .footer-desc {
    font-size: 0.9rem;
    padding: 0 20px;
  }

  .footer-copy {
    font-size: 0.85rem;
  }
}

/* mobile phone */
@media (max-width: 450px) {
  #wave {
    width: 300%;
  }
}
