/* 照片画廊样式 */
.photo-gallery {
    padding: 100px 0 50px;
}

.photo-gallery h1 {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
}

/* 筛选器样式 */
.gallery-filter {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 5px;
    border: none;
    background: #f5f5f5;
    color: #333;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2F4F6D;
    color: #fff;
}

/* 照片网格样式 */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.photo-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.1);
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.photo-overlay p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
} 
/* 英雄区域样式 */
.hero-section {
    height: 230px;
    background: linear-gradient(rgba(47, 79, 109, 0.95), rgba(47, 79, 109, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    margin-bottom: 30px;
    padding: 100px 0 50px;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin: 0;
    padding: 5px 0;
    font-weight: 600;
}

.hero-section p {
    font-size: 2.5rem;
    margin: 0;
    padding: 5px 0;
    font-weight: 300;
}