@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Open+Sans:wght@400;700&display=swap');

/* Estilos globais e de fundo */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #fcebeb; /* Cor de fundo suave */
}

/* Container do cartão */
.card-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    max-width: 450px; /* Largura ideal para celular */
    width: 90%;
    margin: 20px;
    overflow: hidden;
    position: relative;
}

/* Conteúdo do cartão com fundo floral */
.card-content {
    padding: 40px 25px;
    text-align: center;
    background-image: url('flores.jpg'); /* Nome da sua imagem floral */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
}

/* Títulos e textos */
.title-reminder {
    font-size: 1.1em;
    font-weight: bold;
    color: #a02061; /* Cor rosa escuro */
}

.subtitle-text {
    font-size: 1.2em;
    color: #a02061;
    margin-bottom: 20px;
}

.couple-names {
    font-family: 'Great Vibes', cursive;
    font-size: 3em;
    color: #a02061;
    line-height: 1.2;
    margin: 20px 0;
}

.details-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    display: inline-block; /* Para o fundo se ajustar ao conteúdo */
    text-align: left;
}

.details-box p {
    margin: 5px 0;
    font-size: 1em;
    color: #333;
}

.details-box strong {
    color: #a02061;
}

.closing-text {
    font-style: italic;
    color: #555;
    margin-top: 30px;
}

.phrase {
    font-size: 0.9em;
    font-style: italic;
    color: #777;
    margin-top: 20px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 5px;
}

.invite-text {
    margin-top: 30px;
    font-weight: bold;
    color: #a02061;
}

.closing-signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: #a02061;
    line-height: 1.2;
    margin-top: 30px;
}

/* Botões de interação - Versão em linha */
.buttons-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap; /* Impede a quebra de linha */
    margin-top: 20px;
    padding: 0 5px; /* Ajuste do padding */
}

.button-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    margin: 0 5px; /* Espaço entre os botões */
    width: 33%; /* Garante que os 3 botões cabem na mesma linha */
    text-align: center;
}

.button-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 10px;
    background-color: #f7d6e8;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.button-item:hover img {
    transform: scale(1.1);
    background-color: #f5c4de;
}

.button-item p {
    font-size: 0.8em;
    margin-top: 5px;
    line-height: 1.2;
}

/* Estilos para a foto do casal */
.couple-photo-container {
    margin: 20px auto;
    text-align: center;
}

.couple-photo {
    width: 100%;
    max-width: 350px; /* Para não ficar muito grande em telas maiores */
    height: auto;
    border-radius: 10px; /* Bordas arredondadas */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Sombra suave */
    border: 3px solid #fcebeb; /* Borda rosa clara para destaque */
}

/* Estilo para a contagem de confirmações */
.count-display {
    font-size: 1.1em;
    font-weight: bold;
    color: #a02061;
    margin-top: 20px;
}

#presence-count {
    font-size: 1.2em;
    color: #333;
}

/* Estilos para telas menores (responsividade) */
/* As regras para botões em linha foram unificadas acima,
   portanto, não precisamos mais de regras específicas aqui. */
@media (max-width: 600px) {
    .couple-names {
        font-size: 2.5em;
    }
    .closing-signature {
        font-size: 2em;
    }
}