/* Half Minute Kitchen – web. Barvy kanálu: olivová, krémová, dub, rajčatová. */
:root {
  --olive: #4b5320;
  --olive-dark: #343a16;
  --cream: #f3ebdd;
  --cream-2: #fbf6ee;
  --oak: #c8a27a;
  --oak-dark: #8a6a45;
  --tomato: #d83b2e;
  --gold: #ffd700;
  --ink: #2a2a22;
  --muted: #6b6a5c;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(52, 58, 22, .15);
  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--olive); }
a:hover { color: var(--tomato); }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 246, 238, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(75, 83, 32, .12);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--olive); }
.brand img { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--olive); background: var(--cream); }
.brand span { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .02em; }
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { text-decoration: none; font-weight: 800; color: var(--olive); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: var(--tomato); color: #fff !important; text-decoration: none;
  font-weight: 900; letter-spacing: .02em;
  box-shadow: 0 6px 0 #a3271d; transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 #a3271d; }
.btn.small { padding: 8px 16px; font-size: .9rem; box-shadow: 0 4px 0 #a3271d; }
.btn.olive { background: var(--olive); box-shadow: 0 6px 0 var(--olive-dark); }

/* --- hero --- */
.hero {
  position: relative; overflow: hidden;
  background: var(--cream) url('hero.jpg') center / cover no-repeat;
  min-height: 520px; display: grid; place-items: center; text-align: center;
  border-bottom: 10px solid var(--oak);
}
.hero::after { /* zesvětlení středu pro čitelnost */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 42% 55% at 50% 48%, rgba(243, 235, 221, .95) 0%, rgba(243, 235, 221, .6) 60%, rgba(243, 235, 221, 0) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 48px 16px; max-width: 640px; }
.hero-logo { width: 120px; height: 120px; margin: 0 auto 12px; border-radius: 50%; border: 4px solid var(--olive); background: var(--cream); box-shadow: var(--shadow); animation: wobble 4s ease-in-out infinite; }
.hero h1 {
  font-family: var(--font-display); color: var(--olive);
  font-size: clamp(2.2rem, 7vw, 4.2rem); line-height: 1.02; margin: 0;
  text-shadow: 3px 3px 0 var(--cream), 5px 5px 0 rgba(75, 83, 32, .18);
}
.hero h1 small { display: block; font-size: .58em; }
.tagline { margin: 14px 0 6px; font-weight: 900; color: var(--tomato); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; }
.days { display: inline-flex; gap: 8px; margin: 6px 0 22px; }
.days span { background: var(--olive); color: var(--cream); font-weight: 900; border-radius: 999px; padding: 4px 12px; font-size: .9rem; }
@keyframes wobble { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

/* --- kuchyně --- */
.kitchens { padding: 28px 0 8px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { background: #fff; border: 2px solid var(--oak); border-radius: 999px; padding: 6px 14px; font-weight: 800; color: var(--olive-dark); }

/* --- videa --- */
section.videos { padding: 36px 0 56px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.section-head h2 { font-family: var(--font-display); color: var(--olive); font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .nav a.hide-sm { display: none; } }

.card {
  position: relative; border: 0; padding: 0; cursor: pointer; text-align: left;
  background: var(--olive-dark); border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 9 / 16; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  font: inherit; color: #fff;
}
.card:hover, .card:focus-visible { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 16px 34px rgba(52, 58, 22, .28); outline: none; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .shade { position: absolute; inset: auto 0 0 0; padding: 40px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.card .title { font-weight: 900; font-size: .95rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .date { font-size: .78rem; opacity: .8; margin-top: 4px; }
.card .play {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 58px; height: 58px; border-radius: 50%; background: rgba(216, 59, 46, .92);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: scale .15s;
}
.card:hover .play { scale: 1.1; }
.card .play::before { content: ''; margin-left: 5px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--gold); color: var(--ink); font-weight: 900; font-size: .72rem; padding: 3px 8px; border-radius: 999px; }

.more { text-align: center; margin-top: 34px; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* --- lightbox --- */
.lightbox { position: fixed; inset: 0; z-index: 50; display: none; place-items: center; background: rgba(20, 22, 10, .86); padding: 16px; }
.lightbox.open { display: grid; }
.lightbox .frame { position: relative; width: min(420px, 100%); aspect-ratio: 9 / 16; max-height: 88vh; border-radius: var(--radius); overflow: hidden; background: #000; }
.lightbox iframe { width: 100%; height: 100%; border: 0; }
.lightbox .close { position: absolute; top: 14px; right: 18px; background: var(--cream); color: var(--olive); border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; font-weight: 900; cursor: pointer; }

/* --- o kanálu / footer --- */
.about { background: var(--cream); border-top: 6px dashed var(--oak); padding: 44px 0; }
.about .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
@media (max-width: 800px) { .about .cols { grid-template-columns: 1fr; } }
.about h2, .about h3 { font-family: var(--font-display); color: var(--olive); margin-top: 0; }
.intro { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.intro h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 20px 20px; box-shadow: var(--shadow); counter-increment: step; }
.steps li::before {
  content: counter(step); position: absolute; top: -14px; right: 16px;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--tomato); color: #fff; font-family: var(--font-display); font-size: .95rem;
}
.step-icon { font-size: 2rem; line-height: 1; }
.steps h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.steps p { margin: 0; font-size: .95rem; color: #45443a; }
.promise { text-align: center; margin: 30px auto 0; max-width: 760px; font-size: 1.05rem; }
.site-footer { background: var(--olive); color: var(--cream); padding: 26px 0; font-size: .92rem; }
.site-footer a { color: var(--cream); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* --- právní stránky --- */
.legal { padding: 40px 0 60px; }
.legal .doc { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(20px, 4vw, 44px); max-width: 820px; margin-inline: auto; }
.legal h1 { font-family: var(--font-display); color: var(--olive); line-height: 1.1; }
.legal h2 { color: var(--olive); margin-top: 1.8em; font-size: 1.25rem; }
.legal .updated { color: var(--muted); }

/* YouTube branding */
.yt-icon { width: 24px; height: 17px; flex: none; vertical-align: -3px; }
.btn .yt-icon rect { fill: #fff; } .btn .yt-icon path { fill: var(--tomato); }
.btn.olive .yt-icon path { fill: var(--olive); }
.yt-source { display: flex; align-items: center; gap: 8px; margin-top: 6px !important; font-weight: 700; }
