/* Garantir cor correta para info-vans */
.programacao-container .info-vans p, #programacao .info-vans p, .info-vans p {
    color: #808285 !important;
    background: fefaef;
}
/* style.css */

/* Definição de fontes personalizadas */
@font-face {
    font-family: 'TituloFonte';
    src: url('./Fontes/Tamil\ Sangam\ MN.ttc') format('ttc'),
        url('./Fontes/MinionVariableConcept-Roman.otf') format('otf');
    font-weight: 300; /* Ajuste para um valor mais baixo */
    font-style: normal;
}

@font-face {
    font-family: 'TextoFonte';
    src: url('./Fontes/Tamil\ Sangam\ MN.ttc') format('ttc'),
        url('./Fontes/MinionVariableConcept-Roman.otf') format('otf');
    font-weight: 300; /* Ajuste para um valor mais baixo */
    font-style: normal;
}

/* Estilo geral do corpo da página */
body {
    font-family: 'TextoFonte', Arial, sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    background-color: #fefaef;
    color: #005981;
    text-align: center;
}

/* Estilo para o menu de navegação e títulos */
.navbar,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'TituloFonte', 'Georgia', serif;
    font-weight: 300;
    position: relative;
}

/* Estilo da barra de navegação */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fefaef;
    border-bottom: 2px solid #eee;
    padding: 10px 0px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 70px;
    margin-left: 30px;
}

.nav-links-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 20px;
}

.nav-links a {
    text-decoration: none;
    color: #005981;
    font-family: 'TituloFonte', 'Georgia', serif;
    /* font-weight: bold; */
    font-size: 1rem;
    letter-spacing: 0.1rem;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
    color: #005981;
}

.menu-icon {
    display: none;
    background-color: #005981;
}

/* Estilo da caixa "Sobre" */
.about-box {
    margin: 10px auto;
    padding: 20px 40px;
    max-width: 90%;
    position: relative;
}

.about-box::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: -1;
}

.about-box h2 {
    font-size: 1.8rem;
    /* font-weight: bold; */
    color: #005981;
    margin-bottom: 35px;
    margin-top: -10px;
    font-weight: 400;
}

.about-box p {
    font-size: 1rem;
    line-height: 1.8;
    color: #808285;
}

/* Estilo da seção de contagem regressiva */
#countdown {
    text-align: center;
    padding: 10px;
    opacity: 90%;
}

#countdown h2 {
    font-size: 2rem;
    color: #005981;
    margin-bottom: 15px;
    margin-top: 65px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.timer div {
    text-align: center;
}

.value {
    font-family: 'TituloFonte', Georgia, serif;
    font-size: 1.3rem;
    color: #005981;
    display: block;
    margin-bottom: 2px;
    opacity: 70%;
}

.label {
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1.3rem;
    color: #005981;
    letter-spacing: 0.05rem;
    opacity: 70%;
}

/* Estilo da seção de programação */
#programacao {
    background-color: #fefaef;
    padding: 50px 0;
    text-align: center;
    max-width: 80%;
}

#programacao h2 {
    font-size: 2rem;
    color: #005981;
    margin-bottom: 40px;
    /* font-weight: bold; */
}

.programacao-container {
    max-width: 1200px;
    margin: 0 auto;
}

.programacao-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.programacao-card {
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 50%;
    max-width: 300px;
    position: relative;
    height: 290px;
}

.programacao-card h3 {
    font-size: 1.0rem;
    color: #005981;
    margin-bottom: 10px;
}

.programacao-card img {
    width: 110px;
    margin: 10px auto;
}

.programacao-card p {
    font-size: 1rem;
    color: #808280;
    line-height: 1.3;
    margin: 0;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
}

/* Estilo do botão "Saiba Mais" */
.botao-saiba-mais {
    display: inline-block;
    text-decoration: none;
    color: #005981;
    font-size: 1rem;
    /* font-weight: bold; */
    padding: 10px 30px;
    border: 1px solid #808285;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    max-width: 100%;
    box-sizing: border-box;
}

.botao-saiba-mais:hover {
    background-color: #005981;
    color: white;
}

/* Estilos para cabeçalhos com vídeo */
/* Estilos comuns para os containers de vídeo */
.video-header,
.video-countdown-bg,
.video-bg {
    position: relative;
    /* Permite posicionamento absoluto dos elementos filhos */
    overflow: hidden;
    /* Esconde qualquer conteúdo que ultrapasse as dimensões do container */
}

