/* ========================================
   通达领航建站 - 内页通用样式
   ======================================== */

/* 页面头部横幅 */
.page-header {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(62, 39, 35, 0.85) 0%, rgba(93, 64, 55, 0.8) 100%),
                url('../images/page-banner.jpg') center/cover no-repeat;
    margin-top: 80px;
}

.page-header-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background: var(--beige-dark);
    padding: 20px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: var(--brown);
}

.breadcrumb-list a {
    color: var(--caramel-orange);
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--dark-brown);
}

.breadcrumb-separator {
    color: var(--brown-light);
}

/* 内容区域布局 */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
    padding: 60px 0;
}

.main-content {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    color: var(--dark-brown);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--caramel-orange);
}

/* 新闻列表样式 */
.news-list-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--beige-dark);
    transition: all 0.3s ease;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    transform: translateX(10px);
}

.news-list-thumb {
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-info h4 {
    font-size: 16px;
    color: var(--dark-brown);
    margin-bottom: 8px;
    line-height: 1.5;
}

.news-list-info h4 a:hover {
    color: var(--caramel-orange);
}

.news-list-meta {
    font-size: 13px;
    color: var(--brown-light);
}

/* 新闻详情样式 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--beige-dark);
}

.article-title {
    font-size: 36px;
    color: var(--dark-brown);
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 30px;
    font-size: 14px;
    color: var(--brown-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    font-size: 16px;
    line-height: 2;
    color: var(--brown);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

/* 相关文章 */
.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid var(--beige-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

/* 服务卡片 */
.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    padding: 40px 30px;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--caramel-orange);
    box-shadow: 0 15px 50px rgba(210, 105, 30, 0.2);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--caramel-orange) 0%, var(--caramel-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 50px;
    height: 50px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--brown-light);
    line-height: 1.8;
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover img {
    transform: scale(1.15);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(180deg, transparent 0%, rgba(62, 39, 35, 0.95) 100%);
    color: var(--white);
}

.case-overlay h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.case-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* 团队展示 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.team-photo {
    height: 280px;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.1);
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 20px;
    color: var(--dark-brown);
    margin-bottom: 8px;
}

.team-info p {
    font-size: 14px;
    color: var(--caramel-orange);
    font-weight: 600;
}

/* 联系表单 */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-brown);
    margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--beige-dark);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--caramel-orange);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .page-header {
        height: 400px;
    }
    
    .page-header h1 {
        font-size: 42px;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 350px;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
    
    .main-content {
        padding: 25px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-grid,
    .case-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}
