/* footer-default.css */

/* 整體 Footer 深色背景與文字 */
#footer,
.site-footer {
  background-color: #222;
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer Top 區塊 */
#footer .footer-top {
  padding: 40px 0;
  border-bottom: 1px solid #444;
}

/* 容器與格線系統 */
#footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

#footer .row {
  display: flex !important;
  flex-wrap: wrap;
  margin: 0 -15px;
}

#footer .footer-contact,
#footer .footer-links,
#footer .footer-newsletter {
  padding: 0 15px;
  box-sizing: border-box;
}

/* 三欄寬度設定 */
@media (min-width: 992px) {

  #footer .footer-contact,
  #footer .footer-links,
  #footer .footer-newsletter {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 991px) {

  #footer .footer-contact,
  #footer .footer-links,
  #footer .footer-newsletter {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {

  #footer .footer-contact,
  #footer .footer-links,
  #footer .footer-newsletter {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
}

/* 區塊標題 */
#footer h3,
#footer h4 {
  color: #fff;
  margin-bottom: 16px;
}

/* 連結列表 */
#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-links li {
  margin-bottom: 10px;
}

#footer .footer-links i {
  color: #007bff;
  margin-right: 8px;
}

#footer .footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .footer-links a:hover {
  color: #fff;
}

/* 聯絡資訊文字 */
#footer .footer-contact p {
  margin: 0;
}

#footer .footer-contact a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .footer-contact a:hover {
  color: #fff;
}

/* 服務時間 */
#footer .footer-newsletter p {
  margin: 0;
}

/* Footer Bottom 區塊 */
#footer .footer-bottom {
  background-color: #333;
  /* 深色背景，與上方區塊識別 */
  color: #fff;
  /* 白色文字 */
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #444;
}

#footer .footer-bottom a {
  color: #777;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .footer-bottom a:hover {
  color: #fff;
}

/* 社群圖示 */
#footer .social-links {
  display: flex;
  justify-content: left;
  align-items: left;
  margin-top: 16px;
}
#footer .social-links a img {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  padding:2px 10px;
  transition: opacity 0.3s, filter 0.3s;
  filter: grayscale(50%);
}
#footer .social-links a:hover img {
  opacity: 1;
  filter: none;
}
#footer .copyright a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

#footer .copyright a:hover {
  color: #fff;
}