:root {
  --primary-color: #6EC0A9;
  --primary-dark: #529683;
  --text-main: #333333;
  --bg-light: #f4f7f6;
  --nav-bg: #1a252c;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* Nadpisy */
h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #1a252c;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Odkazy */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: var(--primary-dark);
}

/* Navigace */
#navigation {
  position: sticky; 
  top: 0;
  z-index: 1050;
}

.custom-navbar {
  background-color: var(--nav-bg) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  letter-spacing: 1px;
}

.navbar-dark .navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--primary-color);
}

/* Hlavička - Hero sekce */
.hero-section {
  position: relative;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  padding: 120px 0;
  z-index: 1;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom, rgba(26, 37, 44, 0.4), rgba(26, 37, 44, 0.5));
  z-index: -1;
}

.hero-content {
  z-index: 2;
}

.hero-logo {
  max-width: 220px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

.hero-logo:hover {
  transform: scale(1.05);
}

.hero-text {
  max-width: 800px;
  line-height: 1.8;
  font-weight: 300;
}

/* Sekce s obsahem - Karty */
.bg-light-custom {
  background-color: var(--bg-light);
}

.content-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.content-card h5 {
  color: var(--primary-color);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #4a5568;
}

.text-primary-custom {
  color: var(--primary-color) !important;
}

p {
  line-height: 1.7;
  color: #4a5568;
}

/* Seznamy */
.custom-check-list {
  list-style: none;
  padding-left: 0;
}

.custom-check-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #4a5568;
}

.custom-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffffff;
  background-color: var(--primary-color);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Kandidáti - Mřížka karet */
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.candidates-grid li {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border-top: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.candidates-grid li:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.candidates-grid li strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  color: #1a252c;
  margin-bottom: 5px;
}

.candidates-grid li small {
  color: #718096;
  font-size: 0.9rem;
}

/* Podporovatelé - Mřížka */
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.supporters-grid li {
  background: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  border-left: 3px solid #cbd5e0;
  color: #4a5568;
  font-weight: 500;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.2s ease;
}

.supporters-grid li:hover {
  border-left-color: var(--primary-color);
  background-color: #f8fafc;
  transform: translateX(5px);
}

/* Obrázek s kandidáty */
#candidates-wrapper {
  background-color: var(--nav-bg);
}

/* Kontakt */
.contact-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-link {
  font-size: 1.5rem;
}

/* Patička */
.footer-custom {
  background-color: var(--nav-bg);
  color: rgba(255, 255, 255, 0.7);
}

.footer-custom a {
  color: var(--primary-color);
  font-weight: 600;
}

.footer-custom a:hover {
  color: #ffffff;
}