/* Estilos Gerais */
body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #fff;
    text-align: center;
    background: url('back.png');
}

/* Cabeçalho */
header {
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px; /* Deixa o header fino */
    padding: 5px 0;
    position: relative; /* Permite que o z-index funcione */
    z-index: 1; /* Garante que o cabeçalho esteja acima da folha */
}

.logo img {
    width: 200px; /* Define o tamanho da logo */
    height: auto;
}



/* Botão */
.btn {
    background-color: #8B4513;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    display: inline-block;
}

.btn:hover {
    background-color: #A0522D;
}

/* Convite */
.convite {
    margin: 20px auto;
    max-width: 90%;
    width: 600px;
}

/* Seções */
.confirmar, .presente, .obrigado {
    padding: 20px;
}

/* Opções */
.opcoes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.opcao {
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
}

.opcao:hover {
    background-color: #f9f9f9;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.close {
    float: right;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Folhas no canto superior direito, fixas na tela inteira */
.folhas {
    position: fixed; /* Fixa a posição na tela */
    top: 0;
    right: 0; /* Posiciona no canto superior direito */
    width: 300px; /* Ajuste o tamanho conforme necessário */
    height: 100%;
    z-index: -1; /* Garante que a folha apareça acima de outros elementos */
}

.direita {
    position: fixed; /* Fixa a posição na tela */
    top: 0;
    left: 0; /* Posiciona no canto superior direito */
    width: 400px; /* Ajuste o tamanho conforme necessário */
    height: 100%;
    z-index: -2; /* Garante que a folha apareça acima de outros elementos */
}

.confirmar-pagamento {
    display: block;
    width: 100%;
    max-width: 250px;
    margin: 15px auto;
    padding: 12px;
    background-color: #28a745;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.confirmar-pagamento:hover {
    background-color: #218838;
}

.confirmar-pagamento:active {
    transform: scale(0.98);
}


/* Responsividade */
@media (max-width: 768px) {
    .convite {
        width: 100%;
    }

    .opcoes {
        flex-direction: column;
        align-items: center;
    }

    .opcao {
        width: 80%;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        padding: 12px;
    }

    .opcao {
        width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Estilizando opções de PIX */
.pix-opcoes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.pix-opcoes button {
    background-color: #8B4513;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.pix-opcoes button:hover {
    background-color: #A0522D;
}

/* QR Code e Chave PIX */
.qrcode {
    width: 150px;
    margin-top: 15px;
}

.chave-pix {
    font-size: 1.2rem;
    font-weight: bold;
    color: #8B4513;
    margin-top: 10px;
}

.convidado-por {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.btn-selecao {
    background: linear-gradient(135deg, #4CAF50, #2E7D32); /* Gradiente verde elegante */
    border: none;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-selecao:hover {
    background: linear-gradient(135deg, #388E3C, #1B5E20);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-selecao:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(56, 142, 60, 0.8);
}

/* Estilização do rótulo */
label {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #2E7D32; /* Verde escuro elegante */
    margin-bottom: 8px;
}

/* Estilização do Select */
#convidado {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #4CAF50; /* Verde elegante */
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-bottom: 15px; /* Espaço entre o campo de seleção e o botão */

}

#convidado:hover {
    border-color: #388E3C;
}

#convidado:focus {
    outline: none;
    border-color: #1B5E20;
    box-shadow: 0 0 6px rgba(56, 142, 60, 0.5);
}

/* Melhorando o container do formulário */
#confirmation-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilização do placeholder */
#convidado::placeholder {
    color: #777;
    font-style: italic;
}

/* Estilos para o carrossel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.carousel {
    display: flex;
    height: 400px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;  /* Garante que a imagem preencha a largura */
    height: 100%; /* Garante que a imagem preencha a altura */
    object-fit: contain; /* Ajusta para não cortar a imagem */
    object-position: center center; /* Centraliza a imagem */
    display: block;
}

/* Controles de navegação */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 12px 16px;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 100;
    transition: all 0.3s ease;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.prev { left: 15px; }
.next { right: 15px; }

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .carousel-container {
        margin: 10px;
        border-radius: 8px;
    }

    .carousel {
        height: 300px;  /* Menor altura em dispositivos pequenos */
    }

    .prev, .next {
        padding: 10px 14px;
        font-size: 14px;  /* Botões um pouco menores */
    }
}

/* Estilos do contêiner do iframe */
.map-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Aspect ratio de 16:9 */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Estilo do iframe */
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Responsividade para o mapa em telas menores */
@media (max-width: 768px) {
    .map-container {
        padding-top: 75%; /* Ajuste do aspect ratio em telas pequenas */
    }
}

.informacao-adicional {
    background-color: #f9f9f9; /* Cor de fundo suave */
    border-radius: 8px; /* Bordas arredondadas */
    padding: 20px; /* Espaçamento interno */
    margin-top: 20px; /* Espaçamento superior */
    font-family: 'Arial', sans-serif; /* Fonte moderna e legível */
    color: #333; /* Cor do texto */
    text-align: center; /* Centraliza o texto */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave para destaque */
    max-width: 800px; /* Limita a largura máxima */
    margin-left: auto; /* Centraliza o bloco horizontalmente */
    margin-right: auto; /* Centraliza o bloco horizontalmente */
}

.informacao-adicional p {
    font-size: 1.1em; /* Tamanho da fonte maior */
    line-height: 1.6; /* Melhor espaçamento entre as linhas */
    margin-bottom: 15px; /* Espaçamento entre parágrafos */
}

.informacao-adicional p:last-child {
    margin-bottom: 0; /* Remove margem inferior no último parágrafo */
}

.informacao-adicional p span {
    color: #d97d1f; /* Cor para destacar palavras-chave (como "muito", "sorriso", etc.) */
    font-weight: bold; /* Torna o texto em negrito */
}

.informacao-adicional p em {
    color: #a8a8a8; /* Cor para enfatizar as palavras com itálico */
    font-style: italic;
}

@media (max-width: 768px) {
    .informacao-adicional {
        padding: 15px; /* Menos padding em dispositivos menores */
    }

    .informacao-adicional p {
        font-size: 1em; /* Tamanho de fonte um pouco menor em telas pequenas */
    }
}

/* Tela de boas-vindas elegante */
#welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    padding: 20px;
}