/* Define a altura para os containers de vídeo principal e de fundo */
.video-header,
.video-bg {
    height: 500px;
    /* Altura fixa de 500 pixels */
}

/* Define a altura para o container de vídeo da contagem regressiva */
.video-countdown-bg {
    height: 300px;
    /* Altura fixa de 300 pixels */
}

/* Estilos comuns para todos os elementos de vídeo */
.video-header video,
.video-countdown-bg video {
    position: absolute;
    /* Posicionamento absoluto em relação ao container pai */
    top: 50%;
    /* Posiciona o topo do vídeo no centro vertical do container */
    left: 50%;
    /* Posiciona a esquerda do vídeo no centro horizontal do container */
    min-width: 100%;
    /* Garante que o vídeo cubra toda a largura do container */
    min-height: 100%;
    /* Garante que o vídeo cubra toda a altura do container */
    width: auto;
    /* Permite que a largura se ajuste automaticamente */
    height: auto;
    /* Permite que a altura se ajuste automaticamente */
    transform: translate(-50%, -50%);
    /* Centraliza o vídeo perfeitamente */
    object-fit: cover;
    /* Redimensiona o vídeo para cobrir todo o container, mantendo a proporção */
    z-index: -1;
    /* Coloca o vídeo atrás de outros elementos */
    opacity: 40%;
    /* Define a opacidade do vídeo para 40% */
}

/* Ajuste específico para o vídeo do cabeçalho */
.video-header video {
    top: 63%;
    /* Move o vídeo um pouco mais para baixo no container */
}

/* Ajuste específico para o vídeo de fundo */
.video-bg video {
    width: 70%;
    opacity: 80%;
    /* Aumenta a opacidade para 80% */
}

/* Estilo para a imagem da concha */
.concha {
    width: 25%;
}

/* Estilo para a imagem sobreposta */
.overlay-image {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 400px;
    height: auto;
    opacity: 100%;
}

/* Estilo para as seções principais */
main section {
    padding: 50px;
    max-width: 50%;
    margin: 0 auto;
}

/* Estilo do rodapé */
footer {
    text-align: left;
    padding: 10px 0;
    background-color: #808285;
    color: #005981;
    font-size: 1.3rem;
}

/* Estilo geral da seção "Como Chegar" */
#directions {
    background-color: #fefaef;
    padding: 0px 20px;
    text-align: center;
    font-family: 'TextoFonte', Arial, sans-serif;
}

#directions h2 {
    font-size: 2rem;
    color: #005981;
    margin-bottom: 40px;
    /* font-weight: bold; */
}

.directions-section h3 {
    font-size: 1.5rem;
    color: #005981;
    margin-bottom: 20px;
    /* font-weight: bold; */
}

.directions-section p {
    padding-top: 30px;
    font-size: 1rem;
    line-height: 1.8;
    color: #808285;
    text-align: center;
    margin: 0 auto;
    max-width: 80%;
}

.directions-section img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin: 20px 0;
}

.directions-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.directions-card {
    padding: 20px 15px;
    text-align: center;
    width: 100%;
    max-width: 200px;
    position: relative;
    height: 200px;
}

.directions-card h3 {
    font-size: 1.2rem;
    color: #005981;
    margin-bottom: 10px;
}

.directions-card img {
    width: 100px;
    margin: 10px auto;
}

.directions-card p {
    font-size: 1rem;
    color: #808285;
    line-height: 1.5;
    margin: 10px 0;
}

/* Estilo da seção Hospedagem */
#hospedagem {
    background-color: #fefaef;
    padding: 50px 20px;
    text-align: center;
}

.hospedagem-container h2 {
    font-size: 2.5rem;
    color: #005981;
    margin-bottom: 40px;
}

.hospedagem-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

h3 {
    font-size: 1.5rem;
    color: #005981;
    margin-bottom: 20px;
}

.hospedagem-item {
    text-align: center;
    text-decoration: none;
    color: #808285;
    font-size: 1.0rem;
    line-height: 1.5;
    transition: transform 0.3s ease;
}

.hospedagem-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hospedagem-item:hover {
    transform: scale(1.05);
}

