
/* Galeri */
.galeri {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    padding: 3rem;
    max-width: 1600px;
    margin: auto;
}

.galeri h2 {
    color: #001c41;
}

.galeri-liste {
    display: grid;
    gap: 1rem;
    justify-content: center;
    align-content: center;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/4;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.1);
    filter: brightness(80%);
}

.galleryModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.galleryModal img,
.galleryModal video {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    object-fit: contain;
}

.galleryModal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}