
:root { --bg-color: #1a1a1a; --text-color: #ddd; }
body { font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin: 0; background-color: var(--bg-color); color: var(--text-color); overflow-y: scroll; }
header { background: #000; padding: 2rem 1rem; text-align: center; border-bottom: 1px solid #333; }
header h1 { margin: 0; font-weight: 300; letter-spacing: 2px; text-transform: capitalize; }
header h1 a { color: #fff; text-decoration: none; }
nav { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
nav a { color: #888; text-decoration: none; font-size: 0.9rem; text-transform: capitalize; letter-spacing: 1px; }
nav a:hover { color: #fff; border-bottom: 1px solid #fff; }
main { padding: 40px 20px; margin: 0 auto; }
.page-title { text-align: center; font-weight: 300; margin-bottom: 30px; color: #aaa; border-bottom: 1px solid #333; padding-bottom: 15px; }
.gallery-grid { display: grid; grid-template-columns: repeat(var(--desktop-cols), 1fr); gap: var(--gap-size); justify-content: center; justify-items: center; width: 100%; }
.gallery-item { background-color: transparent; overflow: hidden; cursor: pointer; transition: transform 0.2s; width: 100%; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; aspect-ratio: var(--aspect-ratio); object-fit: cover; display: block; border-radius: 3px; background: #000; }
.caption { height: 30px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: #888; margin-top: 5px; }
.lightbox { display: none; position: fixed; z-index: 10000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.98); }
.media-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.viewer-box { width: 100%; height: 100%; }
.lightbox-content { max-width: 90%; max-height: 90vh; }
.close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 40px; cursor: pointer; z-index: 10002; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); padding: 20px; color: #666; font-size: 40px; cursor: pointer; z-index: 10002; }
.nav-btn:hover { color: #fff; }
.prev { left: 20px; } .next { right: 20px; }
#caption { position: absolute; bottom: 20px; width: 100%; text-align: center; color: #fff; font-size: 1.2rem; pointer-events: none; z-index: 10002; text-shadow: 0 2px 4px #000; }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(var(--mobile-cols), 1fr); } }
