html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Arial Narrow", sans-serif;
  font-size: 11.5pt;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1; /* zabere zbytek výšky */
}

.top-bar {
  background-color: #1b1f36;
  color: #fff;
  font-size: 10pt;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  border-bottom:none;
  border:0;
  box-shadow:none;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;

  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo{
  margin-bottom: -6%;
  max-width: 230px !important;
}

@media (max-width: 768px) {
  .logo{
  margin-bottom: -2%;
  margin-left: 8%;
  }
}
.logo h1 {
  font-size: 20pt;
  margin: 0;
  color: #000;
}

.logo p {
  margin: -2px 0 0;
  font-size: 10pt;
  color: #666;
}

nav.nav {
  background-color: #fff;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 10px 20px;
  font-size: 12pt;
}

nav.nav a {
  color: black;
  text-decoration: none;
  padding: 5px 10px;
}


#banner {
  background-color: #1e2447;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px); /* přibližná výška headeru + menu */
  position: relative;
  padding: 20px;
}

#banner h2 {
  font-size: 26pt;
  margin-bottom: 10px;
}

#banner p {
  font-size: 14pt;
  max-width: 800px;
  margin: 0 auto;
  max-height: 400px;
}

.services {
  max-width: 1100px;
  margin: 10px auto;
  padding: 0 1px;
}

.services h2 {
  display: inline-block;
  position: relative;
  text-align: center;
  margin-bottom: -10px;
  font-size: 30pt !important;
}

.services h2::after {
  content: "";
  position: absolute;
  left: 25%;
  bottom: -10px; /* Nastavíme trochu pod text */
  width: 0%;
  height: 3px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: stretch; 
  opacity: 0;
  transform: translateY(30px);
  animation: fade-slide-in 0.8s ease-out forwards;
  animation-delay: 0.3s;
  animation-duration: 1s;
}

@keyframes fade-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  background: #c2a8a8;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 300px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
   min-height: 250px;
   max-height: 300px;
}

.card:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-color: #c00;
}

.card .icon {
  font-size: 30pt;
  color: #1b1f36;
  margin-bottom: -10%;
  transform: scale(0.4);
  margin-top: -20%;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 10.5pt;
  color: #444;
  min-height: 60px;
}

.card a {
  display: inline-block;
  margin-top: 10px;
  background: #1b1f36;
  color: #fff;
  padding: 8px 14px;
  font-size: 10pt;
  border-radius: 4px;
  text-decoration: none;
}

.card a:hover {
  background: #c00;
}

footer {
  text-align: center;
  padding: 20px;
  color: #666;
  border-top: 1px solid #ccc;
  font-size: 10pt;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .top-bar .container,
  .header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;

    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .grid {
    flex-direction: column;
    align-items: center;
}

  align-items: center;
}

.logo h1 {
  margin: 0;
  font-size: 20pt;
  font-weight: bold;
  color: #000;
}

.logo p {
  margin: 0;
  color: #555;
  font-size: 10pt;
}

.contact p {
  position: relative;
  display: inline-block;
  margin: 0;
  text-align: right;
  font-size: 10pt;
}

.contact p::after {
  content: "";
  position: absolute;
  left: 50%; /* Posuneme start čáry doprostřed */
  bottom: -5px;
  width: 0%;
  height: 3px;
  background-color: #c00;
  transition: width 0.3s ease-in-out;
  transform: translateX(-50%); /* Zarovnáme čáru na střed */
}

.contact p:hover::after {
  width: 50%; /* Podtržení do půlky nadpisu */
}


nav.nav {
  background-color: #fff;
}

nav.nav .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

nav.nav a {
  color: #000;
  text-decoration: none;
  font-size: 12pt;
  text-decoration: none;
  position: relative;
}

nav.nav a::after {
  content: '';
  display: block;
  width: 0;
  left: 50%;
  height: 2px;
  background: #c00;
  transition: width 0.3s ease-in-out;
}

