﻿/* =====================================================
   GLOBAL STYLES
   ===================================================== */

   body {
      font-family: 'Be Vietnam Pro', sans-serif;
    }

    h1,
    .hero-title,
    #artikel-home .artikel-home-header h2,
    #testimoni .section-heading h2,
    #visimisi .section-heading h2,
    #lokasi h2 {
      font-family: 'Playfair Display', serif;
    }

    #kegiatan h2,
    .area-header h2, 
    #kontak h2,
    .kegiatan-title,
    .contact-title {
      font-family: 'Be Vietnam Pro', sans-serif;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

/* ===========================
   PRELOADER COLOR CHANGE
   =========================== */
#js-preloader .dot,
#js-preloader .dots span {
  background-color: #485C11 !important;
  box-shadow: 0 0 10px #485C11 !important;
}

/* ==============================
   NAVBAR DESKTOP
   ============================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 30px;
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.logo img {
  height: 45px;
  display: block;
}

/* ====== Tombol menu untuk mobile ====== */
.menu-toggle {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.menu-toggle.active .menu-text {
  color: #557c33;
}

/* ====== Dropdown menu (mobile) ====== */
.nav-links {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  background-color: white;
  position: absolute;
  top: 70px;
  right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px 20px;
}

.nav-links.show {
  display: flex;
}

.nav-links li {
  list-style: none;
  margin: 8px 0;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

.nav-links a:hover {
  color: #557c33;
}

#home {
  padding-top: 90px;
}

/* ====== Tampilan Desktop ====== */
@media (min-width: 768px) {
  .menu-toggle {
    display: none; /* Tombol ☰ hilang di desktop */
  }

  .nav-links {
    display: flex !important;
    position: static;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex: 1;
    background: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    gap: 35px;
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links a {
    font-weight: 500;
  }

  .nav-links a:hover {
    color: #435613;
  }
}

/* ====== PERBAIKAN SPASI HOME DI MOBILE ====== */
@media (max-width: 768px) {
  #home {
    padding-top: 110px;
  }


  html body .main-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  html body .header-text {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* =====================================================
   HERO / MAIN BANNER
   ===================================================== */
.main-banner .col-lg-8 {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
  position: relative;
  overflow: visible;
}

.main-banner .header-text h1 {
  text-align: center;
  font-size: 79px;
  font-weight: 300;
  line-height: 1;
  margin-top: 10px;
}

.main-banner .header-text p {
  margin-top: 0;
  text-align: center;
  font-size: 15px;
}

.main-banner .header-text h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 15px;
  text-align: center;
  color: #2f5d3a;
}

.main-banner .right-image {
  width: 100%;
  max-width: 1200px;
  margin: 15px auto 0 auto;
  display: flex;
  justify-content: center;
  transform: translateX(-4px) !important;
}

.main-banner .right-image img {
  width: 100%;
  max-width: 1100px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .main-banner .right-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transform: none !important;
    width: 100%;
    max-width: 95%;
  }

  .main-banner .right-image img {
    width: 100%;
    aspect-ratio: 16 / 9; /* paksa bentuk landscape */
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    display: block;
  }

  .main-banner .header-text h1 { font-size: 48px; }
  .main-banner .header-text h4 { font-size: 18px; }
  .main-banner .header-text p  { font-size: 14px; }
}

/* =====================================================
   SECTION: KEGIATAN (fixed font + grid layout 4-3)
   ===================================================== */
.kegiatan-section {
  padding: 100px 100px;
  background-color: #485C11;
  color: #fff;
}

/* Judul utama */
.kegiatan-title {
  font-size: 54px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1;
  color: #fff;
  display: inline-block;
}

/* Subtitle */
.section-subtitle {
  font-size: 15px;
  max-width: 700px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #fff; /* ⭐ putih */
  display: inline-block;
}

/* GRID KEGIATAN */
.kegiatan-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px 40px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.3); /* ⭐ garis jadi putih transparan */
}

/* Item */
.kegiatan-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  transition: all 0.3s ease;
}

.kegiatan-item:hover {
  transform: translateY(-8px);
}

