/* ===== Natřije – static site ===== */
:root {
  --navy: #181061;
  --navy-dark: #06163a;
  --accent: var(--navy);          /* the one highlight colour (titles Koncerty / Videa) */
  --accent-hover: #2b1f9a;
  --green: #2ebd59;
  --green-hover: #61ce70;
  --dark: #0c0c0c;
  --grey: #d1d1d1;
  --grey-2: #848484;
  --white: #fff;
  --max: 1140px;
  --font: "Josefin Sans", system-ui, sans-serif;
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--white);
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: 1.5rem; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--light { background: var(--white); color: var(--navy-dark); }
.section--light h2 { color: var(--navy); }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 10px; top: 10px; z-index: 1000; background: #fff; color: #000; padding: 8px 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 30px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  background: var(--white);
  color: var(--navy-dark);
  box-shadow: 0 0 10px rgba(0,0,0,.5);
  white-space: nowrap;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover, .btn:focus-visible { background: var(--navy-dark); color: var(--white); }
.btn--green { background: var(--green); color: var(--white); box-shadow: none; padding: 8px 18px; }
.btn--green:hover, .btn--green:focus-visible { background: var(--green-hover); color: var(--white); }
.btn--accent { background: var(--accent); color: var(--white); box-shadow: none; }
.btn--accent:hover, .btn--accent:focus-visible { background: var(--accent-hover); color: var(--white); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--navy);
  box-shadow: 0 1px 8px rgba(0,0,0,.15);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: var(--header-h);
}
.logo img { height: 50px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.nav a {
  display: block; padding: 10px 14px;
  text-decoration: none; font-weight: 600; font-size: 1.05rem; white-space: nowrap;
  color: var(--navy); position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 3px; background: var(--navy); transform: scaleX(0); transition: transform .2s;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy);
}
.menu-toggle svg { width: 30px; height: 30px; }

/* ---- Social icons ---- */
.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 50%; color: inherit; transition: color .2s, transform .2s;
}
.social a:hover { background: var(--accent); color: var(--white); transform: scale(1.12); }
.social i { font-size: 1.15rem; }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: min(calc(100vh - var(--header-h)), 820px);
  display: grid; place-items: center; text-align: center;
  background: #000 url("../img/hero.jpg") center 15% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.5) 55%, rgba(0,0,0,0) 100%);
}
.hero__logo { width: min(520px, 80vw); margin: 0 auto; filter: invert(1) drop-shadow(0 4px 20px rgba(0,0,0,.6)); }

/* ---- Page title band ---- */
.page-title {
  padding: 70px 0 40px; text-align: center;
  background: linear-gradient(180deg, #000 0%, var(--dark) 100%);
}
.page-title .section-title { margin: 0; }

/* ---- Section titles: spaced uppercase with a thin line above ---- */
.section-title {
  margin: 0 0 36px; text-align: center;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.3;
  text-transform: uppercase; letter-spacing: .25em;
}
.section-title::before {
  content: ""; display: block; width: 60px; height: 1px; margin: 0 auto 22px; background: currentColor;
}

/* ---- About ---- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about img { border-radius: 4px; }
.about h2 { color: var(--navy); }
.about p { margin: 0 0 1em; }

/* ---- Videos ---- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.video-grid--featured { grid-template-columns: 1fr; max-width: 900px; margin: 0 auto 24px; }
.video-grid--pair { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 900px; margin: 0 auto; }
.video { margin: 0; }
.video figcaption { margin-top: 10px; font-weight: 600; }
.yt {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: #000 center / cover no-repeat; border: 0; padding: 0; cursor: pointer;
  display: block; overflow: hidden;
}
.yt::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 68px; height: 48px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="%23ff0000"/><path d="M45 24 27 14v20" fill="white"/></svg>') center / contain no-repeat;
  transition: transform .2s;
}
.yt:hover::after { transform: scale(1.1); }
.yt.is-playing::after { display: none; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Gallery ---- */
.gallery { columns: 4 240px; column-gap: 10px; }
.gallery a {
  display: block; margin-bottom: 10px; break-inside: avoid; position: relative; overflow: hidden;
}
.gallery a::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; }
.gallery a:hover::after { background: rgba(0,0,0,.5); }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.05); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font-size: 2.5rem; line-height: 1; padding: 16px; opacity: .8;
}
.lightbox button:hover { opacity: 1; }
.lightbox__close { top: 10px; right: 10px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: .9rem; opacity: .7; }

