@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f7f7f7;
  color: #222;
}

/* ===== NAVBAR ===== */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  background-color: #1f6000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
}

.logo .text h2 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.logo .text p {
  font-size: 13px;
  color: #d0ffd0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f3ffaf;
}

nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #f3ffaf;
  border-radius: 2px;
}

/* ===== LOGIN BUTTON ===== */
.login-btn {
  background-color: #f3ffaf;
  color: #1f6000;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.login-btn i {
  font-size: 18px;
}

.login-btn:hover {
  background-color: #d9f2d5;
  color: #0e3d00;
}

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  margin-top: 80px;
  overflow: hidden;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

.overlay h1 {
  font-size: 48px;
  font-weight: 700;
}

.overlay p {
  font-size: 18px;
  color: #f0f0f0;
}

/* ===== INFO SECTION ===== */
.info-section {
  text-align: center;
  padding: 80px 40px;
  background-color: #fff;
}

.info-section h2 {
  color: #1f6000;
  font-size: 32px;
  margin-bottom: 10px;
}

.info-section p {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #444;
}

.info-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.card {
  background: #e9f9e7;
  border-radius: 15px;
  padding: 30px 20px;
  width: 250px;
  transition: 0.3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  background: #d9f2d5;
}

.icon {
  font-size: 70px;
  color: #000;
  margin-bottom: 15px;
}

.card h3 {
  color: #1f6000;
  font-weight: 700;
}

/* ===== SAMBUTAN ===== */
.sambutan {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 80px 60px;
  background: #f5fff3;
}

.sambutan .foto img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
}

.sambutan .teks {
  max-width: 600px;
}

.sambutan .teks h2 {
  color: #1f6000;
  font-size: 30px;
  margin-bottom: 10px;
}

/* ===== GALERI ===== */
.galeri {
  text-align: center;
  padding: 80px 40px;
  background: #fff;
}

.galeri h2 {
  color: #1f6000;
  margin-bottom: 30px;
}

.galeri-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.galeri-grid img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* ===== FOOTER ===== */
.footer {
  background: #1f6000;
  color: white;
  padding: 40px 60px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.logo-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-footer img {
  width: 60px;
  height: 60px;
}

.contact h3 {
  margin-bottom: 8px;
}

.contact p {
  font-size: 14px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 30px;
    flex-wrap: wrap;
  }

  nav ul {
    gap: 15px;
    font-size: 13px;
  }
}
