/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #2b3a2a; /* Fundo verde escuro predominante */
    color: #ffffff;
}

/* CABEÇALHO */
.main-header {
    background-color: #1e291d; /* Verde mais escuro para o menu */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 8%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo img {
    height: 50px; /* Altere a altura para o tamanho que preferir */
    width: auto;  /* Mantém a proporção da imagem sem distorcer */
    display: block;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 16px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

/* BANNER DO TOPO */
.top-banner {
    height: 145px;
    background-image: url('20250625_Artista na Escola_by Solange Brum Ascom Sedac.JPG'); /* Imagem conceitual urbana */
    background-size: cover;
    background-position: center;
    border-bottom: 4px solid #d97724;
}

/* ESTRUTURA DOS CONTAINERS DE SEÇÃO */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 33px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide em duas colunas iguais */
    gap: 40px;
    align-items: start;
}

.flex-content h2, .flex-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #e28743; /* Tom alaranjado/terroso para os títulos textuais */
}

.flex-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #e0e0e0;
}

/* GALERIA DA SEÇÃO QUEM SOMOS */
.media-side {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.main-image-box img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.thumbnail-gallery {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.thumbnail-gallery img {
    width: 18%;
    height: 65px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 2px;
    opacity: 0.5;
    transition: all 0.3s;
}

.thumbnail-gallery img.active-thumb, .thumbnail-gallery img:hover {
    opacity: 1;
    border: 2px solid #e28743;
}

/* SEÇÃO NOSSOS PROJETOS */
.projects-section-wrapper {
    background-color: #233022; /* Leve variação de fundo para separar seções */
    padding-top: 40px;
}

.projects-title-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-title-container h2 {
    font-size: 32px;
    border-bottom: 2px solid #ffffff;
    padding-bottom: 10px;
    display: inline-block;
}

.projects-content {
    grid-template-columns: 300px 1fr; /* Coluna menor para as abas esquerda */
    padding-top: 30px;
}

/* ABAS DE PROJETOS */
.projects-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    background-color: #1e291d;
    color: white;
    border: none;
    padding: 15px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background-color: #d97724; /* Destaque laranja no botão ativo */
}

/* CONTEÚDO DO PROJETO SELECIONADO */
.project-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background-color: #324431;
    padding: 25px;
    border-radius: 6px;
}

.project-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* RESPONSIVIDADE PARA CELULARES */
@media (max-width: 768px) {
    .section-container, .project-display {
        grid-template-columns: 1fr; /* Vira uma única coluna em telas pequenas */
    }
    .projects-content {
        grid-template-columns: 1fr;
    }
    .main-header {
        flex-direction: column;
        gap: 15px;
    }
    .nav-menu a {
        margin: 0 10px;
    }
}