/*
Theme Name: Blog Caê Gomes Child
Description: Child theme para combinar com o design do site principal
Template: twentytwentyfive
Version: 1.0.0
*/

/* Importa o CSS do tema pai */
@import url("../twentytwentyfive/style.css");

/* === PALETA DE CORES === */
:root {
    --primary-dark: #1c386e;
    --primary-light: #69bc5c;
    --accent: #f18d47;
    --text-dark: #1f2937;
    --text-light: #f8fafc;
    --background: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-600: #4b5563;
    --gray-700: #374151;
}

/* === TIPOGRAFIA === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Roboto:wght@400;500&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-dark);
}

/* === HEADER/NAVEGAÇÃO === */
.site-header {
    background-color: var(--background);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--accent);
}

.main-navigation a {
    color: var(--gray-600);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.main-navigation a:hover {
    color: var(--accent);
    background-color: var(--gray-50);
}

/* === BOTÕES === */
.btn-primary, 
.wp-block-button__link,
.read-more-link {
    background-color: var(--accent) !important;
    color: white !important;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary:hover,
.wp-block-button__link:hover,
.read-more-link:hover {
    background-color: var(--primary-dark) !important;
    transform: scale(1.05);
}

/* === CARDS/POSTS === */
.post,
.wp-block-group,
.entry-summary {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    padding: 32px;
    margin-bottom: 24px;
}

.post:hover {
    transform: scale(1.02);
}

/* === TÍTULOS DE SEÇÕES === */
.section-title,
.entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 48px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after,
.entry-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

/* === SIDEBAR === */
.sidebar .widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 24px;
}

.sidebar .widget-title {
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 16px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
}

/* === FOOTER === */
.site-footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 32px 0;
}

.site-footer a {
    color: var(--accent);
}

.site-footer a:hover {
    color: var(--primary-light);
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
    .section-title,
    .entry-title {
        font-size: 2rem;
    }
    
    .post {
        padding: 24px;
    }
}

/* === ELEMENTOS ESPECÍFICOS DO BLOG === */
.post-meta {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 16px;
}

.post-meta a {
    color: var(--primary-light);
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--accent);
}

.tags-links,
.cat-links {
    margin-top: 16px;
}

.tags-links a,
.cat-links a {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    margin-right: 8px;
    display: inline-block;
    margin-bottom: 4px;
}

.tags-links a:hover,
.cat-links a:hover {
    background: var(--accent);
    color: white;
}
