.galleryWrapper {
    width: 100%;
    min-height: 80vh;
}

.contentArea {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 100px;
}

.galleryHeader {
    margin-bottom: 40px;
    text-align: center;
    padding: 60px 0;
}

/* Gallery Hero - "Image Wall" Theme */
#filterHero {
    position: relative;
    height: 400px;
    width: 100%;
    background-color: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#heroWall {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    grid-auto-rows: 100px;
    opacity: 0.6;
    z-index: 0;
}

.wallItem {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) brightness(0.5) contrast(1.2);
    transition: all 0.5s ease;
}

/* Optional: Slight color restore on random interaction or just static atmosphere */
/* Interaction removed as requested */

#filterHeroOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.7) 0%, rgba(17, 17, 17, 0.9) 100%);
}

#filterContent {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

.heroMeta {
    margin-bottom: 20px;
}

#filterContent h1 {
    font-size: 4rem;
    /* Match Home/Agenda Size */
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -2px;
    /* Match Home letter-spacing */
    line-height: 0.9;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Match Home Shadow */
}

#filterContent p {
    color: #ccc;
    /* Lighter for better contrast match */
    font-size: 1.25rem;
    /* Larger match */
    line-height: 1.6;
}

.backBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.backBtn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

/* Grids */
.albumGrid,
.mediaGrid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.mediaGrid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Cards */
.cinematicCard {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #1e293b;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    aspect-ratio: 16/10;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cinematicCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.cinematicCard:hover {
    transform: translateY(-8px);
    border-color: rgba(96, 125, 139, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.cinematicCard:hover img {
    transform: scale(1.1);
}

/* Overlays */
.albumOverlay,
.itemOverlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.albumInfo h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.albumInfo span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #607d8b;
}

.itemOverlay {
    background: rgba(15, 23, 42, 0.4);
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.cinematicCard:hover .itemOverlay {
    opacity: 1;
}

.zoomIcon {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 300;
    transform: scale(0.5);
    transition: transform 0.3s;
}

.cinematicCard:hover .zoomIcon {
    transform: scale(1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: hsl(0deg 0% 11% / 90%);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.lightboxContent {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
}

.lightboxContent img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.lightboxMeta {
    padding: 20px 0;
    text-align: center;
    color: #94a3b8;
    font-weight: 500;
}

.closeLightbox {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.closeLightbox:hover {
    opacity: 1;
}

.lightboxNav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    color: #fff;
    cursor: pointer;
    padding: 20px;
    opacity: 0.3;
    transition: opacity 0.2s;
    user-select: none;
}

.lightboxNav:hover {
    opacity: 1;
}

.prevBtn {
    left: -100px;
}

.nextBtn {
    right: -100px;
}

@media (max-width: 1100px) {
    .prevBtn {
        left: 0;
    }

    .nextBtn {
        right: 0;
    }
}

@media screen and (max-width: 900px) {
    #filterContent h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 600px) {
    .mediaGrid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .cinematicCard:hover {
        transform: none;
        /* Disable hover lift on touch */
    }
}