/* ============================================================
   HONTFEST 2026 — styles
   Farebná schéma odvodená z plagátu (fénix, modrá→červená).
   Responzívne: mobil → 4K (fluid typografia, clamp).
   ============================================================ */

:root {
  /* Paleta z plagátu */
  --blue-900: #0e1c5e;   /* hlboká navy */
  --blue-700: #15287a;   /* kobaltová */
  --blue-500: #1f3aa6;   /* kráľovská */
  --red-600:  #d4163c;   /* purpurovo-červená */
  --red-500:  #e51f5a;   /* magenta */
  --gold:     #fdc220;   /* zlatožltá */
  --gold-700: #e0a800;
  --cyan:     #19a7cc;   /* tyrkysová */
  --white:    #ffffff;
  --ink:      #131a3a;   /* tmavý text na svetlom */
  --paper:    #f6f7fb;   /* svetlé pozadie sekcií */
  --muted:    #5b6178;

  --maxw: 1280px;
  --maxw-wide: 1600px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px rgba(10, 18, 60, .25);
  --shadow-soft: 0 10px 30px rgba(10, 18, 60, .12);

  --font-display: "Anton", "Montserrat", system-ui, sans-serif;
  --font-script: "Caveat", "Montserrat", cursive;
  --font-body: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Hero gradient (modrá hore → červená dole, diagonálne ako na plagáte) */
  --hero-gradient: linear-gradient(160deg, var(--blue-700) 0%, var(--blue-500) 38%, var(--red-600) 78%, var(--red-500) 100%);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: clamp(16px, 1vw + 0.6rem, 19px);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.05; margin: 0; }
em { font-style: normal; color: var(--red-500); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: .6rem 1rem; border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-weight: 800; text-decoration: none;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; font-size: clamp(.95rem, .5vw + .85rem, 1.05rem);
  letter-spacing: .02em; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 8px 22px rgba(253, 194, 32, .4); }
.btn-primary:hover { background: var(--gold-700); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14, 28, 94, .85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--white); }
.brand-logo { height: 38px; width: auto; }
.brand-name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .06em; }

.primary-nav ul { display: flex; gap: clamp(1rem, 2vw, 2.2rem); }
.primary-nav a {
  color: var(--white); text-decoration: none; font-weight: 700; font-size: 1rem;
  padding: .4rem .2rem; position: relative; opacity: .92;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px;
  background: var(--gold); border-radius: 3px; transition: right .25s ease;
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a:hover::after { right: 0; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--white); border-radius: 3px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -2; background: var(--hero-gradient);
}
.hero-bg::after {
  /* jemné svetelné žiary v duchu plagátu */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 75% 18%, rgba(25,167,204,.35), transparent 60%),
    radial-gradient(55% 45% at 20% 85%, rgba(229,31,90,.45), transparent 60%),
    radial-gradient(40% 35% at 50% 45%, rgba(253,194,32,.18), transparent 70%);
}
.hero-inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-block: clamp(3rem, 7vw, 6rem);
  min-height: min(92vh, 980px);
}
.hero-content { position: relative; z-index: 2; max-width: 900px; width: 100%; }

/* Fénix ako podklad za hlavným blokom */
.hero-phoenix {
  position: absolute; z-index: -1;
  top: 44%; left: 50%; transform: translate(-50%, -50%);
  width: min(940px, 122%); aspect-ratio: 810 / 430;
  background: url("../img/fenix.png") center / contain no-repeat;
  opacity: .72; pointer-events: none;
  filter: blur(1px) saturate(1.05);
  -webkit-mask-image: radial-gradient(ellipse 48% 58% at 50% 45%, #000 30%, rgba(0,0,0,.45) 54%, transparent 72%);
          mask-image: radial-gradient(ellipse 48% 58% at 50% 45%, #000 30%, rgba(0,0,0,.45) 54%, transparent 72%);
}
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .28em; font-weight: 700;
  font-size: clamp(.7rem, .5vw + .6rem, .9rem); color: var(--gold);
  margin: 0 0 .6rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 11rem);
  letter-spacing: .02em; line-height: .9;
  -webkit-text-stroke: clamp(2px, .5vw + 1.5px, 6px) var(--blue-900);
  paint-order: stroke fill;
  text-shadow: 0 6px 30px rgba(0,0,0,.4), 0 3px 0 rgba(0,0,0,.25);
}
.hero-theme { margin: .4rem 0 1.6rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.theme-label { text-transform: uppercase; letter-spacing: .2em; font-weight: 700; font-size: clamp(.8rem,.5vw+.7rem,1rem); opacity: .9; }
.theme-word {
  font-family: var(--font-script); color: var(--gold);
  font-size: clamp(3rem, 9vw, 7rem); line-height: .8;
  transform: rotate(-4deg); display: inline-block;
  -webkit-text-stroke: clamp(2px, .35vw + 1px, 4px) var(--blue-900);
  paint-order: stroke fill;
  text-shadow: 0 4px 18px rgba(0,0,0,.35), 0 2px 0 rgba(0,0,0,.3);
}

.hero-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-weight: 700; justify-content: center;
  font-size: clamp(1rem, .6vw + .9rem, 1.25rem); margin-bottom: 1.2rem;
}
.hero-meta li {
  display: inline-flex; align-items: center; gap: .55rem;
  -webkit-text-stroke: 1px var(--blue-900); paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.meta-ico {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  stroke: var(--gold); fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

.badge-free {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.6rem;
  background: none; box-shadow: none; padding: 0;
  color: var(--gold); font-weight: 800; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(.9rem, .5vw + .8rem, 1.1rem);
  -webkit-text-stroke: 1px var(--blue-900); paint-order: stroke fill;
  text-shadow: 0 1px 3px rgba(0,0,0,.45);
}
.badge-ico {
  width: 1.2em; height: 1.2em; flex: 0 0 auto;
  stroke: var(--gold); fill: none; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}

/* Countdown */
.countdown { display: flex; gap: clamp(.5rem, 1.5vw, 1.1rem); margin-bottom: 1.8rem; justify-content: center; }
.cd-item {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: .7rem clamp(.6rem, 1.5vw, 1.2rem); text-align: center;
  min-width: clamp(58px, 8vw, 86px); backdrop-filter: blur(4px);
}
.cd-num { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.8rem); line-height: 1; color: var(--gold); }
.cd-lbl { display: block; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(.6rem,.4vw+.5rem,.78rem); opacity: .85; margin-top: .35rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ============================================================
   SECTIONS (svetlé)
   ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.5rem); text-align: center; }
