/* 效果图展示页面样式 */

/* 页面标题区域 */
.gallery-hero {
    background: linear-gradient(135deg, #660874 0%, #8B5A96 50%, #E6E6FA 100%);
    padding: 8rem 0 4rem;
    color: white;
    text-align: center;
}

.gallery-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 分类导航 */
.gallery-nav {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid #660874;
    color: #660874;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    background: #660874;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 8, 116, 0.3);
}

/* 图片展示区域 */
.gallery-content {
    padding: 4rem 0;
    background: #f8f9fa;
    min-height: 60vh;
}

.gallery-card {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 8, 116, 0.2);
}

.card-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #660874, #8B5A96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #E6E6FA;
}

.image-placeholder p {
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 8, 116, 0.9);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.card-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* 筛选动画 */
.gallery-item {
    transition: all 0.5s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.visible {
    opacity: 1;
    transform: scale(1);
}

/* 模态框样式 */
.modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.modal-header {
    background: #660874;
    color: white;
    border-bottom: none;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #660874, #8B5A96);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
}

.modal-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #E6E6FA;
}

.modal-image-placeholder p {
    font-size: 1.2rem;
    margin: 0;
}

.image-info h4 {
    color: #660874;
    font-weight: bold;
}

.image-info p {
    color: #666;
    line-height: 1.6;
}

.modal-footer .btn-primary {
    background: #660874;
    border-color: #660874;
}

.modal-footer .btn-primary:hover {
    background: #8B5A96;
    border-color: #8B5A96;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .gallery-title {
        font-size: 2rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-card {
        height: 250px;
    }
    
    .card-image {
        height: 150px;
    }
    
    .modal-image-placeholder {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        padding: 6rem 0 3rem;
    }
    
    .gallery-title {
        font-size: 1.8rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
} 