/* ==========================================================================
   11. FOOTER & FLOATING CTA - ARCHITECTURAL MONOCHROME
   ========================================================================== */

/* Main Footer Container */
.site-footer {
  background-color: var(--primary-black, #111111);
  color: #888888; /* Warna teks redup agar menciptakan hierarki yang nyaman */
  padding: 80px 0 0 0;
  border-top: 1px solid #222222;
  font-family: inherit;
}

/* Master Grid Footer */
.footer-widgets-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1.8fr; /* Pembagian kolom asimetris */
  gap: 50px;
  padding-bottom: 60px;
}

/* Column Header Styling */
.footer-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--pure-white, #ffffff);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-title span {
  color: var(--accent-gold, #bfa15f); /* Titik dekoratif */
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--pure-white, #ffffff);
  margin-bottom: 25px;
  position: relative;
}

/* Text & Lists */
.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #999999;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  color: #888888;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

/* Efek Hover Garis Bawah Minimalis */
.footer-links-list li a:hover {
  color: var(--pure-white, #ffffff);
  transform: translateX(5px);
}

/* Kontak List Styling */
.footer-contact-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #999999;
}

.footer-contact-list li i {
  color: var(--pure-white, #ffffff);
  font-size: 14px;
  margin-top: 4px;
  width: 15px;
}

/* --- BARIS BAWAH (Bottom Bar) --- */
.footer-bottom-bar {
  border-top: 1px solid #222222;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright p {
  font-size: 0.85rem;
  color: #666666;
  margin: 0;
}

/* Ikon Sosial Kaki */
.footer-social-icons {
  display: flex;
  gap: 15px;
}

.footer-social-icons a {
  color: #888888;
  font-size: 16px;
  width: 35px;
  height: 35px;
  border: 1px solid #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-social-icons a:hover {
  color: var(--primary-black, #111111) !important;
  background-color: var(--pure-white, #ffffff);
  border-color: var(--pure-white, #ffffff);
  transform: translateY(-3px);
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (ELEGANT ADAPTIVE)
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  align-items: center;
  background-color: #111111; /* Menggunakan basis hitam agar selaras monochrome */
  border: 1px solid #333333;
  padding: 8px;
  border-radius: 50px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.wa-icon-wrapper {
  width: 40px;
  height: 40px;
  background-color: #25d366; /* Warna ikon asli WA agar tetap familiar bagi user */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}

.wa-hover-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  padding: 0 15px 0 10px;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efek Reveal Teks Saat Di-hover */
.floating-wa-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-5px);
}

.floating-wa-btn:hover .wa-hover-text {
  color: #111111;
  max-width: 150px; /* Lebar teks membuka dengan transisi halus */
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 992px) {
  .footer-widgets-grid {
    grid-template-columns: 1fr 1fr; /* Menjadi 2 kolom di tablet */
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-widgets-grid {
    grid-template-columns: 1fr; /* Menjadi 1 kolom penuh di mobile */
    gap: 35px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Optimasi tombol WA di mobile agar tidak memakan ruang layar */
  .floating-wa-btn {
    bottom: 20px;
    right: 20px;
    padding: 0;
  }

  .wa-hover-text {
    display: none; /* Sembunyikan teks di mobile, biarkan hanya ikon lingkaran */
  }
}
