/* ========================================
   内页通用样式
   ======================================== */

/* 页面标题区域 - 曲线设计 */
.page-header {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 20px;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.page-header-curve {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #f5f5f5;
    clip-path: ellipse(70% 100% at 50% 100%);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 内容区域 */
.content-section {
    padding: 100px 0;
    background: #f5f5f5;
}

.content-section.white {
    background: #fff;
}

.content-section.dark {
    background: #0a0a0a;
}

.content-section.dark .section-title h2 {
    color: #fff;
}

.content-section.dark .section-title p {
    color: #999;
}

/* 服务列表网格 */
.service-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-list-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    text-align: center;
}

.service-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(255, 59, 59, 0.15);
}

.service-list-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff3b3b 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #fff;
}

.service-list-card h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.service-list-card p {
    color: #666;
    line-height: 1.7;
}

/* 案例详情页面 */
.case-detail-hero {
    position: relative;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-top: 80px;
}

.case-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.case-detail-info {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    color: #fff;
}

.case-detail-category {
    font-size: 16px;
    color: #ff3b3b;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.case-detail-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.case-detail-meta {
    display: flex;
    gap: 40px;
    font-size: 16px;
    color: #ccc;
}

.case-detail-content {
    padding: 80px 0;
    background: #fff;
}

.case-detail-body {
    max-width: 900px;
    margin: 0 auto;
}

.case-detail-body h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin: 40px 0 20px;
}

.case-detail-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.case-detail-body img {
    width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.case-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 60px 0;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 20px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #ff3b3b;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 16px;
}

/* 新闻列表页面 */
.news-list-wrapper {
    padding: 100px 0;
}

.news-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.news-list-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 59, 59, 0.15);
}

.news-list-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-list-card:hover .news-list-image img {
    transform: scale(1.1);
}

.news-list-content {
    padding: 30px;
}

.news-list-date {
    font-size: 14px;
    color: #ff3b3b;
    margin-bottom: 15px;
    display: block;
}

.news-list-title {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-list-card:hover .news-list-title {
    color: #ff3b3b;
}

.news-list-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.news-list-link {
    color: #ff3b3b;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-list-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.news-list-link:hover::after {
    transform: translateX(5px);
}

/* 新闻详情页面 */
.news-detail-hero {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    margin-top: 80px;
}

.news-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.news-detail-info {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-date {
    font-size: 16px;
    color: #ff3b3b;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-content {
    padding: 80px 0;
    background: #fff;
}

.news-detail-body {
    max-width: 900px;
    margin: 0 auto;
}

.news-detail-body h2 {
    font-size: 28px;
    color: #1a1a1a;
    margin: 40px 0 20px;
}

.news-detail-body h3 {
    font-size: 22px;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.news-detail-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-detail-body img {
    width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.news-detail-body ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #666;
}

.news-detail-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* 相关新闻板块 */
.related-news {
    padding: 80px 0;
    background: #f5f5f5;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* 关于页面 */
.about-intro {
    padding: 100px 0;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 42px;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    padding: 30px;
    background: #f5f5f5;
    border-radius: 15px;
    text-align: center;
}

.value-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.value-item p {
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .service-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .service-list-grid {
        grid-template-columns: 1fr;
    }

    .case-detail-title {
        font-size: 32px;
    }

    .case-detail-meta {
        flex-direction: column;
        gap: 15px;
    }

    .case-stats {
        grid-template-columns: 1fr;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
    }

    .news-detail-title {
        font-size: 28px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 350px;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}
