/*
Theme Name: Asador Avelino
Theme URI: https://asadoravelino.es/
Author: Alejandro Rumbero Fernández
Author URI: https://cerrajerosvalencia.com/
Description: Theme profesional y elegante para el restaurante Asador Avelino, con un diseño optimizado para la gastronomía, blog de recetas y alta legibilidad. Creado por Manus AI.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, una-columna, dos-columnas, barra-lateral-derecha, responsive-layout, custom-menu, editor-style, featured-images, post-formats, translation-ready
Text Domain: asador-avelino
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.7;
    background-color: #fff;
    font-size: 16px;
}

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

a {
    color: #c9a961;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #8b1a1a;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
    background: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

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

.site-branding .site-title a {
    font-family: 'Parisienne', cursive;
    font-size: 2.5rem;
    color: #c9a961;
    font-weight: 400;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation ul li {
    display: inline-block;
    margin-left: 25px;
}

.main-navigation a {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s;
}

.main-navigation a:hover, .main-navigation .current-menu-item > a {
    border-bottom-color: #c9a961;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 60px 0 20px 0;
    font-size: 0.95rem;
}

.footer-widgets {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-widget-area {
    flex: 1;
    min-width: 220px;
}

.footer-widget-area h3 {
    color: #c9a961;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
}

.footer-widget-area ul li {
    margin-bottom: 10px;
}

.footer-widget-area ul li a {
    color: #a0a0a0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.footer-collaborators {
    margin-top: 15px;
    font-size: 0.9rem;
}

/*--------------------------------------------------------------
# Front Page
--------------------------------------------------------------*/
.front-page-hero {
    height: 100vh;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.front-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 5rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    font-family: 'Playfair Display', serif;
}

.hero-content .lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 20px auto 30px auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.btn {
    background-color: #c9a961;
    color: #1a1a1a;
    padding: 12px 28px;
    margin: 5px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    border-radius: 3px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid #c9a961;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

.home-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 50px;
}

/*--------------------------------------------------------------
# Blog and Archives
--------------------------------------------------------------*/
.blog-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.post-card {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.post-card-image a {
    display: block;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 25px;
}

.post-card-content .entry-meta {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
}

.post-card-content .entry-title a {
    color: #1a1a1a;
    font-size: 1.4rem;
}

.post-card-content .entry-title a:hover {
    color: #c9a961;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
    color: #c9a961;
    font-weight: 700;
}

/*--------------------------------------------------------------
# Single Post
--------------------------------------------------------------*/
.single-post-container {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.single-post-header .entry-title {
    font-size: 3rem;
    margin-bottom: 15px;
}

.entry-meta {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.entry-meta span {
    margin-right: 15px;
}

.entry-content h2 {
    font-size: 2.2rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.entry-content h3 {
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.entry-content p, .entry-content ul, .entry-content ol {
    margin-bottom: 1.5em;
}

.entry-content ul, .entry-content ol {
    padding-left: 20px;
}

.entry-content figure {
    margin: 30px 0;
}

.entry-content figcaption {
    text-align: center;
    font-style: italic;
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
}

.table-of-contents {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-left: 4px solid #c9a961;
    padding: 25px;
    margin: 40px 0;
    border-radius: 3px;
}

.cta-box {
    background-color: #2d2d2d;
    color: #fff;
    padding: 40px;
    text-align: center;
    margin: 50px 0;
    border-radius: 5px;
}

.cta-box h3 {
    color: #c9a961;
    font-size: 2rem;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    .main-navigation {
        margin-top: 15px;
    }
    .footer-widgets {
        flex-direction: column;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content .lead {
        font-size: 1.2rem;
    }
    .single-post-container {
        padding: 30px;
    }
}
