/* ── About Data ── */
.about-data {
    color: white;
    font-size: large;
}

.neon-about-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid white;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 800px;
}

/* ── Gallery ── */
.gallery-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
}

.gallery-title {
    font-family: 'Neon', cursive;
    color: white;
    text-shadow: 0 0 10px cyan;
    text-align: center;
    margin-bottom: 20px;
}

/* Preview area */
.gallery-preview {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid cyan;
    box-shadow: 0 0 20px cyan, inset 0 0 30px rgba(0,255,255,.1);
    background: transparent;
    cursor: pointer;
    margin-bottom: 16px;
}

.gallery-preview img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    transition: opacity .3s;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    border: 1px solid cyan;
    color: cyan;
    font-size: 1.6rem;
    padding: 10px 14px;
    cursor: pointer;
    z-index: 2;
    transition: background .2s, box-shadow .2s;
    line-height: 1;
}

.gallery-nav:hover {
    background: rgba(0,255,255,.15);
    box-shadow: 0 0 12px cyan;
}

.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }

/* Thumbnail grid */
.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.gallery-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid rgba(0,255,255,.3);
    cursor: pointer;
    opacity: .55;
    transition: opacity .25s, border-color .25s, box-shadow .25s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: cyan;
    box-shadow: 0 0 10px cyan;
}

/* Fullscreen lightbox */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border: 2px solid cyan;
    box-shadow: 0 0 30px cyan;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2.4rem;
    color: cyan;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
    text-shadow: 0 0 8px cyan;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.5);
    border: 1px solid cyan;
    color: cyan;
    font-size: 2rem;
    padding: 14px 18px;
    cursor: pointer;
    z-index: 10001;
    transition: background .2s, box-shadow .2s;
    line-height: 1;
}

.lightbox-nav:hover {
    background: rgba(0,255,255,.15);
    box-shadow: 0 0 12px cyan;
}

.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }

.lightbox-counter {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.7);
    font-family: 'Neon', cursive;
    font-size: 1rem;
    text-shadow: 0 0 6px cyan;
}

/* ── Responsive ── */
@media (max-width: 576px) {
    .gallery-preview img { max-height: 50vh; }
    .gallery-thumbs { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; }
    .gallery-nav { font-size: 1.2rem; padding: 8px 10px; }
    .lightbox-nav { font-size: 1.4rem; padding: 10px 14px; }
}
