/* ============================================================
   PERÓN FEST vol. 3 — statická landing page
   Desktop = věrná replika A3 plakátu, mobil = jednosloupcový layout
   ============================================================ */

/* ---------- Fonty (self-hosted WOFF2) ---------- */
@font-face {
  font-family: "Eloquia Display";
  src: url("../fonts/EloquiaDisplay-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Eloquia Display";
  src: url("../fonts/EloquiaDisplay-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Eloquia Display";
  src: url("../fonts/EloquiaDisplay-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Eloquia Display";
  src: url("../fonts/EloquiaDisplay-ExtraBold.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Minion Pro";
  src: url("../fonts/MinionPro-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Ladislav";
  src: url("../fonts/Ladislav-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}

/* ---------- Barevná paleta ---------- */
:root {
  --tyrkys:    #5FC4DE;
  --zluta:     #F7B83D;
  --fialova:   #984F9A;
  --tmtyrk:    #207D8C;
  --ruzova:    #EB82B3;
  --modrofial: #6877B4;
  --cerna:     #1A1A1A;
  --bila:      #FFFFFF;
  --seda:      #9a9a9a;

  --sans: "Eloquia Display", "Arial", sans-serif;
  --serif: "Minion Pro", Georgia, serif;
  --script: "Ladislav", Georgia, serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--bila);
  background-color: #161512;
  position: relative;
  overflow-x: hidden;
}
/* Pozadí (jízdenková textura) pootočené o 45° */
body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200vmax;
  height: 200vmax;
  background-image: url("../img/bg-tickets.jpg");
  background-size: cover;
  background-position: center;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center center;
  z-index: -1;
  pointer-events: none;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Budoucí header/footer landmarky */
.site-header { /* připraveno pro budoucí navigaci */ }

/* ============================================================
   POSTER — desktop A3 replika
   ============================================================ */
.site-main {
  display: flex;
  justify-content: center;
  padding: clamp(0px, 2vw, 32px);
}

.poster {
  position: relative;
  width: 100%;
  max-width: 880px;
  aspect-ratio: 70 / 99;          /* poměr A3 portrait */
  container-type: inline-size;     /* typografie škáluje přes cqw */
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  overflow: hidden;
}
/* Pozadí plakátu (jízdenková textura) pootočené o 45° */
.poster::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background-image: url("../img/bg-tickets.jpg");
  background-size: cover;
  background-position: center;
  transform: translate(-50%, -50%) rotate(45deg);
  transform-origin: center center;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Dekorativní mozaika ---------- */
.mosaic { position: absolute; inset: 0; }
.mosaic .b { position: absolute; }

.tyrkys    { background-color: var(--tyrkys); }
.zluta     { background-color: var(--zluta); }
.fialova   { background-color: var(--fialova); }
.tmtyrk    { background-color: var(--tmtyrk); }
.ruzova    { background-color: var(--ruzova); }
.modrofial { background-color: var(--modrofial); }

/* ---------- Obsahové bloky (společné) ---------- */
.block {
  position: absolute;
  background: var(--cerna);
  margin: 0;
}

/* ---------- TITULEK ---------- */
.title-block {
  left: 7%; top: 3.9%;
  width: 86%; height: 33%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5cqw 3.5cqw 2cqw;
}
.title {
  margin: 0;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -0.01em;
}
.title-peron,
.title-fest { display: block; white-space: nowrap; }

.title-peron {
  font-size: 17.5cqw;
}
/* Dvoubarevné vodorovné pásy s bílým proužkem (jako na plakátu) */
.seg {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.seg-a { background-image: linear-gradient(to bottom,
          var(--tyrkys) 0 53%, var(--bila) 53% 61%, var(--zluta) 61% 100%); }
.seg-b { background-image: linear-gradient(to bottom,
          var(--tmtyrk) 0 53%, var(--bila) 53% 61%, var(--zluta) 61% 100%); }
.seg-c { background-image: linear-gradient(to bottom,
          var(--tmtyrk) 0 53%, var(--bila) 53% 61%, var(--fialova) 61% 100%); }

.title-fest {
  font-size: 17.5cqw;
  margin-top: .06em;
  display: flex;
  align-items: baseline;
  gap: .12em;
}
.fest-word { color: var(--zluta); }
.fest-vol  { color: var(--zluta); font-size: .42em; align-self: flex-end; margin-bottom: .12em; }
.fest-vol .dot { color: var(--bila); }
.fest-three { color: var(--fialova); font-size: 1.25em; line-height: .8; }

.evita {
  margin: 1.4cqw 0 0;
  font-family: var(--script);
  font-weight: 600;
  font-size: 4.6cqw;
  color: var(--zluta);
}

/* ---------- INFO BLOK ---------- */
.info-block {
  left: 35.5%; top: 43.0%;
  width: 62.7%; height: 17.6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1cqw 2.2cqw;
}
.info-block p { margin: 0; }
.info-line1 {
  font-weight: 700;
  font-size: 4.9cqw;
  line-height: 1.06;
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: .2em;
  color: var(--bila);
}
.info-line1 .datum { color: var(--ruzova); }
.info-line1 .rok   { color: var(--seda); font-size: .52em; }
.info-line1 .cas,
.info-line1 .mesto { color: var(--bila); }
.info-line2 {
  font-weight: 600;
  font-size: 4.2cqw;
  line-height: 1.12;
  margin-top: .25em;
  white-space: nowrap;
  color: var(--bila);
}
.info-line3 {
  font-weight: 500;
  font-size: 2.85cqw;
  line-height: 1.2;
  margin-top: 1cqw;
  white-space: nowrap;
  color: var(--seda);
}
.gps { color: var(--seda); text-decoration: none; white-space: nowrap; }
.gps:hover, .gps:focus { color: var(--tyrkys); text-decoration: underline; }

/* ---------- LINEUP ---------- */
.lineup-block {
  left: 5.0%; top: 58.8%;
  width: 52.7%; height: 30.2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1cqw 3cqw;
}
.lineup {
  list-style: none;
  margin: 0; padding: 0;
}
.lineup li {
  line-height: 1.24;
  margin: 0;
  white-space: nowrap;
}
.band {
  font-weight: 700;
  font-size: 3.9cqw;
  color: var(--zluta);
  text-decoration: none;
}
a.band { cursor: pointer; transition: color .15s ease; }
a.band:hover,
a.band:focus-visible { color: var(--tyrkys); text-decoration: underline; }
.genre {
  font-weight: 500;
  font-size: 2.45cqw;
  color: var(--ruzova);
}
.entry {
  margin: .9cqw 0 0;
  font-weight: 500;
  font-size: 3.0cqw;
}
.entry-1 { color: var(--zluta); }
.entry-2 { color: var(--tyrkys); }

/* ---------- PATIČKA / SPONZOŘI + SOCIÁLNÍ SÍTĚ ---------- */
.site-footer {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  background: var(--cerna);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.1cqw 2.5cqw 1.3cqw;
  gap: .9cqw;
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6cqw;
}
.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3cqw;
  height: 3.3cqw;
  color: var(--bila);
  border-radius: 50%;
  transition: color .15s ease, transform .15s ease;
}
.socials svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.socials a:hover,
.socials a:focus-visible {
  color: var(--zluta);
  transform: translateY(-1px);
  outline: none;
}
.sponsors {
  width: 94%;
  height: auto;
}

/* ---------- Accent bar (skrytý na desktopu) ---------- */
.accent-bar { display: none; }

/* ============================================================
   MOBIL / TABLET — jednosloupcový layout (do 768px)
   ============================================================ */
@media (max-width: 768px) {
  .site-main { display: block; padding: 0; }

  .poster {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: auto;
    container-type: normal;
    overflow: hidden;
    box-shadow: none;
    background: none;
    display: flex;
    flex-direction: column;
  }
  /* Na mobilu prosvítá pootočené pozadí z body::before */
  .poster::before { display: none; }

  /* Dekorativní mozaika nahrazena accent barem */
  .mosaic { display: none; }

  /* Všechny bloky do normálního toku */
  .block,
  .site-footer {
    position: static;
    left: auto; top: auto; bottom: auto;
    width: 100%; height: auto;
  }

  /* --- Titulek --- */
  .title-block {
    padding: 30px 20px 26px;
    align-items: center;
    text-align: center;
  }
  .title { line-height: .92; }
  .title-peron { font-size: 17vw; }
  .title-fest  { font-size: 17vw; justify-content: center; }
  .fest-vol { margin-bottom: .1em; }
  .evita { font-size: 5.6vw; margin-top: 14px; }

  /* --- Accent bar --- */
  .accent-bar {
    display: flex;
    height: 14px;
    width: 100%;
  }
  .accent-bar span { flex: 1; }

  /* --- Info blok --- */
  .info-block {
    padding: 26px 20px;
    align-items: center;
    text-align: center;
  }
  .info-line1 {
    font-size: 6.6vw;
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.15;
  }
  .info-line2 { font-size: 5.6vw; white-space: normal; line-height: 1.2; }
  .info-line3 { font-size: 3.5vw; white-space: normal; line-height: 1.35; margin-top: 12px; }
  .info-line1 .rok { font-size: .5em; }

  /* --- Lineup --- */
  .lineup-block { padding: 28px 20px; }
  .lineup li { margin: .45em 0; line-height: 1.22; white-space: normal; }
  .band  { font-size: 6.2vw; }
  .genre { font-size: 3.8vw; }
  .entry { font-size: 4.6vw; margin-top: 20px; }

  /* --- Sponzoři + sociálky --- */
  .site-footer { padding: 22px 14px 20px; gap: 18px; }
  .socials { gap: 22px; }
  .socials a { width: 34px; height: 34px; }
  .sponsors { width: 100%; }
}

/* Velmi úzké telefony */
@media (max-width: 360px) {
  .lineup li { line-height: 1.3; }
  .genre { font-size: 3.8vw; }
}