.section-eyebrow {
  text-transform: uppercase; letter-spacing: .26em; font-weight: 800;
  color: var(--red-500); font-size: clamp(.72rem,.5vw+.6rem,.9rem); margin: 0 0 .6rem;
}
.section-title {
  font-family: var(--font-display); font-size: clamp(2.1rem, 5vw, 4rem);
  color: var(--blue-700); letter-spacing: .01em;
}
.section-lead { color: var(--muted); font-size: clamp(1.02rem, .6vw + .9rem, 1.25rem); margin-top: 1rem; }

/* O festivale */
.section-about { background: var(--paper); }
.section-about .section-head { margin-bottom: 0; }
.section-about .section-lead + .section-lead { margin-top: 1.1rem; }

/* Podpora */
.section-support {
  background: var(--hero-gradient); color: var(--white); position: relative; isolation: isolate;
}
.section-support .section-title { color: var(--white); }
.section-support .section-eyebrow { color: var(--gold); }
.section-support .section-lead { color: rgba(255,255,255,.92); }
.support-card {
  max-width: 720px; margin-inline: auto; text-align: center;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 3rem); backdrop-filter: blur(6px);
}
.support-label { text-transform: uppercase; letter-spacing: .18em; font-weight: 700; opacity: .85; margin: 0 0 .8rem; font-size: .85rem; }
.iban-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: center; }
.iban {
  font-family: var(--font-display); letter-spacing: .04em;
  font-size: clamp(1.3rem, 3.5vw, 2.4rem); color: var(--gold); word-break: break-word;
}
.btn-copy { background: var(--white); color: var(--blue-700); }
.btn-copy:hover { background: var(--gold); color: var(--ink); }
.btn-copy.copied { background: var(--cyan); color: var(--white); }
.support-note { margin: 1.4rem 0 0; opacity: .8; font-size: .95rem; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.contact-info { font-size: 1.05rem; }
.contact-info p { margin: 0 0 .6rem; }
.contact-info a { color: var(--blue-500); text-decoration: none; font-weight: 700; }
.contact-info a:hover { text-decoration: underline; }
.contact-name { font-family: var(--font-display); font-size: clamp(1.5rem, 2vw + 1rem, 2.2rem); color: var(--blue-700); margin-bottom: 1rem !important; }
.contact-place { margin-top: 1.4rem !important; color: var(--muted); }
.socials { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.socials a {
  display: inline-block; padding: .55em 1.1em; border-radius: 999px;
  background: var(--blue-700); color: var(--white) !important; font-weight: 700;
  text-decoration: none !important; font-size: .95rem; transition: background .2s ease;
}
.socials a:hover { background: var(--red-500); }
.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); min-height: 320px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--blue-900); color: rgba(255,255,255,.8); padding-block: 2.2rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.footer-brand .brand-logo { height: 42px; }
.footer-copy { margin: 0; font-size: .92rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { min-height: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 68px 0 auto 0; background: rgba(14,28,94,.98);
    backdrop-filter: blur(10px); transition: transform .3s ease;
    border-bottom: 1px solid rgba(255,255,255,.1);
    transform: translateY(calc(-100% - 80px)); /* skryje aj 68px ukotvenie */
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; gap: 0; padding: .5rem 0; }
  .primary-nav li { border-top: 1px solid rgba(255,255,255,.08); }
  .primary-nav a { display: block; padding: 1rem clamp(18px,4vw,48px); }
  .primary-nav a::after { display: none; }
}

/* Veľké obrazovky / 4K — širší kontajner a väčšie medzery */
@media (min-width: 2000px) {
  :root { --maxw: var(--maxw-wide); }
  body { font-size: 22px; }
  .hero-inner { min-height: min(88vh, 1300px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Focus viditeľnosť pre prístupnosť */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px;
}
