/* 
 * 内页通用样式
 */

/* 页面头部 */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bright-blue) 0%, #667eea 100%);
    overflow: hidden;
    margin-top: 80px;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-header-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--bright-yellow);
}

.breadcrumb span {
    opacity: 0.6;
}

/* 内容区域 */
.content-section {
    padding: 100px 0;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 关于我们页面 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 20px;
}

/* 团队展示 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--bright-blue);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.team-role {
    font-size: 0.9rem;
    color: var(--bright-red);
    margin-bottom: 15px;
}

.team-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* 新闻列表页 */
.news-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.news-list {
    display: grid;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.news-item-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-item-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-date {
    font-size: 0.85rem;
    color: var(--bright-blue);
    margin-bottom: 10px;
}

.news-item-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-item-excerpt {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bright-blue);
    font-weight: 500;
    transition: gap 0.3s ease;
}

.news-item-link:hover {
    gap: 15px;
}

/* 新闻详情页 */
.article-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--gray-light);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    font-size: 1.05rem;
    line-height: 2;
    color: #444;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

/* 相关新闻 */
.related-news {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--gray-light);
}

.related-news h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* 服务详情页 */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-detail-content h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.service-detail-content ul {
    margin-top: 20px;
}

.service-detail-content li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: var(--gray);
    line-height: 1.8;
}

.service-detail-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--bright-blue);
    font-weight: 700;
}

/* 案例详情页 */
.case-detail-hero {
    height: 60vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.case-detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-detail-info {
    padding: 80px 0;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.case-detail-description h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.case-detail-description p {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 30px;
}

.case-meta-box {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.case-meta-box h4 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bright-blue);
}

.case-meta-box ul li {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.95rem;
    color: var(--gray);
}

.case-meta-box ul li:last-child {
    border-bottom: none;
}

.case-meta-box strong {
    color: var(--dark-blue);
}

/* 联系表单 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    background: linear-gradient(135deg, var(--bright-blue) 0%, #667eea 100%);
    padding: 50px;
    border-radius: 20px;
    color: var(--white);
}

.contact-info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-form-box {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 响应式 */
@media (max-width: 1024px) {
    .about-intro,
    .service-detail,
    .contact-grid,
    .case-detail-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-item {
        grid-template-columns: 260px 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .about-intro,
    .team-grid,
    .news-item,
    .contact-grid,
    .case-detail-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-item-image {
        height: 200px;
    }

    .content-container,
    .article-container,
    .news-list-container {
        padding: 0 20px;
    }
}
