/* =====================================================================
   STYLE-HOME.CSS — khusus index.php
   Wajib di-load SETELAH style-base.css
   ===================================================================== */

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  font-family: 'Times New Roman', Times, serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22, 48, 31, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content h1 {
  font-size: 50px;
  margin-bottom: 15px;
}

.hero-content p {
  font-size: 25px;
  line-height: 1.6;
}

.hero-cta {
  display: inline-block;
  margin-top: 26px;
  background: var(--amber);
  color: #412402;
  font-weight: bold;
  font-size: 16px;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: var(--amber-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.hero-scroll {
  margin-top: 34px;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.75);
  animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ================= SMALL LABEL (above the main heading) ================= */
.our-story,
.meet-owner,
.featured-product {
  text-align: center;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--forest-500);
  font-weight: bold;
  margin-bottom: 8px;
}

/* ================= BUTTON OUTLINE ================= */
.btn-outline {
  display: inline-block;
  margin-top: 34px;
  border: 1.5px solid var(--forest-700);
  color: var(--forest-700);
  font-weight: bold;
  font-size: 14px;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--forest-700);
  color: var(--white);
}

/* ================= FLEX (Our Story) ================= */
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.flex img {
  width: 400px;
  max-width: 100%;
  border-radius: 20px;
}

.flex p {
  max-width: 350px;
  font-size: 25px;
  line-height: 1.6;
  text-align: left;
  font-family: 'Times New Roman', Times, serif;
}

/* ================= MEET THE OWNER ================= */
.owner-section {
  background-color: var(--sage-100);
  padding: 60px 40px;
}

.owner-section h2 {
  text-align: center;
  font-family: 'Times New Roman', serif;
  font-size: 40px;
  margin-bottom: 60px;
  color: var(--forest-900);
}

.owner-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.owner-flex img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 50%;
  border: 5px solid var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.owner-flex .owner-text {
  max-width: 380px;
  font-family: 'Times New Roman', Times, serif;
}

.owner-flex .owner-quote {
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 20px;
}

.owner-flex .owner-name {
  font-size: 20px;
  color: var(--forest-900);
  margin: 0;
  line-height: 1.6;
}

/* ================= PRODUCTS (3 kategori unggulan) ================= */
.products {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 100px 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 35px;
  }

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

  .flex {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .flex img {
    width: 100%;
    max-width: 320px;
  }

  .flex p {
    max-width: 100%;
    font-size: 18px;
    text-align: center;
  }

  .owner-section {
    padding: 40px 20px;
  }

  .owner-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .owner-flex {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .owner-flex img {
    width: 200px;
    height: 200px;
  }

  .owner-flex .owner-quote {
    font-size: 18px;
  }
}
