/**/@charset "utf-8";
/* CSS Document */






.wedding-gallery {
    width: 94%;
    padding: 70px 5px 90px;
}

.gallery-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


.gallery-header {
    max-width: 1000px;
    margin: 0 auto 25px;
    text-align: center;
}

.gallery-eyebrow {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.gallery-header h1 {
    margin: 0 0 18px;



    font-size: clamp(32px, 5vw, 44px);
    font-weight: 400;
    line-height: 1.1;
}

.gallery-header p {
    max-width: 100%;
    margin: 0 auto;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.8;
}



.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 40px;
	display:none;
}

.gallery-filter {
    padding: 10px 22px;

    border: 1px solid var(--border);
    border-radius: 30px;

    background: transparent;

    color: var(--text);

    font-family: inherit;
    font-size: 13px;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: var(--text);
    border-color: var(--text);
    color: var(--white);
}



.gallery-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}


.gallery-item {

    position: relative;

    display: block;

    width: 100%;

    /*
       All gallery images have the same
       3:2 photographic aspect ratio.
    */

    aspect-ratio: 3 / 2;

    overflow: hidden;

    background: #eeeeee;

    border-radius: 3px;

    cursor: pointer;

    text-decoration: none;

    transition:
        opacity .3s ease,
        transform .3s ease;
}


/*
   Images automatically crop to
   the same size.
*/

.gallery-item img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .6s ease,
        filter .4s ease;
}



.gallery-item:hover img {

    transform: scale(1.05);

    filter: brightness(.78);
}



.gallery-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.55),
            rgba(0,0,0,0) 65%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-content {
    color: #ffffff;
	
}

.gallery-overlay-category {

    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.gallery-overlay-title {

    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 18px;
}



.gallery-item.hidden {

    display: none;
}



.gallery-no-results {

    display: none;

    padding: 60px 20px;

    text-align: center;

    color: var(--muted);

    font-size: 15px;
}



.gallery-lightbox {

    position: fixed;

    z-index: 99999;

    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(15, 15, 15, .95);
}




.gallery-lightbox.open {

    display: flex;
}




.lightbox-image-container {

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}

.lightbox-image {

    display: block;

    max-width: 90vw;
    max-height: 82vh;

    width: auto;
    height: auto;

    object-fit: contain;

    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}



.lightbox-close {

    position: absolute;

    top: 15px;
    right: 20px;

    z-index: 3;

    width: 45px;
    height: 45px;

    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 38px;
    font-weight: 200;

    line-height: 40px;

    cursor: pointer;

    opacity: .85;

    transition: opacity .2s ease;
}

.lightbox-close:hover {
    opacity: 1;
}



.lightbox-prev,
.lightbox-next {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 3;

    width: 50px;
    height: 70px;

    border: 0;

    background: rgba(0,0,0,.25);

    color: #ffffff;

    font-size: 36px;

    line-height: 1;

    cursor: pointer;

    transition: background .2s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {

    background: rgba(0,0,0,.55);
}

.lightbox-prev {
    left: 10px;
}

.lightbox-next {
    right: 10px;
}



.lightbox-caption {

    position: absolute;

    right: 80px;
    bottom: 25px;
    left: 80px;

    text-align: center;

    color: #ffffff;
}

.lightbox-caption-category {

    display: block;

    margin-bottom: 5px;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;

    opacity: .75;
	display:none;
}

.lightbox-caption-title {

    display: block;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 20px;
}



.lightbox-counter {

    position: absolute;

    top: 25px;
    left: 25px;

    color: rgba(255,255,255,.75);

    font-size: 12px;

    letter-spacing: 1px;
}



.gallery-footer {

    max-width: 650px;

    margin: 60px auto 0;

    text-align: center;
}

.gallery-footer h2 {

    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;

    font-weight: 400;
}

.gallery-footer p {

    margin: 0;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}




@media (max-width: 1100px) {

    .gallery-grid {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 750px) {

    .wedding-gallery {

        padding: 10px 20px 70px;

    }

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;

    }

}



@media (max-width: 600px) {

    .wedding-gallery {

        padding: 10px 15px 60px;

    }

    .gallery-header {

        margin-bottom: 30px;

    }

    .gallery-header h1 {

        font-size: 38px;

    }

    .gallery-header p {

        font-size: 15px;

    }


    /* Category buttons */

    .gallery-filters {

        gap: 7px;

        margin-bottom: 25px;

    }

    .gallery-filter {

        padding: 8px 14px;

        font-size: 12px;

    }


    /* Gallery */

    .gallery-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 7px;

    }


    /*
       Keep exactly the same image
       ratio on mobile.
    */

    .gallery-item {

        aspect-ratio: 3 / 2;

    }


    /*
       Hide hover overlay on touch
       devices.
    */

    .gallery-overlay {

        display: none;

    }


    /* Lightbox */

    .gallery-lightbox {

        padding: 15px;

    }

    .lightbox-image {

        max-width: 96vw;

        max-height: 78vh;

    }

    .lightbox-prev,
    .lightbox-next {

        width: 40px;

        height: 55px;

        font-size: 28px;

    }

    .lightbox-prev {

        left: 5px;

    }

    .lightbox-next {

        right: 5px;

    }

    .lightbox-caption {

        right: 55px;

        bottom: 18px;

        left: 55px;

    }

    .lightbox-caption-title {

        font-size: 17px;

    }

}



@media (max-width: 400px) {

    .gallery-grid {

        gap: 5px;

    }

}