:root {
  --primary-color: #562127;
  --second-color: #c75d76;
  --third-color: #e6d4c3;
  --light-color: #ffedf1;
  --background-color: #ebe2e4;
  --text-p-color: #2b1419;
  --text-s-color: #61444a;
  --text-light-color: #e6d4c3;
}

section {
  padding: 0;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: white;
  color: var(--text-p-color);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.full-width {
  width: 100%;
  margin: 0;
  padding: 0;
}

.align-center {
  display: flex;
  align-items: center;
}

/* 导航栏样式 */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  > img {
    width: 40px;
    height: 40px;
    @media screen and (max-width: 768px) {
      width: 30px;
      height: 30px;
    }
  }
}

.logo-text {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  margin-left: 10px;
  @media screen and (max-width: 768px) {
    font-size: 30px;
  }
}

.banner {
  padding: 0;
  margin: 0;
  width: 100%;
  margin-top: 60px;
  > img {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }
  @media screen and (max-width: 768px) {
    margin-top: 74px;
  }
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-p-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--second-color);
}

/* 英雄区域样式 */
.hero {
  margin-top: -10px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--second-color) 100%
  );
  color: white;
  padding: 50px 0;
  text-align: center;
  /* margin-top: 60px; */
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: var(--third-color);
  color: var(--primary-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 特点卡片区域 */
.features {
  padding: 80px 0;
  background-color: var(--background-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card i {
  font-size: 3rem;
  color: var(--second-color);
  margin-bottom: 20px;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* 合作方式区域 */
.cooperation {
  padding: 80px 0;
}

.coop-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.coop-card {
  /* background: var(--light-color); */
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
}

.coop-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.image-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  text-align: center;

  > img {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  > h3 {
    margin-top: 30px;
    color: var(--text-p-color);
  }
  > p {
    margin: 15px 0;
    color: var(--text-s-color);
  }
}

/* 场景区域 */
.scene-item {
  overflow: hidden;
  /* transform: rotate(10deg); */
  > img {
    padding: 0;
    margin: 0;
    width: 100%;
    filter: blur(0px) contrast(50%);
    transition: transform 0.3s;
  }
  &:hover {
    > img {
      transform: scale(1.1);
    }
  }
}

.scene-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  height: auto;
  overflow: hidden;
  @media screen and (max-width: 768px) {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 1fr;
  }
}
.scene-text {
  padding: 20px;
  z-index: 99;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  transition: all 0.2s;
  > text {
    font-weight: bolder;
    font-size: 2em;
    text-shadow: 0 0 1px black;
    color: var(--text-p-color);
    margin: 0 auto;
    @media screen and (max-width: 768px) {
      font-size: 1.5em;
    }
  }
  &:hover {
    backdrop-filter: blur(5px);
  }
}

/* 底部区域 */
footer {
  margin-top: 100px;
  background-color: var(--primary-color);
  color: var(--text-light-color);
  padding: 50px 0 20px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
  margin-bottom: 30px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-bottom {
  display: flex;
  gap: 20px;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  a{
    flex-direction: none;
    color:var(--text-light-color) ;
  }
}

.footer-beian{
  display: flex;
  align-items: center;
  gap: 4px;
  img{
    height:16px;
  }
  a{
    color:var(--text-light-color) ;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .cards-container,
  .coop-cards {
    grid-template-columns: 1fr;
  }
}
