body {
    font-family: Arial, sans-serif;
    background: #fff8e7;
    margin: 0;
    padding: 0;
}

.galerie-title {
    text-align: center;
    padding: 20px;
    color: #4B3832;
}

/* Tabs */
.tabs {
    text-align: center;
    margin-bottom: 20px;
}
.tab {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #ddd;
    cursor: pointer;
    border-radius: 5px;
}
.tab.active {
    background: #4B3832;
    color: #fff;
}

/* Masonry */
.masonry {
    column-count: 4;
    column-gap: 1rem;
    padding: 1rem;
}
.item {
    break-inside: avoid;
    margin-bottom: 1rem;
    position: relative;
}
.thumb {
    width: 100%;
    border-radius: 6px;
    display: block;
}

/* Video Play Icon */
.video-wrapper {
    position: relative;
}
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    text-shadow: 0 0 10px black;
    pointer-events: none;
}

/* Caption */
.caption {
    padding: 5px 0;
    font-size: 14px;
    color: #4B3832;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
#lightboxContent img,
#lightboxContent video {
    max-width: 90%;
    max-height: 90%;
}
#lightboxClose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .masonry { column-count: 2; }
}
@media (max-width: 600px) {
    .masonry { column-count: 1; }
}
