* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #0d0d0d;
  font-family: Arial, sans-serif;
}

.sp {
  width: 100%;
  height: 93vh;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  position: relative;
}

.shu5 {
  height:200%;
  position: absolute;
  top: -90vh;
  right: -10vw;
  z-index: 1;
}

.sp-bt {
  width: 40%;
  object-fit: contain;
  position: absolute;
  left: 9%;
  top: 18%;
  z-index: 5;
}

.sp-wenzi {
  position: absolute;
  top: 60%;
  left: 10%;
  font-family: 'QIJIC', serif;
  font-weight: normal;
}

.sp-wenzi p {
  text-align: left;
  line-height: 1.8;
  font-size: 1.25rem;
}

.dahezi {
    width: 80%;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.secaizhimei, .wenlizhimei, .tuanzhimei, .yishuyingxiang {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.xiaobiaoti img {
  height: 40px;
}

.xiaobiaoti {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: rgba(254, 194, 254, 1);
  font-family: 'huayuanmingchaoti', serif;
  font-weight: normal;
}
.secaixiabiao{
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    text-align: center;
    margin-top: 20px;
    padding: 0 10%;
    margin-bottom: 30px;
}
.secai {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
}
.sc {
    position: relative;
    min-height: 220px;
    padding: 20px;
    background-color: #AB94BD;
    border-radius: 8px;
    display: flex; 
    align-items: center; 
}
.sc-img-container {
    position: static; 
    width: 140px;
    height: 140px;
    margin-right: 20px; 
}
.sc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.color-boxes {
    display: flex;
    flex-direction: column; 
    margin-right: 20px;
    gap: 10px;
}
.color-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}
.sc-wz {
    flex: 1; 
}
.sc-wz{
    color: #ffffff;
    font-size: 16px;
}
.sc p {
    font-size: 1rem;
    color: white;
    line-height: 1.8;
}
.text {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.wenzi {
    font-size: 1rem;
    line-height: 1.5;
    padding-top: 30px;
    color: #ffffff;
}
.accordion-container {
    display: flex;
    margin-top: 30px;
    height: 50vh;
    overflow: hidden;
}
.accordion-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(171, 148, 189, 0.2);
}
.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
.accordion-item:hover {
    flex: 3; 
}
.accordion-item:hover img {
    transform: scale(1.05);
}
.accordion-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    color: white;
    font-size: 18px;
    text-align: center;
    opacity: 1;
    transition: all 0.3s ease;
}
.accordion-item:hover .accordion-title {
    opacity: 0; 
}
.head {
    text-align: center;
}
.tuanxiabiao {
    font-size: 1rem;
    color: white;
    line-height: 1.6;
    text-align: center;
    margin-top: 10px;
    padding: 0 10%;
}
.item {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 50px;
    overflow-x: auto;
    padding-bottom: 20px;
}
.tuan {
    min-width: 23%;
    height: 400px;
    position: relative;
    overflow: hidden;
}
.tu {
    width: 100%;
    height: 400px;
}
.tu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.jieshao {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(21, 14, 11, 0.9) 0%, transparent 100%);
    color: white;
    font-size: 14px;
    line-height: 1.5;
    transition: bottom 0.5s ease;
}
.tuan:hover .tu img {
    transform: scale(1.05);
}
.tuan:hover .jieshao {
    bottom: 0;
}
.yishu {
    width: 100%;
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 80px;
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: center;
}
.ys {
    flex: 1;
    position: relative;
    width: 100%;
    min-height: 400px;
    border-radius: 4px;
    background-color: #AB94BD;
    padding: 20px;
    padding-top: 180px;
}
.ys-img-container {
    position: absolute;
    left: 50%;
    top: -30px;
    border-radius: 4px;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    height: 300px;
    overflow: hidden;
}
.ys img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ys p {
    font-size: 14px;
    color: white;
    line-height: 1.6;
}
.ys-wenzi{
    position: absolute;
    width: auto;
    margin: 0 15px;
    bottom: 30px;
    justify-content: center;
}
@media (max-width: 768px) {
    .daohang {
        gap: 4vw;
    }
    .daohang a {
        font-size: 14px;
    }
    .xiaobiaoti {
        font-size: 20px;
        padding: 30px 0;
    }
    .xiaobiaoti img {
        height: 30px;
    }
    .secai {
        grid-template-columns: 1fr;
    }
    .sc {
        padding-left: 20px;
        padding-top: 160px;
        min-height: 320px;
    }
    .sc-img-container {
        left: 50%;
        top: 20px;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        height: 120px;
    }
    .sc-img-container img{
    width: 20%;
    height: 100%;
    object-fit: cover;
    }
    .sc-wz{
        text-align: center;
        margin: auto;
    }
    .text {
        padding: 0 20px;
    }
    .wenzi {
        font-size: 14px;
        padding-top: 30px;
    }
    .item, .yishu {
        gap: 20px;
    }
    .tuan, .ys {
        max-width: 100%;
    }
    .tu {
        height: 300px;
    }
    .ys {
        padding-top: 140px;
        min-height: 400px;
    }
    .ys-img-container {
        top: 15px;
        height: 120px;
    }
    .ys-wenzi{
        margin: 0 15px 0 0;
    }
}