/* ========================================
   GALERIA - 100% PADRONIZADA COM O SITE
   ======================================== */

.gallery-hero {
    background: var(--color-purple);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: calc(80px + 6px);
}

.gallery-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.gallery-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
    opacity: 0.95;
}

.gallery-section {
    padding: var(--spacing-2xl) var(--spacing-md);
    background-color: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: white;
    transition: all 0.4s ease;
    border: 1px solid #e9ecef;
}

.gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.18);
    border-color: var(--color-gold);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.gallery-caption h3 {
    color: var(--color-purple);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.gallery-caption p {
    color: var(--color-gray-700);
    font-size: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    font-size: 1.4rem;
    color: var(--color-gray-600);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Responsivo */
@media (max-width: 768px) {
    .gallery-hero h1 { font-size: 2.5rem; }
    .gallery-hero p { font-size: 1.1rem; }
    .gallery-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery-item img { height: 260px; }
}