
 
    /* 添加项目图片计数器样式 */
    .gallery-counter {
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: rgba(0, 0, 0, 0.6);
        color: white;
        padding: 5px 10px;
        border-radius: 15px;
        font-size: 0.8rem;
        z-index: 5;
    }
    
    /* 案例图片展示区域 */
    .case-gallery {
        padding: 50px 0;
    }
    
    .gallery-title {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .gallery-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }
    
    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 5px;
        cursor: pointer;
        height: 300px;
    }
    
    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
    
    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 20px;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translateY(0);
    }
    
    .gallery-overlay h3 {
        margin: 0 0 10px;
        font-size: 1.5rem;
    }
    
    .gallery-overlay p {
        margin: 0;
        font-size: 0.9rem;
    }
    
    /* 图片查看器样式 */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    
    .lightbox-content {
        position: relative;
        max-width: 80%;
        max-height: 80%;
    }
    
    .lightbox-img {
        max-width: 100%;
        max-height: 80vh;
        display: block;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .lightbox-close {
        position: absolute;
        top: -40px;
        right: 0;
        color: white;
        font-size: 30px;
        cursor: pointer;
    }
    
    .lightbox-nav {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
    }
    
    .lightbox-prev, .lightbox-next {
        color: white;
        font-size: 50px;
        cursor: pointer;
        padding: 0 20px;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        transition: background-color 0.3s;
    }
    
    .lightbox-prev:hover, .lightbox-next:hover {
        background-color: rgba(0, 0, 0, 0.6);
    }
    
    .lightbox-caption {
        position: absolute;
        bottom: -40px;
        left: 0;
        right: 0;
        color: white;
        text-align: center;
    }
 
    /* 响应式设计 */
    @media (max-width: 992px) {
        .gallery-container {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .hero-content h1 {
            font-size: 2.5rem;
        }
        
        .hero-content p {
            font-size: 1rem;
        }
    }
    
    @media (max-width: 768px) {
        .hero-section {
            height: 400px;
        }
        
        .hero-content {
            padding: 0 10%;
        }
        
        .hero-content h1 {
            font-size: 2rem;
        }
        
        .lightbox-content {
            max-width: 90%;
        }
    }
    
    @media (max-width: 576px) {
        .gallery-container {
            grid-template-columns: 1fr;
        }
        
        .hero-section {
            height: 350px;
        }
        
        .hero-content h1 {
            font-size: 1.8rem;
        }
        
        .gallery-item {
            height: 250px;
        }
        
        .lightbox-prev, .lightbox-next {
            width: 40px;
            height: 40px;
            font-size: 30px;
        }
    }