/* ============================================
   Česká kuchyně — Premium Design System
   Mobile-first, editorial, warm-rustic palette
   ============================================ */

:root {
  --bg: #FDFBF7;
  --surface: #FFFFFF;
  --surface-soft: #F7F2EA;
  --accent1: #9E2A2B;
  --accent1-hover: #7A1F20;
  --accent2: #A98C5A;
  --text: #241C18;
  --muted: #6D625A;
  --border: #EBE4DA;
  --shadow-xs: 0 1px 2px rgba(36, 28, 24, 0.04);
  --shadow-sm: 0 2px 8px rgba(36, 28, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(36, 28, 24, 0.08);
  --shadow-lg: 0 16px 48px rgba(36, 28, 24, 0.10);
  --radius: 1.2rem;
  --radius-sm: 0.8rem;
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent1);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: var(--accent1-hover);
}

:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: 3px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.2rem, 5.5vw, 5.6rem);
}

h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  margin-bottom: 0.8rem;
}

p {
  margin-bottom: 1.6rem;
  color: var(--muted);
  max-width: 65ch;
}

strong {
  color: var(--text);
  font-weight: 700;
}

ul, ol {
  margin-bottom: 1.6rem;
  padding-left: 2.4rem;
}

li {
  margin-bottom: 0.6rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 120rem;
  margin-inline: auto;
  padding-inline: clamp(1.6rem, 4vw, 3.2rem);
}

.section {
  padding-block: clamp(5.6rem, 8vw, 10rem);
}

.section--tight {
  padding-block: clamp(4rem, 6vw, 6.4rem);
}

.section__header {
  max-width: 72ch;
  margin-bottom: clamp(3.2rem, 5vw, 4.8rem);
}

.section__header.text-center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent1);
  margin-bottom: 1.2rem;
}

.section__eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--accent2);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1.6rem;
  background: var(--accent1);
  color: #fff;
  padding: 1rem 1.6rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 4.4rem;
  padding: 0.9rem 2.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--accent1);
  background: linear-gradient(135deg, var(--accent1), #B5393A);
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover, .btn:focus {
  background: var(--accent1-hover);
  border-color: var(--accent1-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background: transparent;
  color: var(--accent1);
  box-shadow: none;
}

.btn--secondary:hover, .btn--secondary:focus {
  background: var(--accent1);
  color: #fff;
}

.btn--small {
  min-height: 3.6rem;
  padding: 0.6rem 1.6rem;
  font-size: 1.4rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 6.4rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text);
}

.logo__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.logo__tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Navigation */
.nav {
  display: block;
  position: fixed;
  inset: 0;
  top: 6.4rem;
  background: var(--surface);
  padding: 2.4rem;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, visibility 0.3s ease;
}

.site-header--open .nav {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
}

.nav__link {
  display: flex;
  align-items: center;
  min-height: 4.8rem;
  padding: 0 1.6rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav__link:hover, .nav__link:focus {
  background: var(--surface-soft);
  color: var(--accent1);
}

.nav__link[aria-current="page"] {
  background: var(--surface-soft);
  color: var(--accent1);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle__icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--text);
}

/* Hero */
.hero {
  position: relative;
  padding-block: clamp(4.8rem, 8vw, 9.6rem);
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-soft) 100%);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: clamp(3.2rem, 5vw, 6.4rem);
  align-items: center;
}

.hero__content {
  max-width: 64ch;
}

.hero__subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--accent1);
  margin-bottom: 1.2rem;
}

.hero__lead {
  font-size: clamp(1.6rem, 1.8vw, 1.9rem);
  color: var(--muted);
  margin-bottom: 2.4rem;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28rem;
}

.hero__illustration {
  width: 100%;
  max-width: 42rem;
  height: auto;
}

/* Search */
.search {
  display: flex;
  flex-direction: column;
  max-width: 54rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search:focus-within {
  box-shadow: var(--shadow-md);
  border-color: var(--accent2);
}

.search__input {
  flex: 1 1 auto;
  min-height: 4.8rem;
  padding: 1.2rem 1.6rem;
  border: none;
  font-family: inherit;
  font-size: 1.5rem;
  background: transparent;
  color: var(--text);
}

.search__input::placeholder {
  color: var(--muted);
}

.search__button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 4.4rem;
  padding: 0 2rem;
  border: none;
  background: var(--accent1);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search__button:hover, .search__button:focus {
  background: var(--accent1-hover);
}

/* Anchor navigation */
.anchors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: clamp(3.2rem, 5vw, 4.8rem);
}

.anchor-link {
  display: inline-flex;
  align-items: center;
  min-height: 4.4rem;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.anchor-link:hover, .anchor-link:focus {
  background: var(--accent1);
  color: #fff;
  border-color: var(--accent1);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover, .card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent2);
}