/* Icon */
.kegiatan-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.kegiatan-item:hover .kegiatan-icon {
  transform: scale(1.1);
}

/* Judul kegiatan */
.kegiatan-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #fff; /* ⭐ putih */
  margin-bottom: 10px;
}

/* Deskripsi kegiatan */
.kegiatan-item p {
  font-size: 13px;
  color: #f1f1f1; /* ⭐ putih muda supaya lebih lembut */
  line-height: 1.7;
  margin: 0;
}

/* Gambar besar */
.kegiatan-image {
  margin-top: 100px;
  text-align: center;
}

.kegiatan-image img {
  width: 100%;
  max-width: 1100px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease;
}

.kegiatan-image img:hover {
  transform: scale(1.02);
}

/* =========================================
   FIX KEGIATAN SECTION (Mobile Responsive)
   ========================================= */
@media (max-width: 576px) {
  .kegiatan-section {
    padding: 60px 24px;
  }

  .kegiatan-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 10px;
    text-align: left;
    color: #fff; /* ⭐ */
  }

  .section-subtitle {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
    text-align: left;
    max-width: 100%;
    color: #fff; /* ⭐ */
  }

  .kegiatan-row {
    grid-template-columns: 1fr;
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 30px;
  }

  .kegiatan-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.3);
  }

  .kegiatan-item:last-child {
    border-bottom: none;
  }

  .kegiatan-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0;
  }

  .kegiatan-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #fff; /* ⭐ putih */
  }

  .kegiatan-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #f1f1f1; /* ⭐ putih muda */
  }

  .kegiatan-image {
    margin-top: 60px;
  }

  .kegiatan-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
  }
}

/* =====================================================
   SECTION: ARTIKEL HOME
   ===================================================== */
#artikel-home {
  padding: 100px 0;
  background: #fff;
}

.artikel-home-header {
  text-align: center;
  margin-bottom: 60px;
}

.artikel-home-header h2 {
  font-size: 54px;
  color: #111;
  margin-bottom: 15px;
}

.artikel-home-header p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  line-height: 1.8;
}

.artikel-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.artikel-home-card {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.artikel-home-card:hover {
  transform: translateY(-6px);
}

.artikel-home-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.artikel-home-content {
  padding: 25px;
}

.artikel-date {
  font-size: 14px;
  color: #888;
}

.artikel-home-content h3 {
  font-size: 22px;
  margin: 12px 0;
  color: #111;
}

.artikel-home-content p {
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.artikel-home-btn,
.lihat-semua-btn {
  display: inline-block;
  background: #485C11;
  color: #fff;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 30px;
  transition: 0.3s;
}

.artikel-home-btn:hover,
.lihat-semua-btn:hover {
  transform: translateY(-2px);
}

.artikel-home-more {
  text-align: center;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .artikel-home-grid {
    grid-template-columns: 1fr;
  }

  .artikel-home-header h2 {
    font-size: 36px;
  }
}

/* =====================================================
   SECTION: TESTIMONI
   ===================================================== */
#testimoni {
  padding: 100px 0;
}

#testimoni .section-heading h2 {
  font-size: 54px;
  color: #000;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
  max-width: 900px;
}

#testimoni .section-heading p {
  font-size: 15px;
  color: #8d8d8d;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Kolom kiri (daftar testimoni) */
.testimoni-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.testimoni-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  border-top: 1px solid #e5e5e5;
  padding-top: 25px;
}

.testimoni-number {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #b2b2b2;
  min-width: 40px;
}

.testimoni-content h3 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.testimoni-content blockquote {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  font-weight: 400;
  margin: 0;
}

/* Gambar di kanan */
.testimoni-image {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-left: 60px;
}

.testimoni-image img {
  width: 540px;
  height: 720px;
  object-fit: cover;
  border-radius: 30px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 992px) {
  #testimoni {
    padding: 60px 20px;
  }

  #testimoni .section-heading h2 {
    font-size: 42px;
  }

  #testimoni .section-heading p {
    margin-bottom: 40px;
  }

  .testimoni-item {
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
  }

  .testimoni-number {
    font-size: 18px;
    color: #b2b2b2;
  }

  .testimoni-content h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .testimoni-content blockquote {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    text-align: justify;
  }

  .testimoni-list {
    gap: 35px;
  }

  .testimoni-image {
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
  }

  .testimoni-image img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 15px !important; /* ubah jadi lebih melengkung */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); /* sedikit lebih halus */
  }
}

