.gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.folder-card {
    position: relative;
    width: 250px;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.folder-card:hover {
    transform: scale(1.03);
}

.folder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: background-color 0.3s ease;
    z-index: 1;
}

.folder-card:hover::before {
    background-color: rgba(0,0,0,0.7);
}

.folder-card a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: 2;
    text-decoration: none;
}

.folder-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.folder-card h2 {
    color: white;
    text-align: center;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0 10px;
}

.folder-card:hover h2 {
    color: #e84007;
}