/* Importa a nova fonte "Parisienne" do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

/* Atualiza a classe para usar a nova fonte */
.font-display {
    font-family: 'Parisienne', cursive;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Efeito de Fade-in para as seções */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para os botões de filtro de serviços */
.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    background-color: white;
    color: #4a4a4a;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #8b7355; /* brand-brown */
    color: white;
    border-color: #8b7355;
    box-shadow: 0 4px 15px rgba(139, 115, 85, 0.3);
}

/* --- Estilos do Modal da Galeria (Estilo Masonry/Alboom) --- */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow-y: auto;
}

.gallery-header {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.9);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333;
    z-index: 1010;
}

.gallery-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
}

.close-btn {
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: rotate(90deg);
}

/* Layout Masonry (Colunas estilo Pinterest) */
.gallery-grid {
    display: block;
    column-count: 3;
    column-gap: 1rem;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
}

/* Item da foto na galeria */
.gallery-photo-item {
    width: 100%;
    margin-bottom: 1rem;
    break-inside: avoid;
    border-radius: 8px;
    overflow: hidden;
    background: #222; 
    transition: transform 0.3s ease;
}

/* Cursor de Lupa para indicar que pode ampliar */
.gallery-photo-item img {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.gallery-photo-item img:hover {
    opacity: 0.9;
}

/* --- Lightbox (Visualizador de Foto Única em Tela Cheia) --- */
#lightbox {
    display: none;
    position: fixed;
    z-index: 2000; /* Fica acima do modal da galeria */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.98); /* Fundo bem escuro para foco total */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

#lightbox img {
    max-width: 95%;
    max-height: 90vh; /* Ocupa até 90% da altura da tela */
    object-fit: contain; /* Garante que a foto inteira apareça */
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: zoom-out; /* Cursor para indicar fechar */
}

#lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2010;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#lightbox-close:hover {
    opacity: 1;
}

/* Responsividade para a Galeria */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        column-count: 1;
        padding: 1rem;
    }
    #lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 2.5rem;
    }
}


/* --- Estilos para a Foto de Capa do Card --- */
.card-cover-container {
    height: 240px;
    background-color: #f1ede8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-cover-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Não corta a foto de capa */
    transition: transform 0.5s ease;
}

.album-card:hover .card-cover-image {
    transform: scale(1.1);
}

/* --- Estilo para a fonte cursiva na seção Sobre --- */
.font-cursive {
    font-family: 'Brush Script MT', 'Brush Script Std', cursive;
    font-weight: 500;
}

/* --- Estilos para o Carrossel Swiper na Home --- */
#home .swiper-button-next,
#home .swiper-button-prev {
    color: #8b7355;
    transform: scale(0.8);
}

#home .swiper-pagination-bullet-active {
    background-color: #8b7355;
}

#home .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}