<template>
  <div id="footer" class="container-fluid">
    <!-- 背景装饰 -->
    <div class="footer-bg">
      <div class="gradient-orb orb-1"></div>
      <div class="gradient-orb orb-2"></div>
    </div>
    
    <div class="footer-content">
      <div class="logo">
        <img src="@/assets/img/logo_white.svg" alt="logo 图">
      </div>
      <p class="title">上海展域航空技术有限公司</p>
      <p class="subtitle">您身边的无人机解决方案专家</p>
      
      <div class="footer-info">
        <div class="info-item">
          <i class="glyphicon glyphicon-map-marker"></i>
          <span>地址：上海市徐汇区漕溪路 252 号银海大楼 C-406</span>
        </div>
        <div class="info-item">
          <i class="glyphicon glyphicon-earphone"></i>
          <span>联系电话：15086621233</span>
        </div>
        <div class="info-item">
          <i class="glyphicon glyphicon-envelope"></i>
          <span>邮箱：zhanyuhangkong@163.com</span>
        </div>
        <div class="info-item">
          <i class="glyphicon glyphicon-wechat"></i>
          <span>微信号：15086621233</span>
        </div>
      </div>
      
      <div class="footer-links">
        <router-link to="/products">产品中心</router-link>
        <router-link to="/solutions">解决方案</router-link>
        <router-link to="/news">公司动态</router-link>
        <router-link to="/info">关于我们</router-link>
      </div>
      
      <div class="copyright">
        <p>
          <span>Copyright &copy; {{ new Date().getFullYear() }} 上海展域航空技术有限公司</span>
        </p>
        <p>
          <a href="https://beian.miit.gov.cn/" target="_blank">沪 ICP 备 2023024212 号 -1</a>
        </p>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: "Footer",
  data() {
    return {};
  }
};
</script>
<style scoped>
#footer {
  position: relative;
  width: 100%;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e3c72 50%, #2a5298 100%);
  overflow: hidden;
  padding: 60px 20px 40px;
}

/* 背景装饰 */
#footer .footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#footer .gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

#footer .orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

#footer .orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, 40px); }
}

/* 内容区域 */
#footer .footer-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
#footer .logo {
  width: 200px;
  margin: 0 auto 25px;
  text-align: center;
}

#footer .logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

#footer .logo:hover img {
  transform: scale(1.05);
}

/* 标题 */
#footer .title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff 0%, #e0e7ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#footer .subtitle {
  font-size: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 40px;
  letter-spacing: 3px;
}

/* 信息列表 */
#footer .footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
  margin: 30px 0;
}

#footer .info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#footer .info-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(30, 115, 190, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

#footer .info-item i {
  font-size: 16px;
  color: #60a5fa;
}

#footer .info-item span {
  white-space: nowrap;
}

/* 快捷链接 */
#footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0 30px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

#footer .footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

#footer .footer-links a:hover::after {
  width: 100%;
}

/* 版权信息 */
#footer .copyright {
  text-align: center;
  margin-top: 30px;
}

#footer .copyright p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 8px 0;
}

#footer .copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer .copyright a:hover {
  color: #60a5fa;
}

/* 响应式设计 */
@media screen and (max-width: 997px) {
  #footer {
    padding: 50px 20px 30px;
  }

  #footer .title {
    font-size: 22px;
  }

  #footer .subtitle {
    font-size: 13px;
  }

  #footer .footer-info {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  #footer .info-item {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }

  #footer .footer-links {
    flex-wrap: wrap;
    gap: 15px 25px;
  }

  #footer .copyright p {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  #footer {
    padding: 40px 15px 25px;
  }

  #footer .logo {
    width: 150px;
  }

  #footer .title {
    font-size: 18px;
  }

  #footer .footer-links {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
}
</style>
