#gallery {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
    display: block; 
}

.mode-contact #gallery,
.mode-fokus #gallery {
    display: none;
}
.mode-fokus #gallery.active-section {
    display: block;
}

#gallery .section-title {
    font-size: 4rem; 
    font-weight: 800; 
    color: var(--brand-red);
    letter-spacing: 4px; 
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 60px; 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 20px;
    gap: 40px; 
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-action {
    margin-top: 40px; 
}

.btn-more {
    text-decoration: none;
    background-color: var(--brand-red);
    color: var(--white);
    padding: 18px 60px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 65px; 
    transition: all 0.4s ease;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
}

.btn-more:hover {
    background-color: #b30000;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(230, 0, 0, 0.4);
}

@media (max-width: 768px) {
    #gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px; 
        padding: 0 30px;
    }

    .gallery-item {
        width: 100%;
        max-width: 350px;
    }

    #gallery .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px; 
        letter-spacing: 2px;
    }

    .btn-more {
        padding: 15px 50px;
        font-size: 1.1rem;
    }
}