.album-section {
    text-align: left;
    color: #000;
    padding: 40px 20px;
}

.album-desc {
    font-style: italic;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* === GRID === */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.album-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.album-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.85);
}

.album-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0 0 12px 12px;
}

.album-item:hover .caption {
    opacity: 1;
}

/* === LIGHTBOX === */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s;
    z-index: 1000;
}

#lightbox.active {
    visibility: visible;
    opacity: 1;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0.5;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* === Responsive === */
@media (max-width: 600px) {
    .album-section {
        padding: 20px 10px;
    }

    .album-grid {
        gap: 10px;
    }

    .album-item .caption {
        font-size: 0.8rem;
    }
}