/* style.css z kolorami */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

nav {
  background-color: #003366;
  padding: 15px 20px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav li {
  margin: 0 15px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #00bcd4;
}

header {
  background-color: #003366;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2.8em;
}

header p {
  margin-top: 10px;
  font-size: 1.2em;
  color: #a9d6e5;
}

section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 40px;
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
  color: #003366;
}

.services, .why-us {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.service-box, .why-box {
  background: #f0f7fa;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.service-box:hover, .why-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,188,212,0.2);
}

.contact {
  text-align: center;
  font-size: 1.1em;
  color: #333;
}

.contact a {
  color: #003366;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.contact a:hover {
  color: #00bcd4;
}

footer {
  background-color: #003366;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  margin-top: 40px;
}

@media(max-width: 600px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin: 10px 0;
  }
}
