/* Martin Guía – typografie
 *
 * Bitter 600 → obsahové nadpisy (stránky, sekce, názvy zájezdů, blog)
 * Inter      → texty, perexy, ceny, tabulky, navigace, tlačítka, formuláře
 *
 * Rozhoduje význam prvku, ne barva textu.
 */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Bitter', Georgia, 'Times New Roman', serif;
  --color-text: #1f2937;
  --color-heading: #14532d;
}

html {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
}

/* ── Bitter: obsahové nadpisy ── */
h1,
h2,
h3,
h4,
.hero-title,
.prose h2,
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 600;
}

/* Tailwind z CDN vkládá preflight (h1–h6 { font-size: inherit })
 * až za tento soubor, proto musí být velikosti nadpisů specifičtější
 * než holý typový selektor. Tailwind utility text-* mají přednost dál. */
body h1 {
  font-size: clamp(2rem, 2.5vw + 1.25rem, 2.5rem);
  font-weight: 600;
  line-height: 1.18;
}

body h2 {
  font-size: clamp(1.75rem, 2vw + 1.1rem, 2.25rem);
  font-weight: 600;
  line-height: 1.2;
}

body h3 {
  font-size: clamp(1.1875rem, 0.4vw + 1.1rem, 1.375rem);
  font-weight: 600;
  line-height: 1.3;
}

body h4 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.hero-title {
  font-size: clamp(2.75rem, 6.75vw, 4.6rem);
  line-height: 1.12;
}

.hero-lead {
  font-family: var(--font-sans);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  line-height: 1.5;
  font-weight: 400;
}

/* ── Inter: UI a informační prvky (přebíjí barvu / tučnost) ── */
nav,
nav a,
nav button,
button,
.btn,
label,
input,
select,
textarea,
table,
thead,
tbody,
tfoot,
tr,
th,
td,
caption,
footer,
footer a,
footer p,
footer li {
  font-family: var(--font-sans);
}

table th {
  font-weight: 600;
}

/* ── Blog a dlouhé texty ── */
.prose p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
  color: #374151;
}

.prose h2,
.prose h3 {
  color: var(--color-heading);
}

.prose h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: #374151;
}

.prose blockquote {
  border-left: 4px solid #15803d;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #6b7280;
}

/* ── Sdílené komponenty ── */
.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  z-index: 50;
}

.nav-dropdown-wrapper:hover .nav-dropdown,
.nav-dropdown-wrapper:focus-within .nav-dropdown {
  display: block;
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 40, 0, 0.1) 0%, rgba(0, 30, 0, 0.45) 100%);
}

.hero-overlay-dark {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.star {
  color: #facc15;
}

/* ── Hero stránky zájezdů ── */
.page-hero {
  padding-top: clamp(2.5rem, 4.5vw, 3.25rem);
  padding-bottom: clamp(1.75rem, 2.5vw, 1.625rem);
}

.page-hero__inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.page-hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 1.5vw + 1.625rem, 2.875rem);
  line-height: 1.12;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.page-hero__slogan {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1.125rem, 0.75vw + 1rem, 1.75rem);
  line-height: 1.45;
  margin-top: clamp(1.25rem, 2vw, 1.5rem);
}

.page-hero__meta {
  margin-top: clamp(1.875rem, 3vw, 2.25rem);
}

.page-hero__info {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.25rem);
  line-height: 1.5;
  margin: 0;
}

.page-hero__info-note {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.9375rem, 0.25vw + 0.875rem, 1.125rem);
  line-height: 1.45;
  margin-top: clamp(0.5rem, 1vw, 0.75rem);
}
