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

body {
    font-family: 'Lora', serif;
    background: #fdf6ec;
    color: #2c1a0e;
}

/* ── Hero ── */
header {
    background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "🥟";
    font-size: 200px;
    position: absolute;
    opacity: 0.07;
    top: -30px;
    left: -40px;
    transform: rotate(-15deg);
}

header::after {
    content: "🥟";
    font-size: 200px;
    position: absolute;
    opacity: 0.07;
    bottom: -40px;
    right: -30px;
    transform: rotate(20deg);
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    letter-spacing: 0.05em;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.3);
}

header .subtitle {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    margin-top: 12px;
    opacity: 0.9;
    font-style: italic;
}

header .polish {
    margin-top: 8px;
    font-size: 1rem;
    opacity: 0.75;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ── Intro ── */
.intro {
    max-width: 700px;
    margin: 50px auto 10px;
    padding: 0 24px;
    text-align: center;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #4a2e1a;
}

/* ── Grid ── */
.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 1.8rem;
    margin: 50px 0 30px;
    color: #922b21;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 5px solid #c0392b;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.card-img-placeholder {
    width: 100%;
    height: 180px;
    background: #f0e0cc;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.card-content {
    padding: 24px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

.card .emoji {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 14px;
}

.card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: #922b21;
    margin-bottom: 4px;
}

.card .pl-name {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    margin-bottom: 12px;
}

.card p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: #4a2e1a;
}

.card .tag {
    display: inline-block;
    margin-top: 14px;
    background: #fdf6ec;
    border: 1px solid #e8d5b7;
    color: #922b21;
    font-size: 0.78rem;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ── Recipes ── */
.recipe-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.recipe-img-placeholder {
    width: 100%;
    height: 260px;
    background: #f0e0cc;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.recipes {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.recipe {
    background: white;
    border-radius: 16px;
    margin-bottom: 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
}

.recipe-header {
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: white;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.recipe-header .emoji { font-size: 2.4rem; }

.recipe-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.recipe-header .pl-name {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

.recipe-body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
}

@media (max-width: 600px) {
    .recipe-body { grid-template-columns: 1fr; }
}

.ingredients {
    padding: 24px 28px;
    background: #fdf6ec;
    border-right: 1px solid #e8d5b7;
}

.ingredients h4, .method h4 {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #922b21;
    margin-bottom: 14px;
}

.ingredients ul {
    list-style: none;
    font-size: 0.93rem;
    line-height: 2;
    color: #4a2e1a;
}

.ingredients ul li::before {
    content: "·  ";
    color: #c0392b;
    font-weight: bold;
}

.method {
    padding: 24px 28px;
}

.method ol {
    padding-left: 20px;
    font-size: 0.93rem;
    line-height: 1.85;
    color: #4a2e1a;
}

.method ol li { margin-bottom: 8px; }

.recipe-tip {
    padding: 14px 28px;
    background: #fdf6ec;
    border-top: 1px solid #e8d5b7;
    font-size: 0.88rem;
    color: #7a5533;
    font-style: italic;
}

.recipe-tip::before { content: "💡 "; }

/* ── Fun fact banner ── */
.fact {
    background: #922b21;
    color: white;
    text-align: center;
    padding: 36px 24px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.fact strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

/* ── Footer ── */
footer {
    text-align: center;
    padding: 30px;
    font-size: 0.85rem;
    background: #2c1a0e;
    color: #c8a87a;
}