.mais-opcoes-btn {
    margin-top: 30px;
    background-color: transparent;
    border: 1px solid #005981;
    color: #005981;
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    /* font-weight: bold; */
    padding: 10px 30px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mais-opcoes-btn:hover {
    background-color: #003f62;
    color: #ffffff;
}

/* Modal hospedagem */
.hospedagem-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 20px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content h3 {
    font-size: 1.5rem;
    color: #005981;
    margin-bottom: 20px;
}

/* Estilo para imagens dentro dos modais */
.modal-image {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
}

/* Ajuste do tamanho do conteúdo do modal */
.dica-modal .modal-content {
    max-width: 600px;
    width: 90%;
    padding: 30px;
}

/* Centralizar o conteúdo do modal */
.dica-modal .modal-content {
    text-align: center;
}

/* Ajuste do estilo do texto dentro do modal */
.dica-modal .modal-content p {
    text-align: center;
    margin-top: 20px;
    line-height: 1.6;
}

.hospedagem-lista {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.hospedagem-lista li {
    width: 45%;
    margin-bottom: 30px;
    text-align: center;
}

.hospedagem-lista img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hospedagem-lista a {
    display: block;
    text-decoration: none;
    color: #005981;
    font-size: 1.1rem;
    /* font-weight: bold; */
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.hospedagem-lista a:hover {
    color: #003f62;
}

.hospedagem-lista p {
    font-size: 1rem;
    color: #808285;
    margin: 0;
    line-height: 1.5;
}

/* Botão Fechar do modal */
.fechar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #005981;
}

/* Estilo para o modal de Alugar Carro */
#modalAlugarCarro .modal-content {
    max-width: 600px;
    width: 75%;
    padding: 50px;
    text-align: center;
}

#modalAlugarCarro h3 {
    font-size: 1.8rem;
    color: #005981;
    margin-bottom: 20px;
}

#modalAlugarCarro p {
    font-size: 1rem;
    color: #808285;
    line-height: 1.6;
    margin-bottom: 20px;
}

#modalAlugarCarro ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#modalAlugarCarro li {
    width: 30%;
    margin-bottom: 20px;
    text-align: center;
}

#modalAlugarCarro img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#modalAlugarCarro a {
    display: block;
    text-decoration: none;
    color: #005981;
    font-size: 1rem;
    /* font-weight: bold; */
    margin-top: 5px;
    transition: color 0.3s ease;
}

#modalAlugarCarro a:hover {
    color: #003f62;
}

#presentes {
    padding: 50px 20px;
    text-align: center;
    background-color: #fefaef;
}

.presentes-container h2 {
    font-size: 2.5rem;
    color: #005981;
    margin-bottom: 70px;
    /* font-weight: bold; */
}

.presentes-container p {
    font-size: 1.1rem;
    color: #808285;
    margin-bottom: 70px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.presentes-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.presente-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.presente-item img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.botao-presente {
    display: inline-block;
    background-color: transparent;
    border: 1px solid #005981;
    color: #005981;
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    /* font-weight: bold; */
    padding: 10px 30px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.botao-presente:hover {
    background-color: #005981;
    color: #ffffff;
}

/* Seção Dicas */
#dicas {
    padding: 50px 20px;
    text-align: center;
}

.dicas-container h2 {
    font-size: 2.5rem;
    color: #005981;
    margin-bottom: 40px;
    /* font-weight: bold; */
}

.dicas-wrapper {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.dica-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dica-item img {
    width: 120px;
    height: auto;
    margin-bottom: 30px;
}

.dica-item button {
    background-color: transparent;
    border: 1px solid #005981;
    color: #005981;
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    /* font-weight: bold; */
    padding: 10px 30px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dica-item:hover {
    transform: scale(1.05);
}

.dica-item button:hover {
    background-color: #005981;
    color: #ffffff;
}

/* Estilo dos Modais */
.dica-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    background-color: #fefaef;
    margin: 10% auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    text-align: center;
    position: relative;
}

.modal-content h3 {
    font-family: 'TituloFonte', Georgia, serif;
    color: #005981;
    margin-bottom: 20px;
}

.modal-content ul {
    list-style-type: none;
    padding: 0;
}

.modal-content ul li {
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    color: #005981;
    margin-bottom: 10px;
}

/* Seção RSVP */
#rsvp {
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border: 2px solid #005981;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.rsvp-form h2 {
    font-family: 'TituloFonte', Georgia, serif;
    font-size: 2rem;
    color: #005981;
    margin-bottom: 20px;
}

.rsvp-form label {
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    color: #005981;
    display: block;
    margin: 10px 0 5px;
    text-align: left;
}

.rsvp-form input,
.rsvp-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #005981;
    border-radius: 5px;
    font-family: 'TextoFonte', Arial, sans-serif;
    font-size: 1rem;
    color: #005981;
    background-color: #fefefe;
    transition: border-color 0.3s ease;
}

