﻿.series-overview {
    padding: 80px 0;
    background-color: #fff;
}

.overview-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.image-product-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #f8f9fa; /* 图片加载前的占位底色 */
}

.image-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* 触摸设备（移动端）禁用 hover 动画：避免点一下卡片就上浮/放大 */
@media (hover: none) and (pointer: coarse) {
    .image-product-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    .image-col:hover {
        box-shadow: none !important;
    }

    .image-col:hover .feature-img {
        transform: none !important;
    }
}

/* 特性展示区域整体容器 */
.feature-showcase {
    padding: 50px 0;
    background-color: #f9fafb;
}

/* 每一行的容器 */
.feature-row {
    display: flex;
    align-items: stretch; /* 确保左右两列高度始终对齐一致 */
    justify-content: space-between;
    margin-bottom: 100px;
    gap: 0; 
}

/* 翻转布局：图片在左，文字在右 */
.feature-row.reverse {
    flex-direction: row-reverse;
}

/* 核心设置：左右各占 50% 宽度 */
.feature-col {
    flex: 1; /* 左右等分容器 */
    display: flex;
    flex-direction: column;
    justify-content: center; /* 文字垂直居中 */
    overflow: hidden;
}

/* 文字列样式 */
.text-col {
    padding-left: 60px; /* 默认给文字留出左边距，避免贴着图片 */
}

/* 特殊处理：第一行文字去掉左边距，实现左对齐 */
.first-text {
    padding-left: 0;
    padding-right: 60px; /* 改为右边距，与图片隔开 */
}

.text-inner h2 {
    font-size: 32px;
    margin-bottom: 14px;
    color: #111827;
    font-weight: bold;
}

.text-inner p {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.8;
}

/* 图片列及 Hover 效果 */
.image-col {
    border-radius: 16px; /* 原型图中的圆角效果 */
    position: relative;
    cursor: pointer;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保证图片在 50% 容器内对齐且不缩放变形 */
    display: block;
    transition: transform 0.5s ease; /* 平滑过渡效果 */
}

/* 图片 Hover 选中效果：轻微放大并增加阴影 */
.image-col:hover .feature-img {
    transform: scale(1.05); /* 放大 5% */
}

.image-col:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); /* 增加悬浮阴影效果 */
    transition: box-shadow 0.3s ease;
}

/* 响应式适配 */
@media (max-width: 768px) {
    .feature-row, .feature-row.reverse {
        flex-direction: column;
    }
    .text-col, .first-text {
        padding: 20px 0;
        text-align: center;
    }
    .image-col {
        height: 300px;
    }
}

