/*
Theme Name: Oliver Home Staging Theme
Theme URI: https://www.oliverhomestaging.com
Author: Heliana Oliver
Author URI: https://www.oliverhomestaging.com
Description: Tema personalizado para Oliver Home Staging. Integración perfecta con el sitio PHP existente, diseñado para gestionar blog, proyectos, eventos y prensa de forma bilingüe (Español/Inglés) con WPML.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oliver-theme
Tags: business, portfolio, blog, two-columns, custom-menu, custom-logo, editor-style, featured-images, translation-ready

Este tema está diseñado para integrarse con:
- Sitio PHP existente de Oliver Home Staging
- Bootstrap 4
- WPML para contenido bilingüe
- Custom Post Types para Proyectos, Eventos y Prensa
*/

/* ==========================================================================
   Estilos base importados desde el sitio principal
   ========================================================================== */

/* Los estilos principales se cargarán desde public/css/ del sitio PHP */
/* Este archivo solo contiene estilos específicos de WordPress */

/* ==========================================================================
   Estilos específicos de WordPress
   ========================================================================== */

body.wordpress {
    font-family: 'Open Sans', sans-serif;
}

/* Alineación de imágenes en WordPress */
.alignleft {
    float: left;
    margin: 0 1.5em 1.5em 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5em 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Estilos para el editor de WordPress */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

/* Galerías de WordPress */
.wp-block-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Comentarios */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Sidebar de WordPress */
.sidebar {
    padding: 2rem;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.page-numbers {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid #ddd;
    text-decoration: none;
}

.page-numbers.current {
    background: #214a64;
    color: white;
    border-color: #214a64;
}

/* Entradas del blog */
.entry-content {
    margin-top: 2rem;
}

.entry-content img,
.entry-thumbnail img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
}

.entry-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.entry-footer {
    margin-top: 1.5rem;
}

.entry-footer .btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid #c5a572;
    color: #214a64;
    background-color: transparent;
    transition: all 0.3s ease;
}

.entry-footer .btn:hover {
    background-color: #c5a572;
    color: #ffffff;
    text-decoration: none;
}

/* Custom Post Types - Proyectos */
.proyecto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.proyecto-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.proyecto-card:hover {
    transform: translateY(-5px);
}

.proyecto-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.proyecto-content {
    padding: 1.5rem;
}

.proyecto-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #214a64;
}

/* Custom Post Types - Eventos y Prensa */
.evento-item,
.prensa-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.evento-fecha,
.prensa-fecha {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .proyecto-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Utilidades
   ========================================================================== */

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }
.mt-5 { margin-top: 3rem !important; }

.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }
