/* CSS Document */
/* ==========================================================================
   NEON GALLERY — Estilos avançados para galerias e imagens
   ========================================================================== */

/* ==========================================================================
   GALERIA PADRÃO (NEON)
   ========================================================================== */

.neon-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.neon-gallery img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover suave */
.neon-gallery img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* ==========================================================================
   GALERIA COM LEGENDA
   ========================================================================== */

.neon-gallery figure {
    margin: 0;
    position: relative;
}

.neon-gallery figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}

/* ==========================================================================
   GALERIA ESTILO “CARD”
   ========================================================================== */

.neon-gallery-card {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.neon-gallery-card .neon-card {
    background-color: #14181b;
    border-radius: 8px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.neon-gallery-card .neon-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.neon-gallery-card img {
    width: 100%;
    height: auto;
    display: block;
}

.neon-gallery-card .neon-card-body {
    padding: 16px;
    color: #e0e0e0;
}

.neon-gallery-card .neon-card-title {
    font-size: 18px;
    margin-bottom: 8px;
    color: #00e0e0;
}

.neon-gallery-card .neon-card-text {
    font-size: 14px;
    color: #aaa;
}

/* ==========================================================================
   GALERIA TIPO MASONRY (NEON)
   ========================================================================== */

.neon-masonry {
    column-count: 3;
    column-gap: 16px;
}

.neon-masonry img {
    width: 100%;
    margin-bottom: 16px;
    border-radius: 6px;
    display: block;
    break-inside: avoid;
    transition: opacity .25s ease;
}

.neon-masonry img:hover {
    opacity: .85;
}

/* ==========================================================================
   LIGHTBOX (NEON)
   ========================================================================== */

.neon-lightbox {
    cursor: zoom-in;
}

.neon-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.neon-lightbox-overlay.open {
    display: flex;
}

.neon-lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

/* Botão fechar */
.neon-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    color: #fff;
    cursor: pointer;
    transition: color .2s ease;
}

.neon-lightbox-close:hover {
    color: #00e0e0;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 900px) {
    .neon-masonry {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .neon-masonry {
        column-count: 1;
    }
}

