/* Gallery Specific Styles */
.page-hero {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter */
.filter-container {
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
    background: #f8f8f8;
    border-radius: 50px;
}

.filter-btn {
    padding: 10px 25px;
    border: none;
    background: transparent;
    color: #666;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 25px;
}

.filter-btn:hover {
    color: #333;
    background: rgba(0,0,0,0.05);
}

.filter-btn.active {
    background: #333;
    color: white;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 5px;
    aspect-ratio: 1;
    animation: fadeIn 0.6s ease;
}

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

.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay-content h3 {
    color: white;
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.overlay-content p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.photo-tech {
    display: inline-block;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 4px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    padding: 10px 15px;
    text-decoration: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background: #f8f8f8;
    color: #333;
}

.page-link.active {
    background: #333;
    color: white;
    border-color: #333;
}

.page-dots {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .filter-buttons {
        padding: 15px;
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}