/* ==========================================================
   Svadobný festival — štýly
   Jednotná vizuálna identita "festivalový plagát", schéma Citrónová limonáda:
   žltý podklad, tmavomodrý ink, ružový akcent, tyrkysová ako druhý tón.
   Farby meníš tu, na jednom mieste.
   ========================================================== */

:root {
  --yellow: #FFF3C4;      /* podklad plagátu (citrónová) */
  --yellow-deep: #FCE588; /* tmavší odtieň podkladu */
  --ink: #1B2A4A;         /* text, tmavé plochy (tmavomodrá) */
  --ink-soft: #24365E;    /* tmavé karty */
  --paper: #FFFDF5;       /* svetlý text na tmavom, svetlé karty */
  --magenta: #FF5D8F;     /* hlavný akcent, tlačidlá (ružová) */
  --teal: #2EC4B6;        /* druhý akcent, focus (tyrkysová) */

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Space Mono", "Menlo", monospace;

  --measure: 62ch;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 48px);
}



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

html { scroll-behavior: smooth; }
section[id], main[id] { scroll-margin-top: 72px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(var(--yellow-deep) 2.5px, transparent 2.5px) 0 0 / 30px 30px,
    var(--yellow);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(44px, 8vw, 96px); letter-spacing: 0.01em; }
h3 { font-size: 26px; letter-spacing: 0.02em; }
p { margin: 0; }

.eyebrow, .tab-date, .count-label, .stage, .dress-when, time {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ---------- Tlačidlá ---------- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  line-height: 1;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 5px 5px 0 var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--magenta); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.section-ink .btn-ghost { color: var(--paper); border-color: var(--paper); box-shadow: 5px 5px 0 var(--paper); }

/* ---------- Horná lišta ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  padding: 12px var(--gutter);
  background: var(--ink); color: var(--paper);
  border-bottom: 3px solid var(--magenta);
}
.brand { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; }
.header-countdown { display: flex; gap: 8px; font-family: var(--font-mono); }
.hc-unit { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hc-num { font-weight: 700; font-size: 17px; background: var(--magenta); color: var(--paper); border-radius: var(--radius); padding: 4px 7px; min-width: 30px; text-align: center; }
.hc-label { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; opacity: .8; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 40px; border: 2px solid var(--paper); border-radius: var(--radius); background: transparent; cursor: pointer; padding: 8px 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; background: var(--paper); border-radius: 2px; }
.nav-toggle:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: 0.02em; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a:focus-visible { border-bottom-color: var(--yellow); outline: none; }
.lang { display: flex; border: 2px solid var(--paper); border-radius: var(--radius); overflow: hidden; }
.lang-btn { background: transparent; color: var(--paper); border: 0; padding: 6px 12px; font: 700 13px var(--font-mono); cursor: pointer; letter-spacing: .08em; }
.lang-btn[aria-pressed="true"] { background: var(--yellow); color: var(--ink); }
.lang-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* ---------- Hero / plagát ---------- */
.hero {
  padding: 0 var(--gutter) 48px;
  display: grid;
  gap: 28px;
  justify-items: start;
  max-width: 1100px; margin: 0 auto;
  position: relative;
}
.hero-photo-block {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: clamp(40px, 8vw, 96px) var(--gutter) 44px;
  display: grid;
  gap: 20px;
  justify-items: start;
  background:
    linear-gradient(color-mix(in srgb, var(--yellow) 40%, transparent), color-mix(in srgb, var(--yellow) 40%, transparent)),
    url("../img/hero-09.jpg") center 35% / cover no-repeat;
}
.hero-divider {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  margin-top: -28px;
  height: 14px;
  background: var(--ink);
  position: relative;
}
.hero-divider::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -11px;
  height: 14px;
  background-image: radial-gradient(circle at 12px 3px, var(--yellow) 12px, transparent 12.5px);
  background-size: 24px 24px;
  background-repeat: repeat-x;
}
.photos-strip-section { padding: 0; }
.photo-strip {
  display: flex;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  height: clamp(140px, 22vw, 260px);
  border-top: 5px solid var(--ink);
  border-bottom: 5px solid var(--ink);
}
.photo-tile {
  position: relative;
  flex: 1 1 0;
  overflow: hidden;
  background: var(--paper);
}
.photo-tile + .photo-tile { border-left: 3px solid var(--ink); }
.photo-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease;
}
.photo-tile img.is-active { opacity: 1; }
.festival-tag { font-family: var(--font-display); font-size: clamp(26px, 4vw, 44px); text-transform: uppercase; letter-spacing: .08em; color: var(--paper); background: var(--magenta); padding: 6px 16px; transform: rotate(-2deg); margin-bottom: 8px; }

