* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'Rez';
  src: url('fonts/REZ.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #3A5069;
  --background-light: #E6E6E6;
  --border-color: #B0BEC5;
  --text-color: #2E2E2E;
  --overlay-bg: rgba(58, 80, 105, 0.7);
  --section-bg: #FFFFFF;
  --light-gray: #B0BEC5;
  --lighter-gray: #CFD8DC;
  --orange: #D97D0D;
  --darker-orange: #b8640b;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Montserrat', Arial, sans-serif;
  background-color: var(--background-light);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.nav-link:hover,
.nav-link:focus,
button:focus,
a:focus {
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary-color);
  margin-top: 0;
  font-weight: 700;
}
h3.platebni-nadpis{
font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary-color);
  margin-top: 0;
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 20px);
}

/* Navigace */
.desktop-nav {
  background-color: var(--primary-color);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-container {
  display: flex;
  align-items: center;
  padding-left: 1rem;
}

.nav-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 0.5rem;
}

.nav-company-name {
  font-family: "Rez", "Montserrat", Arial, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--background-light);
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.desktop-nav a.nav-link {
  color: var(--background-light);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.desktop-nav a.nav-link:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.2rem;
  background-color: var(--background-light);
}

.desktop-nav a.nav-link:hover::before,
.desktop-nav a.nav-link:focus::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--orange);
  border-radius: 0 0 5px 5px;
}

.desktop-nav a.nav-link:hover,
.desktop-nav a.nav-link:focus {
  transform: translateX(2px);
}

.hamburger {
  display: none;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.hamburger:hover,
.hamburger:focus {
  transform: scale(1.1);
}

.hamburger span {
  height: 4px;
  background-color: var(--light-gray);
  margin: 6px 0;
  border-radius: 2px;
  transition: all 0.4s ease;
  display: block; /* Nutné, aby <span> choval jako blokový prvek */
}

.hamburger span:nth-child(1),
.hamburger span:nth-child(3) {
  width: 28px;
}

.hamburger span:nth-child(2) {
  width: 20px;
}

.hamburger.active span {
  background-color: var(--light-gray);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -7px);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: -280px;
  height: 100%;
  width: 280px;
  background-color: var(--primary-color);
  padding-top: 80px;
  z-index: 1000;
  flex-direction: column;
  gap: 1rem;
  transition: left 0.3s ease;
  border-right: 1px solid var(--border-color);
  box-shadow: 6px 0 12px rgba(0,0,0,0.25);
}

.mobile-nav.active {
  display: flex;
  left: 0;
}

.mobile-nav .nav-logo-container {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  z-index: 1002;
}

.mobile-nav .nav-logo {
  width: 50px;
  height: 50px;
}

.mobile-nav .nav-company-name {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.mobile-nav a.nav-link {
  color: var(--background-light);
  padding: 1rem 1.5rem;
  display: block;
  border-bottom: 1px solid var(--border-color);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.mobile-nav a.nav-link:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background-color: var(--background-light);
}

.mobile-nav a.nav-link:hover::before,
.mobile-nav a.nav-link:focus::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background-color: var(--orange);
  border-radius: 0 0 5px 5px;
}

.mobile-nav a.nav-link:hover,
.mobile-nav a.nav-link:focus {
  padding-left: 2rem;
}

/* Hero sekce */
.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px; /* Prostor pro fixní navigaci na desktopu */
  border-radius: 0px;
  border: 0px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.background-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.background-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 20s infinite;
}

.background-slider .slide:nth-child(1) {
  background-image: url('images/header1.webp');
  animation-delay: 0s;
}

.background-slider .slide:nth-child(2) {
  background-image: url('images/header2.webp');
  animation-delay: 4s;
}

.background-slider .slide:nth-child(3) {
  background-image: url('images/header3.webp');
  animation-delay: 8s;
}

.background-slider .slide:nth-child(4) {
  background-image: url('images/header4.webp');
  animation-delay: 12s;
}

.background-slider .slide:nth-child(5) {
  background-image: url('images/header5.webp');
  animation-delay: 16s;
}

@keyframes slideAnimation {
  0%   { opacity: 0; transform: scale(1.05); }
  5%   { opacity: 1; transform: scale(1); }
  25%  { opacity: 1; transform: scale(1); }
  30%  { opacity: 0; transform: scale(1.05); }
  100% { opacity: 0; }
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay-bg);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--light-gray);
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  color: var(--lighter-gray);
  line-height: 1.2;
}

.hero-content h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 1px;
  margin-bottom: 2rem;
  color: var(--light-gray);
  line-height: 1.4;
}
.hero-content h1::after,
.hero-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0px;
  height: 0px;
  background-color: transparent;
}

.hero-tagline-orange {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  letter-spacing: 2px;
  margin-bottom: 4rem;
  color: var(--orange);
  line-height: 1.5;
  font-weight: 700;
 }
.hero-tagline-orange span{
  display: inline-block;
  font-style: italic;
 } 

