:root {
  --red: #25346D;
  --red-dark: #1A2858;
  --purple: #E52713;
  --purple-dark: #C61E11;
  --text: #1f1f1f;
  --muted: #666;
  --bg-soft: #f6f6f7;
  --white: #fff;
  --shadow: 0 14px 40px rgba(0,0,0,.09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(0,0,0,.07);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-size: 24px; font-weight: 900; color: var(--red); }
.brand span { color: var(--purple); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { font-size: 15px; font-weight: 800; }
.main-nav a:hover { color: var(--red); }
.menu-toggle { display: none; font-size: 28px; background: none; border: 0; cursor: pointer; }

.hero {
  color: var(--white);
  background: linear-gradient(120deg, #C61E11 0%, #E52713 34%, #B72A2B 52%, #5E3657 70%, #25346D 100%);
}
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 44px; padding: 64px 0 0; }
.hero-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
}

.eyebrow > span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.05);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* PORADOVÉ ČÍSLA KANDIDATÚR */
.candidate-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  border-radius: 0;
  flex: 0 0 46px;
}

.candidate-number-ksk {
  color: #ffffff;
  background: #25346D;
  border: 1px solid #ffffff;
}

.candidate-number-city,
.candidate-number-district {
  color: #E52713;
  background: #ffffff;
  border: 1px solid #ffffff;
}

@media (max-width: 560px) {
  .eyebrow {
    width: auto;
    max-width: 100%;
    gap: 6px;
  }

  .eyebrow > span:first-child {
    font-size: 11px;
    padding: 9px 10px;
  }

  .candidate-number {
    width: 42px;
    min-width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 22px;
  }
}

.hero h1 { margin: 0; font-size: clamp(56px, 7vw, 96px); line-height: .95; text-transform: uppercase; letter-spacing: -2px; }
.hero h1 span { display: block; font-size: .48em; font-weight: 400; text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.hero h2 { font-size: clamp(28px, 3.7vw, 48px); line-height: 1.08; margin: 22px 0 18px; }
.hero p { font-size: 19px; max-width: 650px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-media {
  align-self: end;
  display: flex;
  justify-content: center;
}

.hero-media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.btn { display: inline-block; padding: 14px 23px; border-radius: 8px; font-weight: 900; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.16); }
.btn-light { background: var(--white); color: var(--red-dark); }
.btn-outline { border: 1px solid rgba(255,255,255,.7); color: var(--white); }
.btn-primary { background: var(--red); color: var(--white); }

.section { padding: 92px 0; }
.about { background: var(--bg-soft); }
.section-heading { text-align: center; margin-bottom: 52px; }
.section-heading span, .vision-inner > span { color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: 1.6px; text-transform: uppercase; }
.section-heading h2 { color: var(--purple); font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 8px 0 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: stretch; }
.prose p { margin: 0 0 20px; font-size: 18px; color: #444; }
.highlight-card { background: var(--purple); color: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: center; }
.highlight-card strong { font-size: clamp(36px, 5vw, 52px); line-height: 1; margin-bottom: 14px; }
.highlight-card span { color: rgba(255,255,255,.88); font-size: 18px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 16px; padding: 34px; box-shadow: var(--shadow); border-top: 5px solid var(--red); }
.card-number { font-size: 48px; line-height: 1; font-weight: 900; color: #ece7ee; margin-bottom: 14px; }
.card h3 { color: var(--purple); font-size: 26px; margin: 0 0 12px; }
.card p { color: #555; margin: 0; }

.vision { color: var(--white); text-align: center; background: linear-gradient(120deg, #C61E11 0%, #E52713 34%, #B72A2B 52%, #5E3657 70%, #25346D 100%); }
.vision-inner > span { color: rgba(255,255,255,.78); }
.vision h2 { font-size: clamp(38px, 5vw, 58px); margin: 6px 0 20px; }
.vision p { width: min(820px, 100%); margin: 0 auto; font-size: 20px; color: rgba(255,255,255,.9); }

.contact-card { width: min(760px, 100%); margin: 0 auto; text-align: center; background: var(--bg-soft); padding: 44px; border-radius: 16px; }
.contact-card h3 { color: var(--purple); font-size: 30px; margin: 0 0 8px; }
.contact-card p { margin: 0 0 14px; }
.muted { color: var(--muted); font-size: 14px; }

.site-footer { background: var(--purple-dark); color: rgba(255,255,255,.76); padding: 36px 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: auto auto 1fr; gap: 26px; align-items: start; }
.footer-note { text-align: right; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 20px 4%; flex-direction: column; align-items: flex-start; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .main-nav.open { display: flex; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-media { margin-top: 10px; }
  .about-grid, .cards { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-note { text-align: left; }

  .hero-media {
    text-align: center;
  }
  .hero-media img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 56px; }
  .hero p { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { text-align: center; }
  .contact-card { padding: 30px 22px; }
}
/* HODNOTY – IBA FOTKY */
.motto-section {
  padding: 90px 0;
  background: #ffffff;
}

.motto-heading {
  text-align: center;
  margin-bottom: 50px;
}

.motto-heading span {
  display: block;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.motto-heading h2 {
  margin: 0;
  color: var(--purple);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 800;
}

.motto-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.motto-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
}

/* TABLET */
@media (max-width: 950px) {
  .motto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBIL */
@media (max-width: 600px) {
  .motto-section {
    padding: 60px 0;
  }

  .motto-heading h2 {
    font-size: 34px;
  }

  .motto-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .motto-photo {
    width: 100%;
    height: auto;
  }
}

/* GALÉRIA */
.gallery-section {
  background: #ffffff;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f3f3;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-item {
    aspect-ratio: auto;
  }

  .gallery-item img {
    height: auto;
    object-fit: contain;
  }
}



/* ŠTATÚT SÚŤAŽE */
.statut-page { background: var(--bg-soft); }
.statut-container { width: min(980px, 92%); }
.statut-card { background:#fff; border-radius:16px; padding:46px 54px; box-shadow:var(--shadow); border-top:6px solid var(--red); }
.statut-card h1 { margin:0 0 36px; color:var(--purple); font-size:clamp(32px,5vw,48px); line-height:1.1; text-align:center; }
.statut-card h2 { margin:34px 0 14px; color:var(--red); font-size:24px; line-height:1.25; }
.statut-card p { margin:0 0 14px; color:#333; font-size:16px; line-height:1.75; }
.statut-card a { color:var(--purple); text-decoration:underline; overflow-wrap:anywhere; }
.statut-subsection { font-weight:600; }
.statut-indent { padding-left:20px; }
.statut-nav .active { color:var(--red); }
@media (max-width:900px){ .statut-nav{display:flex;position:static;flex-wrap:wrap;flex-direction:row;padding:0;box-shadow:none;gap:14px;} .statut-card{padding:34px 28px;} }
@media (max-width:600px){ .statut-nav{display:none;} .statut-card{padding:28px 20px;border-radius:12px;} .statut-card h2{font-size:21px;} .statut-card p{font-size:15px;} }


/* ŠTATÚT SÚŤAŽE – samostatný preklik medzi Galériou a Víziou */
.statut-link-wrap {
  padding: 26px 0;
  background: #ffffff;
  text-align: center;
}

.statut-link {
  display: inline-block;
  padding: 13px 24px;
  border: 2px solid var(--red);
  border-radius: 8px;
  color: var(--red);
  background: #ffffff;
  font-weight: 900;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.statut-link:hover {
  background: var(--red);
  color: #ffffff;
  transform: translateY(-2px);
}
