/* Gallery specific styles */

.gallery-hero {
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(129, 140, 248, 0.16));
}

.gallery-album-nav .nav-link {
    text-align: left;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    margin-block-end: 0.5rem;
    color: var(--bs-body-color);
    background-color: rgba(255, 180, 51, 0.05);
    transition: all 0.2s ease;
}

.gallery-album-nav .nav-link.active {
    background-color: rgba(var(--bs-primary-rgb), 0.16);
    color: var(--bs-primary);
    box-shadow: 0 0.2rem 0.5rem rgba(255, 180, 51, 0.25);
}

.gallery-album-nav .nav-link:hover:not(.active) {
    background-color: rgba(var(--bs-primary-rgb), 0.12);
}

.gallery-album-card {
    border-radius: 1rem;
}

.gallery-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 6.5rem;
    max-height: calc(100vh - 7.5rem);
    overflow: hidden;
}

.gallery-sidebar .card-body {
    flex: 1;
    padding: 1rem;
}

.gallery-sidebar .gallery-album-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .gallery-sidebar {
        position: static;
        max-height: none;
    }
}

.gallery-thumbnail {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    background-color: rgba(15, 23, 42, 0.04);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-thumbnail img {
    border-radius: inherit;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.gallery-thumbnail:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.12);
}

.gallery-caption {
    display: block;
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bs-body-color);
    text-align: center;
}