.hero-cta {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: var(--orange);
  color: #fff;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.hero-cta:hover,
.hero-cta:focus {
  background-color: var(--darker-orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

main {
  flex: 1;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

section {
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--section-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

section h1,
section h2 {
  font-size: 1.7rem;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

section h1::after,
section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background-color: var(--primary-color);
}

section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

section p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
  color: var(--text-color);
}

#GDPR, #platba {
  margin-top: 6rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background-color: var(--section-bg);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.cta-text {
  font-weight: bold;
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-top: 1.5rem;
}

b {
  color: var(--primary-color);
}

.probe-specs,
.machine-specs {
  list-style: disc;
  padding-left: 2rem;
  margin: 1rem 0;
  color: var(--text-color);
}

.probe-specs li,
.machine-specs li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-top: 1.5rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  background-color: #FFFFFF;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid var(--primary-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: "Obrázek se nenačetl";
  color: var(--text-color);
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
}

.gallery-item.image-error::after {
  display: flex;
}

.probe-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: clamp(0.5rem, 2vw, 1rem);
  margin-top: 1.5rem;
}

.probe-gallery-item {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  background-color: #FFFFFF;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 1px solid var(--primary-color);
  padding: 8px;
  aspect-ratio: 250 / 61;
}

.probe-gallery-item figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.probe-gallery-item img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.probe-gallery-item figcaption {
  padding: 0.75rem 0.5rem;
  margin-top: 8px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-color);
  background-color: #FFFFFF;
}

.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-content {
  max-width: 95%;
  max-height: 90%;
  object-fit: contain;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  color: #FFFFFF;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s, opacity 0.2s;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
  outline: none;
}

.lightbox-caption {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #FFFFFF;
  font-size: 1rem;
  padding: 10px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  cursor: pointer;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  outline: none;
  z-index: 1001;
  transition: background 0.3s, color 0.3s, opacity 0.2s;
}

.lightbox-nav:hover,
.lightbox-nav:focus {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  opacity: 0.9;
  outline: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

.contact-info li {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  font-size: 1.1rem;
  color: var(--text-color);
}

.contact-icon {
  font-family: 'Material Icons';
  font-size: 1.5rem;
  line-height: 1;
  margin-right: 1rem;
  color: var(--primary-color);
  min-width: 30px;
}

.contact-label {
  font-weight: bold;
  margin-right: 0.5rem;
  min-width: 80px;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--primary-color);
}

.contact-content {
  flex: 1;
}

footer {
  background-color: var(--primary-color);
  color: var(--light-gray);
  padding: 3rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
  color: var(--orange);
  text-align: left;
}

.footer-contact,.footer-nav,.footer-social,.footer-partners {
  list-style: none;
  padding: 0;
}

.footer-contact li,.footer-nav li,.footer-social li,.footer-partners li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.footer-contact li span.material-icons,
.footer-social li span.material-icons {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.footer-contact li a,.footer-nav li a,.footer-social li a,.footer-partners li a {
  color: var(--light-gray);
  transition: color 0.3s ease;
}

.footer-contact li a:hover,.footer-nav li a:hover,.footer-social li a:hover,.footer-partners li a:hover {
  color: var(--orange);
}
.footer-cta {
  color: var(--orange);
  font-weight: 700;
  transition: color 0.3s ease;
}
.footer-cta:hover,
.footer-cta:focus {
  color: var(--darker-orange);
}
.subfooter {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: var(--light-gray);
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: var(--background-light);
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 6px;
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }

  .hamburger {
    display: block !important;
  }

  .hero {
    min-height: 50vh;
    margin-top: 0; /* Odstraněn margin-top na mobilu */
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
    line-height: 1.3;
    margin-bottom: 0.8rem;
  }

  .hero-content h2 {
    font-size: clamp(1rem, 4vw, 1.3rem);
    line-height: 1.4;
    margin-bottom: 1.2rem;
  }

  .hero-tagline-orange {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    letter-spacing: 1px;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .hero-cta {
    padding: 0.8rem 1.6rem;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .nav-logo {
    width: 50px;
    height: 50px;
  }

  .nav-company-name {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  }

  main {
    padding: 1rem 0.5rem;
  }

  section {
    padding: 1.5rem;
    margin-bottom: 3rem;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  section h3 {
    font-size: 1.5rem;
  }

  .contact-info li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .contact-icon {
    margin-right: 0;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .probe-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .probe-gallery-item {
    aspect-ratio: 250 / 61;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .probe-gallery-item img {
    max-width: 100%;
    height: auto;
  }

  .probe-gallery-item figcaption {
    font-size: 0.9rem;
    padding: 0.5rem 0.3rem;
    margin-top: 6px;
  }

  .mobile-nav {
    width: 280px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 350px;
    margin-top: 0;
  }

  .hero-content h1 {
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
  }

  .hero-tagline {
    font-size: clamp(0.8rem, 2vw, 1rem);
  }

  .hero-cta {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .nav-logo {
    width: 40px;
    height: 40px;
  }

  .nav-company-name {
    font-size: clamp(1rem, 2vw, 1.2rem);
  }

  section {
    padding: 1rem;
  }

  section h2 {
    font-size: 1.3rem;
    margin-bottom: 1.75rem;
  }

  section h3 {
    font-size: 1.3rem;
  }

  .desktop-nav a.nav-link,
  .mobile-nav a.nav-link {
    font-size: 1.1rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .probe-gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .probe-gallery-item img {
    max-width: 100%;
    height: auto;
  }

  .probe-gallery-item figcaption {
    font-size: 0.9rem;
    padding: 0.5rem 0.3rem;
    margin-top: 6px;
  }

  .hamburger {
    top: 12px;
    right: 12px;
  }

  .mobile-nav {
    width: 260px;
    padding-top: 70px;
  }

  .mobile-nav .nav-logo-container {
    top: 12px;
    left: 12px;
  }
}

main > section {
  scroll-margin-top: 80px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Montserrat", Arial, sans-serif;
}

.faq-list details {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.faq-list summary {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-color);
  cursor: pointer;
  padding: 10px 15px 10px 40px;
  background-color: var(--section-bg);
  border-radius: 4px;
  transition: background-color 0.3s, border 0.3s, color 0.3s;
  list-style: none;
  position: relative;
}

.faq-list summary::before {
  content: "\25B6"; /* Šipka doprava */
  font-size: 0.9rem;
  color: var(--primary-color);
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-list details[open] summary::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq-list summary:hover,
.faq-list summary:focus {
  background-color: rgba(65, 102, 122, 0.1);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  outline: none;
}

.faq-list details[open] summary {
  background-color: var(--section-bg);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.faq-list .faq-item {
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text-color);
  margin: 10px 15px 0;
  line-height: 1.7;
  font-size: 1.1rem;
  padding-left: 25px;
}

.faq-list .faq-item strong {
  font-weight: bold;
  display: none; /* Skryjeme <strong>, protože otázka je již v <summary> */
}

.faq-list .faq-item p {
  margin: 0;
}

.faq-list .faq-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: text-decoration 0.3s, color 0.3s;
}

.faq-list .faq-item a:hover,
.faq-list .faq-item a:focus {
  text-decoration: underline;
  color: var(--text-color);
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .faq-list {
    padding: 15px;
  }

  .faq-list summary {
    font-size: 1rem;
    padding: 8px 12px 8px 35px;
  }

  .faq-list summary::before {
    font-size: 0.8rem;
    left: 12px;
  }

  .faq-list .faq-item {
    font-size: 1rem;
    margin: 8px 12px 0;
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .faq-list {
    padding: 10px;
  }

  .faq-list summary {
    font-size: 0.9rem;
    padding: 6px 10px 6px 30px;
  }

  .faq-list summary::before {
    font-size: 0.7rem;
    left: 10px;
  }

  .faq-list .faq-item {
    font-size: 0.9rem;
    margin: 6px 10px 0;
    padding-left: 15px;
  }
}

figure {
  padding-top: 10px;
  padding-bottom: 10px;
}

.sidebar-box {
  background-color: #E6E6E6;
  border: 1px solid #B0BEC5;
  border-left: 5px solid #3A5069;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 6px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sidebar-header h3 {
  margin: 0;
  color: #3A5069;
  font-size: 18px;
}

.icon-svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  color: #3A5069;
}

.sidebar-box p, 
.sidebar-box li {
  color: #2E2E2E;
  font-size: 15px;
  line-height: 1.5;
}

.sidebar-box a {
  color: #3A5069;
  text-decoration: none;
  font-weight: bold;
}

.sidebar-box a:hover {
  text-decoration: underline;
}

.sidebar-box-deco {
  background-color: #E6E6E6;
  border: 1px solid #B0BEC5;
  border-left: 5px solid #3A5069;
  padding: 15px 20px;
  margin: 25px 0;
  border-radius: 6px;
  position: relative;
}
/* Contact Form Styling */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--section-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    font-family: "Montserrat", Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(58, 80, 105, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-col {
    flex: 1;
    min-width: 200px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background-color: var(--orange);
    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.submit-button:hover,
.submit-button:focus {
    background-color: var(--darker-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    outline: none;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title h2 {
    font-size: 1.7rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.95rem;
        padding: 0.7rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .form-col {
        min-width: 100%;
    }

    .submit-button {
        font-size: 1rem;
        padding: 0.7rem;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 0.8rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .submit-button {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    .section-title h2 {
        font-size: 1.3rem;
    }

    .section-title p {
        font-size: 0.9rem;
    }
}
.popup-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
   background-color: var(--primary-color);
    border: 2px solid #B0BEC5;
    color: #CFD8DC;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-size: 1.2em;
    z-index: 1000;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.popup-message.success { border-color: #B0BEC5; color: #CFD8DC; }
.popup-message.error { border-color: red; color: red; }

/* Checkbox a label */
label[for="gdpr"] {
    display: flex;          /* horizontální zarovnání */
    gap: 8px;               /* mezera mezi checkboxem a textem */
    flex-wrap: wrap;        /* text se zalomí na menších obrazovkách */
    margin-bottom: 12px;
}

/* Checkbox samotný */
#gdpr {
    margin-top: 3px;        /* mírně vycentrovat checkbox s prvním řádkem textu */
}

