/* ============================= 
   FOOTER MWCNU BUARAN
   Elegan â€¢ Responsif â€¢ Modern
============================= */

footer.footer {
  background: var(--nav-bg);
  color: var(--nav-text);
  padding: 3rem 1rem 1.5rem;
  font-family: "Poppins", sans-serif;
  transition: background 0.4s, color 0.4s;
}

/* Wrapper */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 2rem;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 250px;
  min-width: 230px;
}

/* Judul kolom */
.footer-col h4 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  position: relative;
}

.footer-col h4::after {
  content: "";
  display: block;
  width: 45px;
  height: 3px;
  background: #0b8a83;
  margin-top: 6px;
  border-radius: 3px;
}

/* Deskripsi footer */
.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  text-align: justify;
}

/* Informasi link */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  color: var(--nav-text);
  text-decoration: none;
  transition: 0.25s;
}

.footer-col ul a:hover {
  color: var(--accent);
  padding-left: 6px;
}

/* Sosial media */
.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0b8a83;
  color: #f2f5f4;
  font-size: 1rem;
  transition: 0.25s;
  text-decoration: none; /* 🟢 tambahkan ini */
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.05);
}

.social-icon.fb:hover { background: #1877f2; color: #fff; }
.social-icon.ig:hover { background: #e4405f; color: #fff; }
.social-icon.tt:hover { background: #000; color: #fff; }

/* Garis pemisah */
.footer-line {
  border: none;
  border-top: 2px solid rgba(0,0,0,0.15);
  margin: 1.5rem auto;
  max-width: 1100px;
  opacity: 0.5;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
  color : #1b5f63;
}

/* GRADIENT (DARK & LIGHT MODE) */
html[data-theme="light"] footer.footer {
  background: linear-gradient(180deg, #e4ebea 0%, #e4ebea 100%);
}

html[data-theme="dark"] footer.footer {
  background: linear-gradient(180deg, #1b1b1b 0%, #111 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
}

html[data-theme="light"] .footer-col h4 {
  color: #0b8a83; /* tosca gelap untuk light mode */
}

html[data-theme="dark"] .footer-col h4 {
  color: #33c2b7; /* tosca sedikit lebih terang agar kontras di dark mode */
}

html, body {
  height: 100%;
  margin: 0;
}



/* Animasi masuk halus */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================
   RESPONSIVE MOBILE
============================= */
/* =============================
   FOOTER: Tampilan Mobile (≤768px)
============================= */
@media (max-width: 768px) {
  /* Struktur kolom jadi vertikal */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 1rem;   /* atau 1.5rem / 2rem sesuai kebutuhan */
    padding-right: 1rem;  /* supaya simetris */
    gap: 1rem; /* beri jarak antar kolom */
  }


  
  /* Kolom lebar penuh */
  .footer-col {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Judul kolom */
  .footer-col h4 {
    font-size: 1rem;         /* sedikit lebih kecil */
    margin-bottom: 0.6rem;
  }

  .footer-col h4::after {
    margin: 6px 0 0 0;       /* garis bawah tetap rata kiri */
  }

  /* Deskripsi */
  .footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1rem;
  }

  /* Daftar link informasi */
  .footer-col ul {
    margin: 0.3rem 0 1rem 0;
    padding: 0;
  }

  .footer-col ul li {
    margin-bottom: 0.4rem;
  }

  .footer-col ul a {
    font-size: 0.9rem;       /* lebih kecil dari desktop */
    line-height: 1;
    display: inline-block;
    padding: 1px 0;
  }

  /* Sosial media */
  .footer-social {
    justify-content: flex-start;
    gap: 0.6rem;
  }

  .social-icon {
    width: 34px;
    height: 34px;
    font-size: 0.9rem;
  }

  /* Garis pemisah & bawah footer */
  .footer-line {
    margin: 1.2rem 0;
  }

  .footer-bottom {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.85;
  }
}



