/* Gallery styles */
.grid-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.grid-item img {
    filter: brightness(1);
    opacity: 1 !important;
    visibility: visible !important;
}

.grid-item a:hover img {
    filter: brightness(1); /* Maintain full brightness on hover */
}

/* Remove darkening effect completely */
.grid-item .absolute.inset-0 {
    background-color: transparent !important;
}

/* Style only the description text container at bottom */
.grid-item .text-white {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    filter: brightness(1);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 10px;
    width: 100%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-prev,
.lightbox-next {
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
} 