.rsvp-form input:focus,
.rsvp-form select:focus {
    border-color: #005981;
    outline: none;
}

.date-fields {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.date-fields input,
.date-fields select {
    width: 30%;
}

.rsvp-form button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    /* font-weight: bold; */
    color: #ffffff;
    background-color: #005981;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rsvp-form button:hover {
    background-color: #005981;
}

.opcoes-comparecimento {
    display: inline-flex;
    justify-content: space-around; /* Ajusta o layout para alinhamento uniforme */
    margin-bottom: 15px; /* Espaço inferior para separação dos elementos subsequentes */
}

.opcoes-comparecimento label {
    font-size: 1rem;
    color: #005981;
    margin-left: 5px;
    margin-right: 20px;
}

.opcoes-comparecimento input[type="radio"] {
    transform: scale(0.5);
    margin-right: 5px; /* Espaço entre o botão de rádio e o texto do rótulo */
}

/* Estilos específicos para os novos modais de Programação e Como Chegar */
#modalWelcomeDrinks .modal-content,
#modalDiaLivre .modal-content,
#modalCasamento .modal-content,
#modalTaxi .modal-content,
#modalTransfer .modal-content,
#modalAlugarCarro .modal-content {
    background-color: #fefaef;
    border: 2px solid #005981;
}

#modalWelcomeDrinks h3,
#modalDiaLivre h3,
#modalCasamento h3,
#modalTaxi h3,
#modalTransfer h3,
#modalAlugarCarro h3 {
    color: #005981;
    font-size: 2rem;
    margin-bottom: 30px;
}

#modalWelcomeDrinks p,
#modalDiaLivre p,
#modalCasamento p,
#modalTaxi p,
#modalTransfer p,
#modalAlugarCarro p {
    color: #808285;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Media queries para responsividade */
@media screen and (max-width: 1024px) {
    .nav-links li {
        margin: 0 30px;
    }

    .programacao-card-wrapper {
        flex-wrap: wrap;
    }

    .programacao-card {
        width: calc(50% - 25px);
    }

    .overlay-image {
        width: 80%;
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    main section {
        max-width: 100%; /* Remove o limite de largura para o main apenas no responsivo */
        padding: 0; /* Ajuste opcional para remover qualquer padding extra */
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 30px;
        background-color: #005981;
        border: none;
        border-radius: 5px;
        padding: 5px;
        cursor: pointer;
        position: absolute;
        top: 20px;
        right: 60px;
        z-index: 1000;
    }

    .menu-icon span {
        display: block;
        width: 100%;
        height: 4px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease-in-out;
    }

    .menu-icon.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .menu-icon.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        margin-bottom: 10px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #fefaef;
        position: absolute;
        top: 80px;
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .about-box {
        padding: 15px;
        border-radius: 30px;
    }

    .about-box::after {
        top: -11px;
        left: -11px;
        right: -11px;
        bottom: -11px;
        border-radius: 41px;
    }

    .programacao-card {
        width: 60%;
        max-width: none;
    }

    .video-header {
        height: 400px;
    }

    .video-header video {
        top: 130%;
        transform: translate(-50%, -70%);
    }

    .video-countdown-bg,
    .video-bg {
        height: 200px;
    }

    .video-bg video {
        padding: 30px;
    }

    .overlay-image {
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        max-width: 300px;
        height: auto;
    }

    #countdown h2 {
        font-size: 1.5rem;
        margin-top: 50px;
        margin-bottom: 3px;
        opacity: 90%;
    }

    .timer {
        gap: 15px;
    }

    .value {
        font-size: 0.75rem;
    }

    .label {
        font-size: 0.65rem;
    }

    .modal-content {
        width: 90%;
        margin: 5% auto;
    }

    .hospedagem-lista li {
        width: 100%;
    }

    #modalAlugarCarro li {
        width: 45%;
    }

    .presente-item {
        flex-basis: 100%;
      }

      .dicas-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .dica-item {
        margin-bottom: 20px;
    }
    
}

@media screen and (min-width: 769px) {
    .nav-links {
        display: flex !important;
    }

    .menu-icon {
        display: none;
    }
}