/* ============================================
   JASNÁ VOĽBA — Main Stylesheet
   Colors: Orange #F5A623 | Dark #3D3D3D | Gray #f8f8f8
   ============================================ */

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

:root {
  --orange: #F5A623;
  --orange-dark: #E8960F;
  --orange-light: #FFF3CD;
  --dark: #2D2D2D;
  --gray: #6B6B6B;
  --light: #f8f8f8;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #eee;
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--orange-light);
  color: var(--orange-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.2s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  background: linear-gradient(135deg, #2D2D2D 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245,166,35,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 60px;
  padding-bottom: 80px;
}

.hero-label {
  display: inline-block;
  background: rgba(245,166,35,0.2);
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(245,166,35,0.3);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 12px;
  line-height: 1.7;
}

.hero-sub {
  font-size: 15px !important;
  margin-bottom: 32px !important;
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(245,166,35,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero-symbol {
  flex-shrink: 0;
}

.lamp-circle {
  width: 180px;
  height: 180px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lamp-svg {
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.hero-wave {
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* ============================================
   INTRO TEXT
   ============================================ */

.intro-text {
  background: var(--light);
  padding: 64px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.intro-block {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.intro-block.highlight {
  border-left: 4px solid var(--orange);
}

.intro-block p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

/* ============================================
   SECTIONS — shared
   ============================================ */

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-header p {
  font-size: 16px;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   CANDIDATES
   ============================================ */

.candidates {
  background: var(--white);
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.candidate-card {
  text-align: center;
  transition: transform 0.2s;
}

.candidate-card:hover {
  transform: translateY(-4px);
}

.candidate-card {
  cursor: pointer;
}

.candidate-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background-color: var(--light);
  background-size: cover;
  background-position: top center;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  color: transparent;
  font-size: 28px;
  transition: background 0.2s, color 0.2s;
  border-radius: var(--radius);
}

.candidate-card:hover .play-btn {
  background: rgba(0,0,0,0.45);
  color: var(--white);
}

.candidate-info h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 4px;
}

.candidate-role {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.4;
  margin-bottom: 4px;
}

/* ============================================
   PROGRAM
   ============================================ */

.program {
  background: var(--light);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-item {
  background: var(--white);
  padding: 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--orange);
  transition: transform 0.2s, box-shadow 0.2s;
}

.program-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.program-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.program-lead {
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 10px;
}

.program-content ul {
  padding-left: 18px;
}

.program-content ul li {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 6px;
}

.program-content ul li::marker {
  color: var(--orange);
}

/* ============================================
   ACHIEVEMENTS
   ============================================ */

.achievements {
  background: var(--white);
}

.achievement-video {
  margin-bottom: 56px;
}

.achievement-video-inner {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.achievement-video-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.achievements-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.achievement-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.achievement-item--noimg {
  grid-template-columns: 1fr;
  max-width: 720px;
}

.achievement-item h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.achievement-item p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.achievement-img img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
}

.achievement-img-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 48px 0;
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-text {
  font-size: 13px;
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  color: var(--orange);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.75;
}

.footer-copy {
  font-size: 12px;
  opacity: 0.45;
}

/* ============================================
   RESPONSIVE
   ============================================ */

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

  .achievement-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding: 12px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }

  .hero-symbol {
    display: none;
  }

  .intro-grid,
  .program-grid {
    grid-template-columns: 1fr;
  }

  .candidates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }
}

/* ============================================
   VIDEO MODAL
   ============================================ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #1a1a1a;
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(255,255,255,0.2);
}

.modal-name {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-right: 44px;
}

.modal-role {
  color: var(--orange);
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.modal-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 10px;
  overflow: hidden;
}

.modal-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
