/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #111;
    color: #eaeaea;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Cabeçalho com Botões Neon no Hover */
header {
    background-color: #000;
    padding: 1em 0;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

header nav a {
    color: #eaeaea;
    font-weight: bold;
    padding: 0.6em 1.5em;
    border-radius: 25px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

header nav a:hover {
    color: #000;
    background-color: #0ff;
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 30px rgba(0, 255, 255, 0.7);
}

/* Estrutura das Seções */
section {
    max-width: 900px;
    margin: 2em auto;
    padding: 1.5em;
    text-align: center;
}

/* Títulos das Seções */
section h2 {
    font-size: 1.8em;
    color: #eaeaea;
    margin-bottom: 1em;
    border-bottom: 2px solid #555;
    display: inline-block;
    padding-bottom: 0.3em;
}

/* Estilos para Vídeos e Shorts */
.video-container, .short-container {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
}

.video-container iframe, .short-container iframe {
    width: 100%;
    max-width: 250px;
    height: 444px;
    border-radius: 10px;
    transition: transform 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

.video-container iframe:hover {
    transform: scale(1.05);
}

/* Fotografia Fantástica */
.short-container #fantastic-video {
    width: 100%;
    max-width: 800px;
    height: 450px;
    display: block;
    margin: 2em auto; /* Espaço maior acima e abaixo do vídeo */
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
}

/* Estilos da Galeria de Fotos */
.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

.gallery img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(0, 255, 255, 0.3);
}

/* Estilos para a Seção Livros */
.livros-container {
    display: flex;
    gap: 1em;
    justify-content: center;
    flex-wrap: wrap;
}

.livro {
    width: 100%;
    max-width: 360px;
    background-color: #333;
    border-radius: 10px;
    padding: 1em;
    color: #eaeaea;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.livro img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 10px;
}

.livro p {
    text-align: justify;
}

/* Seção Sobre */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2em;
    max-width: 800px;
    margin: 0 auto;
}

.about-photo img {
    width: 100%;
    max-width: 250px;
    border-radius: 10px;
    box-shadow: 0px 6px 20px rgba(0, 255, 255, 0.5);
}

.about-info h3 {
    color: #0ff;
    font-size: 1.5em;
}

.about-info ul, .about-text p {
    color: #eaeaea;
}

.additional-courses {
    columns: 2;
    column-gap: 1em;
}

/* Rodapé Fixo */
footer {
    background-color: #000;
    color: #eaeaea;
    text-align: center;
    padding: 1em;
    position: fixed;
    bottom: 0;
    width: 100%;
    box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.3);
}

footer a {
    color: #ff7f50;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff4500;
}

/* Responsividade */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery img {
        width: 90%;
    }

    .video-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .short-container #fantastic-video {
        width: 100%;
        height: 315px;
    }
}
