/* Gallery Styles */
.album {
    background-color: #f8f9fa;
    padding: 3rem 0;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .3s ease;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
}

.gallery-card:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 1.2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Lightbox Effect */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    justify-content: center;
    align-items: center;
}

/* Responsive Breakpoints */
@media (max-width: 576px) {
    .text {
        font-size: 1rem;
    }
}