/* ---- Music ---- */
.music { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.music__links { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.music__links a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px;
  background: rgba(255,255,255,.06); border-radius: 6px; text-decoration: none; font-weight: 600;
  transition: background .2s;
}
.music__links a:hover { background: rgba(255,255,255,.14); }
.music__links i { font-size: 1.5rem; width: 28px; text-align: center; }
.embed { width: 100%; border: 0; border-radius: 12px; }

/* ---- Concerts ---- */
.concerts { max-width: 900px; margin: 0 auto; }
.bit-widget-initializer { color: var(--white); }

/* ---- Promoters ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.card { background: rgba(255,255,255,.05); border-radius: 8px; padding: 30px; }
.card h2 { font-size: 1.6rem; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { margin-bottom: 10px; }
.card a { text-decoration: none; }
.card a:hover { text-decoration: underline; }
.downloads a { display: flex; align-items: center; gap: 10px; }
.downloads a::before { content: "↓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: .8rem; font-weight: 700; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .95rem; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid #444;
  background: #0f0f0f; color: #fff; font: inherit; font-size: 1rem;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent-hover); border-color: transparent; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.form textarea { min-height: 140px; resize: vertical; }

/* ---- Follow us (social links) ---- */
.follow { text-align: center; }
.follow__links {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1040px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}
.follow__links a {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  height: 100%; padding: 32px 12px 26px;
  border: 1px solid rgba(255,255,255,.28); background: var(--dark);
  color: var(--white); text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}
.follow__links i { font-size: 2rem; margin-bottom: 8px; }
.follow__name { font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; }
.follow__action { font-size: .85rem; color: rgba(255,255,255,.6); letter-spacing: .05em; transition: color .25s; }
.follow__links a:hover, .follow__links a:focus-visible { background: var(--white); color: var(--dark); border-color: var(--white); }
.follow__links a:hover .follow__action, .follow__links a:focus-visible .follow__action { color: var(--accent); }
.follow__links li { flex: 1 1 0; min-width: 0; }
@media (max-width: 900px) { .follow__links li { flex: 0 0 calc((100% - 32px) / 3); } }
@media (max-width: 520px) { .follow__links li { flex: 0 0 calc((100% - 16px) / 2); } }

/* ---- Contact (home): full-height black & white photo, centred text ---- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100vh, 900px);
  display: grid; place-items: center; text-align: center;
  padding: 120px 0;
  background: var(--dark); color: var(--white);
}
.contact.brush-top-dark { overflow: visible; }
.contact__bg {                       /* photo in black & white, darkened and faded into the black above/below */
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, var(--dark) 0%, rgba(12,12,12,.72) 20%, rgba(12,12,12,.72) 70%, var(--dark) 100%),
    url("../img/contact-bg.jpg") center / cover no-repeat;
  filter: grayscale(1);
}
.contact__line { margin: .3em 0; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 400; letter-spacing: .02em; }
.contact .container { text-shadow: 0 1px 12px rgba(0,0,0,.85); }
.contact__line a { text-decoration: none; }
.contact__line a:hover { text-decoration: underline; text-underline-offset: 6px; }
.contact__rule { width: 120px; margin: 44px auto; border: 0; border-top: 1px solid rgba(255,255,255,.35); }
/* spaced uppercase "more" link (Více na YouTube, Pro pořadatele) */
.more-link { margin: 0; text-align: center; font-size: .95rem; font-weight: 600; text-transform: uppercase; letter-spacing: .3em; }
.more-link a { text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: opacity .2s; }
.more-link a:hover, .more-link a:focus-visible { opacity: .65; }

/* ---- Subpage top band (black & white photo, like the home contact section) ---- */
.page-hero {
  position: relative; isolation: isolate;
  min-height: min(60vh, 560px); padding: 80px 0 100px;
  display: grid; place-items: center; text-align: center; color: var(--white);
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,12,12,.55) 0%, rgba(12,12,12,.75) 100%),
    url("../img/poradatele-bg.jpg") center / cover no-repeat;
  filter: grayscale(1);
}
.page-hero__logo img { width: 150px; height: auto; margin: 0 auto 40px; transition: opacity .2s; }
.page-hero__logo:hover img { opacity: .75; }
.page-hero .section-title { margin: 0; }

