/* ========== GLOBAL STYLE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #f8f9f8;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== HEADER ========== */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2e7d32;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #2e7d32;
}

.btn-header {
  background-color: #2e7d32;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-header:hover {
  background-color: #256428;
}

/* ========== HERO SECTION ========== */
/* ======== HERO SECTION ======== */
.hero {
  height: 100vh;
  background: url("images/bg-home.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

/* Tambahkan overlay biar teks tetap terbaca */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Konten hero */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}


.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn-utama {
  background-color: #4caf50;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.btn-utama:hover {
  background-color: #43a047;
}

/* ========== TENTANG ========== */
.tentang {
  background-color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.tentang h2 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

.tentang p {
  max-width: 800px;
  margin: auto;
  font-size: 1.05rem;
}

/* ========== LAYANAN ========== */
.layanan {
  background-color: #f3f9f4;
  padding: 4rem 1rem;
  text-align: center;
}

.layanan h2 {
  color: #2e7d32;
  text-align: center;
  margin-bottom: 8px;
}

.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  color: #2e7d32;
  margin-bottom: 0.5rem;
}

/* ========== GALERI ========== */
.galeri {
  background-color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.galeri h2 {
  color: #2e7d32;
  margin-bottom: 2rem;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.galeri-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.3s;
}

.galeri-grid img:hover {
  transform: scale(1.03);
}

/* ========== TESTIMONI ========== */
.testimoni {
  background-color: #f3f9f4;
  padding: 4rem 1rem;
  text-align: center;
}

.testimoni h2 {
  color: #2e7d32;
  margin-bottom: 2rem;
}

.testi-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testi {
  background-color: #ffffff;
  max-width: 400px;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  font-style: italic;
}

/* ========== KONTAK ========== */
.kontak {
  background-color: #ffffff;
  padding: 4rem 1rem;
  text-align: center;
}

.kontak h2 {
  color: #2e7d32;
  margin-bottom: 1rem;
}

.kontak p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.btn-wa {
  background-color: #25D366;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 1rem;
  transition: 0.3s;
}

.btn-wa:hover {
  background-color: #1ebe5d;
}

.alamat {
  margin-bottom: 1.5rem;
}

.maps iframe {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ========== FOOTER ========== */
footer {
  background-color: #2e7d32;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

footer a {
  color: #a5d6a7;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ========== FLOATING WHATSAPP BUTTON ========== */
.wa-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 100;
}

.wa-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .btn-header {
    display: none;
  }

  header .logo {
    font-size: 1.2rem;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .testi-grid {
    flex-direction: column;
    align-items: center;
  }
}
