<template>
  <footer class="footer-contact">
    <div class="footer-content">
      <div class="footer-section">
        <h3 class="footer-title">{{ $t('contactname') }}</h3>
        <li>
          <span>{{ $t('company.wholeName') }} </span>
        </li>
        <li>E-mail: ykl1979@163.com</li>
        <!-- <li>
          {{ $t('contact.email') }}
        </li> -->
        <li>
          {{ $t('contact.phone') }}
        </li>
      </div>

      <div class="footer-section">
        <h3 class="footer-title">{{ $t('address') }}</h3>
        <li>
          {{ $t('contact.address') }}
        </li>
      </div>
    </div>

    <div class="footer-bottom">
      <p>{{ $t('copyright') }} © 2025 {{ $t('company.wholeName') }} | 皖ICP备2020019089号-5</p>
    </div>
  </footer>
</template>

<script setup lang="ts"></script>
<style scoped>
li {
  font-size: 1.3rem;
}
.footer-contact {
  background: linear-gradient(135deg, #8d53cc 0%, #74a3f4 100%);
  color: white;
  padding: 50px 0 20px;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.footer-section {
  padding: 20px;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 3px;
}

.footer-title i {
  margin-right: 10px;
  color: #6a11cb;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #4f4f4f;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-section {
    padding: 15px;
  }
}
</style>
