/* 定义CSS变量 */
:root {
    --primary-color: #e50914;
    --secondary-color: #3a86ff;
    --accent-color: #ff006e;
    --light-bg: #f8f9fa;
    --light-second-bg: #c3cfe2;
    --dark-text: #212529;
    --gray-text: #6c757d;
    --card-bg: #ffffff;
    --gradient-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 全局样式 */
body {
    padding-top: 80px; /* 为固定导航栏预留空间 */
    background-color: var(--light-bg);
    color: var(--dark-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-bottom: #e1a706 2px solid;
}

/* Logo样式 */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--dark-text) !important;
    margin: 0 10px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), transparent);
    transition: left 0.5s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link:hover::before {
    left: 100%;
}

/* 轮播图样式 */
.hero-slider {
    overflow: hidden;
    position: relative;
}

.carousel-item {
    position: relative;
    width: 100%;
    overflow: hidden; /* 防止图片溢出 */
}

.carousel-img {
    width: 100%;
    height: auto; /* 高度自动，保持图片原始比例 */
    display: block;
}

.carousel-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1; /* 确保链接在图片上方 */
}


/* 页面标题样式 */
.page-header {
    padding: 60px 0 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(-45deg, #e50914, #3a86ff, #ff006e, #ffbe0b, #fb5607, #8338ec);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 添加深色覆盖层提高文字可读性 */
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

        
/* 区块标题样式 */
.section-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-weight: bold;
    color: var(--dark-text);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}


/* 资讯样式 */
.news-item-list, .knowledge-item {
    display: flex;
    margin-bottom: 15px;
    padding: 15px;
    background-color: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-item-list:hover, .knowledge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-thumb-small, .knowledge-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 20px;
    flex-shrink: 0;
}

.news-thumb-small-text {
    font-size: 28px;
    color: var(--light-bg)
}

.news-list-container {
    margin-bottom: 60px;
}

.news-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    padding: 20px;
    align-items: flex-start;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-thumb {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-content, .knowledge-content {
    flex: 1;
}

.news-title, .knowledge-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
}

.news-title:hover, .knowledge-title:hover {
    color: var(--primary-color);
}

.news-date, .knowledge-date {
    color: var(--gray-text);
    font-size: 0.9rem;
}

.news-date i {
    margin-right: 5px;
}

.news-excerpt {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 0.95rem;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
    margin-bottom: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.85rem;
}

.news-meta-left {
    display: flex;
    align-items: center;
}

/* 类别标签样式 - 放在日期的左边 */
.news-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    background: rgba(229, 9, 20, 0.1);
    padding: 4px 10px;
    border-radius: 15px;
    margin-right: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--accent-color);
    padding-left: 5px;
}


/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 10px 0 30px;
}

.page-link {
    color: var(--dark-text);
    border: none;
    padding: 10px 18px;
    margin: 0 10px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
}

/* 侧边栏样式 */
.sidebar-section {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.popular-news-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-news-thumb-small {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.popular-news-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
    flex-shrink: 0;
}

.popular-news-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-text);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    line-height: 1.4;
}

.popular-news-title:hover {
    color: var(--primary-color);
}

.popular-news-date {
    color: var(--gray-text);
    font-size: 0.8rem;
    margin-top: 5px;
}

.popular-news-date i {
    margin-right: 5px;
}

.tag {
    display: inline-block;
    background: rgba(58, 134, 255, 0.1);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    margin: 0 5px 8px 0;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}


/* 作品列表页面样式 */
.works-list-container {
    margin-bottom: 60px;
}

/* 作品筛选器 */
.works-filter {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tags .tag {
    background: rgba(58, 134, 255, 0.1);
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.filter-tags .tag:hover,
.filter-tags .tag.active {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

/* 作品卡片增强样式 */
.works-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 0;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.works-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.works-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.5s;
}

.works-card:hover .works-img {
    transform: scale(1.05);
}

.works-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.works-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.works-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
    line-height: 1.4;
    flex: 1;
}

.works-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.works-title a:hover {
    color: var(--primary-color);
}

.works-excerpt {
    color: var(--gray-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex: 1;
}

.works-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.8rem;
    margin-top: auto;
}

.works-date,
.works-views {
    display: flex;
    align-items: center;
}

.works-date i,
.works-views i {
    margin-right: 5px;
}

/* 侧边栏热门作品 */
.popular-works-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.popular-works-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.popular-works-thumb {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
}

.popular-works-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
    text-decoration: none;
    display: block;
    transition: color 0.3s;
    line-height: 1.3;
    margin-bottom: 4px;
}

