/* Gallery Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px;
}

.image-item {
    border: 2px solid #ddd;
    padding: 10px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 220px;
    position: relative;
}

.image-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
}

.image-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.qr-code {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.qr-code img {
    width: 100px;
    height: 100px;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    padding-top: 60px;
    text-align: center;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
}

.caption {
    color: white;
    padding: 10px 0;
    font-size: 16px;
}

.close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #f1f1f1;
    text-decoration: none;
    cursor: pointer;
}