.poster-title {
  font-size: clamp(64px, 15vw, 190px);
  display: grid;
  line-height: 0.88;
}
.poster-title .amp { color: var(--magenta); font-size: 0.6em; margin-left: 0.5em; line-height: 1; }
.poster-title .name { position: relative; }
.hero-meta { display: flex; flex-direction: column; gap: 6px; }
.poster-sub { font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 36px); text-transform: uppercase; letter-spacing: 0.04em; display: flex; flex-wrap: wrap; gap: 0 14px; margin: 0; }
.poster-sub .dot { color: var(--magenta); }
.hero-tagline {
  font-family: var(--font-body); font-weight: 700; font-style: italic;
  font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .01em;
  color: var(--ink); margin: 0;
}
.hero-intro { font-size: 19px; max-width: var(--measure); margin: 18px 0 0; }

/* line-up ako na plagáte */
.lineup {
  list-style: none; margin: 8px 0 0; padding: 0;
  width: 100%;
  border-top: 3px solid var(--ink);
}
.lineup li {
  display: grid; grid-template-columns: 130px 1fr; align-items: baseline; gap: 6px 16px;
  padding: 14px 0; border-bottom: 3px solid var(--ink);
}
.lineup .day { font-family: var(--font-mono); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.lineup .act { font-family: var(--font-display); font-size: clamp(28px, 5vw, 56px); text-transform: uppercase; line-height: 1; }
.lineup .headliner .act { color: var(--magenta); font-size: clamp(36px, 7vw, 80px); }
.lineup .stage { opacity: .75; grid-column: 2; }

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* bežiaci pás */
.marquee { position: relative; overflow: hidden; background: var(--ink); color: var(--yellow); border-block: 3px solid var(--ink); }
.marquee::before {
  content: ""; position: absolute; top: -11px; left: 0; right: 0; height: 14px;
  background-image: radial-gradient(circle at 12px 14px, var(--yellow) 12px, transparent 12.5px);
  background-size: 24px 24px; background-repeat: repeat-x;
}
.marquee-track { display: flex; width: max-content; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 0; animation: marquee 28s linear infinite; }
.marquee-track span { white-space: nowrap; padding-right: 1em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekcie ---------- */
.section { padding: clamp(56px, 9vw, 120px) var(--gutter); }
.section > * { max-width: 1100px; margin-inline: auto; }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; }
.section-head p { max-width: var(--measure); font-size: 19px; }
.section-alt {
  background:
    repeating-linear-gradient(135deg, var(--yellow) 0 3px, transparent 3px 26px),
    var(--paper);
  border-block: 3px solid var(--ink);
}
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink h2 { color: var(--yellow); }

/* ---------- Dôležité informácie ---------- */
.info-list { display: grid; border-top: 3px solid var(--ink); }
.info-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 40px; padding: 28px 0; border-bottom: 3px solid var(--ink); align-items: start; }
.info-head { display: grid; gap: 10px; }
.info-kw { font-size: clamp(30px, 4vw, 48px); color: var(--magenta); line-height: 0.95; }
.info-text { font-size: 19px; max-width: var(--measure); padding-top: 6px; }
@media (max-width: 720px) { .info-item { grid-template-columns: 1fr; gap: 10px; } }

/* ---------- Program ---------- */
.tabs { display: flex; gap: 0; border: 3px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.tab { flex: 1; background: transparent; border: 0; border-right: 3px solid var(--ink); padding: 14px 10px; cursor: pointer; display: grid; gap: 2px; color: var(--ink); font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .04em; }
.tab:last-child { border-right: 0; }
.tab.is-active { background: var(--ink); color: var(--yellow); }
.tab:focus-visible { outline: 3px solid var(--magenta); outline-offset: -3px; }
.tab-date { font-weight: 400; opacity: .8; }

.day-intro { font-size: 19px; max-width: var(--measure); margin-bottom: 24px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-top: 2px solid var(--ink); }
.timeline li:last-child { border-bottom: 2px solid var(--ink); }
.timeline time { font-weight: 700; font-size: 14px; padding-top: 4px; font-variant-numeric: tabular-nums; }
.timeline strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1.05; margin-bottom: 4px; }
.timeline span { display: block; max-width: var(--measure); }