nav.nav a:hover::after {
  width: 100%;
}

#banner {
  background-color: #1e2447;
  color: white;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px); /* přibližná výška headeru + menu */
  position: relative;
  padding: 20px;
}

#banner h2 {
  font-size: 28pt;
  margin-bottom: 10px;
}

#banner p {
  font-size: 14pt;
  max-width: 700px;
  max-height: 400px;
  margin: 0 auto;
}

.services {
  padding: 60px 20px;
  margin-top: -10px;
}

.services .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: 20pt;
  margin-bottom: 40px;
  color: #000;
  opacity: 0;
  transform: translateY(30px);
  animation: fade-slide-in 0.8s ease-out forwards;
  animation-delay: 0.3s;
  animation-duration: 1s;
}

@keyframes fade-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.line {
  width: 150px;
  height: 2px;
  background-color: #d33;
  margin: 0 auto 55px auto;
  animation: growFade 3s infinite;
}

@keyframes fadeIn {
  0% {opacity: 0; transform: translateY(20px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes growFade {
  0%, 100% {transform: scaleX(1); opacity: 0.5;}
  50% {transform: scaleX(1.5); opacity: 1;}
}

.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.card {
  background: rgb(219, 224, 255);
  border: 1px solid #ddd;
  padding: 30px 20px;
  width: 280px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  background:rgb(163, 185, 233);
  border-color: #c00;
}

.card i {
  font-size: 32px;
  margin-bottom: 15px;
  color: #1b1f36;
}

.card h3 {
  margin: 0 0 10px 0;
  font-size: 14pt;
}

.card p {
  font-size: 10.5pt;
  color: #333;
}

.card button {
  margin-top: -10px;
  padding: 8px 16px;
  font-size: 10pt;
  background-color: transparent;
  border: 1px solid #1b1f36;
  cursor: pointer;
  transition: 0.2s ease;
}

.card button:hover {
  background-color: #1b1f36;
  color: white;
}

footer {
  text-align: center;
  padding: 20px;
  color: #666;
  border-top: 1px solid #ccc;
  font-size: 10pt;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .top-bar .container, .header-inner, nav.nav .container {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }
}

.logo-line {
  border: none;
  height: 2px;
  width: 120px;
  background-color: #c00;
  margin: 6px 0;
}

{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}


.slideshow-container {
  position: relative;
  width: 100%;
  display: block;
  max-width: 1200px;
  max-height: 300px;
  margin: -60px auto;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 9;
  object-fit: contain;
   margin: 0 auto 20px auto;
  /* Poměr stran – uprav podle potřeby */
}

@media (max-width: 768px) {
  .slideshow-container {
    object-fit: contain;
    max-width: 768px;
    aspect-ratio: 11 / 3;
    margin: -45px auto;
  }
}

@media (max-width: 748px) {
  #
  {
    background-color: ##1b1f36;
    color: white;
    padding: 80px 20px;
    text-align: center;
    max-height: 15px;
  }
}

@media (max-width: 748px) {
  .services {
    padding: 60px 20px;
    margin-top: -40px;
  }
}

  .slideshow-container picture {
    object-fit: scale-down;
  }

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}


a.card-link {
  text-decoration: none;
  color: inherit;
}

.about {
  margin-top: 40px;
  margin-bottom: 10px;
}

.about-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.about-img {
  max-width: 300px;
  height: auto;
  background: #ccc;
  display: block;
}

.about-text {
  flex: 1;
  min-width: 280px;
  text-align: justify;
}

.about h2 {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  font-size: 30px;
}

.about h2::after {
  content: "";
  position: absolute;
  left: 50%; /* Posuneme start čáry doprostřed */
  bottom: -5px;
  width: 0;
  height: 3px;
  background-color: #c00;
  transform: translateX(-50%); /* Zarovnáme čáru na střed */
  animation: slide-in 0.5s ease-out forwards;
  animation-duration: 1s;
}

@keyframes slide-in {
  to {
    width: 50%;
  }
}

.section-pravo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1100px;
}

.box-wrapper {
  max-width: 1100px;
  margin-left: 20%;
  padding: 20px;
  background:rgb(197, 197, 223);
  border-radius: 10px;
  font-size: 20px;
}

.box-wrapper2 {
  max-width: 700px;
  padding: 20px;
  border-radius: 10px;
  font-size: 20px;
}

.kontakt-druhyradek {
  font-size: 20px !important;
  min-width: 280px;
  text-align: justify;
  margin-top: 2%;
}

.kontakt-prvniradek {
  font-size: 20px !important;
  min-width: 280px;
  text-align: justify;
  margin-top: 2%;
}

.about-image img{
  max-width: 300px;
  height: auto;
  display: block;
  border-radius: 10px;
  opacity: 0%;
  transform: translateY(30px);
  animation: fade-slide-in 0.08s ease-out forwards;
  animation-delay: 0.3s;
  animation-duration: 1s;
}


@keyframes fade-slide-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

----DROPDOWN MENU------

/* Reset stylů u listu */
.nav ul, .nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Obecný styl pro navigaci */
.nav {
  background-color: #111;
  font-family: Arial, sans-serif;
}

.nav .container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
  position: relative;
  z-index: 10;
}

