/* Arquivo CSS principal com estilos básicos para layout e elementos da página */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    margin: 0;
    padding: 0;
    color: #333;
}

/* Estilo para os elementos header, main e footer: adiciona espaçamento interno maior para evitar texto cortado nas bordas */
header, main, footer {
    padding: 40px;
}

/* Estilo para botões: cor de fundo azul com gradiente, texto branco, sem borda, espaçamento interno, cursor pointer e sombra */
button {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

button:hover {
    transform: translateY(-2px);
}

/* Estilo para campos de entrada (input): borda cinza clara, espaçamento interno, foco com sombra */
input, textarea, select {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Estilo para tabelas: colapsa as bordas, largura total, sombra */
table {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Estilo para células de cabeçalho (th) e dados (td): borda cinza clara, espaçamento interno, alinhamento à esquerda */
th, td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f8f9fa;
    font-weight: bold;
}

/* Estilo para o grid do menu na página inicial */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Estilo para cada item do menu */
.menu-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.menu-item:hover {
    background-color: #e9ecef;
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.menu-item a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 16px;
}

/* Estilo para o botão voltar */
.back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.2s;
}

.back-button:hover {
    transform: translateY(-2px);
}

/* Estilo para imagens */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilo para banner na página inicial */
.banner {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: block;
}

/* Estilo para galeria */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gallery div {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Estilo para artigos no blog */
article {
    background-color: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article img {
    width: 100%;
    max-width: 400px;
    margin: 10px 0;
}

/* Estilo para seções de comentários */
.comments {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

/* Estilo para equipe */
.team {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.team-member {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 250px;
}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}