/* ---------- RSVP ---------- */
.rsvp-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
label, legend { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); padding: 0; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--paper); border: 3px solid var(--paper); border-radius: var(--radius);
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(232, 0, 111, .35); }
textarea { resize: vertical; }
.choices { display: flex; gap: 10px; flex-wrap: wrap; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 2px solid var(--paper); border-radius: 999px; cursor: pointer; font-family: var(--font-body); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--paper); }
.choice:has(input:checked) { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.choice input { accent-color: var(--magenta); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.section-ink .btn-primary { box-shadow: 5px 5px 0 var(--yellow); border-color: var(--yellow); }
.section-ink .btn-primary:hover { box-shadow: 7px 7px 0 var(--yellow); }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-note { font-size: 16px; opacity: .85; max-width: var(--measure); }
.form-status.is-error { color: #FF6B9E; }
.form-status.is-ok { color: var(--yellow); }

/* ---------- Karty (ubytovanie, dary) ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card { background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; box-shadow: 6px 6px 0 var(--ink); }
.card h3 { color: var(--magenta); }

/* ---------- Playlist ---------- */
.playlist-box { display: grid; gap: 20px; justify-items: start; }
.playlist-embed { width: 100%; max-width: 720px; }

/* ---------- Dary / IBAN ---------- */
.iban-box { display: grid; gap: 16px; font-size: 19px; justify-items: start; }
.iban-box p { max-width: var(--measure); }
.iban-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.iban { font-family: var(--font-mono); font-size: clamp(18px, 2.6vw, 26px); font-weight: 700; letter-spacing: .04em; background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); padding: 12px 16px; box-shadow: 5px 5px 0 var(--ink); }
.btn-small { padding: 10px 18px; font-size: 16px; }
.iban-note { font-size: 16px; opacity: .8; }
.iban-details { max-width: var(--measure); font-size: 16px; }
.iban-details summary { cursor: pointer; font-weight: 700; }
.iban-detail-list { display: grid; gap: 8px; margin: 14px 0 0; }
.iban-detail-list div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.iban-detail-list dt { opacity: .7; }
.iban-detail-list dd { margin: 0; }
.iban-detail-list dd.mono { font-family: var(--font-mono); letter-spacing: .03em; }

/* ---------- FAQ a dress code ---------- */
.dress-when { font-weight: 700; }

.faq-list { display: grid; border-top: 2px solid var(--ink); }
details { border-bottom: 2px solid var(--ink); }
summary { cursor: pointer; padding: 18px 0; font-family: var(--font-display); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--magenta); font-size: 28px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding: 0 0 20px; max-width: var(--measure); }
summary:focus-visible { outline: 3px solid var(--magenta); outline-offset: 2px; }

/* ---------- Pätička ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 56px var(--gutter); display: grid; gap: 10px; text-align: left; }
.footer-title { font-family: var(--font-display); font-size: clamp(36px, 7vw, 72px); text-transform: uppercase; color: var(--yellow); line-height: 1; margin-bottom: 8px; }
.footer a { color: var(--yellow); }
.footer-small { opacity: .7; font-size: 14px; }

/* ---------- Mobil ---------- */
@media (max-width: 720px) {
  .topbar { gap: 10px; flex-wrap: wrap; }
  .brand { font-size: 18px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-toggle { display: flex; margin-left: 0; order: 3; }
  .lang { order: 2; }
  .header-countdown { order: 4; width: 100%; justify-content: center; margin-top: 4px; gap: 14px; }
  .hc-num { font-size: 15px; min-width: 26px; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 4px; padding: 8px 0 4px; border-top: 2px solid var(--paper); margin: 0; order: 10; }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 10px 0; border-bottom: 0; }
  .lang { margin-left: 0; }
  .hero-photo-block { padding-top: 32px; }
  .photo-strip { height: clamp(90px, 30vw, 160px); }
  .festival-tag { font-size: 20px; }
  .poster-title { font-size: clamp(52px, 17vw, 90px); }
  .poster-sub { font-size: 20px; }
  .tabs { flex-direction: column; }
  .tab { border-right: 0; border-bottom: 3px solid var(--ink); }
  .tab:last-child { border-bottom: 0; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .iban { font-size: 16px; word-break: break-all; }
  .iban-detail-list div { grid-template-columns: 1fr; gap: 2px; }
  .iban-detail-list dd.mono { word-break: break-all; }
  .btn { width: 100%; text-align: center; }
  .hero-cta { width: 100%; }
  .lineup li { grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; }
  .rsvp-form, .grid-2 { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 82px 1fr; gap: 12px; }
  .tab { font-size: 17px; }
}
