/* Hero da Galeria */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/gallery/gallery-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    color: var(--white);
    margin-top: 80px;
    text-align: center;
}

.gallery-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gallery-hero p {
    font-size: 1.2rem;
}

/* Filtros da Galeria */
.gallery-filter {
    padding: 30px 0;
    background-color: var(--light-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    background-color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.filter-btn.active {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Galeria de Fotos */
.photo-gallery {
    padding: 60px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.gallery-overlay h3 {
    color: var(--white);
    text-align: center;
    padding: 0 15px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Galeria de Vídeos */
.video-gallery {
    padding: 60px 0;
    background-color: var(--light-color);
}

.video-gallery h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item h3 {
    padding: 15px 20px 5px;
    color: var(--primary-color);
}

.video-item p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Depoimentos */
.gallery-testimonials {
    padding: 60px 0;
}

.gallery-testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.testimonial-card {
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    scroll-snap-align: start;
    text-align: center;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 20px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--text-light);
}

.testimonial-card h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.testimonial-card span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Responsividade */
@media (max-width: 768px) {
    .gallery-hero {
        height: 250px;
    }
    
    .gallery-hero h1 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        height: 200px;
    }
    
    .gallery-hero h1 {
        font-size: 1.8rem;
    }
    
    .gallery-hero p {
        font-size: 1rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
}