/* Album Collage Styles */
.album-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.album-collage img {
    transition: transform 0.3s ease;
}

.album-card:hover .album-collage img {
    transform: scale(1.05);
}

.album-info {
    transition: background-color 0.3s ease;
}

.album-card:hover .album-info {
    background-color: #f8f9fa !important;
}

/* Object fit utility class */
.object-fit-cover {
    object-fit: cover;
}

/* Hover shadow utility */
.hover-shadow:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Gallery photo styles */
.gallery-photo {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* Lightbox overlay */
.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.photo-overlay i {
    color: white;
    font-size: 2rem;
}

/* Back button styling */
.back-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    margin-bottom: 30px;
}

.back-button:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

.back-button i {
    margin-right: 8px;
}