/* === HRA-D — Hravý design 2026 === */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

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

:root {
  --blue:       #2874BC;
  --blue-dark:  #1A5490;
  --blue-light: #E3F2FD;
  --yellow:     #F5A623;
  --yellow-light: #FFF8E7;
  --green:      #4CAF7D;
  --white:      #ffffff;
  --cream:      #FAFBFC;
  --dark:       #1A2E4A;
  --grey:       #7A8EA8;
  --border:     #DDE8F5;
  --shadow:     0 4px 20px rgba(40,116,188,0.10);
  --shadow-lg:  0 8px 40px rgba(40,116,188,0.15);
}

body {
  font-family: 'Nunito', 'Segoe UI', Arial, sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
}

/* === HEADER === */
header {
  background: var(--white);
  border-bottom: 3px solid var(--blue-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-img { height: 54px; width: auto; }

nav { display: flex; flex-wrap: wrap; gap: 0.2rem; }

nav a {
  color: var(--dark);
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}

nav a:hover, nav a.active {
  background: var(--blue);
  color: var(--white);
}

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,46,74,0.88) 0%, rgba(26,46,74,0.35) 55%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  color: var(--white);
}

.hero-content h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--yellow);
  margin-bottom: 0.8rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.15rem;
  max-width: 480px;
  margin-bottom: 1.8rem;
  opacity: 0.95;
  font-weight: 600;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === PAGE HERO === */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 40px;
  background: var(--cream);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--yellow);
  position: relative;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(245,166,35,0.4);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(245,166,35,0.4); }

.btn-blue {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(40,116,188,0.3);
}
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(40,116,188,0.35); }

.btn-outline {
  display: inline-block;
  border: 2.5px solid var(--blue);
  color: var(--blue);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--blue); color: var(--white); }

/* === MAIN === */
main { max-width: 1000px; margin: 0 auto; padding: 3rem 1.5rem; }

section { margin-bottom: 3.5rem; }

.section-title {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 3px;
  background: linear-gradient(to right, var(--yellow), transparent);
  border-radius: 2px;
  margin-left: 0.5rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 1.2rem;
}
h3 { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* === CARDS === */
.card {
  background: var(--white);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
}

/* === AKTUALITY === */
.aktuality-list { display: flex; flex-direction: column; gap: 1rem; }

.aktualita {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: transform 0.2s;
}
.aktualita:hover { transform: translateX(4px); }

.aktualita-icon {
  min-width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.aktualita-body .datum {
  font-size: 0.78rem;
  color: var(--grey);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}
.aktualita-body h3 { margin-bottom: 0.3rem; color: var(--blue-dark); }
.aktualita-body a { color: var(--blue); font-weight: 700; }

/* === RULES === */
.rules-list { list-style: none; counter-reset: rule-counter; }
.rules-list li {
  counter-increment: rule-counter;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.rules-list li::before {
  content: counter(rule-counter);
  min-width: 2.2rem;
  height: 2.2rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* === LOCATIONS === */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.7rem;
}
.location-item {
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.location-item:hover { border-color: var(--blue); }
.location-num { font-weight: 900; color: var(--yellow); min-width: 2rem; font-size: 0.85rem; }
.location-name { font-size: 0.9rem; font-weight: 600; flex: 1; }
.location-item a { color: var(--blue); font-size: 0.8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.location-item a:hover { text-decoration: underline; }

/* === WINNERS === */
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}
.winner-item {
  background: var(--yellow-light);
  border: 2px solid #FDDEA0;
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.winner-main {
  background: linear-gradient(135deg, var(--yellow), #F5C842);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 6px 20px rgba(245,166,35,0.3);
}
.winner-main h3 { font-size: 1.3rem; color: var(--dark); }

/* === CONTACT === */
.contact-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 500px;
}
.contact-row { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: center; }
.contact-icon {
  min-width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-label { font-size: 0.78rem; color: var(--grey); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-value { font-weight: 800; }
.contact-value a { color: var(--blue); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* === FB BUTTON === */
.fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: #1877F2;
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 800;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(24,119,242,0.3);
}
.fb-btn:hover { background: #1558b0; transform: translateY(-2px); }

/* === INFO BOXES === */
.info-box {
  background: var(--white);
  border-left: 5px solid var(--blue);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow);
}
.info-box h3 { color: var(--blue-dark); margin-bottom: 0.6rem; }

/* === HIGHLIGHT STRIP === */
.highlight-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px;
  padding: 2.5rem;
  color: var(--white);
  text-align: center;
  margin: 2rem 0;
}
.highlight-strip h2 { color: var(--yellow); margin-bottom: 0.8rem; }
.highlight-strip p { opacity: 0.9; max-width: 500px; margin: 0 auto 1.5rem; }

/* === FOOTER === */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.footer-logo { font-size: 1.5rem; font-weight: 900; color: var(--yellow); margin-bottom: 0.8rem; }
.footer-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0.3rem; margin: 1rem 0;
}
.footer-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--yellow); }
.footer-copy { font-size: 0.82rem; opacity: 0.5; margin-top: 1rem; }

/* === RESPONSIVE === */
@media (max-width: 680px) {
  nav a { padding: 0.4rem 0.6rem; font-size: 0.78rem; }
  .hero { min-height: 340px; }
  .card-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .winners-grid { grid-template-columns: repeat(2, 1fr); }
  .aktualita { flex-direction: column; gap: 0.8rem; }
}