.nav .menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: -10px;
  position: relative;
}

/* Odkazy v menu */
.nav a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

/* Dropdown parent */
.nav .dropdown {
  position: relative;
}

/* Dropdown menu (skryté) */
.nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 100px;
  z-index: 100;
  padding: 5px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  border-radius: 4px;
  pointer-events: auto;
}

/* Dropdown položky */
.nav .dropdown-menu li a {
  padding: 10px 15px;
  white-space: nowrap;
}

/* Zobrazení při hoveru */
.nav .dropdown:hover .dropdown-menu {
  display: block;
}

/* Ujisti se, že <li> se chová jako blok */
.nav .dropdown {
  list-style: none;
}

/* Oprava zarovnání, pokud používáš <a> vedle <li> */
.nav .container > a,
.nav .container > li {
  position: relative;
  display: block;
}

@media (max-width: 768px) {
  .nav .container {
    justify-content: center; /* přidáme zarovnání obsahu na střed */
    flex-direction: column;
    align-items: center;
  }
  
  .menu {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 0;
    margin: 0 auto;

  }

  .menu li {
    width: auto;
  }

  .menu li a {
    padding: 12px 16px;
    border-bottom: 1px solid #444;
    width: auto;
  }

  .dropdown {
    position: relative;
    text-align: center;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-35%);
    box-shadow: none;
    border-radius: 0;
    background-color: #222;
    width: max-content;
    max-width: 90vw;
    text-align: center;
    overflow-wrap: break-word;
    z-index: 100;
  }

  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

<style>
  .pretty-list {
    list-style-position: outside;
    padding-left: 1.5em;
  }

  .pretty-list li {
    padding-left: 1.5em;
  }

  .pretty-list li::marker {
    color: #d33; /* nebo #c00000, nebo jakoukoli jinou barvu */
  }

/* společné vlastnosti odkazu */
.kontakt-email{
  position: relative;      /* aby ::after seděl k tomuto prvku */
  display: inline-block;   /* dovolí nám spolehlivě měřit šířku */
  color: inherit;          /* ponechá barvu po rodiči */
  text-decoration: none;   /* zruší klasické podtržení */
}

/* červená “linky” připravená na 0 % šířky */
.kontakt-email::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;              /* sedí přímo pod textem (případně -2px) */
  width: 0%;
  height: 2px;            /* tloušťka linky */
  background: #d33;       /* červená jako v menu */
  transition: width .3s ease;   /* plynulé roztažení */
}

