/* ========================================
   山东电子政务网 - 通用页面样式
   ======================================== */

/* 页面头部 */
.page-header {
    margin-top: 80px;
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #1e88e5 0%, #42a5f5 100%);
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url('../images/pattern.png');
    background-size: cover;
    background-position: center;
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 300;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f5f7fa;
    padding: 20px 0;
}

.breadcrumb-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #1e88e5;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    color: #42a5f5;
}

.breadcrumb-separator {
    color: #ccc;
}

/* 内容区域 */
.content-section {
    padding: 80px 0;
    background: #fff;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 服务详情页面 */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    margin-bottom: 60px;
}

.service-main {
    background: #fff;
}

.service-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.service-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-info h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 20px;
}

.service-info p {
    font-size: 16px;
    line-height: 2;
    color: #555;
    margin-bottom: 25px;
}

.service-features {
    background: #f5f7fa;
    padding: 30px;
    border-radius: 16px;
    margin-top: 30px;
}

.service-features h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.feature-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: #555;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #1e88e5;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    flex-shrink: 0;
}

/* 侧边栏 */
.service-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4fc 100%);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #1e88e5;
}

.contact-info {
    font-size: 14px;
    line-height: 2.2;
    color: #555;
}

.contact-info strong {
    color: #333;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.3);
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(30, 136, 229, 0.08);
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(30, 136, 229, 0.15);
}

.case-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.1);
}

.case-content {
    padding: 25px;
}

.case-category {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(30, 136, 229, 0.1);
    color: #1e88e5;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 12px;
}

.case-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.case-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1e88e5;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.case-link:hover {
    gap: 12px;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(30, 136, 229, 0.08);
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(30, 136, 229, 0.15);
}

.team-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e88e5;
    margin-bottom: 8px;
}

.team-position {
    font-size: 14px;
    color: #999;
    margin-bottom: 15px;
}

.team-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
}

/* 联系表单 */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #1e88e5;
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    display: inline-block;
    padding: 16px 50px;
    background: linear-gradient(135deg, #1e88e5, #42a5f5);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 136, 229, 0.3);
}

/* 新闻详情页 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.article-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e88e5;
    margin-bottom: 20px;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    gap: 25px;
    font-size: 14px;
    color: #999;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    font-size: 16px;
    line-height: 2;
    color: #444;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
}

/* 相关新闻 */
.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.related-news h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* 响应式 */
@media (max-width: 992px) {
    .service-detail {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .case-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .content-container,
    .page-header-content {
        padding: 0 25px;
    }
}