.card__icon {
  width: 4.8rem;
  height: 4.8rem;
  color: var(--accent1);
  margin-bottom: 1.6rem;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  line-height: 1.2;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover, .card__title a:focus {
  color: var(--accent1);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.card__tag {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent2);
  background: rgba(169, 140, 90, 0.10);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.card__text {
  flex: 1 1 auto;
  color: var(--muted);
  margin-bottom: 0;
}

/* Feature list */
.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: var(--text);
}

.feature-list__icon {
  flex: 0 0 auto;
  width: 2.4rem;
  height: 2.4rem;
  color: var(--accent2);
  margin-top: 0.2rem;
}

/* Split layouts */
.split {
  display: grid;
  gap: 3.2rem;
  align-items: start;
}

.split--vcenter {
  align-items: center;
}

/* Seasonal strip */
.seasonal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}

.seasonal__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seasonal__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.seasonal__month {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--accent1);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.seasonal__food {
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 600;
}

/* FAQ details */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease;
}

.faq details[open] {
  border-color: var(--accent2);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4.4rem;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  padding-right: 3.2rem;
  line-height: 1.3;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--accent1);
  font-size: 2rem;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq details[open] summary::after {
  content: "−";
  background: var(--accent1);
  color: #fff;
}

.faq__answer {
  padding-top: 1.2rem;
  color: var(--muted);
}

.faq__answer p {
  margin-bottom: 1.2rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* Forms */
.form {
  display: grid;
  gap: 2rem;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form__label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.form__input,
.form__textarea,
.form__select {
  width: 100%;
  min-height: 4.4rem;
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1.5rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(169, 140, 90, 0.20);
  outline: none;
}

.form__textarea {
  min-height: 16rem;
  resize: vertical;
}

.form__hint {
  font-size: 1.3rem;
  color: var(--muted);
}

/* Info boxes */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: var(--shadow-xs);
}

.info-box__title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 1.6rem;
  line-height: 1.2;
}

.info-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.info-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: var(--text);
}

.info-list__item svg {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  color: var(--accent1);
  margin-top: 0.2rem;
}

.info-list__item a {
  color: var(--accent1);
}

/* Footer */
.site-footer {
  background: #181412;
  color: #D8CFC4;
  padding-block: clamp(4.8rem, 6vw, 6.4rem) 2.4rem;
}

.site-footer__grid {
  display: grid;
  gap: 3.2rem;
  margin-bottom: 3.2rem;
}

.site-footer__brand .logo__title {
  color: #fff;
}

.site-footer__brand .logo__tagline {
  color: #A89F95;
}

.site-footer__brand p {
  color: #A89F95;
  max-width: 44ch;
  margin-top: 1.2rem;
}

.site-footer__links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.4rem;
}

.site-footer__links a {
  display: inline-flex;
  min-height: 3.6rem;
  align-items: center;
  color: #D8CFC4;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  color: var(--accent2);
}

.site-footer__legal {
  border-top: 1px solid rgba(216, 207, 196, 0.12);
  padding-top: 2.4rem;
}

.site-footer__disclaimer {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--accent2);
  margin-bottom: 1.2rem;
}

.site-footer__copy {
  font-size: 1.4rem;
  color: #A89F95;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.6rem 0;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.cookie-banner__text {
  flex: 1 1 32rem;
  font-size: 1.4rem;
  color: var(--muted);
  margin: 0;
}

.cookie-banner__actions {
  display: flex;
  gap: 1.2rem;
}

/* Decorative patterns */
.pattern-dots {
  position: absolute;
  width: 12rem;
  height: 12rem;
  background-image: radial-gradient(var(--accent2) 2px, transparent 2px);
  background-size: 1.6rem 1.6rem;
  opacity: 0.25;
  pointer-events: none;
}

.pattern-lines {
  position: absolute;
  width: 10rem;
  height: 10rem;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 0.8rem,
    rgba(158, 42, 43, 0.06) 0.8rem,
    rgba(158, 42, 43, 0.06) 1.6rem
  );
  pointer-events: none;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted);
}

.no-results {
  display: none;
  padding: 2.4rem;
  text-align: center;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.no-results.is-visible {
  display: block;
}

/* Responsive */
@media (min-width: 640px) {
  .search {
    flex-direction: row;
    border-radius: 999px;
  }

  .search__button {
    width: auto;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .site-header__inner {
    min-height: 7.2rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    inset: auto;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    padding: 0;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.4rem;
  }

  .nav__link {
    min-height: 4.4rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.5rem;
  }

  .split {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

  .seasonal {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 2fr 1fr;
  }
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    gap: 6.4rem;
  }

  .cards {
    grid-template-columns: repeat(auto-fit, minmax(26rem, 1fr));
  }
}

@media (min-width: 1280px) {
  .cards {
    gap: 2.4rem;
  }
}
