/*
Theme Name: Recipe Pro
Theme URI: https://github.com/manus-ai/recipe-pro
Author: Manus AI
Description: A high-performance, fully customizable WordPress theme designed for food bloggers and culinary experts. Features built-in recipe cards, advanced SEO optimization, and extensive design options.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: recipe-pro
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary-color: #ff4f5a;
    --text-color: #333;
    --bg-color: #ffffff;
    --secondary-bg: #f3f4f6;
    --border-color: #e5e7eb;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    margin: 0;
}

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

header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

.post-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

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

.post-card-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.recipe-card {
    background: #f9fafb;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.recipe-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 2px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.recipe-meta-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.meta-item {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.meta-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 5px;
}

.meta-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.ingredients-list, .instructions-list {
    margin-bottom: 30px;
}

.ingredients-list ul, .instructions-list ol {
    padding-left: 20px;
}

.ingredients-list li {
    margin-bottom: 8px;
}

.instructions-list li {
    margin-bottom: 15px;
    padding-left: 10px;
}

.print-button {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

footer {
    background: #222;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }
    .recipe-header {
        flex-direction: column;
    }
    .print-button {
        margin-top: 10px;
    }
}
