<?php
/**
 * -------------------------------------------------------------------------
 * style.css
 * -------------------------------------------------------------------------
 *
 * Este é o arquivo principal de estilos e informações do tema.
 *
 */
?>
/*
Theme Name: Tema para Escola
Theme URI: https://example.com/
Author: Seu Nome
Author URI: https://example.com/
Description: Um tema personalizado para sites de escolas, com seções para notícias, mídias e informações sobre os cursos.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, post-formats, theme-options, translation-ready
Text Domain: temaescola
*/

/* --- Reset Básico e Estilos Gerais --- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f9f9f9;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif; /* Sugestão de fonte para títulos */
    color: #1a237e; /* Azul escuro para títulos */
}

h2.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffc107; /* Amarelo para detalhe */
    margin: 10px auto 0;
}

/* --- Cabeçalho (header.php) --- */
.site-header {
    background-color: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area img {
    max-height: 70px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
}

.social-icons a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #333;
}

.social-icons a:hover {
    color: #007bff;
}

/* --- Menu de Navegação --- */
.main-navigation {
    margin-left: 20px;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-navigation li {
    margin: 0 15px;
}

.main-navigation a {
    display: block;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #1a237e;
}

.main-navigation a:hover {
    color: #ffc107;
}

/* --- Página Inicial (front-page.php) --- */
.section {
    padding: 60px 0;
}

.section-gray {
    background-color: #f0f2f5;
}

/* Seção de Notícias */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.news-item-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-item-content {
    padding: 20px;
}

.news-item-content h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.news-item-content h3 a {
    color: #1a237e;
}

.news-item-content p {
    font-size: 0.9rem;
    color: #666;
}

/* Seção de Mídia */
.media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.media-column h3 {
    border-bottom: 2px solid #ffc107;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.podcast-player, .newspaper-covers {
    margin-top: 20px;
}

.newspaper-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.newspaper-cover img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Seção Agenda */
.calendar-container {
    position: relative;
    padding-bottom: 75%; /* Aspect ratio 4:3. Pode ajustar (ex: 56.25% para 16:9) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.calendar-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Seção "O que oferecemos" */
.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.offering-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.offering-item .icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 20px;
}

.offering-item h3 {
    color: #1a237e;
}

/* --- Rodapé (footer.php) --- */
.site-footer {
    background-color: #1a237e;
    color: #ffffff;
    padding: 40px 0;
}

.footer-widgets {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-widget-area {
    flex: 1;
    min-width: 250px;
}

.footer-widget-area h4 {
    color: #ffc107;
    border-bottom: 1px solid #4a4e9b;
    padding-bottom: 10px;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
}

.footer-widget-area a {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #4a4e9b;
    font-size: 0.9rem;
}

/* --- Responsividade --- */
@media (max-width: 992px) {
    .offerings-grid {
        grid-template-columns: 1fr;
    }
    .media-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    .header-right {
        margin-top: 20px;
    }
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    .main-navigation li {
        margin: 5px 0;
    }
}

