/* ===========================================================
   sireknouano.cz — platform landing page
   Same palette/type system as the per-couple sites it links to
   (deep green, wine, ivory, gold). Self-hosted fonts, no external
   assets/CDNs (site CSP is same-origin only).
   =========================================================== */

/* Fonts — Alex Brush (script), Playfair Display (headings), Lora (body).
   Each subset into latin + latin-ext (adds Czech diacritics) like Google
   Fonts itself does; self-hosted so the page needs no external requests. */

@font-face {
  font-family: 'Alex Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/alexbrush-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Alex Brush';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/alexbrush-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/lora-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfairdisplay-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/playfairdisplay-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-ivory:      #F7F1E6;
  --color-ivory-deep: #ECE0CB;
  --color-green-deep: #2E3B24;
  --color-green:      #52643C;
  --color-green-soft: #8A9868;
  --color-wine:       #6B2338;
  --color-wine-deep:  #431624;
  --color-gold:       #A9873F;

  --font-heading:     'Playfair Display', Georgia, 'Times New Roman', Times, serif;
  --font-body:        'Lora', Georgia, 'Times New Roman', Times, serif;
  --font-handwritten: 'Alex Brush', 'Segoe Script', cursive;

  --max-width: 1040px;
  --radius: 10px;
  --shadow-soft: 0 6px 20px rgba(46, 59, 36, 0.12);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-green-deep);
  background: var(--color-ivory);
  line-height: 1.65;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; margin: 0; }

a { color: var(--color-wine); }

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

/* Accessibility ------------------------------------------------ */

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-green-deep);
  color: var(--color-ivory);
  padding: 0.6em 1em;
  z-index: 100;
}
.skip-link:focus {
  left: 0.5em;
  top: 0.5em;
}

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

/* Header --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 230, 0.94);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--color-ivory-deep);
}

.site-header__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.8em 1.2em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
}

.brand {
  font-family: var(--font-handwritten);
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--color-wine);
}

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-green-deep);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--color-wine);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.9em;
}

.lang-switch {
  display: flex;
  gap: 0.3em;
}

.lang-switch__btn {
  border: 1px solid var(--color-green);
  background: transparent;
  color: var(--color-green-deep);
  border-radius: 999px;
  padding: 0.25em 0.75em;
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-switch__btn[aria-pressed="true"] {
  background: var(--color-green-deep);
  color: var(--color-ivory);
  border-color: var(--color-green-deep);
}

.lang-switch__btn:hover { background: var(--color-wine); color: var(--color-ivory); border-color: var(--color-wine); }

.header-cta {
  display: inline-block;
  padding: 0.45em 1.2em;
  border-radius: 999px;
  background: var(--color-wine);
  color: var(--color-ivory);
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--color-wine-deep);
}

/* Hero ------------------------------------------------------------ */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 4.5em 1.2em 4em;
  background: var(--color-ivory);
}

.hero__decor {
  position: absolute;
  width: 130px;
  height: 180px;
  opacity: 0.25;
  top: -10px;
  z-index: 1;
}

.hero__decor--left { left: -10px; color: var(--color-green-soft); transform: rotate(-8deg); }
.hero__decor--right { right: -10px; color: var(--color-wine); transform: rotate(8deg) scaleX(-1); }

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 0.6em;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  color: var(--color-green);
}

.hero__title {
  font-family: var(--font-handwritten);
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  color: var(--color-wine-deep);
}

.hero__lead {
  margin: 1em auto 0;
  max-width: 46em;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--color-green-deep);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin-top: 2em;
}

.hero__cta {
  display: inline-block;
  padding: 0.75em 2em;
  background: var(--color-wine);
  color: var(--color-ivory);
  text-decoration: none;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  background: var(--color-wine-deep);
  transform: translateY(-2px);
}

.hero__cta--ghost {
  background: transparent;
  color: var(--color-wine);
  border: 1px solid var(--color-wine);
  box-shadow: none;
}

