/* Jakó Cukrászda – stopgap statikus oldal. Mobile-first, framework nélkül. */

:root {
    --wine:   #7a1f2b;
    --wine-d: #5d1620;
    --gold:   #c89b3c;
    --cream:  #fbf6ef;
    --paper:  #ffffff;
    --ink:    #2b2320;
    --muted:  #6b5d55;
    --line:   #e7dccd;
    --shadow: 0 4px 18px rgba(60, 30, 20, .10);
    --radius: 12px;
    --maxw:   1100px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Source Sans 3", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
}

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; line-height: 1.2; color: var(--wine-d); }
h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .3em; }

a { color: var(--wine); }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.1rem; }

.skip-link {
    position: absolute; left: -999px; top: 0; background: var(--wine); color: #fff;
    padding: .6rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- Fejléc / navigáció ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.3rem; color: var(--wine-d); }
.brand-sub  { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }

.nav-toggle { display: none; }
.nav-toggle-btn {
    display: inline-flex; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem;
    border: 1px solid var(--line); border-radius: 8px; background: var(--paper);
}
.nav-toggle-btn span { width: 24px; height: 2px; background: var(--wine-d); display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .2rem; }
.site-nav a {
    display: block; text-decoration: none; color: var(--ink); font-weight: 600;
    padding: .7rem .9rem; border-radius: 8px;
}
.site-nav a:hover { background: var(--cream); }
.site-nav a.active { color: var(--wine); background: var(--cream); }

/* Mobil: a checkbox kapcsolja a menüt – nincs szükség JS-re */
.site-nav { display: none; width: 100%; padding-bottom: .6rem; }
.nav-toggle:checked ~ .site-nav { display: block; }

@media (min-width: 800px) {
    .header-inner { flex-wrap: nowrap; padding-block: .9rem; }
    .nav-toggle-btn { display: none; }
    .site-nav { display: block !important; width: auto; padding: 0; }
    .site-nav ul { flex-direction: row; gap: .2rem; }
}

/* ---------- Általános szekciók ---------- */
section.block { padding-block: 2.4rem; }
section.block:nth-child(even) { background: var(--paper); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.narrow { max-width: 70ch; margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; text-align: center;
    background: linear-gradient(rgba(45,15,20,.55), rgba(45,15,20,.55)), var(--hero-img, none);
    background-size: cover; background-position: center;
    padding-block: clamp(3rem, 12vw, 7rem);
}
.hero h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.hero p { color: #fdeede; font-size: 1.15rem; max-width: 52ch; margin-inline: auto; }

/* ---------- Gombok ---------- */
.btn {
    display: inline-block; background: var(--wine); color: #fff; text-decoration: none;
    font-weight: 600; padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
    transition: background .15s ease;
}
.btn:hover { background: var(--wine-d); }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.15); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; }

/* ---------- Kínálat-listák ---------- */
.feature-cols { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .feature-cols { grid-template-columns: 1fr 1fr; } }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { padding: .25rem 0 .25rem 1.6rem; position: relative; }
.tick-list li::before { content: "🍰"; position: absolute; left: 0; }

.chip-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip-list li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .92rem; }

/* ---------- Termékrács ---------- */
.product-grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 920px) { .product-grid { grid-template-columns: 1fr 1fr 1fr; } }
.product-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.product-card .pc-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card .pc-desc { font-size: .9rem; color: var(--muted); margin: 0; flex: 1; }
.product-card .pc-price { font-weight: 700; color: var(--wine); }
.cat-title { margin-top: 2rem; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: .2rem; }

/* ---------- Galéria ---------- */
.gallery { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; border-radius: 10px; box-shadow: var(--shadow); }

/* ---------- Kapcsolat ---------- */
.contact-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.contact-card .cc-body { padding: 1.1rem 1.3rem 1.4rem; }
.contact-card dl { margin: 0; }
.contact-card dt { font-weight: 600; color: var(--wine); margin-top: .6rem; }
.contact-card dd { margin: 0 0 .2rem; }

/* ---------- Űrlap ---------- */
.form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); max-width: 720px; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .req { color: var(--wine); }
.field input, .field select, .field textarea {
    width: 100%; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 8px;
    font: inherit; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.form-row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.flash { border-radius: var(--radius); padding: 1rem 1.2rem; margin-bottom: 1.4rem; font-weight: 600; }
.flash-success { background: #e8f4ea; border: 1px solid #aacdb1; color: #245c33; }
.flash-error   { background: #fdecea; border: 1px solid #e3b0ab; color: #8a2b22; }

.info-box { background: var(--cream); border-left: 4px solid var(--gold); border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1.6rem; }
.info-box ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* ---------- Lábléc ---------- */
.site-footer { background: var(--wine-d); color: #f3e6d8; margin-top: 2rem; }
.site-footer a { color: #f7d9a8; }
.footer-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; padding-block: 2.2rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: .5rem; }
.site-footer p { margin: .25rem 0; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 1rem; }
.footer-bottom p { margin: 0; font-size: .82rem; color: #d9c4b2; text-align: center; }
