/*
Theme Name: Alicia Morel Oficial
Theme URI: https://aliciamorel.cl
Author: Sucesión Alicia Morel
Description: Tema oficial desarrollado para preservar la memoria, legados y derechos de autor de Alicia Morel.
Version: 1.0
Text Domain: aliciamorel
*/

:root {
    --primary-color: #2c3e50; /* Azul muy oscuro/pizarra elegante */
    --accent-color: #ba4a00; /* Naranja rojizo oscuro, muy sobrio */
    --bg-color: #fcfbf9; /* Blanco roto tipo papel antiguo */
    --text-color: #333333;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

/* Utils */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

/* Header & Menu */
.site-header {
    background: transparent;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
}

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

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
}

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

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

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--accent-color);
}

/* Portada (Front Page) */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(250,249,246,1) 0%, rgba(235,232,224,1) 100%);
    position: relative;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
    font-style: italic;
}

.hero-bio {
    font-size: 1.1rem;
    color: var(--text-color);
    text-align: left;
    background: white;
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    margin-bottom: 3rem;
    border-top: 3px solid var(--accent-color);
}

.hero-bio p {
    margin-bottom: 1.5rem;
}

/* Generic Pages (page.php) */
.page-header {
    background: linear-gradient(135deg, rgba(250,249,246,1) 0%, rgba(235,232,224,1) 100%);
    padding: 10rem 0 4rem 0;
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid #eaeaea;
}

.page-title {
    font-size: 3rem;
}

.page-content {
    max-width: 800px;
    margin: 0 auto 5rem;
    font-size: 1.1rem;
}

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

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

.site-footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

/* Content specific alignments for Gutenberg blocks */
.wp-block-image {
    margin: 2rem 0;
}

.wp-block-image img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
