/* 添加Font Awesome图标库引用 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

/* 产品页面头部样式 */
.product-header {
    width: 100%;
    height: 466px;
    position: relative;
    overflow: hidden;
}

.product-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: top 30% center;
    position: relative;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3),
        rgba(0, 0, 0, 0.5)
    );
    pointer-events: none;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

/* 产品内容样式 */
.product-content {
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 产品图片样式 */
.product-images {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.images-frame {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    box-sizing: border-box;
}

.images-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: stretch;
}

.image-container {
    flex: 1;
    max-width: 50%;
    display: flex;
    align-items: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 响应式样式 */
@media screen and (max-width: 1240px) {
    .product-images {
        padding: 0 15px;
        max-width: 100%;
    }

    .images-frame {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .banner-content h1 {
        font-size: 32px;
    }

    .images-row {
        flex-direction: column;
        gap: 20px;
    }

    .image-container {
        max-width: 100%;
    }
}

.info-section {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.info-box {
    flex: 1; /* 使每个框占据相同的空间 */
    margin: 0 10px; /* 框之间的间距 */
    padding: 10px; /* 内边距 */
    border-radius: 5px; /* 圆角 */
    transition: background-color 0.3s; /* 背景色过渡效果 */
}
.info-box:hover {
    background-color: #f9f9f9; /* 鼠标悬停时的背景色 */
}
.info-content {
    visibility: hidden; /* 默认隐藏内容 */
    margin-top: 10px;
    animation-duration: 2000ms; /* 动画持续时间 */
    animation-name: fadeInLeft; /* 动画名称 */
}
.info-box:hover .info-content {
    visibility: visible; /* 鼠标悬停时显示内容 */
    animation-fill-mode: forwards; /* 保持动画结束状态 */
}
.info-box .info-content > p {
    color: #848484;
    margin-top: 20px;
}
.product-description {
    width: 100%;
    max-width: 100%;
}
.image-container {
    margin: 20px auto;
}

/* 定义动画 */
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}