<template>
  <div class="culture-page">
    <div class="joshine-culture">
      <div class="joshine-culture-banner">
        <img class="culture-img" src="../../assets/culture/01.jpg" />
      </div>
      <div class="joshine-mission">
        <img src="../../assets/culture/08.jpg" alt="" class="mission-img" />
      </div>
      <div class="joshine-idea">
        <div class="manage-idea hover-hl">
          <div class="manage-text hover-hl-content">
            <div class="idea">经营理念</div>
            <div>客户至上 以人为本</div>
          </div>

          <img src="~@/assets/culture/02.jpg" />
          >
        </div>
        <div class="idea-content hover-hl">
          <div class="content-text hover-hl-content">
            <div class="idea">管理理念</div>
            <div class="idea-des">
              决策正确、选贤育人、崇尚行动<br />保持创新、协同互助、达成目标
            </div>
          </div>
          <img src="~@/assets/culture/03.jpg" />
        </div>
      </div>
      <div class="joshine-value">
        <div class="value-title">企业价值观</div>
        <div class="value-content">
          <div class="value-pic">
            <div class="valuePicTitle">诚信正直</div>
            <div class="valuePicContent">
              严格遵守公司制度，做到言行如一，实事求是；遇到利益诱惑时能坚持原则，以公司利益为先，不凭借职位之便谋取私利
            </div>
            <img src="~@/assets/culture/04.jpg" />
          </div>
          <div class="value-pic">
            <div class="valuePicTitle">开放分享</div>
            <div class="valuePicContent">
              积极探索和学习新的市场、技术和产品知识，以开放的胸怀对待新理念和不同意见，相互尊重，相互信任，相互分享，营造良好的学习氛围和搭建信息共享平台。
            </div>
            <img src="~@/assets/culture/05.jpg" />
          </div>
          <div class="value-pic">
            <div class="valuePicTitle">拥抱变化</div>
            <div class="valuePicContent">
              以积极主动的心态拥抱公司的变革和新的商业模式，学习借鉴成功经验，持续创新，不断挑战自我，改善自我，超越自我。
            </div>
            <img src="~@/assets/culture/06.jpg" />
          </div>
          <div class="value-pic">
            <div class="valuePicTitle">快速行动</div>
            <div class="valuePicContent">
              快速有效整合现有资源，不因害怕承担责任或过度追求完美而延缓行动，确保在规定时限内以较高的质量完成任务，达到更加卓越的业务结果。
            </div>
            <img src="~@/assets/culture/07.jpg" />
          </div>
        </div>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  name: 'CulturePage',
}
</script>
<style lang="scss" scoped>
.joshine-culture-banner,
.joshine-mission,
.manage-idea,
.idea-content {
  font-size: 0;
}
.mission-img,
.culture-img {
  width: 100%;
}

.culture-img {
  height: 30vw;
  object-fit: cover;
}

.mission-img {
  height: 20vw;
}

.joshine-idea {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.manage-idea {
  position: relative;
  flex: 1;
}

.manage-idea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manage-idea .manage-text {
  font-size: 1.66vw;
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.idea-content {
  position: relative;
  flex: 1;
}

.idea-content img {
  width: 100%;
}

.idea-content .content-text {
  font-size: 1.66vw;
  color: #fff;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.idea {
  position: relative;
  margin-bottom: 2.6vw;
}

.idea::after {
  content: '';
  display: block;
  width: 3.1vw;
  height: 0.03vw;
  background-color: #fff;
  position: absolute;
  left: 0;
  top: 2.6vw;
}
.joshine-value {
  width: 80%;
  margin: 0 auto;
  padding-top: 2.5vw;
  padding-bottom: 3.33vw;
}
.value-content {
  font-size: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.04vw;
  margin-top: 3.1vw;
}

.value-title {
  font-size: 3.33vw;
  font-weight: 400;
  position: relative;
  color: #111;
}

.value-title::after {
  width: 3.1vw;
  height: 0.13vw;
  content: '';
  display: block;
  background: #f08917;
  position: absolute;
  bottom: -0.13vw;
}

.value-pic {
  position: relative;
  cursor: pointer;
}

.value-pic img {
  width: 100%;
}

.value-pic .valuePicTitle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5vw;
  font-weight: 400;
  color: #fff;
  transition: all 0.8s;
}

.value-pic:hover .valuePicTitle {
  top: 5.2vw;
}

.value-pic:hover .valuePicContent {
  top: 6.3vw;
  opacity: 1;
}

.valuePicContent {
  position: absolute;
  text-align: center;
  top: 6.8vw;
  opacity: 0;
  padding: 0 2.1vw;
  font-size: 0.8vw;
  font-family: lantingxh;
  line-height: 1.3vw;
  font-weight: 200;
  color: #fff;
  transition: all 0.8s;
}

.content-text .idea-des {
  font-size: 1.4vw;
  font-weight: 400;
}

@media screen and (max-width: 1000px) {
  .joshine-idea {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.04vw;
    background-color: #eb8820;
    padding: 1.66vw;
  }
  .manage-idea .manage-text {
    font-size: 1.5vw;
  }
  .content-text .idea-des {
    font-size: 1.3vw;
  }

  .value-content {
    grid-template-columns: repeat(1, 1fr);
  }

  .value-title:after {
    width: 5.8vw !important;
    bottom: -2px !important;
  }

  .valuePicTitle {
    top: 13.8vw !important;
  }

  .valuePicContent {
    top: 18.8vw !important;
    line-height: 2.8vw;
    opacity: 1 !important;
  }
}
</style>
