/*
Theme Name: Frases Inspiradoras
Theme URI: https://frasesinspiradoras.com.br
Author: Felipe
Author URI: https://frasesinspiradoras.com.br
Description: Tema personalizado para site de frases inspiradoras com design moderno e funcionalidades específicas
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frases-inspiradoras
Tags: quotes, inspirational, custom-post-type, responsive, modern
*/

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.site-title:hover {
    opacity: 0.9;
}

/* Navegação */
.main-navigation {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-area {
    padding: 3rem 0;
}

/* Card de Frase */
.frase-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.frase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.frase-content {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
}

.frase-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    left: -20px;
    top: -10px;
    opacity: 0.3;
}

.frase-autor {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    text-align: right;
}

.frase-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.frase-categorias {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.frase-categoria {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    text-decoration: none;
    transition: background 0.3s;
}

.frase-categoria:hover {
    background: var(--primary-color);
    color: white;
}

/* Botões de Ação */
.frase-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Grid de Frases */
.frases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Frase Destaque (Home) */
.frase-destaque {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 3rem;
}

.frase-destaque .frase-content {
    font-size: 2rem;
    color: white;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.frase-destaque .frase-content::before {
    color: rgba(255, 255, 255, 0.3);
}

.frase-destaque .frase-autor {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
}

/* Footer */
.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 2rem 0;
    margin-top: 4rem;
    text-align: center;
}

.site-footer p {
    margin: 0.5rem 0;
}

.site-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Botão Compartilhar */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: white;
}

.share-btn:hover {
    transform: scale(1.1);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.telegram { background: #0088cc; }

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-dark);
    transition: background 0.3s;
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
}

.pagination .current {
    background: var(--primary-color);
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-navigation {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .frases-grid {
        grid-template-columns: 1fr;
    }

    .frase-card {
        padding: 2rem;
    }

    .frase-content {
        font-size: 1.25rem;
    }

    .frase-destaque .frase-content {
        font-size: 1.5rem;
    }

    .frase-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}
