/* assets/css/gallery.css */

/* GENERAL GALLERY PAGE */
section.gallery-header {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    background-color: transparent;
    background-size: cover;
    background-position: top center;
    position: relative;
    overflow: hidden;
}

section.gallery-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

section.gallery-header h1,
section.gallery-header p {
    position: relative;
    z-index: 2;
}

section.gallery-header h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    color: #b00208;
}

section.gallery-content {
    padding: 2em 5%;
}

.gallery-grid {
    column-count: 3;
    column-gap: 20px;
    margin-bottom: 3em;
}

.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.gallery-item:hover {
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    section.gallery-header h1 {
        font-size: 2em;
    }

    .gallery-grid {
        column-count: 1;
    }

    section.gallery-content {
        padding: 1em 5%;
    }
}