/* Import moderního fontu */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  animation: fadeInBody 1s ease-in-out;
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

header {
  background: linear-gradient(135deg, #0078d7, #004a99);
  color: white;
  padding: 2.5rem 0;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  animation: fadeInHeader 1.2s ease-in-out;
}

@keyframes fadeInHeader {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  background: #004a99;
  display: flex;
  justify-content: center;
  padding: 0.75rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background 0.4s ease;
}

nav ul li {
  margin: 0 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #00c3ff;
}

nav:hover {
  background: #005a99;
}

section {
  padding: 3rem;
  background: white;
  margin: 2rem auto;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  animation: fadeInSection 1s ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeInSection {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section h2 {
  font-size: 2rem;
  color: #0078d7;
  margin-bottom: 1rem;
}

section ul {
  list-style: disc;
  margin-left: 2rem;
}

section p {
  font-size: 1.1rem;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #004a99;
  color: white;
  margin-top: 2rem;
}

footer p {
  font-size: 0.9rem;
  transition: color 0.3s;
}

footer:hover p {
  color: #00c3ff;
}

button {
  background: #0078d7;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover {
  background: #005a99;
  transform: scale(1.1);
}

button:active {
  transform: scale(1);
}
