/* Importação da fonte */ 
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* Variáveis CSS para Coerência de Cores */
:root {
    --color-primary: #b38cb4; /* Roxo principal (Navbar, Botão, Social Links) */
    --color-secondary: #9a75a5; /* Roxo de destaque (Hover, Título) */
    --color-background-light: #f8e1e7; /* Rosa claro (Container) */
    --color-text-dark: #333; /* Texto principal */
    --color-white: #fff; /* Branco */
    --color-social-icon: #7c5e7e; /* Roxo mais escuro para o ícone */
    --color-section-bg: #f3f3f3; /* Fundo para as novas seções */
}

/* Reset Universal */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}


body { 
    background-color: var(--color-white); 
    color: var(--color-text-dark); 
    line-height: 1.6; 
    font-family: 'Poppins', sans-serif;
}

/* Navbar (Verificado e Corrigido) */ 
.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background-color: var(--color-primary); 
    padding: 1rem 2rem; 
    color: var(--color-white); 
    position: sticky; 
    top: 0;
    z-index: 1000;
}

.navbar .logo img { 
    height: 50px; 
}

.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 1.5rem; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--color-white); 
    font-weight: 500; 
}

.nav-links a:hover { 
    text-decoration: underline; 
}

/* Container principal (Seção Livro) */ 
.container.book-section { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    padding: 3rem 1rem; 
    background-color: var(--color-background-light); 
    text-align: center; 
}

.book-cover img { 
    max-width: 300px; 
    border-radius: 12px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.1); 
    margin-bottom: 1.5rem; 
}

.book-info h1 { 
    font-size: 2rem; 
    margin-bottom: 1rem; 
    color: var(--color-secondary); 
}

.book-info p { 
    font-size: 1.1rem; 
    max-width: 700px; 
    margin: 0 auto 2rem auto; 
}

.buy-button, .details-button { 
    background: var(--color-primary); 
    color: var(--color-white); 
    padding: 15px 25px; 
    font-size: 1.2em; 
    border: none; 
    border-radius: 8px; 
    text-decoration: none; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
    transition: background 0.3s; 
    display: inline-block;
}

.buy-button:hover, .details-button:hover { 
    background: var(--color-secondary); 
}

/* --- ESTILOS NOVAS SEÇÕES (EVENTOS) --- */

/* Estilo Básico para as Novas Seções */
.events-section, .gallery-section {
    padding: 4rem 1rem;
    text-align: center;
}

.events-section {
    background-color: var(--color-section-bg);
}

.events-section h2, .gallery-section h2 {
    font-size: 2.5rem;
    color: var(--color-secondary);
    margin-bottom: 2.5rem;
}

/* Lista de Eventos */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.event-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.event-date, .event-location {
    color: var(--color-text-dark);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.event-date i, .event-location i {
    color: var(--color-secondary);
    margin-right: 8px;
}

.event-description {
    margin: 1rem 0;
}

.details-button {
    font-size: 1rem;
    padding: 10px 20px;
}

.event-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 15px;
}

/* ... (Mantenha todos os estilos anteriores intactos até aqui) ... */

/* --- ESTILOS DO CARROSSEL (GALERIA) --- */

.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
    border-radius: 12px;
    overflow: hidden; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.mySlides {
    display: none;
}

.mySlides img {
    height: 350px; 
    object-fit: cover;
}

/* Botões Anterior e Próximo */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0, 0, 0.5);
    /* NOVO: Esconde as setas por padrão */
    opacity: 0;
}

/* Posição do botão Próximo */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* NOVO: Exibe as setas quando o mouse está sobre o contêiner */
.slideshow-container:hover .prev,
.slideshow-container:hover .next {
    opacity: 1;
}

/* Efeito Hover nas setas */
.prev:hover, .next:hover {
    background-color: var(--color-secondary);
    opacity: 1; /* Garante que a seta fique visível ao passar o mouse sobre ela */
}

/* ... (Mantenha o restante do seu styles.css) ... */
/* Social links */ 
.social-links { 
    margin-top: 2rem; 
    text-align: center; 
    padding: 2rem 1rem;
}

.social-links h3 { 
    font-size: 1.5rem; 
    color: var(--color-secondary); 
    margin-bottom: 0.5rem; 
}

.social-links a { 
    margin: 0 15px; 
    color: var(--color-social-icon); 
    font-size: 4rem; 
    transition: transform 0.2s, color 0.3s; 
}

.social-links a:hover { 
    transform: scale(1.3); 
    color: var(--color-secondary); 
}

/* Footer */ 
.footer { 
    background-color: var(--color-primary); 
    color: var(--color-white); 
    text-align: center; 
    padding: 1rem; 
    margin-top: 2rem; 
    font-size: 0.9rem; 
}

.footer a { 
    color: var(--color-white); 
    text-decoration: underline; 
}

.footer a:hover { 
    color: #eeeeee; 
}

/* Responsividade */ 
@media (min-width: 768px) { 
    .container.book-section { 
        flex-direction: row; 
        justify-content: center; 
        gap: 4rem; 
        text-align: left; 
    }

    .book-info {
        max-width: 500px;
    }

    /* Eventos para Desktop */
    .event-list {
        flex-direction: row;
        justify-content: center;
    }
    
    .event-card {
        max-width: 350px;
    }

    /* Galeria para Desktop */
    .slideshow-container {
        max-width: 1000px;
    }

    .mySlides img {
        height: 500px; 
    }
}


