﻿.lightbox-overlay { position: fixed; inset: 0; background: rgba(20, 30, 24, 0.94); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease-chalk); z-index: 200; }
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 84vw; max-height: 78vh; border-radius: var(--radius-sm); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.lightbox-caption { position: absolute; bottom: 36px; left: 0; right: 0; text-align: center; color: var(--chalk-white); font-family: var(--font-mono); font-size: 0.85rem; }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; color: var(--chalk-white); font-size: 2rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(244,241,232,0.12); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.gallery-item { cursor: pointer; overflow: hidden; border-radius: var(--radius-md); }
.gallery-item img { transition: transform 0.4s var(--ease-chalk); }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 640px) { .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.6rem; } }
