/* v1.1.3 – Haly v Nehvizdech – Spolek pro udržitelný rozvoj Nehvizd a okolí
   Světlá varianta landing page s videem. */

:root {
  --navy: #144b35; /* tmavě zelená z původního návrhu (dřív navy) */
  --navy-deep: #0d3625;
  --green: #62aa23;
  --green-dark: #3f7a12;
  --ink: #0f1f3a;
  --muted: #5b6b80;
  --line: #dfe4ea;
  --tint: #eef6e4;
  --tint-border: #cfe3b8;
  --paper: #f7f6f2;
  --white: #ffffff;
  --font-display: "Bricolage Grotesque", "Arial Black", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--green-dark); }
h1, h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.05; color: var(--navy); margin: 0; }
p { margin: 0; }
button { font: inherit; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* Hlavička */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { width: 60px; height: 60px; border-radius: 999px; object-fit: cover; border: 1px solid var(--line); }
.brand__name { display: flex; flex-direction: column; line-height: 1.1; font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand__name-a { color: var(--navy); }
.brand__name-b { color: var(--green); }

.social { display: flex; align-items: center; gap: 10px; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--tint); color: var(--navy); text-decoration: none;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.social__link:hover { background: var(--green); color: var(--white); transform: translateY(-1px); }
.social__link[hidden] { display: none; }

/* Scéna s videem */
.stage { position: relative; overflow: hidden; flex: 1; background: linear-gradient(180deg, #ffffff 0%, #f6f9f1 100%); }
.stage__circle { position: absolute; pointer-events: none; }
.stage__circle--left { left: -120px; bottom: -60px; opacity: 0.22; }
.stage__circle--right { right: -160px; top: -200px; opacity: 0.12; }
.stage__waves { position: absolute; left: 0; right: 0; top: 300px; width: 100%; height: 420px; pointer-events: none; }
.stage__inner { position: relative; z-index: 1; padding: 28px var(--gutter) 72px; display: flex; flex-direction: column; align-items: center; gap: 28px; }

.intro { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--tint-border); color: var(--green-dark);
  font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.title { font-size: clamp(38px, 5vw, 64px); }

.player {
  width: 100%; max-width: 1040px; padding: 12px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(13, 54, 37, 0.18);
}
.player__video { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #0b1a33; object-fit: cover; }

.share { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; flex-wrap: wrap; justify-content: center; }
.share__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); color: var(--navy); cursor: pointer; text-decoration: none; padding: 0;
  transition: background-color .15s ease, color .15s ease;
}
.share__btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.share__toast { font-size: 14px; color: var(--green-dark); font-weight: 700; min-height: 1em; }

/* Patička */
.site-footer { background: var(--white); border-top: 1px solid var(--line); color: var(--muted); }
.site-footer__inner { padding: 36px var(--gutter) 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer__brand { display: flex; align-items: center; gap: 16px; }
.site-footer__logo { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.site-footer__text { display: flex; flex-direction: column; gap: 2px; }
.site-footer__name { font-weight: 700; color: var(--navy); font-size: 16px; }
.site-footer__sub { font-size: 14px; }
.site-footer__bottom { border-top: 1px solid var(--line); }
.site-footer__bottom-inner { padding: 16px var(--gutter) 22px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: #8a97a8; flex-wrap: wrap; }
.linklike { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }
.linklike:hover { color: var(--navy); }

/* Tlačítka */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer; text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Cookie lišta */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 50;
  display: flex; justify-content: center;
}
.cookie[hidden] { display: none; }
.cookie__inner {
  width: 100%; max-width: 760px; background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 20px 22px; box-shadow: 0 20px 60px rgba(13, 54, 37, 0.22);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cookie__text { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.cookie__title { color: var(--navy); font-size: 16px; }
.cookie__details { font-size: 14px; color: var(--muted); }
.cookie__details summary { cursor: pointer; color: var(--green-dark); font-weight: 700; }
.cookie__details p { margin-top: 6px; }
.cookie__details code { font-size: 13px; background: var(--paper); padding: 1px 4px; border-radius: 4px; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Responzivita */
@media (max-width: 860px) {
  .site-header__inner { min-height: 60px; }
  .brand__logo { width: 46px; height: 46px; }
  .brand__name { font-size: 11px; }
  .stage__inner { padding: 16px var(--gutter) 48px; gap: 16px; }
  .stage__waves { top: 200px; height: 320px; }
  .stage__circle--left { width: 380px; height: 380px; left: -140px; bottom: -80px; }
  .stage__circle--right { width: 380px; height: 380px; right: -140px; top: -120px; }
  .player { padding: 8px; border-radius: 18px; }
  .player__video { border-radius: 12px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 28px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
  .cookie__inner { flex-direction: column; align-items: stretch; padding: 18px; }
  .cookie__actions { justify-content: stretch; }
  .cookie__actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .social__link, .share__btn, .btn { transition: none; }
}

/* =====================================================
   Úprava podle zadání: texty z původního náhledu,
   bulvárnější tón (verzálky, červený štětec, samolepka)
   ===================================================== */
:root { --red: #e5202b; --red-dark: #b8121c; }

.brand__tagline { font-family: var(--font-body); font-weight: 400; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 3px; }

.intro { gap: 20px; }
.topic {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 18px 12px; border-radius: 12px;
  background: var(--navy); color: var(--white);
  transform: rotate(-1deg);
  box-shadow: 0 10px 30px rgba(13, 54, 37, 0.25);
}
.topic__name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1; }
.topic__desc { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.3; }

.title { font-size: clamp(42px, 6.4vw, 84px); line-height: 0.98; text-transform: uppercase; letter-spacing: -0.02em; margin-top: 4px; }
.title__accent {
  display: inline-block; margin-top: 8px; padding: 4px 18px 8px;
  color: var(--white); background: var(--red);
  transform: rotate(-1.5deg);
  box-shadow: 8px 8px 0 rgba(229, 32, 43, 0.18);
  border-radius: 6px;
}

.player { position: relative; }
.player__tag {
  position: absolute; top: -16px; right: -14px; z-index: 2;
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-weight: 800; font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 8px; transform: rotate(4deg);
  box-shadow: 0 10px 24px rgba(184, 18, 28, 0.35);
}

/* Text pod videem */
.story { background: var(--white); border-top: 1px solid var(--line); }
.story__inner { padding: 72px var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.story__head { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.eyebrow--plain { background: var(--tint); border-color: transparent; }
.story__title { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; }
.story__lead { font-size: 19px; line-height: 1.5; color: var(--navy); font-weight: 600; }
.story__body { display: flex; flex-direction: column; font-size: 19px; line-height: 1.6; color: var(--ink); }
.story__body p { padding: 18px 0; border-top: 1px solid var(--line); }
.story__body p:first-child { border-top: 0; padding-top: 0; }

/* Facebooková skupina */
.join { background: var(--white); padding: 0 0 80px; }
.join__box {
  position: relative; overflow: hidden; display: block; text-decoration: none;
  background: linear-gradient(135deg, #144b35 0%, #11412e 60%, #0d3625 100%);
  color: var(--white); border-radius: 24px; padding: 44px 48px;
  box-shadow: 0 30px 80px rgba(13, 54, 37, 0.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.join__box:hover { transform: translateY(-2px); box-shadow: 0 34px 90px rgba(13, 54, 37, 0.34); color: var(--white); }
.join__deco { position: absolute; right: -80px; top: -110px; opacity: 0.22; pointer-events: none; }
.join__text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; }
.join__title { color: var(--white); font-size: clamp(30px, 4vw, 44px); line-height: 1.05; }
.join__row { display: flex; align-items: center; gap: 18px; }
.join__fb { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; color: var(--white); flex-shrink: 0; }
.join__fb svg { width: 44px; height: 44px; }
.join__lines { display: flex; flex-direction: column; gap: 4px; }
.join__cta { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.join__url { font-size: 16px; color: rgba(255,255,255,0.75); }

/* Patička – e-mail */
.site-footer__mail { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--green-dark); text-decoration: none; font-weight: 600; }
.site-footer__mail:hover { color: var(--navy); }

@media (max-width: 860px) {
  .topic { padding: 8px 14px 10px; }
  .topic__name { font-size: 18px; }
  .topic__desc { font-size: 14px; }
  .title { font-size: clamp(32px, 9.5vw, 44px); margin-bottom: 14px; }
  .title__accent { padding: 2px 12px 6px; }
  .player__tag { top: -14px; right: 4px; min-height: 38px; font-size: 14px; padding: 0 14px; }
  .story__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 48px var(--gutter); }
  .story__head { position: static; }
  .story__body { font-size: 17px; }
  .join { padding-bottom: 56px; }
  .join__box { padding: 28px 22px; border-radius: 18px; }
  .join__row { align-items: flex-start; }
  .join__fb { width: 44px; height: 44px; }
  .join__fb svg { width: 36px; height: 36px; }
  .join__cta { font-size: 18px; }
  .join__url { display: none; }
  .site-footer__inner .social { display: none; }
}

/* Velké tlačítko přehrání přes video – jen bílá ikona a text, bez pozadí */
.player__play {
  position: absolute; inset: 12px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: auto; height: auto; padding: 0; margin: 0; border: 0; border-radius: 16px;
  background: transparent; color: var(--white); cursor: pointer;
}
.player__play[hidden] { display: none; }
.player__play-btn {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: transform .15s ease;
}
.player__play-btn svg { width: 96px; height: 96px; margin-left: 8px; }
.player__play:hover .player__play-btn, .player__play:focus-visible .player__play-btn { transform: scale(1.08); }
.player__play:focus-visible { outline: 3px solid var(--white); outline-offset: -3px; }
.player__play-label {
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6), 0 1px 2px rgba(0, 0, 0, 0.5);
}
/* Na mobilu má video vlastní nativní tlačítko přehrání, překryv skryjeme */
@media (max-width: 860px) {
  .player__play { display: none; }
}
