@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
html {
  scroll-behavior: smooth;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #185519;
  color: white;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: backdrop-filter 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  backdrop-filter: blur(10px);
  background: rgba(50, 144, 51, 0.8); /* versi transparan */
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-container img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.text-logo h1 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.text-logo p {
  font-size: 0.85rem;
  font-weight: 400;
  margin-top: 3px;
  color: #e8f5e9;
}


.ul-navbar {
  list-style: none;
  display: flex;
  gap: 25px;
 
}

.ul-navbar li {
  cursor: pointer;
  font-weight: 500;
  position: relative;
  padding-bottom: 3px;
  transition: all 0.3s ease;
   color: white;
}
.ul-navbar a {
  color: white;
  text-decoration: none;
}

.ul-navbar li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #c8e6c9;
  transition: width 0.3s ease;
}

.ul-navbar li:hover::after {
  width: 100%;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: all 0.3s ease;
}


@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .ul-navbar {
    flex-direction: column;
    align-items: flex-start;
    background: #388e3c;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    padding: 15px 20px;
    gap: 15px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
  }

  .ul-navbar.active {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-section {
  position: relative;
  height: 90vh; 
  background: url('../img/sectionheader2.jpg') no-repeat center center !important;
  background-size: cover !important; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}


.header-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.50); /* lebih gelap (0.65 = 65% opacity) */
  z-index: 1;
}


.header-section::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1;
}


.header-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}


.header-section {
  position: relative;
  height: 88vh;
  background: url('img/sectionheader2.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;       
  justify-content: center;   
  text-align: start;
  color: white;
  overflow: hidden;
}


.hero {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero p {
  font-size: 1rem;
  margin-bottom: 25px;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
  text-align: justify;
}
@media (max-width: 900px) {
    .hero h2 {
      font-size: 1.9rem;
}
.hero p {
      font-size: 0.9rem;
}
}

.container-button {
  display: flex;
  justify-content: start;   /* Tombol di tengah */
  margin-top: 20px;
  
}


.button-start {
  background-color: #4caf50;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  padding: 12px 30px;
  transition: background 0.3s, transform 0.2s;
  color: white;
  text-decoration: none;
}

.button-start:hover {
  background-color: #43a047;
  transform: translateY(-2px);
}

.about-section {
  padding: 80px 10%;
  background-color: #f8f8f8;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}


.about-text {
  flex: 1;
  min-width: 320px;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  background-color: #dddddd;
  border-radius: 10px;
}

.about-text h2 {
  font-size: 2.2rem;
  color: #185519;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}


.about-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  min-width: 320px;
}

.about-images img {
  width: 100%;
  height: 119px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-images img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}


@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-images {
    gap: 10px;
    flex-direction: row;
    justify-content: center;
  }

  .about-images img {
    width: 40%;
    height: 150px;
    min-width: 120px;
  }
  .about-text h2 {
  font-size: 2rem;
  
}

.about-text p {
  font-size: 0.9rem;
 
}
}
 .section-mission {
      background: #f5f9f6;
      padding: 80px 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }

    .mission-container {
      max-width: 900px;
      background: white;
      padding: 40px;
      border-radius: 16px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease;
    }

    .mission-container:hover {
      transform: translateY(-5px);
    }

    .mission-container h2 {
      color: #185519;
      font-size: 2.2rem;
      margin-bottom: 20px;
      text-align: center;
      font-weight: 700;
    }

    .mission-container p {
      font-size: 1.1rem;
      color: #333;
      line-height: 1.7;
      margin-bottom: 20px;
      text-align: justify;
    }

    .mission-container ul {
      list-style: none;
      padding: 0;
      margin-bottom: 20px;
    }

    .mission-container ul li {
      margin-bottom: 10px;
      padding-left: 30px;
      position: relative;
      font-size: 1.05rem;
      color: #333;
    }

    .mission-container ul li::before {
      content: "🟢";
      position: absolute;
      left: 0;
      top: 0;
    }

    .mission-container .closing {
      font-weight: 600;
      color: #185519;
      text-align: center;
    }


    @media (max-width: 768px) {
      .mission-container {
        padding: 25px;
      }

      .mission-container h2 {
        font-size: 1.5rem;
      }

      .mission-container p,
      .mission-container ul li {
        font-size: 1rem;
      }
    }

    .section-mission {
      background-image: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.9));
                      
      background-size: cover;
      background-position: center;
    }