.popular-works-title:hover {
    color: var(--primary-color);
}

.popular-works-category {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
}

/* 作品分类侧边栏 */
.works-categories {
    display: flex;
    flex-direction: column;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 15px;
    color: var(--dark-text);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.category-item:hover,
.category-item.active {
    padding: 10px 15px;
    background: rgba(58, 134, 255, 0.1);
    color: var(--secondary-color);
}

.category-name {
    font-weight: 500;
}

.category-count {
    color: var(--gray-text);
    font-size: 0.85rem;
}

.category-item.active .category-count {
    color: var(--secondary-color);
}

/* 客户展示区域样式：3D翻转卡片 */
.clients-section {
    background: var(--light-second-bg);
    padding: 60px 0 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-title {
    margin-bottom: 40px;
    font-size: 1.8rem;
    color: var(--dark-text);
}

/* 客户卡片增强样式 */
.client-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    perspective: 1000px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.client-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}

.client-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.flip-card-front {
    background-color: var(--card-bg);
}

.client-logo {
    border-radius: 8px; 
    max-height: 100px;
    max-width: 100%;    
    object-fit: contain;
    transition: all 0.3s ease;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotateY(180deg);
    text-align: center;
}

.client-name {
    font-size: 1.4rem;
    font-weight: 600;
}

/* 客户列表页面样式 */
.clients-list-container {
    margin-bottom: 60px;
}

/* ************* 客户筛选器 ************* */
.clients-filter {
    background: var(--card-bg);
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-tab {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    background: none;
    border: none;
    cursor: pointer;
}

.filter-tab:hover,
.filter-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(229, 9, 20, 0.05);
}

.tab-name {
    font-weight: 500;
    margin-right: 8px;
}

.tab-count {
    color: var(--gray-text);
    font-size: 0.85rem;
}

.filter-tab.active .tab-count {
    color: var(--primary-color);
}

/* 客户总数 */
.clients-total {
    font-size: 1rem;
    color: var(--gray-text);
    font-weight: normal;
    margin-left: 10px;
}

.client-logo {
    border-radius: 6px; 
    max-height: 70px;
    max-width: 100%;    
    object-fit: contain;
    transition: all 0.3s ease;
    padding: 5px;
}

.flip-card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: rotateY(180deg);
    text-align: center;
    padding: 15px;
    flex-direction: column;
    justify-content: center;
}

.client-info {
    width: 100%;
}

.client-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.2;
}

.client-desc {
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 8px;
    line-height: 1.3;
}

.client-category {
    font-size: 0.7rem;
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
}

/* 侧边栏重点客户 */
.featured-client-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-client-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.featured-client-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
    background: var(--light-bg);
    padding: 5px;
}

.featured-client-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.featured-client-category {
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 500;
}

/* 客户统计 */
.clients-stats {
    text-align: center;
}

