/* Reset básico para todos os navegadores */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
/* Estilo do menu de navegação fixo */
header {
    position: fixed;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px 0;
    z-index: 1000;
}
nav ul {
    list-style: none;
    text-align: center;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
nav ul li {
    display: inline;
    margin: 0 15px;
}
nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: #ff7f50;
}
/* Estilo das seções */
section {
    padding: 100px 20px;
    min-height: 100vh;
}
.btn-reserve {
    background-color: #ff7f50;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}
.btn-reserve:hover {
    background-color: #e05c3f;
}
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}
.image-gallery img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}
img {
    width: 100px;
    height: 100px;
    border: 2px solid #fff;
    border-radius: inherit;
}
.localizacao-section h2, 
.datas-section h2, 
.valores-section h2, 
.galeria-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.localizacao-section p, 
.datas-section p, 
.valores-section p, 
.galeria-section p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}
/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
}
/* Estilo da seção Home */
.home-section {
    /* background: definido inline no index.php */
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center; /* Centraliza o conteúdo verticalmente */
    justify-content: center; /* Centraliza o conteúdo horizontalmente */
    text-align: center;
    position: relative;
    height: 100vh; /* Garante que a seção ocupe a altura total da viewport */
}
.home-section .overlay {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center; /* Centraliza verticalmente o conteúdo dentro da overlay */
    justify-content: center; /* Centraliza horizontalmente o conteúdo dentro da overlay */
    flex-direction: column; /* Organiza o conteúdo em uma coluna */
}
.home-content {
    z-index: 1;
    color: #fff;
}
.home-section h1 {
    font-size: 3em;
    margin-bottom: 20px;
}
.home-section p {
    font-size: 1.5em;
    margin-bottom: 30px;
}
/* QUEM SOMOS */
.sobre-section {
    /* background-image: index.php */
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.sobre-section .overlay {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sobre-content {
    z-index: 1;
    padding: 20px;
    max-width: 800px;
}
.sobre-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.sobre-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.sobre-content h3 {
    font-size: 2em;
    margin-top: 30px;
}
/* Estilo para a seção Localização */
.localizacao-section {
    /* background-image: index.php */
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.localizacao-section .overlay {
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}
.localizacao-content {
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto; /* Centralizando o conteúdo */
}
.localizacao-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}
.localizacao-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #fff;
    margin-bottom: 30px;
}
.map-container {
    width: 90%;
    max-width: 800px;
    height: 450px;
    margin: 20px auto; /* Espaço entre o texto e o mapa */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adicionando sombra para destacar o mapa */
}
/* Estilo para a seção Valores */
.valores-section {
    /* background-image: index.php */
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 50px 20px;
    background-color: transparent;
}
.valores-section .overlay {
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
}
.valores-content {
    z-index: 1;
    max-width: 800px;
    text-align: center;
}
.valores-content h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}
.valores-content p {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.valores-content p strong {
    margin-left: 10px;
}
/* Estilo para a seção Galeria */
.galeria-section {
    position: relative; /* Necessário para a sobreposição */
    padding: 50px 20px;
    /* background-image: index.php */
    background-size: cover;
    background-position: center;
    text-align: center;
}

.galeria-section .overlay {
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Coloca a sobreposição acima da imagem de fundo */
}

.galeria-content {
    position: relative; /* Necessário para o conteúdo ficar acima da sobreposição */
    z-index: 2; /* Garante que o conteúdo fique acima da sobreposição */
}

.galeria-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
}
.gallery,
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.gallery-item {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}
.gallery-item img,
.gallery-item .gallery-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 8px;
}
.gallery-item:hover {
    transform: scale(1.05);
}
@media (max-width: 700px) {
    .gallery,
    .gallery-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 5px;
    }
}
@media (min-width: 701px) and (max-width: 900px) {
    .gallery,
    .gallery-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }
}
/* Fancybox (zoom/lightbox): sem borda branca nem 100×100px da regra global `img` */
.fancybox__container img {
    border: none !important;
    width: auto !important;
    height: auto !important;
}
/* Barra de miniaturas: width/height auto acima quebrava o layout (tiras finas) */
.fancybox__container .f-thumbs img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}
.fancybox__container video {
    border: none !important;
}
/* Estilo para a seço Datas */
/* Overlay em fluxo (não absolute): se a seção não cresce, o fundo escuro pode “vazar” por cima de Valores/Galeria quando o calendário é alto ou removido. */
.datas-section {
    /* background-image: index.php */
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
    padding: 50px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.datas-section .overlay {
    background-color: transparent;
    width: 100%;
    max-width: 1000px;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-radius: 8px;
    box-sizing: border-box;
}
.datas-content {
    z-index: 1;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border-radius: 8px;
    color: #333;
    min-width: 0;
    flex: 0 1 auto;
}
.datas-section h2 {
    color: #fff; /* Define a cor do título como branco */
}
.datas-section .navigation span {
    color: #fff; /* Define a cor do mês como branco */
}
#calendario-container {
    max-width: 600px;
    margin: auto;
    width: 100%;
    min-width: 0;
}
/* Escopo obrigatório: regras globais table/td quebram o modelo de tabela dentro de flex (só thead aparece) */
#calendario-container table {
    width: 100%;
    font-size: 0.9em;
    display: table;
    border-collapse: collapse;
    table-layout: auto;
}
#calendario-container tbody {
    display: table-row-group;
}
#calendario-container thead {
    display: table-header-group;
}
#calendario-container tr {
    display: table-row;
}
#calendario-container td {
    vertical-align: top;
    padding: 8px;
    border: 1px solid #ddd;
    background-color: #FFFFFF;
    display: table-cell;
}

/* Modal: calendário em iframe (calendar.php) */
.cal-popup-wrap {
    text-align: center;
}
.btn-cal-popup-open {
    margin-top: 12px;
    padding: 14px 28px;
    font-size: 1.05em;
    font-weight: bold;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #ff7f50;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.btn-cal-popup-open:hover {
    background-color: #e05c3f;
}
.cal-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.cal-popup[hidden] {
    display: none !important;
}
.cal-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}
.cal-popup-dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 920px;
    max-height: 90vh;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}
.cal-popup-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f4f4f4;
    border-bottom: 1px solid #ddd;
}
.cal-popup-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}
.cal-popup-close {
    cursor: pointer;
    font-size: 1.75rem;
    line-height: 1;
    border: none;
    background: transparent;
    color: #333;
    padding: 0 8px;
}
.cal-popup-close:hover {
    color: #000;
}
.cal-popup-iframe {
    display: block;
    width: 100%;
    height: min(75vh, 720px);
    border: 0;
    background: #fff;
}

/* P&B / sépia / desfoque / escuro: valores em PHP (inline) ou painel */
.section-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
}
.section-efeito-layer {
    position: relative;
    isolation: isolate;
}
.section-efeito-layer > .overlay {
    z-index: 1;
}
.section-efeito-layer > .galeria-content {
    position: relative;
    z-index: 2;
}

/* Estilo para o ícone flutuante do WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distância do fundo */
    right: 20px; /* Distância da direita */
    border-radius: 50%; /* Forma circular */
    padding: 10px; /* Espaçamento interno */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Sombra */
    z-index: 1000; /* Para garantir que fique acima de outros elementos */
    transition: transform 0.3s; /* Transição suave */
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Efeito de aumento ao passar o mouse */
}





