﻿/* #region banner和标题*/
/* 产品列表 Banner 组件 */
.collection-banner-section {
    background-color: #ffffff;
}

.collection-banner-inner {
    position: relative;
    width: 100%;
}

/* PC 端图片 */
.collection-banner-img-pc {
    display: block;
}

    .collection-banner-img-pc img {
        width: 100%;
        height: 480px;
        object-fit: cover;
        object-position: center;
        display: block;
    }

/* 移动端图片（默认隐藏） */
.collection-banner-img-mobile {
    display: none;
}

    .collection-banner-img-mobile img {
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
    }

/* 标题文字区域 */
.collection-banner-text {
    text-align: center;
    margin-top: 96px;
    padding: 0 20px;
}

.collection-banner-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #1e2f30;
    margin-bottom: 16px;
}

.collection-banner-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #5f7a7c;
    margin-top: 0;
}

/* 响应式：移动端 */
@media (max-width: 767px) {
    .collection-banner-img-pc {
        display: none;
    }

    .collection-banner-img-mobile {
        display: block;
    }

        .collection-banner-img-mobile img {
            height: 304px; /* 参考原设计，可根据需要调整 */
            object-fit: cover;
        }

    .collection-banner-text {
        margin-top: 48px;
    }

    .collection-banner-title {
        font-size: 8vw; /* 相对视口宽度，保证适配各种手机 */
        font-weight: 700;
        line-height: 1.2;
    }

    .collection-banner-subtitle {
        font-size: 4vw;
        line-height: 1.4;
        margin-top: 8px;
    }
}

/* 平板适配（可选） */
@media (min-width: 768px) and (max-width: 1024px) {
    .collection-banner-img-pc img {
        height: 400px;
    }

    .collection-banner-text {
        margin-top: 64px;
    }

    .collection-banner-title {
        font-size: 36px;
    }
}
/* #endregion */

/* #region 简介部分*/
/* About 组件 */
.about-section {
    padding: 80px 24px;
    background-color: #ffffff;
}

.about-container {
    max-width: 1336px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* 左侧文字区域 */
.about-content {
    flex: 1;
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e3f;
    margin-bottom: 20px;
}

.about-btn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid #0b90c7;
    color: #0b90c7;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 60px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .about-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background-color: #0b90c7;
        transition: width 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        z-index: -1;
    }

    .about-btn:hover {
        color: white;
        border-color: #0b90c7;
    }

        .about-btn:hover::before {
            width: 100%;
        }

/* 右侧图片区域 */
.about-image {
    flex: 1;
}

    .about-image img {
        width: 100%;
        height: auto;
        border-radius: 24px;
        box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.1);
        display: block;
    }

/* 响应式：手机端上下布局 */
@media (max-width: 767px) {
    .about-section {
        padding: 48px 20px;
    }

    .about-container {
        flex-direction: column;
        gap: 40px;
    }

    .about-text {
        font-size: 14px;
        text-align: left; /* 手机端保持左对齐更易读，也可改为 center */
    }

    .about-btn {
        display: block;
        width: fit-content;
        margin: 20px auto 0;
        text-align: center;
    }

    .about-image img {
        border-radius: 20px;
    }
}
/* #endregion*/