/* 轮播图样式 */
.banner-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 70px;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.banner-content h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.banner-prev,
.banner-next {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.banner-dots {
    display: flex;
    gap: 0.75rem;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dot.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

/* 关于我们样式 */
.about-section {
    padding: 6rem 0;
    background: white;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text-light);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 产品服务 - 大卡片横向布局 */
.products-section {
    padding: 6rem 0;
    background: var(--surface);
}

.products-showcase {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-large-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.product-large-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: white;
    border-radius: 24px;
    padding: 3rem;
    transition: all 0.3s;
}

.product-large-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.product-large-image {
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
}

.product-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-large-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.product-large-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-large-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.product-large-desc,
.product-large-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* 案例展示 - 网格瀑布流 */
.cases-section {
    padding: 6rem 0;
    background: white;
}

.cases-masonry,
.case-masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    justify-items: center;
}

.case-masonry-card,
.case-masonry-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
    width: 100%;
    max-width: 400px;
}

.case-masonry-card:hover,
.case-masonry-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.case-masonry-image,
.case-masonry-item > img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.case-masonry-image img,
.case-masonry-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-masonry-card:hover .case-masonry-image img,
.case-masonry-item:hover .case-masonry-img {
    transform: scale(1.1);
}

.case-masonry-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.case-masonry-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.case-masonry-content {
    padding: 2rem;
}

.case-masonry-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.case-masonry-desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* 新闻资讯 - 时间线列表 */
.news-section {
    padding: 6rem 0;
    background: var(--surface);
}

.news-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-timeline-item {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s;
}

.news-timeline-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.news-timeline-content {
    flex: 1;
}

.news-timeline-date {
    text-align: center;
}

.news-day {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.news-month {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.news-timeline-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.news-timeline-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news-timeline-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.news-timeline-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.news-timeline-link:hover {
    padding-left: 0.5rem;
}

.news-timeline-thumb,
.news-timeline-img {
    border-radius: 12px;
    overflow: hidden;
    width: 200px;
    height: 120px;
}

.news-timeline-thumb img,
.news-timeline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 查看更多链接 */
.link-more {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: all 0.3s;
}

.link-more:hover {
    gap: 1rem;
}

/* 响应式 */
@media (max-width: 968px) {
    .banner-section {
        height: 60vh;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        height: 300px;
    }

    .product-large-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .product-large-image,
    .product-large-img {
        height: 300px;
    }

    .cases-masonry,
    .case-masonry-grid {
        grid-template-columns: 1fr;
    }

    .case-masonry-image,
    .case-masonry-img {
        height: 240px;
    }

    .news-timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-timeline-date {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .news-day {
        font-size: 2rem;
    }

    .news-timeline-thumb,
    .news-timeline-img {
        width: 100%;
        height: 200px;
    }
}