/* CSS */
.core-values {
  padding: 60px 20px;
  background-color: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.core-values .container {
  max-width: 1000px;
  margin: 0 auto;
}

.core-values h2 {
  text-align: center;
 font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.table-wrapper {
  overflow-x: auto; /* Agar tabel tetap responsive di mobile */
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 18px 20px;
  text-align: left;
}

thead {
  background-color: #4CAF50; /* hijau */
  color: white;
  font-weight: 600;
}

tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

tbody tr:hover {
  background-color: #f1f7f6;
}

@media (max-width: 768px) {
  th, td {
    padding: 14px 12px;
    font-size: 0.9rem;
  }
  .core-values h2 {
    font-size: 1.5rem;
  }
}


/* Penataan untuk seluruh bagian produk */
.section-product {
  padding: 60px 0; /* Jarak atas dan bawah */
 background: linear-gradient(
    rgba(255, 255, 255, 0.9), 
    rgba(255, 255, 255, 0.9)
  );
  
}

/* Kontainer untuk memusatkan konten */
.product-container {
  max-width: 1200px;
  margin: -50px auto 0 auto; /* naik ke atas 50px */
  padding: 40px 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* bayangan lembut */
  position: relative;
  z-index: 10;
}

/* Judul "Our Products" */
.section-product h2 {
  text-align: center;
font-size: 2.2rem;
  margin-bottom: 40px;
  color: #185519;
}

/* --- Product Grid Layout --- */

/* Konfigurasi grid untuk kartu produk */
.product-grid {
  display: grid;
  /* Membuat 4 kolom dengan lebar yang sama */
  grid-template-columns: repeat(4, 1fr);
  gap: 30px; /* Jarak antar kartu */
}

/* --- Product Card Styling --- */

.product-card {
  background-color: #ffffff; /* Latar belakang kartu putih */
  border-radius: 10px; /* Sudut membulat */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Bayangan halus */
  overflow: hidden; /* Memastikan gambar tidak keluar dari sudut membulat */
  text-align: center;
  
  /* Menggunakan flexbox untuk tata letak di dalam kartu */
  display: flex;
  flex-direction: column; /* Menumpuk item (gambar, teks, tombol) secara vertikal */
  
  /* Transisi untuk efek hover */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efek hover: kartu akan sedikit terangkat dan bayangan lebih jelas */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Gambar produk */
.product-card img {
  width: 100%;
  height: 220px; /* Tinggi tetap untuk semua gambar */
  object-fit: cover; /* Memastikan gambar menutupi area tanpa terdistorsi */
}

/* Judul produk (Cinnamon, Cloves, dll.) */
.product-card h3 {
  font-size: 1rem; /* Ukuran font 24px */
  margin: 20px 15px 10px 15px;
  color: #333;
}

/* Deskripsi produk */
.product-card p {
  font-size: 0.7rem; /* Ukuran font 16px */
  color: #666;
  line-height: 1.5;
  padding: 0 20px;
  margin-bottom: 20px;
  display: flex;
  text-align: justify;
  /* Properti ini membuat deskripsi mengisi ruang yang tersedia */
  /* Ini akan mendorong tombol ke bagian bawah kartu */
  flex-grow: 1; 
}

/* Tombol "View Details" */
.product-button {
  display: inline-block;
  background-color: #28a745; /* Warna tombol hijau */
  color: #ffffff; /* Teks putih */
  padding: 12px 24px;
  margin: 0 20px 20px 20px; /* Jarak tombol dari tepi kartu */
  border-radius: 5px;
  text-decoration: none; /* Hapus garis bawah tautan */
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.product-button:hover {
  background-color: #218838; /* Warna hijau lebih gelap saat disentuh */
}

/* --- Responsive Media Queries --- */

/* Untuk layar tablet (misalnya, di bawah 992px) */
@media (max-width: 992px) {
  .product-grid {
    /* Ubah menjadi 2 kolom */
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Untuk layar ponsel (misalnya, di bawah 576px) */
@media (max-width: 576px) {
  .product-grid {
    /* Ubah menjadi 1 kolom */
    grid-template-columns: 1fr;
  }
  
  .section-product h2 {
    font-size: 2.2rem; /* Kecilkan judul di ponsel */
  }
  
}

body {
  background-color: #f7f9fc;
  
}

.contact-section {
  display: flex;
  padding: 40px 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 60px auto; /* tambah jarak dari atas */
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.contact-left {
  flex: 1;
  min-width: 320px;
  max-height: 790px; /* batasi tinggi agar tidak terlalu panjang */
  overflow: hidden;
  border-radius: 2%;
}

.contact-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right {
  flex: 1;
  min-width: 300px;
  padding: 40px 50px;
  background: linear-gradient(rgba(255,255,255,0.95), rgba(255,255,255,0.95));
}

.contact-right h2 {
  margin-bottom: 20px;
  color: #185519;
  font-size: 2.2rem;
}

.contact-right p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border 0.3s, box-shadow 0.3s;
  background-color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #28a745;
  box-shadow: 0 0 5px rgba(40, 167, 69, 0.25);
  outline: none;
}

.contact-form button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #28a745;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.contact-form button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    padding: 20px;
  }

  .contact-left, 
  .contact-right {
    min-width: 100%;
    max-height: none;
  }

  .contact-right {
    padding: 25px;
  }
}

footer{
  text-align: center;
  padding: 20px;
  background-color: #185519;
  color: white;
  margin-top: 40px;
}
