/* === FOOTER === */
footer {
  background: #1a1a1a; /* warna gelap elegan */
  color: #ddd;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  align-items: start;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  border-bottom: 2px solid #ffcc00;
  padding-bottom: 5px;
}

.footer-section p,
.footer-section a {
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
  text-decoration: none;
}

.footer-section a:hover {
  color: #ffcc00;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-logo p {
  text-align: left;
}

.publisher-link {
  margin-top: 5px;
  font-weight: bold;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: #ffcc00;
}

.social-icons svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

/* === Rapiin Kontak === */
.footer-contact p,
.footer-address p {
  display: flex;
  align-items: center;
  gap: 8px; /* jarak icon dan teks */
  margin: 0;
}

.footer-contact p svg,
.footer-address p svg {
  stroke: #ffcc00;
  flex-shrink: 0; /* biar tidak geser */
}

.footer-barcode {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-barcode img {
  max-width: 140px;
  border: 2px solid #444;
  border-radius: 8px;
  background: #fff;
  padding: 5px;
}

.footer-bottom {
  text-align: center;
  padding: 20px 0 0px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #333;
  margin-top: 15px;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive Layout */
@media (max-width: 768px) {
  footer {
    text-align: center;
  }
  .footer-section {
    align-items: center;
  }
  .footer-logo p {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}
