body {
    margin: 0;
    padding: 0;
    background: #000;
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 700;
}

h2 {
    font-size: 20px;
    margin: 0 0 20px 0;
}

.about-btn {
    color: #fff;
    background: #333;
    padding: 8px 16px;
    text-decoration: none;
    font-size: 14px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    width: 100%;
}

.photo {
    background: #fff;
    padding: 15px;
    cursor: pointer; /* Indicate image is clickable */
}

.photo img {
    width: 100%;
    height: auto;
    display: block;
}

.photo-info {
    background: #fff;
    color: #000;
    padding: 10px;
    text-align: left;
}

.photo-title {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 5px 0;
}

.photo-date {
    font-size: 12px;
    margin: 0 0 5px 0;
}

.photo-tag {
    background: #f0f0f0;
    display: inline-block;
    padding: 5px 10px;
    font-size: 12px;
}

.navigation {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.navigation button {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    cursor: pointer;
}

.navigation button:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
}

.pagination {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
}

.pagination span {
    padding: 5px 10px;
    cursor: pointer;
    color: #fff;
}

.pagination .current {
    font-weight: 700;
    background: #fff;
    color: #000;
}

.pagination span:not(.current):hover {
    background: #666;
}

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'IBM Plex Mono', monospace;
}

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