/* === GLOBAL === */
body {
  font-family: 'Inter', sans-serif;
  background-color: #f4f5f7;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  width: 100%;
  height: 480px;
  background: url('../img/banner.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* === KONTEN UTAMA RATA TENGAH === */
.container-beranda {
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 30px; 
  box-sizing: border-box;
}

/* ===== PRODUK SECTION ===== */
.produk-section {
  text-align: center;
  margin-top: 60px;
}

.produk-section h2 {
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 25px;
}

.produk-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.produk-card:hover {
  transform: translateY(-5px);
}

.produk-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

    .thumb {
        opacity: 0.5;
    }
    
    .thumb.active {
        border-color: #2B8D4C !important;
        opacity: 1;
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(43, 141, 76, 0.3);
    }
    
    .thumb:hover {
        opacity: 0.8;
    }

/* ===== KALKULATOR SECTION ===== */
.kalkulator-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 30px;
  margin-top: 60px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.kalkulator-section h3 {
  font-weight: 700;
  color: #388e3c;
  margin-bottom: 20px;
}

/* ===== HASIL PUPUK SECTION ===== */
.hasil-pupuk-section {
  background-color: #f4f5f7;
  padding: 80px 0;
  text-align: center;
}

.hasil-banner {
  position: relative;
}

.banner-img {
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  filter: brightness(0.7);
}

.banner-text h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* === CARD HASIL === */

.hasil-pupuk-section {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
}

.hasil-banner {
  position: relative;
}

.banner-img {
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  filter: brightness(0.7);
}

.banner-text h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* === CARD HASIL PEMAKAIAN === */
 /* Section Layout */
    .hasil-pupuk-section {
        position: relative;
        padding-bottom: 5rem;
    }

    /* Banner Styling */
    .hasil-banner {
        margin-bottom: 0;
        position: relative;
    }

    .banner-img {
        height: 400px;
        object-fit: cover;
        width: 100%;
    }

    /* Cards Container - Overlapping Banner */
    .cards-container {
        position: relative;
        margin-top: -120px;
        z-index: 10;
        padding-bottom: 3rem;
    }

    /* Modern Card Styling - Vertikal */
    .hasil-card-modern {
        background: #ffffff;
        border-radius: 20px;
        padding: 2.5rem 1.5rem;
        text-align: center;
        position: relative;
        overflow: visible;
        box-shadow: 8px 8px 0px 0px rgba(255, 237, 100, 0.8);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid rgba(255, 237, 100, 0.3);
        height: 100%;
        display: flex;
        flex-direction: column;
        min-height: 380px;
    }

    .hasil-card-modern:hover {
        background: #FFED64;
        transform: translateY(-10px);
        box-shadow: 12px 12px 0px 0px rgba(255, 237, 100, 1);
        border-color: #FFED64;
    }

    /* Icon Wrapper - No Box */
    .card-icon-wrapper {
        margin: 0 auto 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s ease;
    }

    .hasil-card-modern:hover .card-icon-wrapper {
        transform: scale(1.1);
    }

    .icon-benefit {
        width: 60px;
        height: 60px;
        object-fit: contain;
        transition: transform 0.4s ease;
    }

    /* Card Title */
    .hasil-card-modern .card-title {
        color: #2B8D4C;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        min-height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.3s ease;
    }

    /* Card Description */
    .hasil-card-modern .card-description {
        color: #2B8D4C;
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0;
        flex-grow: 1;
        transition: color 0.3s ease;
    }

    /* Responsive Adjustments */
    @media (max-width: 992px) {
        .cards-container {
            margin-top: -80px;
        }

        .banner-img {
            height: 300px;
        }

        .hasil-card-modern {
            min-height: 350px;
        }
    }

    @media (max-width: 768px) {
        .cards-container {
            margin-top: -60px;
        }

        .banner-img {
            height: 250px;
        }

        .hasil-card-modern {
            padding: 2rem 1.5rem;
            min-height: 320px;
        }

        .icon-benefit {
            width: 70px;
            height: 70px;
        }

        .hasil-card-modern .card-title {
            font-size: 1rem;
            min-height: 60px;
        }

        .hasil-card-modern .card-description {
            font-size: 0.85rem;
        }

        .banner-text h2 {
            font-size: 1.5rem;
            padding: 0 1rem;
        }
    }

    @media (max-width: 576px) {
        .cards-container {
            margin-top: -40px;
        }

        .banner-img {
            height: 200px;
        }
    }
/* === Responsif untuk Mobile === */
@media (max-width: 768px) {
  .banner-img {
    height: 180px;
  }

  .hasil-card {
    padding: 30px 20px;
  }

  .icon-benefit {
    width: 65px;
    height: 65px;
  }

  .hasil-card h5 {
    font-size: 16px;
  }

  .hasil-card p {
    font-size: 14px;
  }
}


/* ===== GALERI SECTION ===== */
.galeri-section {
  margin-top: 70px;
  text-align: center;
}

.galeri-section h2 {
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 25px;
}

.galeri-img {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeri-img:hover {
  transform: scale(1.03);
}

/* ===== TESTIMONI SECTION ===== */
.testimoni-section {
  margin-top: 70px;
  margin-bottom: 80px;
  text-align: center;
}

.testimoni-section h2 {
  color: #2e7d32;
  font-weight: 700;
  margin-bottom: 25px;
}

.testimoni-card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  background-color: #fff;
}

  .testimoni-card {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .testimoni-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .modal-content {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    }

    .text-justify {
        text-align: justify;
    }

/* ===== FOOTER ===== */
footer {
  background-color: #2e7d32;
  color: white;
  text-align: center;
  padding: 25px 10px;
  margin-top: 80px;
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container-beranda {
    padding: 0 20px;
  }

  .produk-card img {
    height: 160px;
  }

  .galeri-img {
    height: 180px;
  }
}

/* ===== TOMBOL SELENGKAPNYA ===== */
.btn-selengkapnya {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #2B8D4C 0%, #D5D44B 100%);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-selengkapnya:hover {
  background: linear-gradient(90deg, #1f6e3b 0%, #c9c84d 100%);
  transform: translateY(-2px);
  color: #fff;
}