/* Caixa de boas-vindas */
.welcome-content {
    background: #f8f1e7; /* Bege claro */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 1s ease-in-out;
    border: 2px solid #d4b895; /* Dourado/bege */
    max-width: 500px;
    width: 90%;
}

/* Texto refinado */
.welcome-content p {
    font-size: 24px;
    font-weight: bold;
    color: #8b5e3b; /* Tom quente de marrom */
    margin-bottom: 20px;
    font-family: 'Great Vibes', cursive;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

/* Botões estilizados */
.welcome-content button {
    padding: 12px 18px;
    margin: 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Dancing Script', cursive;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 200px;
}

/* Botão de tocar música */
#play-music {
    background: #c4a484; /* Bege quente */
    color: white;
}

#play-music:hover {
    background: #d4b895;
    transform: scale(1.05);
}

/* Botão de entrar sem música */
#no-music {
    background: #7a6c5d; /* Marrom suave */
    color: white;
}

#no-music:hover {
    background: #958a79;
    transform: scale(1.05);
}

/* Efeito de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .welcome-content {
        padding: 30px;
    }

    .welcome-content p {
        font-size: 20px;
    }

    .welcome-content button {
        font-size: 16px;
        padding: 10px 15px;
    }
}
/* Botão flutuante no canto inferior direito */
#musicButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #c4a484; /* Bege dourado */
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s;
    z-index: 1000; /* Garante que fique acima de outros elementos */
}

/* Efeito de rotação ao tocar música */
#musicButton.playing {
    animation: rotate 3s linear infinite;
    background: #a07855; /* Tom mais escuro */
}

/* Animação de rotação */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efeito ao passar o mouse */
#musicButton:hover {
    transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
    #musicButton {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    #musicButton {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 10px;
        right: 10px;
    }
}
.gift-icon {
    font-size: 5rem;
    color: #b8860b;
    margin-bottom: 10px;
}

.saiba-mais {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2rem;
    color: white;
    background-color: #8B4513;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.saiba-mais:hover {
    background-color: #c0392b;
}

/* ESTILOS DO POPUP */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.popup-content {
    background: white;
    width: 80%;
    max-width: 400px;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.popup-content h2 {
    font-family: 'Dancing Script', cursive;
    color: #b8860b;
    font-size: 2rem;
    margin-bottom: 10px;
}

.popup-content p {
    color: #333;
    font-size: 1rem;
}

.popup-content .pix {
    font-weight: bold;
    color: #b8860b;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #8B4513;
}

.close-btn:hover {
    color: #c0392b;
}

.btn_ausencia {
    background-color: #ff4d4d; /* vermelho claro */
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.btn_ausencia:hover {
    background-color: #e60000;
    transform: scale(1.03);
}

.btn_ausencia:active {
    background-color: #cc0000;
    transform: scale(0.98);
}

/* RESPONSIVO */
@media (max-width: 600px) {
    .btn_ausencia {
        font-size: 0.95rem;
        padding: 10px 20px;
        max-width: 100%;
    }
}