.hero__cta--ghost:hover,
.hero__cta--ghost:focus-visible {
  background: var(--color-wine);
  color: var(--color-ivory);
}

/* Sections --------------------------------------------------------- */

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5em 1.2em;
}

.section--center { text-align: center; }

.section__title {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  color: var(--color-green-deep);
  margin-bottom: 0.3em;
  text-align: center;
}

.section__lead {
  max-width: 42em;
  margin: 0 auto 1em;
  text-align: center;
  color: var(--color-green);
}

.section__flourish {
  display: block;
  width: 64px;
  height: 20px;
  margin: 0.4em auto 1.3em;
  color: var(--color-wine);
}

.section--alt {
  background: var(--color-ivory-deep);
}

/* Steps ("Jak to funguje") ------------------------------------------ */

.steps {
  display: grid;
  gap: 1.6em;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2em;
}

.step {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 1.8em 1.5em;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  display: block;
  margin-bottom: 0.3em;
}

.step__title {
  font-size: 1.15rem;
  color: var(--color-wine);
  margin-bottom: 0.4em;
}

.step p { margin: 0; }

/* Features ------------------------------------------------------------ */

.features {
  display: grid;
  gap: 1.4em;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2em;
}

.feature {
  text-align: left;
  padding: 1.4em 0.2em;
}

.feature__title {
  font-size: 1.05rem;
  color: var(--color-green-deep);
  margin-bottom: 0.3em;
}

.feature__title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6em;
  background: var(--color-wine);
  border-radius: 0 70% 0 70%;
  transform: rotate(-45deg);
}

.feature p { margin: 0; color: var(--color-green); }

/* Showcase --------------------------------------------------------- */

.showcase {
  max-width: 640px;
  margin: 2em auto 0;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 70px 16px 70px 16px;
  box-shadow: var(--shadow-soft);
  padding: 2.4em 2em;
  text-align: center;
}

.showcase__url {
  display: inline-block;
  margin-top: 0.6em;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-wine);
}

/* CTA / contact ------------------------------------------------------- */

.cta-panel {
  max-width: 640px;
  margin: 2em auto 0;
  text-align: center;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 2.4em 2em;
}

.cta-panel__email {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 1.8em;
  border-radius: 999px;
  background: var(--color-wine);
  color: var(--color-ivory);
  text-decoration: none;
}

.cta-panel__email:hover,
.cta-panel__email:focus-visible {
  background: var(--color-wine-deep);
}

.cta-panel__note {
  margin: 1em 0 0;
  font-size: 0.85rem;
  color: var(--color-green);
}

/* Legal (privacy page) ------------------------------------------------ */

.legal { max-width: 720px; }

.legal__body { text-align: left; }

.legal__body h2 {
  font-size: 1.2rem;
  color: var(--color-wine);
  margin: 1.6em 0 0.5em;
}

.legal__body h2:first-child { margin-top: 0; }

.legal__body p { margin: 0 0 1em; }

.legal__back { margin-top: 2em; }

/* Footer -------------------------------------------------------------- */

.site-footer {
  padding: 2em 1.2em 3em;
  text-align: center;
  border-top: 1px solid var(--color-ivory-deep);
}

.site-footer__brand {
  display: inline-block;
  margin-bottom: 0.4em;
}

.site-footer__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-green);
}

.site-footer__legal {
  margin: 0.6em 0 0;
  font-size: 0.8rem;
}

.site-footer__legal a {
  color: var(--color-green);
}

/* Responsive tweaks ----------------------------------------------------- */

@media (min-width: 600px) {
  .site-header__inner { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .main-nav ul { gap: 0.8em; justify-content: center; width: 100%; }
  .site-header__inner { justify-content: center; }
  .header-right { width: 100%; justify-content: center; }
  .hero__decor { width: 90px; height: 130px; }
  .showcase { border-radius: 40px 14px 40px 14px; padding: 1.8em 1.3em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__cta { transition: none; }
}
