/* Galeria de Artes Visuais - Estilos Modernos e Institucionais */

.gallery-hero {
    padding: 100px 20px 60px;
    background-color: #fcfcfc;
    border-bottom: 1px solid #eaeaea;
}

.gallery-hero .page-title {
    font-size: 3.2rem;
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-align: center;
}

.gallery-hero .hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-filters {
    padding: 50px 20px 20px;
    display: flex;
    justify-content: center;
}

.filters-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 10px 24px;
    font-size: 0.9rem;
    color: #555;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.filter-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
    background-color: #f5f5f5;
}

.filter-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.gallery-showcase {
    padding: 40px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.gallery-block {
    display: flex;
    align-items: center;
    gap: 80px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.gallery-block.hidden {
    display: none;
    opacity: 0;
}

/* Alternating Position via CSS */
.gallery-block:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery-img-wrapper {
    flex: 1.2;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    position: relative;
    max-height: 850px;
    aspect-ratio: 1080 / 1350;
    background-color: #f0f0f0;
}

.gallery-figure {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-img-wrapper:hover .gallery-figure {
    transform: scale(1.04);
}

.gallery-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-category {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    color: #da601c; /* Laranja da paleta do site */
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 25px;
    display: block;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.gallery-title {
    font-size: 2.5rem;
    color: #111;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.gallery-desc {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 300;
}

.gallery-btn {
    align-self: flex-start;
    padding: 14px 32px;
    background-color: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.gallery-btn:hover {
    background-color: #1a1a1a;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsiveness */
@media (max-width: 1024px) {
    .gallery-block {
        gap: 50px;
    }
    
    .gallery-title {
        font-size: 2.2rem;
    }
    
    .gallery-desc {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .gallery-block,
    .gallery-block:nth-child(even) {
        flex-direction: column;
        gap: 35px;
    }
    
    .gallery-img-wrapper {
        width: 100%;
        max-height: 600px;
    }
    
    .gallery-info {
        width: 100%;
    }
    
    .gallery-showcase {
        gap: 80px;
        padding-top: 20px;
    }
    
    .gallery-hero {
        padding: 60px 20px 40px;
    }

    .gallery-hero .page-title {
        font-size: 2.4rem;
    }
}
