/* Blog Arnaldo's Restaurante - Estilos */

:root {
    --primary-color: #8B1538;
    --secondary-color: #D4AF37;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --bg-light: #F9F9F9;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

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

/* Header */
.blog-header {
    background-color: var(--primary-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo h1 {
    color: var(--white);
    font-size: 1.8rem;
    text-decoration: none;
}

.logo {
    text-decoration: none;
}

.blog-nav {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.blog-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.blog-nav a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B0F2A 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.blog-hero h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
.blog-main {
    padding: 60px 0;
    min-height: 60vh;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.post-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.post-category {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.post-date {
    color: var(--text-light);
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* No Posts */
.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-link {
    padding: 10px 18px;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover,
.page-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Single Post */
.post-main {
    padding: 60px 0;
}

.post-single {
    background: var(--white);
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-single .post-title {
    font-size: 2.5rem;
    margin-top: 20px;
    line-height: 1.2;
}

.post-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 40px;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.post-body p {
    margin-bottom: 20px;
}

/* Share Buttons */
.post-share {
    border-top: 2px solid var(--bg-light);
    padding-top: 30px;
    margin-top: 40px;
}

.post-share h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-back:hover {
    background-color: #6B0F2A;
}

/* Footer */
.blog-footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.blog-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h2 {
        font-size: 2rem;
    }

    .blog-hero p {
        font-size: 1rem;
    }

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

    .post-single .post-title {
        font-size: 1.8rem;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .blog-nav {
        justify-content: center;
    }
}

