/*
Theme Name: LeJuly
Theme URI: https://lejuly.com/
Author: LeJuly
Author URI: https://lejuly.com/
Description: LeJuly is a theme for WordPress.
Tags: 企业主题
Version: 1.0
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lejuly
*/

/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.dropdown-item {
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* 搜索按钮 */
.search-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: #007bff;
}

/* 轮播图样式 */
.carousel {
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.carousel-item {
    background-color: #f0f8ff;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图效果样式 */
/* 淡入淡出效果 */
.carousel.fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel.fade .carousel-item.active {
    opacity: 1;
}

/* 缩放效果 */
.carousel.zoom .carousel-item {
    transform: scale(0.8);
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

.carousel.zoom .carousel-item.active {
    transform: scale(1);
    opacity: 1;
}

/* 翻转效果 */
.carousel.flip .carousel-item {
    transform: rotateY(90deg);
    opacity: 0;
    transition: all 0.8s ease-in-out;
    transform-style: preserve-3d;
}

.carousel.flip .carousel-item.active {
    transform: rotateY(0deg);
    opacity: 1;
}

/* 滑动效果（默认） */
.carousel.slide .carousel-item {
    transition: transform 0.8s ease-in-out;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .carousel-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .carousel-content {
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    .carousel-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .carousel-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .carousel-content {
        padding: 25px 10px;
    }
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
}

.carousel-image {
    max-width: 100%;
    height: auto;
}

/* Banner区域样式 */
.banner-section {
    padding: 80px 0;
}

.banner-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-5px);
}

.banner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    text-align: center;
}

.banner-overlay h4 {
    margin: 0;
    font-weight: 600;
}

/* 产品区域样式 */
.product-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #f8f9fa;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #e9ecef;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-category-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.category-tag {
    background: rgba(193, 187, 187, 0.957);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(128, 128, 128, 0.9);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-content {
    padding: 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.product-title a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.product-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.product-price {
    margin-bottom: 20px;
}

.product-price .price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-right: 10px;
}

.product-price .price-old {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

/* 关于我们区域 */
.about-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    padding: 0 30px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.about-content .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.about-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .about-content {
        padding: 30px 0 0 0;
        text-align: center;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .about-content p {
        font-size: 1rem;
    }
}

/* 博客区域样式 */
.blog-section {
    padding: 80px 0;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.blog-meta a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-meta a:hover {
    color: #007bff;
    text-decoration: none;
}

.blog-meta a:visited {
    color: #666;
}

.blog-meta a:active {
    color: #0056b3;
}

.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.blog-title a {
    color: #717171e4;
    text-decoration: none;
}

.blog-title a:hover {
    color: #007bff;
}

/* 页脚样式 */


.footer {
    background-color: #111010e0 !important;
    color: #fff !important;
    padding: 40px 0 20px;
}

.footer-nav {
    padding: 20px 0;
    text-align: center;
}

.footer-nav a {
    color: #fff !important;
    text-decoration: none;
    margin-right: 20px;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    color: #fff !important;
    opacity: 0.8;
    text-decoration: none;
}

.footer-nav a:link {
    color: #fff !important;
}

.footer-nav a:visited {
    color: #fff !important;
}

.copyright {
    padding: 15px 0;
    border-top: 1px solid #464545;
    text-align: center;
}

.copyright p {
    color: #fff !important;
    margin: 0;
}

/* WordPress导航菜单样式 */
.footer-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin-right: 20px;
    list-style: none !important;
    list-style-type: none !important;
}

.footer-menu li::before {
    content: none !important;
}

.footer-menu li::after {
    content: none !important;
}

.footer-menu a {
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    color: #fff !important;
    opacity: 0.8;
    text-decoration: none;
}

/* 移除所有可能的列表标记 */
.footer-nav ul {
    list-style: none !important;
    list-style-type: none !important;
}

.footer-nav ul li {
    list-style: none !important;
    list-style-type: none !important;
}

.footer-nav ul li::before,
.footer-nav ul li::after {
    content: none !important;
}

/* 更全面的列表标记移除 */
.footer-nav * {
    list-style: none !important;
    list-style-type: none !important;
}

.footer-nav *::before,
.footer-nav *::after {
    content: none !important;
}

/* 确保菜单项正确显示 */
.footer-menu {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-menu > li {
    margin-right: 20px;
    margin-bottom: 0;
}

.footer-menu > li:last-child {
    margin-right: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
    
    .footer-nav {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-nav a {
        margin: 5px 0;
    }
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移动端菜单 */
.mobile-menu-btn {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .navbar-nav {
        display: none;
    }
}

/* 搜索模态框 */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.search-modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.search-form {
    background: white;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    z-index: 10;
    transition: color 0.3s ease;
}

.search-close:hover {
    color: #333;
}

.search-content {
    padding: 60px 40px 40px;
    text-align: center;
}

.search-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.search-content p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #007bff;
    background: white;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    background: none;
    font-size: 16px;
    outline: none;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-submit {
    background: #007bff;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-submit:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.search-submit:active {
    transform: translateY(0);
}

/* 搜索动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-form {
        width: 95%;
        margin: 20px;
    }
    
    .search-content {
        padding: 40px 20px 30px;
    }
    
    .search-content h3 {
        font-size: 1.5rem;
    }
    
    .search-content p {
        font-size: 1rem;
    }
    
    .search-input-group {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-input {
        border-radius: 10px;
        margin-bottom: 10px;
    }
    
    .search-submit {
        width: 100%;
        border-radius: 10px;
    }
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background-color: #f8f9fa;
    padding: 10px 0; /* 从20px减少到10px */
    margin-top: 0; /* 从80px减少到0，消除与Banner的间距 */
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* 内容区域样式 */
.content-section {
    padding: 30px 0; /* 从60px减少到30px */
}

.main-content .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.card-title {
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.content-text p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* 侧边栏样式 */
.sidebar-nav .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.sidebar-nav .card-header {
    background-color: #007bff;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    border: none;
}

.sidebar-nav .list-group-item {
    border: none;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.sidebar-nav .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.sidebar-nav .list-group-item.active {
    background-color: #007bff;
    border-color: #007bff;
}

.sidebar-nav .list-group-item.active i {
    color: white;
}

.sidebar-nav .list-group-item i {
    color: #007bff;
    width: 20px;
}

/* 产品列表页面样式 */
.product-listing-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-grid {
    margin-bottom: 40px;
}

.pagination-wrapper .pagination {
    margin-bottom: 0;
}

.pagination-wrapper .page-link {
    color: #007bff;
    border-color: #dee2e6;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* 侧边栏组件样式 */
.sidebar .card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 30px;
}

.sidebar .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0 !important;
}

.sidebar .card-header h5 {
    margin: 0;
    color: #333;
    font-weight: 600;
}

.sidebar-search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
}

.sidebar-search-form .form-control {
    border: 1px solid #dee2e6;
    border-right: none;
    padding: 10px 15px;
}

.sidebar-search-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 10px 15px;
}

.sidebar .list-group-item {
    border: none;
    padding: 10px 0;
    background: none;
}

.sidebar .list-group-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar .list-group-item a:hover {
    color: #007bff;
}

.sidebar .badge {
    font-size: 0.75rem;
}

.sidebar-blog-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.sidebar-blog-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar-blog-item h6 a {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.4;
}

.sidebar-blog-item h6 a:hover {
    color: #007bff;
}

.sidebar .badge.bg-light {
    background-color: #f8f9fa !important;
    color: #333 !important;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.sidebar .badge.bg-light:hover {
    background-color: #007bff !important;
    color: white !important;
    border-color: #007bff;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .sidebar {
        margin-top: 30px;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .product-listing-section {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .breadcrumb-section {
        margin-top: 70px;
        padding: 15px 0;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .product-listing-section {
        padding: 30px 0;
    }
    
    .sidebar-nav .list-group-item {
        padding: 10px 15px;
    }
}

/* 产品详情页面样式 */
.product-details-section {
    padding: 60px 0;
    background-color: #fff;
}

.product-gallery {
    position: relative;
    margin-bottom: 30px;
}

/* 产品画廊新布局 */
.product-gallery-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.main-image-area {
    flex: 1;
    min-width: 0; /* 防止flex项目溢出 */
}

.thumbs-area {
    width: 120px;
    flex-shrink: 0;
}

/* 单图模式时隐藏缩略图区域 */
.product-gallery-layout:not(:has(.thumbs-area)) .main-image-area {
    flex: none;
    width: 100%;
}

.product-swiper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 0; /* 移除底部间距 */
}

.product-swiper .swiper-slide {
    position: relative;
    background-color: #f8f9fa;
}

.product-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.product-thumbs {
    height: 400px; /* 与主图高度一致 */
    width: 100%;
}

/* 确保缩略图垂直排列 */
.product-thumbs .swiper-wrapper {
    flex-direction: column;
}

.product-thumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    margin-bottom: 10px;
    height: calc((400px - 40px) / 4); /* 4张缩略图，减去间距 */
    width: 100% !important; /* 确保宽度为100% */
}

.product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

.product-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Swiper 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-title {
    font-size: 25px;
    font-weight: 200;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.product-price {
    margin-bottom: 20px;
}

.product-price .price-new {
    font-size: 1.5rem;
    font-weight: 700;
    color: #007bff;
    margin-right: 10px;
}

.product-price .price-old {
    font-size: 1.2rem;
    color: #999;
    text-decoration: line-through;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    line-height: 1.8;
    color: #666;
}

.product-specs {
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.product-specs .specs-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    
    position: relative;
    text-align: left;
}

.product-specs .specs-title::before {
    content: '📋';
    margin-right: 8px;
    font-size: 1.1rem;
}

/* 两列布局容器 */
.product-specs .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-specs .spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.product-specs .spec-item:hover {
    background: rgba(0,123,255,0.05);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.product-specs .spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.product-specs .spec-label {
    font-weight: 600;
    color: #495057;
    min-width: 90px;
    margin-right: 20px;
    font-size: 0.95rem;
    position: relative;
}

.product-specs .spec-label::after {
    content: ':';
    margin-left: 2px;
    color: #6c757d;
}

.product-specs .spec-value {
    color: #007bff;
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
}

.product-actions {
    margin-bottom: 30px;
}

.product-meta {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.meta-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
    min-width: 80px;
}

.meta-value {
    color: #007bff;
    text-decoration: none;
}

.meta-value:hover {
    text-decoration: underline;
}

/* 产品标签页样式 */
.product-tabs-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-tabs .nav-tabs {
    border: none;
    margin-bottom: 30px;
}

.product-tabs .nav-link {
    border: none;
    color: #666;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 25px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.product-tabs .nav-link:hover {
    background-color: #e9ecef;
    color: #333;
}

.product-tabs .nav-link.active {
    background-color: #007bff;
    color: white;
}

.tab-content-body {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tab-content-body p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.tab-content-body ul li {
    margin-bottom: 10px;
    color: #333;
}

.product-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 相关产品样式 */
.related-products-section {
    padding: 60px 0;
    background-color: #fff;
}

.related-products-section .section-title {
    margin-bottom: 40px;
}

/* Swiper 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: #007bff;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

/* 响应式调整 */
@media (max-width: 991px) {
    .product-details-section {
        padding: 40px 0;
    }
    
    .product-tabs-section {
        padding: 40px 0;
    }
    
    .related-products-section {
        padding: 40px 0;
    }
    
    .product-info {
        margin-top: 30px;
    }
    
    .product-gallery-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .thumbs-area {
        width: 100%;
        order: -1; /* 缩略图放在主图上方 */
    }
    
    .product-thumbs {
        height: 120px; /* 移动端缩略图高度 */
    }
    
    /* 移动端缩略图水平排列 */
    .product-thumbs .swiper-wrapper {
        flex-direction: row;
    }
    
    .product-thumbs .swiper-slide {
        height: 100px; /* 移动端缩略图高度 */
        margin-bottom: 10px;
        margin-right: 10px; /* 移动端水平间距 */
        width: auto !important; /* 移动端自适应宽度 */
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .product-title::after {
        width: 50px;
        height: 2px;
    }
    
    .product-specs {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .product-specs .specs-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .product-specs .spec-item {
        margin-bottom: 12px;
        padding: 10px 0;
    }
    
    .product-specs .spec-label {
        min-width: 80px;
        margin-right: 15px;
        font-size: 0.9rem;
    }
    
    .product-specs .spec-value {
        font-size: 0.95rem;
    }
    
    .product-swiper .swiper-slide img {
        height: 300px;
    }
    
    .product-thumbs {
        height: 80px;
    }
    
    .product-thumbs .swiper-slide {
        height: 60px;
    }
    
    .product-tabs .nav-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .tab-content-body {
        padding: 20px;
    }
    
    /* 移动端Swiper按钮调整 */
    .swiper-button-next,
    .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .product-swiper .swiper-slide img {
        height: 250px;
    }
    
    .product-thumbs {
        height: 70px;
    }
    
    .product-thumbs .swiper-slide {
        height: 50px;
    }
    
    .product-gallery {
        margin-bottom: 20px;
    }
    
    .product-gallery-layout {
        gap: 10px;
    }
}

/* 服务项目样式 */
.service-projects-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-project-card {
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.service-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-project-card:hover::before {
    opacity: 1;
}

.service-icon {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.service-icon i {
    font-size: 3.5rem;
    color: #fff;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.service-project-card:hover .service-icon i {
    transform: scale(1.1);
}

.service-content {
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 1.5rem;
    
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-description {
    font-size: 1rem;
    color: #fff;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* 服务项目响应式调整 */
@media (max-width: 768px) {
    .service-projects-section {
        padding: 60px 0;
    }
    
    .service-project-card {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .service-icon i {
        font-size: 3rem;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .service-projects-section {
        padding: 50px 0;
    }
    
    .service-project-card {
        padding: 25px 15px;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
}

/* 页面Banner样式 */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px; /* 为固定导航栏留出空间 */
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.banner-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.banner-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .case-listing-section,
    .case-details-section {
        padding: 40px 0;
    }
    
    .case-card {
        margin-bottom: 20px;
    }
    
    .case-info {
        padding: 15px;
    }
    
    .case-info .case-title {
        font-size: 20px;
    }
    
    .case-specs .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .related-case-card {
        margin-bottom: 20px;
    }
    
    .sidebar {
        margin-top: 30px;
    }
    
    .banner-title {
        font-size: 2rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .case-listing-section,
    .case-details-section {
        padding: 30px 0;
    }
    
    .case-info .case-title {
        font-size: 18px;
    }
    
    .case-swiper .swiper-slide img {
        height: 300px;
    }
    
    .thumbs-area {
        width: 80px;
    }
    
    .case-thumbs .swiper-slide img {
        height: 60px;
    }
    
    .banner-title {
        font-size: 1.5rem;
    }
    
    .banner-subtitle {
        font-size: 0.9rem;
    }
    
    .case-content {
        padding: 15px;
    }
    
    .case-specs,
    .case-description {
        padding: 15px;
    }
}

/* 联系页面样式 */
.contact-info-area {
    animation: fadeInLeft 0.6s ease-out;
}

.contact-info-area h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-info-area p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #6c757d;
    margin-bottom: 2rem;
}

.contact-info-wrap {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.single-contact-info {
    transition: all 0.3s ease;
}

.single-contact-info:hover {
    transform: translateX(10px);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.contact-info-content p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 0;
}

.contact-info-content a {
    color: #007bff;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: #0056b3;
}

/* 联系表单样式 */
.contact-form-area {
    animation: fadeInRight 0.6s ease-out;
}

.contact-form-area .card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.contact-form-area .card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-form-area .form-control {
    border: 2px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.contact-form-area .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.contact-form-area .form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

.contact-form-area textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-area .btn {
    border-radius: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    padding: 1rem 2rem;
}

.contact-form-area .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,123,255,0.3);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.contact-form-area .btn:active {
    transform: translateY(0);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



/* 响应式调整 */
@media (max-width: 991.98px) {
    
    
    .contact-info-area h2 {
        font-size: 2rem;
    }
    
    .contact-form-area .card-body {
        padding: 2rem;
    }
}

@media (max-width: 767.98px) {
    
    
    .contact-info-area h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-wrap {
        padding: 1rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-form-area .card-body {
        padding: 1.5rem;
    }
    
    .contact-form-area .card-title {
    font-size: 1.5rem;
    }
    
    .contact-form-area .btn {
        padding: 0.875rem 1.5rem;
    }
} 

/* 客户案例样式 - 基于产品样式重新设计 */
.case-listing-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #f8f9fa;
    height: 100%;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #e9ecef;
}

.case-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.case-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-category-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.category-tag {
    background: rgba(193, 187, 187, 0.957);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(128, 128, 128, 0.9);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.case-content {
    padding: 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.case-card .case-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.case-card .case-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.case-card .case-title a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.case-card .case-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.case-client,
.case-location {
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    text-align: left;
}

/* 案例详情页样式 */
.case-details-section {
    padding: 60px 0;
    background-color: #fff;
}

.case-gallery {
    position: relative;
    margin-bottom: 30px;
}

.case-gallery-layout {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.main-image-area {
    flex: 1;
    min-width: 0;
}

.thumbs-area {
    width: 120px;
    flex-shrink: 0;
}

.case-gallery-layout:not(:has(.thumbs-area)) .main-image-area {
    flex: none;
    width: 100%;
}

.case-swiper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 0;
}

.case-swiper .swiper-slide {
    position: relative;
    background-color: #f8f9fa;
}

.case-swiper .swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.case-thumbs {
    height: 400px;
    width: 100%;
}

.case-thumbs .swiper-wrapper {
    flex-direction: column;
}

.case-thumbs .swiper-slide {
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    border: 2px solid transparent;
    margin-bottom: 10px;
    height: calc((400px - 40px) / 4);
    width: 100% !important;
}

.case-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #007bff;
}

.case-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-swiper .swiper-button-next,
.case-swiper .swiper-button-prev {
    color: #007bff;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-swiper .swiper-button-next:hover,
.case-swiper .swiper-button-prev:hover {
    background: rgba(255,255,255,1);
    transform: scale(1.1);
}

.case-swiper .swiper-button-next:after,
.case-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* 详情页的案例信息样式 */
.case-info {
    padding: 20px;
}

.case-info .case-title {
    font-size: 25px;
    font-weight: 200;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.case-info .case-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.case-specs {
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-specs .specs-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    text-align: left;
}

.case-specs .specs-title::before {
    content: '📋';
    margin-right: 8px;
    font-size: 1.1rem;
}

.case-specs .specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.case-specs .spec-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.case-specs .spec-item:hover {
    background: rgba(0,123,255,0.05);
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
}

.case-specs .spec-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.case-specs .spec-label {
    font-weight: 600;
    color: #495057;
    min-width: 90px;
    margin-right: 20px;
    font-size: 0.95rem;
    position: relative;
}

.case-specs .spec-label::after {
    content: ':';
    margin-left: 2px;
    color: #6c757d;
}

.case-specs .spec-value {
    color: #007bff;
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
}

.case-description {
    margin-bottom: 30px;
}

.case-description .description-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    padding-bottom: 12px;
    position: relative;
    text-align: left;
}

.case-description .description-title::before {
    content: '📝';
    margin-right: 8px;
    font-size: 1.1rem;
}

.case-description .description-content {
    line-height: 1.8;
    color: #666;
}

.case-description .description-content p {
    margin-bottom: 15px;
}

.case-description .description-content p:last-child {
    margin-bottom: 0;
}

/* 相关案例样式 */
.related-cases {
    margin-top: 60px;
}

.related-cases .related-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.related-cases .related-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.related-case-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    position: relative;
    border: 1px solid #f8f9fa;
    height: 100%;
}

.related-case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: #e9ecef;
}

.related-case-card .case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.related-case-card .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-case-card:hover .case-image img {
    transform: scale(1.05);
}

.related-case-card .case-content {
    padding: 20px;
    background: #fff;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.related-case-card .case-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: left;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.related-case-card .case-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 1px;
}

.related-case-card .case-title a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.related-case-card .case-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.related-case-card .case-client {
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    text-align: left;
}



/* 分页样式 */
.pagination-wrapper {
    margin-top: 40px;
}

.pagination {
    justify-content: center;
    margin: 0;
}

.pagination .page-link {
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    margin: 0 2px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
    cursor: not-allowed;
}

/* 面包屑导航样式 */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

/* Archive Page Styles */
.blog-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #007bff;
}

.blog-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.blog-card .card-title a {
    color: #333;
    transition: color 0.3s ease;
}

.blog-card .card-title a:hover {
    color: #007bff;
}

.blog-meta {
    font-size: 0.85rem;
}

.blog-meta i {
    color: #6c757d;
}

.card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Sidebar Styles */
.sidebar .card {
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 1rem;
}

.sidebar .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.sidebar .list-unstyled li {
    border-bottom: 1px solid #f1f3f4;
    padding: 0.5rem 0;
}

.sidebar .list-unstyled li:last-child {
    border-bottom: none;
}

.sidebar .list-unstyled a {
    color: #495057;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar .list-unstyled a:hover {
    color: #007bff;
}

.sidebar .badge {
    background-color: #6c757d;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Tag Cloud Styles */
.sidebar .badge.bg-light {
    background-color: #f8f9fa !important;
    color: #495057 !important;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.sidebar .badge.bg-light:hover {
    background-color: #007bff !important;
    color: #fff !important;
    border-color: #007bff;
}

/* Pagination Styles */
.pagination .page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #0056b3;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .blog-card .card-img-top {
        height: 180px;
    }
    
    .blog-card .card-title {
        font-size: 1rem;
    }
    
    .sidebar {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .blog-card .card-img-top {
        height: 160px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-meta span {
        margin: 0 !important;
    }
}