/* DESIGN SYSTEM & TYPOGRAFIE */
:root {
  --primary: #0d3b66;
  --accent: #2a9d8f;
  --yellow: #ffd666;
  --text-dark: #1e293b;     
  --text-muted: #475569;
  --bg-light: #f8fafc;      
  --white: #ffffff;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px; /* Mezera mezi obrázkem loga a textem */
}

.logo-img {
  height: 40px; /* Přizpůsobí výšku loga navigaci */
  width: auto;
  object-fit: contain;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-dark); background-color: var(--white); line-height: 1.6; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* SEKCE S OFFSETEM PRO STICKY HEADER */
section { 
  padding: 80px 0; 
  scroll-margin-top: 100px; /* Fixuje odskok po kliknutí v menu */
}
.section-header { margin-bottom: 40px; }
.section-tag { display: inline-block; color: var(--accent); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 8px; }
h2 { font-size: 32px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }

/* TLAČÍTKA */
.action-btn { display: inline-block; padding: 14px 32px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all 0.2s ease; border: none; cursor: pointer; }
.primary-btn { background-color: var(--yellow); color: var(--primary); }
.primary-btn:hover { background-color: #fecb43; transform: translateY(-2px); }
.secondary-btn { background-color: rgba(255, 255, 255, 0.1); color: var(--white); border: 1px solid rgba(255, 255, 255, 0.25); }
.secondary-btn:hover { background-color: var(--white); color: var(--primary); transform: translateY(-2px); }
.fb-btn { background-color: #1877f2; color: var(--white); margin-top: 15px; box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2); }
.fb-btn:hover { background-color: #166fe5; transform: translateY(-2px); }

/* GLOBÁLNÍ HOVER TRANSITIONS PRO KARTY */
.program-card,
.member-card,
.stat-card,
.value-card {
  transition: all .25s ease;
}
.program-card:hover,
.member-card:hover,
.stat-card:hover,
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13, 59, 102, 0.06);
}

/* NAVIGACE */
.main-header { position: sticky; top: 0; z-index: 100; background-color: rgba(13, 59, 102, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand-logo { text-decoration: none; color: var(--white); font-size: 18px; }
.brand-logo strong { font-weight: 800; color: var(--yellow); }
.nav-menu ul { display: flex; gap: 32px; list-style: none; }
.nav-menu a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-weight: 600; font-size: 14px; transition: color 0.2s; padding-bottom: 4px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--yellow); border-bottom: 2px solid var(--yellow); }

/* HERO SEKCE */
.hero-section { background: linear-gradient(135deg, var(--primary) 0%, #082542 100%); color: var(--white); padding: 100px 0; }
.badge { display: inline-block; background-color: rgba(42, 157, 143, 0.2); border: 1px solid var(--accent); color: var(--yellow); padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 24px; }
.hero-content h1 { font-size: 48px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.hero-lead { font-size: 18px; color: rgba(255, 255, 255, 0.85); margin-bottom: 15px; }
.hero-statement { font-size: 14.5px; color: var(--yellow); font-weight: 500; margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; opacity: 0.9; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

/* ŽIVÝ ODPOČET */
.countdown-box { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 24px; border-radius: 16px; max-width: 480px; margin: 0 auto 35px; text-align: center; }
.countdown-title { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.timer-grid { display: flex; justify-content: center; gap: 16px; }
.timer-item { background: var(--primary); padding: 12px; border-radius: 10px; min-width: 75px; border-bottom: 3px solid var(--accent); }
.timer-item span { font-size: 26px; font-weight: 800; color: var(--yellow); display: block; line-height: 1.2; }
.timer-item p { font-size: 11px; opacity: 0.7; text-transform: uppercase; margin-top: 2px; }
.election-now { color: var(--yellow); font-weight: 700; font-size: 18px; }

/* LIŠTA SE STATISTIKAMI */
.stats-bar { background-color: var(--bg-light); padding: 30px 0; border-bottom: 1px solid #edf2f7; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-card strong { font-size: 32px; font-weight: 800; color: var(--primary); display: block; }
.stat-card span { font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* O NÁS */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.about-text p { margin-bottom: 16px; color: #475569; }
.about-text .highlight-text { font-size: 18px; font-weight: 600; color: var(--primary); }
.about-quote-container { background-color: var(--bg-light); padding: 32px; border-radius: 16px; border-left: 4px solid var(--accent); }
.side-quote p { font-family: var(--font-serif); font-style: italic; font-size: 16px; color: var(--primary); margin-bottom: 12px; }
.side-quote cite { font-family: var(--font-main); font-style: normal; font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--text-muted); }

/* SEKCE HODNOTY */
.values-section { background-color: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 20px; }
.value-card { background-color: var(--bg-light); padding: 32px; border-radius: 16px; border: 1px solid #e2e8f0; }
.value-icon { font-size: 32px; margin-bottom: 16px; }
.value-card h3 { font-size: 20px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.value-card p { font-size: 14.5px; color: #475569; }

/* PROGRAM */
.program-section { background-color: var(--bg-light); }
.program-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.program-card { background-color: var(--white); border-radius: 16px; padding: 28px; border: 1px solid #f1f5f9; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.program-card h3 { font-size: 18px; color: var(--primary); font-weight: 700; }
.card-icon { font-size: 24px; }
.program-card p { font-size: 14px; color: #475569; }

/* KANDIDÁTI */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.member-card { background-color: var(--white); border-radius: 16px; overflow: hidden; border: 1px solid #edf2f7; box-shadow: 0 4px 12px rgba(0,0,0,0.02); }
.member-photo { height: 240px; background: linear-gradient(135deg, #1d6fa5, var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 60px; color: rgba(255,255,255,0.5); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.order-badge { position: absolute; bottom: 12px; left: 12px; background-color: var(--primary); color: var(--yellow); font-weight: 800; font-size: 13px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.member-info { padding: 20px; }
.member-info h4 { font-size: 16px; color: var(--primary); font-weight: 700; }
.position { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; font-weight: 500; }
.member-statement { font-family: var(--font-serif); font-style: italic; font-size: 13.5px; color: #475569; border-top: 1px dashed #e2e8f0; padding-top: 10px; line-height: 1.4; }

/* VOLBY */
.election-info-section { background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%); color: var(--white); }
.time-box { margin-top: 24px; display: inline-block; background-color: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); padding: 20px 40px; border-radius: 12px; }
.date-highlight { font-size: 24px; font-weight: 800; color: var(--yellow); }
.hours { font-size: 14px; opacity: 0.9; margin-top: 4px; }

/* KONTAKT & PATIČKA */
.contact-section { background-color: var(--white); }
.contact-box { background-color: var(--bg-light); padding: 32px; border-radius: 16px; display: inline-block; margin-top: 20px; text-align: center; border: 1px solid #e2e8f0; min-width: 320px; }
.contact-box a { color: var(--accent); font-weight: 700; text-decoration: none; }
.fb-cta-container { margin-top: 10px; }
.main-footer { background-color: var(--primary); color: rgba(255,255,255,0.6); padding: 30px 0; font-size: 13px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-copy { font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 4px; }

/* RESPONSIVITA */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-content h1 { font-size: 34px; }
  section { padding: 60px 0; }
}