/* ========================================
   荣诚高创 - 内页样式表
   ======================================== */

/* 页面头部 */
.page-header {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #8b0000 100%);
    overflow: hidden;
}

.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: 2;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 18px;
    color: #d0d0d0;
    max-width: 600px;
    margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: #aaa;
}

.breadcrumb a {
    color: #8b0000;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #666;
}

/* 内容区块 */
.content-section {
    padding: 80px 30px;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 服务详情 */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse .service-info {
    direction: ltr;
}

.service-detail-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.service-detail-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-img:hover img {
    transform: scale(1.05);
}

.service-info h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.service-info p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-features {
    margin-top: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    margin-bottom: 12px;
    font-size: 15px;
}

.service-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #8b0000;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

/* 案例展示 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.2);
}

.case-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-content {
    padding: 25px;
}

.case-content h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.case-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.case-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.case-tag {
    padding: 5px 15px;
    background: rgba(139, 0, 0, 0.1);
    color: #8b0000;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 团队介绍 */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.4s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(139, 0, 0, 0.2);
}

.team-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.team-info {
    padding: 25px;
}

.team-info h3 {
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.team-info .position {
    color: #8b0000;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.team-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}

/* 联系表单 */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    width: 24px;
    height: 24px;
}

.contact-text h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.contact-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    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: #8b0000;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.3);
}

/* 新闻列表页 */
.news-list-page {
    padding: 80px 30px;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: #8b0000;
    background: #8b0000;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 新闻详情页 */
.news-detail {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.news-detail-header {
    padding: 40px;
    border-bottom: 1px solid #e0e0e0;
}

.news-detail-header h1 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-meta-detail {
    display: flex;
    gap: 30px;
    color: #999;
    font-size: 14px;
}

.news-meta-detail span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-detail-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.news-detail-content {
    padding: 40px;
}

.news-detail-content p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
}

/* 相关新闻 */
.related-news {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.related-news h3 {
    font-size: 24px;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.related-card:hover {
    background: rgba(139, 0, 0, 0.05);
}

.related-card h4 {
    font-size: 16px;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-card .date {
    color: #999;
    font-size: 13px;
}

/* 关于我们 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.about-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.about-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #8b0000;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .service-detail,
    .about-intro,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-detail.reverse {
        direction: ltr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .news-grid,
    .case-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}
