/* Reset */
body {
    margin: 0;
    font-family: system-ui, sans-serif;
    background: #111;
    color: #fff;
}

a {
    color: #FFF;
    text-decoration: none;
}

a:hover {
    color: #a1cab0;
}

p a {
    text-decoration: underline;
}

p.text-center {
    text-align: center;
}

/* Header */
.header {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: left;
}

.logo img {
    max-width: 400px;
    height: auto;
    display: block;
}

/* Main content */
main {
    padding: 20px;
}

h1 {
    text-align: center;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Gallery Sections */
.gallery-section {
    padding: 60px 20px;
}

.gallery-section h2 {
    margin-bottom: 20px;
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Images */
img {
    filter: blur(10px);
    transition: filter 0.4s;
}
.gslide-image img,
img.loaded {
    filter: blur(0);
}

/* Captions */
figcaption {
    font-size: 14px;
    color: #727272;
    padding: 15px 0;
    text-align:center;
}

figure:hover figcaption {
    transition: 0.4s;
    color: #DDDDDD;

}

/* Album pages */
.album-grid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    row-gap: 50px;

}

.album-grid figure {
    flex-basis: 31%;
    margin: 0;
}

.album-image {
    max-width: 100%;
    height: auto;
    background-color: #111;
}

.glightbox.album-image img {
    border: 1px solid rgba(0,0,0,0);
    display: block;
    margin: 0 auto;
}

.glightbox.album-image:hover img {
    transition: 0.4s;
    scale: 1.02;
    border: 1px solid #333;
    z-index: 999;
}

/* Tablet */
@media screen and (max-width: 1000px) {
    .header { 
        justify-content: center;
    }
    .album-grid figure {
        flex-basis: 45%;
        margin: 0;
    }  
}

/* Mobile */
@media screen and (max-width: 610px) {
    .logo img {
        max-width: 100%;
    }

    .album-grid figure {
        flex-basis: 100%;
        margin: 0;
    }  
}
