/* 统一底部样式 */

/* 主底部区域 */
.site-footer {
  background: #c0392b;
  color: #fff;
}

.footer-main {
  padding: 40px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
}

/* 各区块通用样式 */
.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255,255,255,0.3);
}

.footer-item {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-icon {
  flex-shrink: 0;
  font-size: 1rem;
}

/* 联系我们区块 */
.footer-contact {
  flex: 1.5;
}

.footer-contact .footer-item {
  color: rgba(255,255,255,0.9);
}

/* 信息区块 */
.footer-info {
  flex: 1;
  text-align: left;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-record {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  margin-top: 10px;
}

/* 微信公众号区块 */
.footer-wechat {
  flex: 1;
  text-align: left;
}

.footer-wechat-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-wechat-name {
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.footer-qrcode {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 8px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer-qrcode img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 底部版权栏 */
.footer-bottom {
  background: rgba(0,0,0,0.15);
  padding: 16px 0;
}

.footer-bottom .footer-container {
  justify-content: center;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  text-align: center;
}

/* 响应式 */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }

  .footer-item {
    justify-content: center;
  }

  .footer-info .footer-item {
    justify-content: center;
  }

  .footer-title {
    border-bottom: none;
    margin-bottom: 12px;
  }

  .footer-main {
    padding: 30px 0 20px;
  }

  .footer-qrcode {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .footer-wechat-name {
    font-size: 0.9rem;
  }

  .footer-qrcode {
    width: 90px;
    height: 90px;
  }
}