/* při najetí myší roztažení na plnou šířku */
.kontakt-email:hover::after{
  width: 100%;
}



.kontakt-telefon{
  position: relative;      /* aby ::after seděl k tomuto prvku */
  display: inline-block;   /* dovolí nám spolehlivě měřit šířku */
  color: inherit;          /* ponechá barvu po rodiči */
  text-decoration: none;   /* zruší klasické podtržení */
}

/* červená “linky” připravená na 0 % šířky */
.kontakt-telefon::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;              /* sedí přímo pod textem (případně -2px) */
  width: 0%;
  height: 2px;            /* tloušťka linky */
  background: #d33;       /* červená jako v menu */
  transition: width .3s ease;   /* plynulé roztažení */
}

/* při najetí myší roztažení na plnou šířku */
.kontakt-telefon:hover::after{
  width: 100%;
}

.lokator{
  width:13%;     /* nebo jiná hodnota podle potřeby */
  height:auto;    /* zachová poměr stran */
  vertical-align:middle; 
}

.language-switcher{
  position:fixed;
  top:60%;
  right:0;
  transform:translateY(-50%);
  z-index:1000;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
}

.language-switcher .flag{
  width:32px;        /* flag size */
  height:auto;
  cursor:pointer;
  display:block;
  border-radius:4px;
  box-shadow:0 0 4px rgba(0,0,0,.15);
  transition:transform .2s;
}
/* subtle scale on hover */
.language-switcher .flag:hover{
  transform:scale(1.05);
}

/* dropdown hidden by default */
.language-switcher .dropdown{
  display:none;
  flex-direction:column;   /* stack flags under each other */
  align-items:flex-end;
  margin-top:4px;          /* gap under CZ flag */
}

/* reveal dropdown on hover of whole switcher */
.language-switcher:hover .dropdown{
  display:flex;
}


.scroll-btn {
  margin-top: 40px;
  padding: 12px 24px;
  font-size: 14pt;
  background-color: #d33;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-btn:hover {
  background-color: #a00;
}

#scrollToTopBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 22px;
  background-color: #d33;
  color: white;
  padding: 12px 16px;
  border: none;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#scrollToTopBtn:hover {
  background-color: #a00;
  transform: scale(1.1);
  
}

.mobile-nav-toggle {
  display: none;
  font-size: 28px;
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 1001;
  cursor: pointer;
  color: #1a1e35;
}

/* RESPONSIVE MOBILE MENU */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-wrapper {
    position: relative;
  }

  #mainNav {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
  }

  #mainNav.open {
    display: flex; /* pro jistotu */
    flex-direction: column;
    align-items: center;
    max-height: 500px; /* dost velká hodnota na celé menu */
    padding: 20px 0;
	max-height: 80vh;
    overflow-y: auto;
}

  .nav .menu {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    padding: 20px 0;
  }

  .nav .menu li {
    width: 100%;
    text-align: center;
  }

  .nav .menu li a {
    font-size: 18px;
    display: block;
    padding: 10px 0;
    color: black;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: none;
    padding: 0;
    margin-top: 5px;
  }

  .dropdown-menu li a {
    font-size: 16px;
    padding: 5px 0;
  }
}

@media (max-width: 768px) {
  #banner {
    padding-top: 40px;
    justify-content: flex-start;
    min-height: calc(100vh - 300px); /* dynamická kompenzace výšky hlavičky */
  }

  .slideshow-container {
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .scroll-btn {
    margin-top: 30px;
  }
}




.email {
  width: 20px !important;
  height: 20px !important;
}

.calling {
  width: 20px !important;
  height: 20px !important;
}

.scroll-hint {
  display: none;
  text-align: center;
  margin-top: 12px;
  animation: pulse 1.5s infinite;
  opacity: 0.7;
}

.scroll-hint img,
.scroll-hint svg {
  height: 40px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(8px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.4; }
}
