<template>
  <div class="our-plan-page">
    <ihead></ihead>
    
    <!-- 页面横幅 -->
    <div class="page-banner">
      <div class="banner-content">
        <div class="container">
          <h1 class="banner-title">我们的方案</h1>
          <p class="banner-subtitle">AI驱动数字化转型，重塑企业核心竞争力</p>
        </div>
      </div>
      <!-- GIF Banner -->
      <div class="gif-banner">
        <img src="https://bimwe.oss-cn-shanghai.aliyuncs.com/web/foundry_1.gif" alt="技术展示" class="banner-gif">
      </div>
    </div>

    <!-- 主要内容 -->
    <div class="main-content">
      <div class="container">
        <div class="content-section">
          <h3 class="section-title">核心服务</h3>
          <div class="services-grid">
            <div class="service-card">
              <div class="service-icon">BIM</div>
              <h4>AI智能建筑</h4>
              <p>运用AI技术打造智能化建筑，通过机器学习优化建筑管理效率和用户体验。</p>
              <router-link to="/ourPlan/estateManagement" class="service-link">了解更多</router-link>
            </div>
            
            <div class="service-card">
              <div class="service-icon">IoT</div>
              <h4>AI物联网</h4>
              <p>构建AI驱动的物联网生态系统，实现智能设备互联互通和自动化控制。</p>
              <router-link to="/ourPlan/iot" class="service-link">了解更多</router-link>
            </div>
            
            <div class="service-card">
              <div class="service-icon">
                <img src="../../assets/img/ic_1.png" alt="设施管理" class="icon-image">
              </div>
              <h4>AI设施管理</h4>
              <p>提供AI驱动的设施管理解决方案，通过智能分析确保设备高效运行。</p>
              <router-link to="/ourPlan/facilityManagement" class="service-link">了解更多</router-link>
            </div>
            
            <div class="service-card">
              <div class="service-icon">
                <img src="../../assets/img/ic_2.png" alt="AI解决方案" class="icon-image">
              </div>
              <h4>AI解决方案</h4>
              <p>运用人工智能技术，为企业提供智能化决策支持。</p>
              <router-link to="/ourPlan/aiSolutions" class="service-link">了解更多</router-link>
            </div>
            
            <div class="service-card">
              <div class="service-icon">
                <img src="../../assets/img/ic_3.png" alt="技术集成" class="icon-image">
              </div>
              <h4>AI技术集成</h4>
              <p>整合多种AI技术平台，构建统一的智能技术架构体系。</p>
              <router-link to="/ourPlan/technologyIntegration" class="service-link">了解更多</router-link>
            </div>
          </div>
        </div>

        <div class="content-section">
          <h3 class="section-title">为什么选择我们？</h3>
          <div class="features">
            <div class="feature-item">
              <h4>场景评估清晰</h4>
              <p>先确认数据、流程和系统边界，再确定可交付范围</p>
            </div>
            <div class="feature-item">
              <h4>系统对接可控</h4>
              <p>围绕现有业务系统设计接口、权限和运行监控</p>
            </div>
            <div class="feature-item">
              <h4>结果指标明确</h4>
              <p>以效率、工时、响应时长等指标验收交付效果</p>
            </div>
          </div>
        </div>
      </div>
    </div>

    <ifooter></ifooter>
  </div>
</template>

<script>
import ihead from '@/components/ihead.vue'
import ifooter from '@/components/ifooter.vue'

export default {
  name: 'ourPlan',
  components: {
    ihead,
    ifooter
  }
}
</script>

<style scoped>
.our-plan-page {
  min-height: 100vh;
  background: #f8f9fa;
}

.page-banner {
  background: transparent;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  min-height: 500px;
}

.banner-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  color: white;
}

.banner-subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  color: white;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.gif-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-gif {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  transition: opacity 0.3s ease;
}

.banner-gif:hover {
  opacity: 0.9;
}

.main-content {
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 2rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon .icon-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.service-card h4 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-block;
  padding: 10px 20px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.service-link:hover {
  background: #2980b9;
  transform: scale(1.05);
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
}

.feature-item h4 {
  color: #3498db;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .gif-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .banner-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .features {
    grid-template-columns: 1fr;
  }
}
</style>
