/*
Theme Name: ParoleVivante Premium
Theme URI: https://parolevivanteactu.com/
Description: Un thème moderne, professionnel et spirituel pour le blog Parole Vivante Actu.
Version: 1.1.0
Author: Antigravity
Author URI: https://google.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parolevivante-premium
Tags: religious, blog, news, modern, professional, clean, grid-layout
*/

/* --- Design Tokens --- */
:root {
    /* Colors */
    --primary: #D4AF37;        /* Premium Gold */
    --primary-dark: #B8860B;
    --primary-light: #F4E4BC;
    --secondary: #0F172A;     /* Slate Blue */
    --accent: #3B82F6;        /* Modern Blue */
    --bg-main: #F8FAFC;
    --bg-card: #FFFFFF;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --white: #FFFFFF;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Layout Components --- */

/* Header & Navigation */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.site-title a {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.main-navigation a:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    padding: 4rem 0;
}

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.post-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition-base);
}

.article-card:hover .post-thumbnail img {
    scale: 1.05;
}

.post-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.entry-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.entry-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.entry-excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.read-more {
    margin-top: auto;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 5rem 0 2rem;
    margin-top: 5rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-column h3 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: #94A3B8;
    max-width: 300px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #94A3B8;
}

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

.site-info {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #64748B;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .footer-widgets { grid-template-columns: 1fr; gap: 2rem; }
    .main-navigation { display: none; } /* Add burger menu logic later */
}

/* --- Shared UI Components --- */
.btn-primary {
    background: var(--primary);
    color: var(--secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Single Post Styles --- */
.single-article {
    padding-bottom: 5rem;
}

.article-hero {
    background: var(--secondary);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.article-hero .entry-title {
    color: var(--white);
    font-size: 3rem;
    margin-top: 1rem;
    line-height: 1.1;
}

.article-hero .entry-meta {
    color: var(--primary-light);
}

.narrow-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 4rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin-left: 0;
    font-style: italic;
    color: var(--secondary);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.post-navigation-wrapper {
    border-top: 1px solid #E2E8F0;
    padding: 3rem 0;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-links a {
    flex: 1;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.nav-links a:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.nav-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-weight: 700;
    color: var(--secondary);
}

/* Footer Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid #334155;
    background: #1E293B;
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--secondary) !important;
}
