/*
Theme Name: mamchut-modern
Theme URI: https://mamchut.sk/
Description: Moderný, čistý child theme pre food blog Mamchut. Responzívny (mobile‑first) dizajn so zameraním na recepty a magazínové články.
Author: Mamchut tím
Version: 1.0
Template: twentytwentythree
Tags: blog, food, recepty, responsive, clean
*/

@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* CSS pre farby a typografiu */
:root {
    --primary-color: #e65100; /* teplá oranžová */
    --secondary-color: #ffca28; /* medovo žltá */
    --accent-color: #ff7043;
    --bg-color: #fff7f5;
    --text-color: #333;
    --heading-font: 'Merriweather', serif;
    --body-font: 'Open Sans', sans-serif;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--primary-color);
    margin-top: 0;
    line-height: 1.2;
}

/* Sticky header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-header .site-branding {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
}

/* Grid layout pre recepty */
.recipes-grid {
    padding: 2rem 1rem;
}
.recipes-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.recipe-item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform .3s, box-shadow .3s;
}
.recipe-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.recipe-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.recipe-content {
    padding: 1rem;
}
.recipe-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}
.recipe-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--primary-color);
}
.recipe-meta span {
    display: inline-block;
    font-size: 0.75rem;
    color: #666;
    margin-right: 0.5rem;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}
.site-footer a { color: #fff; text-decoration: underline; }
