/* ========== Testimonial blok ========== */
.testimonial {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 20px auto;
}

.testimonial-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial-text p {
  margin: 0 0 5px;
  font-style: italic;
}

.testimonial-text span {
  font-weight: bold;
  font-size: 0.9rem;
  color: #555;
}

/* responzivní úprava testimonialu */
@media (max-width: 600px) {
  .testimonial {
    flex-direction: column;
    text-align: center;
  }

  .testimonial-photo {
    margin: 0 0 10px 0;
  }
}

/* ========== Zbytek webu (layout, header, služby, footer...) ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f5f7fa;
  color: #333;
  line-height: 1.6;
}

header {
  background: #0066cc;
  padding: 15px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
}

.logo img {
  height: 80px;
  display: block;
}

.phone-number {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.phone-number a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.email-contact {
  margin-left: auto;
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  display: none;
}

.email-contact a {
  color: #fff;
  text-decoration: none;
}

.email-contact a:hover {
  text-decoration: underline;
}

.intro {
  text-align: center;
  padding: 60px 20px 30px;
  background: #0066cc;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  margin: 30px 0 15px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 30px;
}

.btn-cta {
  display: inline-block;
  background: #28a745;
  color: #fff;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 17px;
  text-decoration: none;
  margin-top: 10px;
  transition: background .3s ease, transform .2s ease;
}

.btn-cta:hover {
  background: #218838;
  transform: scale(1.04);
}

.services {
  padding: 50px 20px;
  background: #fff;
  text-align: center;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
  padding: 24px;
  width: 280px;
  text-decoration: none;
  color: #000;
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.service-card img {
  width: 180px;
  height: 180px;
  margin-bottom: 15px;
}

.partners-section {
  text-align: center;
  padding: 40px 20px 30px;
  background: #f0f4f8;
}

.partners-section h2 {
  font-size: 1.8rem;
  color: #003366;
  margin-bottom: 25px;
}

.logo-slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.logo-slider {
  display: flex;
  gap: 40px;
  align-items: center;
  animation: slideLogos 30s linear infinite;
  width: max-content;
}

.logo-slider img {
  height: 60px;
  max-width: 120px;
  object-fit: contain;
  opacity: .9;
  transition: transform .3s ease;
}

.logo-slider img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes slideLogos {
  0% {
    transform: translateX(0)
  }
  100% {
    transform: translateX(-50%)
  }
}

footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    justify-content: flex-start;
    gap: 10px;
    flex-direction: column;
    margin-top: 10px;
  }

  .intro {
    padding: 50px 15px 30px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn-cta {
    width: 100%;
    max-width: 280px;
  }

  .logo-slider-wrapper {
    overflow-x: auto;
  }

  .logo-slider {
    animation: none;
    flex-wrap: nowrap;
  }

  .logo-slider img {
    flex: 0 0 auto;
  }
}

@media (min-width: 1600px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .btn-cta {
    font-size: 18px;
    padding: 16px 36px;
  }
}

.info-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  background: #004c99;
  padding: 10px 20px;
}

.info-nav a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
  transition: color .3s ease;
}

.info-nav a:hover {
  color: #ffcc00;
}

.burger-container {
  display: none;
  text-align: center;
  margin: 20px 0;
}

.burger-toggle {
  font-size: 20px;
  background: #0066cc;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.burger-menu a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  background: #f0f4f8;
  border-radius: 6px;
  transition: background .3s;
}

.burger-menu a:hover {
  background: #d0e2f5;
}

@media (max-width: 1024px) {
  .burger-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .info-nav {
    display: none;
  }
}

.menu-wrapper {
  background-color: #0066cc;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.menu-wrapper button {
  background-color: #0066cc;
  color: #fff;
  border: 2px solid #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.menu-wrapper button:hover {
  background-color: #005bb5;
}

header {
  position: sticky;
  top: 0;
  background: #0066cc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  flex-wrap: nowrap;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 1;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.phone-number {
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.phone-number a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-number a:hover {
  text-decoration: underline;
}

.phone-icon {
  font-size: 20px;
}

.email-contact {
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  margin-left: 20px;
}

.email-contact a {
  color: #fff;
  text-decoration: none;
}

.email-contact a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .logo-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    width: 100%;
  }

  .email-contact {
    margin-left: 0;
    order: 2;
  }

  .phone-number {
    order: 1;
  }
}

.row-2 {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.row-2 .half {
  flex: 1;
  min-width: 45%;
}

.btn-back {
  background: #6c757d;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background-color .2s ease;
}

.btn-back:link,
.btn-back:visited {
  color: #fff;
}

.btn-back:hover {
  background: #5a6268;
}