/* Tambahan untuk jarak antar section */
@media (max-width: 576px) {
  #testimoni .section-heading h2 {
    font-size: 36px;
  }

  .testimoni-list {
    gap: 30px;
  }

  .testimoni-item {
    border-top: 1px solid #e5e5e5;
    padding-top: 20px;
  }

  .testimoni-content blockquote {
    font-size: 14px;
  }
}

/* =====================================================
   SECTION: AREA UDJO ECOLAND
   ===================================================== */
#area {
  padding: 100px 0;
  background-color: #485C11; /* Ubah dari putih ke hijau tua */
}

/* Header */
.area-header {
  text-align: center;
  margin-bottom: 60px;
  color: #fff; /* agar teks di header terbaca di atas background hijau */
}

.area-header h2 {
  font-size: 54px;
  font-weight: 400;
  color: #fff;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  line-height: 1;
  margin-bottom: 18px;
}

.area-header p {
  color: #e8e8e8; /* sedikit abu agar lembut */
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2;
}

/* TABEL AREA */
.area-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  overflow: hidden;
  background-color: #fff; /* tetap putih */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* agar terlihat naik di atas bg hijau */
}

/* HEADER */
.table-header {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  font-weight: 700;
  color: #000;
  font-size: 16px;
  text-align: center;
  align-items: center;
  height: 70px;
}

.area-table {
  overflow-x: auto;
}

.th {
  padding: 0 18px;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
}
.th:last-child { border-right: none; }

.table-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: background 0.2s;
}

.td {
  padding: 14px 18px;
  font-size: 13px;
  color: #000;
  border-right: 1px solid rgba(0, 0, 0, 0.02);
}
.td:hover { background-color: rgba(0, 0, 0, 0.05); }
.td:last-child { border-right: none; }

/* ======== RESPONSIVE (Mobile) ======== */
@media (max-width: 768px) {
  #area {
    padding: 60px 0;
    background-color: #485C11; /* pastikan tetap hijau di mobile */
  }

  .area-header {
    margin-bottom: 40px;
    padding: 0 20px;
    color: #fff;
  }

  .area-header h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #fff;
  }

  .area-header p {
    font-size: 14px;
    line-height: 1.6;
    color: #e8e8e8;
    max-width: 300px;
    margin: 0 auto;
  }
}

/* =====================================================
   SECTION: VISI MISI
   ===================================================== */
#visimisi {
  padding: 50px 0 60px;
  background-color: #fff;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* Heading Section (Desktop) */
#visimisi .section-heading {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 40px;
  padding: 0 15px;
}

#visimisi .section-heading h2 {
  font-size: 54px;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
}

/* Garis biru kecil */
.line-dec {
  width: 60px;
  height: 4px;
  background-color: #3fa9f5;
  border-radius: 2px;
  margin-left: 0;
}

/* Section Item (Visi & Misi) */
.section-item {
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 15px;
}

.section-number {
  font-size: 56px;
  color: #bdbdbd;
  font-weight: 500;
  margin-bottom: 15px;
}

.section-text {
  font-size: 16px;
  line-height: 1.9;
  color: #000; 
  text-align: justify;
  margin-bottom: 25px;
}

/* Gambar bawah (Misi) */
.section-image {
  text-align: center;
  margin-top: 30px;
}

.section-image img {
  width: 100%;
  height: auto;
  max-width: 900px;
  border-radius: 30px !important; /* ubah jadi lebih melengkung */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12); /* sedikit lebih halus */
  object-fit: cover;
}

/* =====================================================
   RESPONSIVE DESIGN (Mobile Fix)
   ===================================================== */
