/* Basic site-wide styles */
html { 
    scroll-behavior: smooth; 
}

body { 
    font-family: 'Inter', sans-serif; 
}

/* Styles for the scroll-in animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.visible { 
    opacity: 1; 
    transform: translateY(0); 
}
.reveal.visible { 
    opacity: 1; 
    transform: translateY(0); 
}

/* Styles for the new Lightbox Gallery */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox-modal {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-modal img {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: white;
    color: #222222;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s, background-color 0.2s;
}

.lightbox-close:hover {
    background-color: #D91F26;
    color: white;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
