/* Font & Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Warna */
:root {
  --hijau: #007d55;
  --hijau-muda: #d6f2e1;
  --putih: #fff;
  --abu: #f2f2f2;
  --gelap: #00311d;
}

/* NAVBAR */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 55px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.yayasan {
  font-size: 14px;
  color: #000;
}

.arridha {
  font-size: 22px;
  color: var(--hijau);
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: var(--gelap);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--hijau);
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--putih);
    position: absolute;
    right: 0;
    top: 60px;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* HERO */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("https://images.unsplash.com/photo-1603570417036-8d7b20e72df0?auto=format&fit=crop&w=1600&q=80") center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--putih);
  padding: 20px;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  max-width: 800px;
}

.btn-primary {
  background: var(--hijau);
  color: var(--putih);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #005a3a;
}

/* SECTION STYLE */
section {
  padding: 80px 40px;
}

/* PROGRAM */
.program-section {
  background: var(--hijau-muda);
  text-align: center;
}

.program-section h2 {
  color: var(--gelap);
  font-size: 2rem;
}

.subtitle {
  color: #444;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: var(--putih);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  color: var(--hijau);
  margin: 15px 0 5px;
}

.card p {
  padding: 0 15px 20px;
  color: #444;
}

/* GALERI */
.galeri {
  background: var(--putih);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.link-more {
  color: var(--hijau);
  font-weight: 600;
  text-decoration: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  height: 130px;
  object-fit: cover;
}

/* ARTIKEL */
.artikel {
  background: var(--abu);
}

.artikel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.artikel-card {
  background: var(--putih);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.artikel-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.artikel-card .text {
  padding: 15px;
}

.artikel-card h4 {
  color: var(--hijau);
  margin-bottom: 8px;
}

.artikel-card p {
  color: #444;
  font-size: 0.9rem;
}

/* KONTAK */
.kontak {
  text-align: center;
  background: var(--hijau);
  color: var(--putih);
}

/* FOOTER */
footer {
  text-align: center;
  background: var(--gelap);
  color: #fff;
  padding: 20px;
  font-size: 0.9rem;
}