/* plain centred info lines (contact, billing) */
.info-line { margin: .3em 0; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.info-line a { text-decoration: none; }
.info-line a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* contact form on white */
.form--light { max-width: 560px; margin: 48px auto 0; text-align: left; }
.form--light input, .form--light textarea {
  background: var(--white); color: var(--dark); border: 1px solid #cfcfd6; border-radius: 0;
}
.form--light input:focus, .form--light textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; box-shadow: none; }
.form--light .more-link { margin-top: 18px; }
.more-link button {
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit;
  background: none; border: 0; padding: 0 0 6px; border-bottom: 1px solid currentColor; cursor: pointer; transition: opacity .2s;
}
.more-link button:hover, .more-link button:focus-visible { opacity: .65; }

/* downloads: big white icons with a spaced label, like the social links */
.dl-links {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(16px, 4vw, 56px);
}
.dl-links a {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  width: 150px; padding: 24px 8px; border-radius: 12px; background: var(--dark);
  color: var(--white); text-decoration: none; transition: background .2s, color .2s, transform .2s;
}
.dl-links i { font-size: 3.2rem; }
.dl-links span { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; text-align: center; }
.dl-links a:hover, .dl-links a:focus-visible { background: var(--white); color: var(--dark); transform: translateY(-4px); }

/* ---- Prose ---- */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose a { color: inherit; text-decoration: underline; }

/* ---- Paint splatters thrown into section backgrounds ---- */
.hero, .section, .contact { position: relative; }
.splats { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.splats { --k: 1.25; --alpha: .45; }   /* overall splatter size and transparency */
.splat {
  position: absolute; left: var(--x); top: var(--y); width: calc(var(--s) * var(--k)); max-width: none;
  transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scaleX(var(--fx, 1)); opacity: calc(var(--o, 1) * var(--alpha));
}
.splat--flick { width: var(--s); }    /* full-width thrown trails keep their own size */
.hero > .container, .page-hero > .container, .section > .container, .contact > .container { position: relative; z-index: 1; }

/* ---- Brush-stroke edges (same SVGs as the original site, squashed to 50 % of their
   natural height). Put the class on the section whose colour the brush should have. ---- */
.brush-top-light, .brush-top-dark, .brush-bottom-light, .brush-bottom-dark { position: relative; }
.brush-top-light::before, .brush-top-dark::before, .brush-bottom-light::after, .brush-bottom-dark::after {
  content: ""; position: absolute; left: 0; width: 100%; z-index: 1; pointer-events: none;
  background: center / 100% 100% no-repeat;
}
.brush-top-light::before, .brush-top-dark::before { bottom: 100%; aspect-ratio: 1103 / 24; margin-bottom: -2px; }
.brush-bottom-light::after, .brush-bottom-dark::after { top: 100%; aspect-ratio: 1076 / 20.5; margin-top: -2px; }
.brush-top-light::before    { background-image: url("../img/brush-top.svg"); }
.brush-top-dark::before     { background-image: url("../img/brush-top-dark.svg"); }
.brush-bottom-light::after  { background-image: url("../img/brush-bottom.svg"); }
.brush-bottom-dark::after   { background-image: url("../img/brush-bottom-dark.svg"); }

/* ---- Footer ---- */
.site-footer { background: var(--dark); padding: 50px 0 30px; text-align: center; font-size: .95rem; color: var(--grey); }
.site-footer .logo img { height: 60px; margin: 0 auto 20px; }
.site-footer .social { justify-content: center; margin-bottom: 20px; color: var(--white); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer p { margin: .4em 0; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .header-actions .social { display: none; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,.98); box-shadow: 0 8px 16px rgba(0,0,0,.15);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; padding: 10px 0; }
  .nav a { padding: 14px 24px; }
  .nav a::after { left: 24px; right: auto; width: 40px; }
  .about, .music { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 480px) {
  .btn--green { display: none; }
  .video-grid { grid-template-columns: 1fr; }
}