.stat-item {
    margin-bottom: 20px;
    padding: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 10px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-mini {
    background: var(--light-bg);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.stat-mini-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.stat-mini-label {
    font-size: 0.75rem;
    color: var(--gray-text);
}

/* 合作咨询CTA */
.cooperation-cta {
    background: linear-gradient(135deg, #75797d, #b6b8bc);
    color: white;
    text-align: center;
    border: none;
}

.cooperation-cta .cta-content {
    padding: 10px;
}

.cooperation-cta i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.cooperation-cta h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cooperation-cta p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.cooperation-cta .btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cooperation-cta .btn:hover {
    background: white;
    color: var(--primary-color);
}


/* ************* 友情链接样式 ************* */
.friends-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.friend-link {
    color: var(--gray-text);
    text-decoration: none;
    padding: 8px 15px;
    background-color: var(--card-bg);
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.friend-link:hover {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}



/* ************* 新闻详情页样式 ************* */
.news-detail-container {
    margin-bottom: 60px;
}

.news-detail-header {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-detail-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.news-meta-item {
    display: flex;
    align-items: center;
    color: var(--gray-text);
    font-size: 0.95rem;
}

.news-meta-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.news-category-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-detail-content {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 3px 0;
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-detail-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.3s;
}

.news-detail-content a:hover {
    color: var(--accent-color);
}

.news-detail-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-detail-text {
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 25px;
}

.news-detail-text p {
    margin-bottom: 20px;
}

.news-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.news-tag {
    background: rgba(58, 134, 255, 0.1);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s;
}

.news-tag:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.news-tag-label {
    margin-right: 10px; 
    color: var(--gray-text);
}

/* 上一篇下一篇导航 */
.news-navigation {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-link-item {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s;
    text-decoration: none;
    border: 2px solid transparent;
}

.nav-link-item:hover {
    background: rgba(229, 9, 20, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.nav-link-item.prev {
    text-align: left;
    margin-right: 15px;
}

.nav-link-item.next {
    text-align: right;
    margin-left: 15px;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 8px;
}

.nav-title {
    font-weight: 600;
    color: var(--dark-text);
    display: block;
    transition: color 0.3s;
}

.nav-link-item:hover .nav-title {
    color: var(--primary-color);
}

.nav-link-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-link-item.disabled:hover {
    background: transparent;
    border-color: transparent;
    transform: none;
}

/* 相关新闻 */
.related-news-section {
    margin-bottom: 50px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.related-news-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.related-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-news-title {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.related-news-card:hover .related-news-title {
    color: var(--primary-color);
}

.related-news-date {
    color: var(--gray-text);
    font-size: 0.85rem;
}


/* 页脚样式 */
footer {
    background: linear-gradient(135deg, #2c3e50, #4a6491);
    color: white;
    padding: 80px 0 30px;
}

.footer-links h5 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 600;
}

.footer-links h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links a {
    color: rgba(227, 223, 223, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '>';
    position: absolute;
    left: 0;
    opacity: 0;
    transition: all 0.3s;
}

.footer-links a:hover,
.footer-desc a:hover {
    color: white;
    padding-left: 15px;
}

.footer-links a:hover::before,
.footer-desc a:hover::before {
    opacity: 1;
}

.footer-desc p,
.footer-desc a {
    color: rgba(227, 223, 223, 0.7);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a,
.social-icons i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    margin-right: 15px;
    transition: all 0.4s;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* 自定义按钮样式 */
.btn-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
    color: white;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .news-thumb {
        width: 80px;
        height: 60px;
    }

    .works-filter {
        padding: 15px;
    }
    
    .filter-tags {
        gap: 8px;
    }
    
    .filter-tags .tag {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .works-img {
        height: 160px;
    }
    
    .works-body {
        padding: 15px;
    }
    
    .category-item {
        padding: 10px 12px;
    }

    .carousel-caption {
        bottom: 20%;
        padding: 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
    }
    .client-name {
        font-size: 1.2rem;
    }
    
    .client-card {
        height: 100px;
    }
    
    h1 {
        font-size: 2rem;
    }

    .news-detail-header,
    .news-detail-content {
        padding: 25px;
    }
    
    .news-detail-title {
        font-size: 1.8rem;
    }
    
    .news-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-link-item.prev,
    .nav-link-item.next {
        margin: 0;
        text-align: center;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .clients-filter {
        padding: 0;
    }
    
    .filter-tabs {
        flex-direction: column;
    }
    
    .filter-tab {
        padding: 12px 15px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        border-left: 3px solid transparent;
    }
    
    .filter-tab.active {
        border-left-color: var(--primary-color);
        border-bottom-color: rgba(0, 0, 0, 0.05);
    }
    
    .client-card {
        height: 100px;
        padding: 10px;
    }
    
    .client-logo {
        max-height: 50px;
    }
    
    .client-name {
        font-size: 0.8rem;
    }
    
    .client-desc {
        font-size: 0.7rem;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .works-list-container .row {
        margin: 0 -10px;
    }
    
    .works-list-container .col-md-6 {
        padding: 0 10px;
    }

    .clients-list-container .row {
        margin: 0 -5px;
    }
    
    .clients-list-container .col-6 {
        padding: 0 5px;
    }
    
    .client-card {
        height: 90px;
    }
}

@media (max-width: 480px) {
    .client-card {
        height: 90px;
    }
}