@media (max-width: 991px) {
  #visimisi {
    padding: 40px 20px;
  }

  #visimisi .section-heading {
    text-align: left;
    margin: 0 0 30px 0;
    padding: 0;
  }

  #visimisi .section-heading h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
  }

  .section-divider {
    border-top: 1px solid #e5e5e5;
    margin: 25px 0;
  }

  .section-item {
    margin-bottom: 40px;
  }

  .section-number {
    font-size: 36px;
    font-weight: 600;
    color: #c1c1c1;
    margin-bottom: 16px;
  }

  .section-text {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
  }

  .section-image {
    margin-top: 20px;
  }

  .section-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
}

/* =====================================================
   SECTION: KONTAK
   ===================================================== */
#kontak {
  background-color: #fff;
  padding: 100px 20px 80px;
  text-align: center;
}

.contact-title {
  font-size: 54px;
  color: #111;
  font-weight: 500;
  margin-bottom: 15px;
}

.contact-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 50px;
}

.contact-btn {
  display: inline-block;
  background-color: #435613;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 16px 60px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.contact-btn:focus {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.contact-btn:hover {
  background-color: #5a7320;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-title { font-size: 36px; }
  .contact-desc { font-size: 15px; }
  .contact-btn { padding: 14px 40px; font-size: 14px; }
}

/* =====================================================
   SECTION: LOKASI (Final - Rounded Map & Better Spacing)
   ===================================================== */
#lokasi {
  margin-top: 80px;
  position: relative;
  padding: 60px 0 100px;
  text-align: center;
  background-color: #fff;
  overflow: hidden;
}

/* Overlay untuk menurunkan opacity background */
#lokasi::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/bambu.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  opacity: 0.15 !important;   /* 🔥 UBAH INI UNTUK KETEBALAN GAMBAR */
  z-index: 0;
  pointer-events: none;
}

/* Supaya konten tetap terlihat di atas overlay */
#lokasi > * {
  position: relative;
  z-index: 2;
}

#lokasi h2 {
  font-size: 54px;
  font-weight: 600;
  color: #000;
  margin: 0 auto;
  max-width: 1030px;
  text-align: center;
  margin-bottom: 18px;
}

#lokasi p {
  color: #000; /* sedikit abu agar lembut */
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 18px;
}

/* MAP WRAPPER */
.map-container {
  width: 80%;
  margin: 0 auto;
  border-radius: 30px; /* sudut peta melengkung lembut */
  overflow: hidden; /* penting supaya iframe ikut melengkung */
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* efek hover opsional agar terasa interaktif */
.map-container:hover {
  transform: scale(1.005);
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* MAP IFAME */
.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 30px; /* biar tetap tumpul meskipun overflow hidden */
}

@media (max-width: 768px) {
  #lokasi::before {
    background-size: cover;
    background-position: center;
    opacity: 0.07;
  }
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 991px) {
  #lokasi {
    padding: 40px 0 80px;
  }

  #lokasi h2 {
    font-size: 36px;
    margin-bottom: 30px;
  }

  .map-container {
    width: 90%;
    border-radius: 20px;
  }

  .map-container iframe {
    border-radius: 20px;
    height: 380px;
  }
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: #485C11;
  color: #fff;
  padding: 40px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  margin-top: 60px;
  padding-top: 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-info p {
  margin: 2px 0;
  font-size: 14px;
  color: #e8e8e8;
}

.footer-info address {
  font-style: normal;
  font-size: 14px;
  color: #e8e8e8;
  margin: 4px 0;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

/* --- Sosmed --- */
.footer-socials {
  margin-top: 12px;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.footer-socials a img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1); /* ubah ikon jadi putih otomatis */
  transition: transform 0.3s, filter 0.3s;
}

.footer-socials a:hover img {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-info p {
    font-size: 13px;
  }
  .footer-logo img {
    width: 90px;
  }
  .footer-socials a img {
    width: 24px;
    height: 24px;
  }
}

/* =====================================================
   UNIVERSAL SEPARATOR
   ===================================================== */
.section-divider {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin: 25px auto;
  width: 80%;
  opacity: 0.8;
}

.nav-links a.active {
  color: #435613;
  font-weight: 600;
}