body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0d1b2a;
  color: white;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

.zvyrazneni {
  color: #e8bb07;
  font-weight: bold;
}

header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 2rem;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  background-color: #162c4b;
  flex-wrap: wrap;
}

.menu {
  display: flex;
  gap: 1.5rem;
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.menu a:hover {
  text-decoration: underline;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo_img {
  height: 100px;
}

.main-title {
  font-size: 3rem;
  margin-bottom: 0;
  line-height: 3rem;
}

.main-image img {
  max-width: 100%;
  height: auto;
}

.section {
  padding: 2rem;
  max-width: 1250px;
  margin: 0 auto;
}

.o-sluzbe-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 3rem 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.o-sluzbe-text p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.o-sluzbe-vyhody h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  padding: 0;
}

.o-sluzbe-vyhody ul {
  font-size: 1.125rem;
  padding-left: 1rem;
}

.o-sluzbe-vyhody li {
  margin-bottom: 15px;
  margin-left: -15px;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  word-break: break-word;
}

.checklist li::before {
  content: "✓";
  color: #e8bb07;
  font-weight: bold;
  margin-right: 15px;
}

.vyhody-grid-wrapper {
  max-width: 1250px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.vyhody-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.vyhoda-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  box-shadow: 0 0 10px #162c4b;
  border-radius: 1rem;
  transition: transform 0.3s;
  max-width: 250px;
}

.vyhoda-box:hover {
  transform: translateY(-5px);
}

.vyhoda-box img {
  height: 64px;
  margin-bottom: 1rem;
}

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.price-card {
  background-color: #162c4b;
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.price-card h3 {
  margin-top: 0;
  font-size: 25px;
}

.price-card p {
  font-size: 1.2rem;
  margin: 7px 0;
}

button {
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  background-color: #4ea8de;
}
button:hover {
  background-color: #3a86b9;
}

.price-card button {
  margin-top: 20px;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.modal-content button {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.contact {
  background-color: #162c4b;
  padding: 2rem;
  text-align: left;
}

.container {
  max-width: 1250px;
  margin: 0 auto;
}

.kontakt-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.kontakt-info p {
  font-size: 20px;
}

.kontakt-udaje,
.kontakt-formular {
  flex: 1 1 325px;
}

.form-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

form input,
form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: #4a4aef;
  box-shadow: 0 0 5px rgba(74, 74, 239, 0.4);
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 4px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  font-size: 1rem;
  color: #9ca3af;
  margin-top: 1.5rem;
  padding: 1rem 0;
}

@media (max-width: 1024px) {
  .vyhody-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
  }

  .logo {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 0.5rem;
  }

  header {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .main-title {
    font-size: 2rem;
    line-height: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .main-image {
    margin-top: 1rem;
  }

  .o-sluzbe-wrapper {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .o-sluzbe-vyhody ul {
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
  }

  .vyhody-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vyhoda-box {
    max-width: 225px;
  }

  .pricing {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .vyhody-grid {
    grid-template-columns: 1fr;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #162c4b;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  color: white;
}

.modal-content h2 {
  margin-top: 0;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
} 