body {
    margin: 0;
    padding: 0;
    margin-top: 60px;
    font-family: sans-serif;
}
.gallery {
    column-count: 4;
    column-gap: 1em;
    padding: 1em;
}
.gallery img {
    width: 100%;
    margin-bottom: 1em;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.gallery img:hover {
    transform: scale(1.03);
}
/* Modal styles */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
#imageModal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
}
#imageModal:target {
    display: flex;
}
@media (max-width: 768px) {
    .gallery {
        column-count: 2;
    }
}
@media (max-width: 480px) {
    .gallery {
        column-count: 1;
    }
}