html {
    width: 100vw;
    height: auto;
    overflow-x: hidden;
}
/* 第一页样式 - 上图下文字 */
.section-1 {
    text-align: center;
    color: white;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.image-container {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.text-container {
   margin-left: 5%;
    margin-right: 5%;
}

.text-container h3{
    font-weight: 700;
    margin-bottom: 30px;
}

.text-container p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* 第二页样式 - 左文右图 */
.section-2 {
    margin-top: 50px;
}

.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.text-column {
    margin-left: 5%;
    margin-right: 5%;
    order: 2;
}

.text-column p {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

.image-column {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.side-image {
    width: 100%;
    height: auto;
}


/* 第四页样式 - 产品展示网格 */
.section-4 {
    margin-top: 50px;
}

.product-title{
    margin-bottom: 30px;
}
.product-title h2{
    width: 100%;
    font-size: 28px;
    text-align: center;
}
.product-grid {
    width: 96%;
    margin-left: 1%;
    margin-right: 1%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.product-item {
    flex: 1;
    width: 30%;
    height: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card {
    width: 100%;
    height: 180px;
    background-color: transparent;
    border: 1px solid #1e2460;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: #1e2460;
}

.product-image-wrapper {
    width: 100%;
    height: 130px;
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-label {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* 在 product-label 上方添加蓝色横线 */
.product-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #1e2460; /* 与边框颜色一致 */
    transition: all 0.3s ease;
}

/* 悬停时横线颜色变化 */
.product-card:hover .product-label::before {
    background-color: #1e2460; /* 悬停时与边框颜色一致 */
}
.product-card:hover .product-label {
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.02);
}
