body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-top: 30px;
    font-weight: 600;
    letter-spacing: 1px;
}

h2 {
    margin-top: 5px;
    color: #555;
    font-weight: 400;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    padding: 30px;
    width: 90%;
    max-width: 1300px;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.gallery-item p {
    text-align: center;
    margin: 12px;
    font-weight: 500;
    color: #333;
}

/* Lightbox */

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

.lightbox img {
    max-width: 92%;
    max-height: 92%;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.6);
    animation: zoom 0.2s ease;
}

@keyframes zoom {
    from { transform: scale(0.9); opacity: 0 }
    to { transform: scale(1); opacity: 1 }
}
