/* 画廊页面特定样式 */
.gallery-page {
    padding: 2rem;
}

.search-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.search-filter input,
.search-filter select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-filter input {
    width: 300px;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

.item-info {
    padding: 1rem;
}

.item-info h3 {
    color: #e62129;
    margin-bottom: 0.5rem;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0.3rem 0;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 1000;
}

.modal img {
    max-width: 90%;
    max-height: 80vh;
    margin: auto;
    display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.close {
    position: absolute;
    right: 25px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-info {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 1rem;
    text-align: center;
} 