.hero-bg {
    background-image:
        linear-gradient(135deg, rgba(16, 24, 32, 0.55) 0%, rgba(39, 49, 56, 0.45) 100%),
        url('../images/Baptism_10122025_02.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 100%;
}
.text-gradient {
    background: linear-gradient(90deg, #4FACFE 0%, #00F2FE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.my-section {
    border-style: solid; /* or dotted, dashed, double, groove, ridge, inset, outset */
    border-width: 2px;
    border-color: black;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 4px;
}

.gallery-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gallery-link {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-link:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}

.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-link:hover .gallery-img,
.gallery-link:focus-visible .gallery-img {
    transform: scale(1.02);
    filter: brightness(1.03);
}

.no-scroll {
    overflow: hidden;
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.gallery-lightbox-content {
    position: relative;
    width: min(96vw, 1200px);
    max-height: 90vh;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.gallery-lightbox-caption {
    margin-top: 10px;
    text-align: center;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(15, 23, 42, 0.75);
    color: #f9fafb;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
    background: rgba(37, 99, 235, 0.9);
    outline: none;
}

.gallery-lightbox-close {
    top: 10px;
    right: 10px;
    font-size: 1.35rem;
    line-height: 1;
    z-index: 2;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    line-height: 1;
}

.gallery-lightbox-prev {
    left: 10px;
}

.gallery-lightbox-next {
    right: 10px;
}

@media (max-width: 768px) {
    .gallery-lightbox {
        padding: 12px;
    }

    .gallery-lightbox-content {
        width: 100%;
    }

    .gallery-lightbox-close {
        top: 8px;
        right: 8px;
    }

    .gallery-lightbox-nav {
        top: auto;
        bottom: -54px;
        transform: none;
    }

    .gallery-lightbox-prev {
        left: calc(50% - 52px);
    }

    .gallery-lightbox-next {
        right: calc(50% - 52px);
    }

    .gallery-lightbox-caption {
        margin-bottom: 56px;
    }
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.link-hover-green {
    transition: color 0.2s ease;
}

.link-hover-green:hover,
.link-hover-green:focus-visible {
    color: #22c55e;
}
