/* ========================================= */
/* ESTILOS ANTIGOS (Permanecem os mesmos) */
/* ========================================= */

body {
    font-family: 'Georgia', serif;
    background-color: #fdefee;
    color: #5c3b3b;
    margin: 0;
    padding: 20px;
    text-align: center;
}

header h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5em;
    color: #d16a7f;
    margin-bottom: 0;
    font-weight: normal;
}

header p {
    font-size: 1.2em;
    margin-top: 0;
    font-style: italic;
}

main {
    max-width: 900px;
    margin: 20px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

section {
    margin-bottom: 50px;
}

h2 {
    color: #b55a6d;
    border-bottom: 2px solid #fce3e8;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Galeria de Fotos */
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.photo-grid img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Contador */
.timer {
    font-size: 1.8em;
    font-weight: bold;
    color: #d16a7f;
}

footer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #888;
}


/* ========================================= */
/* NOVOS ESTILOS (Para a seção interativa) */
/* ========================================= */

.story-container {
    background-color: #121212; /* Fundo escuro para destacar a seção */
    color: #e0e0e0;
    border-radius: 10px;
    padding: 40px 20px;
    min-height: 250px; /* Altura mínima para o container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.story .message {
    display: none; /* Esconde todas as mensagens */
    font-size: 1.8em;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeIn 1.5s ease-in-out;
}

.story .message.active {
    display: block; /* Mostra a mensagem ativa */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.story #nextButton {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 30px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 50px;
    transition: background-color 0.3s, color 0.3s;
}

.story #nextButton:hover {
    background-color: #ffffff;
    color: #121212;
}