/* Základní styly (platné pro všechny obrazovky) */
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #0f172a 55%, #88211e 100%);
  box-sizing: border-box;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section > div {
  flex: 1;
  padding: 20px;
}

.image-box {
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 8px;
  margin-right: 20px;
  flex-direction: column;
  
}
.image-box img{
  width: 450px;
  height: 300px;
}

.image-box p {
  margin-top: 10px;
  text-align: center;
}

.text-box {
  background-color: #eee;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.button {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.button:hover {
  background-color: #0056b3;
}

.separator {
  width: 100%;
  height: 2px;
  margin: 30px 0;
}

.text-left {
  margin-right: 20px;
}

/* FOOTER */
.footer {
  background-color: #1a1a1a;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  flex-wrap: wrap;
  font-size: 0.85em;
  text-align: center;
  gap: 10px;
}

.footer a {
  color: #00b4d8;
  text-decoration: none;
  margin-left: 5px;
}

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

.footer p1 {
  color: #3a3939;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 100%;
  text-align: center;
}

/* LIŠTA */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ff0000;
  color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  flex-wrap: wrap;
}

.navbar-content a {
  position: relative;
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  padding: 6px 0;
  transition: color 0.3s ease;
  font-size: 0.9em;
}

.navbar-content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 5%;
  width: 0;
  background-color: #1e293b;
  transition: width 0.3s ease;
}

.navbar-content a:hover::after {
  width: 100%;
  height: 5%;
}

/* Odsazení od horní části obsahu */
.main_body {
  background: linear-gradient(to right, #0f172a 55%, #88211e 100%);
  box-sizing: border-box;
}

/* =============================================================== MOBILNÍ REZPONZIVITA (do 575px) ================================================ */
@media only screen and (max-width: 575px) {
  body {
    padding-top: 50px;
  }

  .navbar-content {
    display: none;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 35px;
    background-color: #ff0000;
  }

  .hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .hamburger-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    border-bottom: 1px solid #555;
    font-size: 0.9em;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .main_body {
    padding-top: 50px;
  }

  .footer {
    flex-direction: column;
    padding: 15px;
    gap: 10px;
    font-size: 0.8em;
  }

  .section {
    flex-direction: column;
  }

  .section > div {
    margin-bottom: 20px;
  }

  .image-box {
    margin-right: 0;
    flex-direction: column;
    align-items: center;
  }

  .text-box {
    margin-bottom: 20px;
  }

  .text-left {
    margin-right: 0;
  }

  .button {
    margin-top: 10px;
  }

  .video-sekce {
    height: auto;
  }

  .video-kontejner video {
    height: auto;
  }

  .video-overlay {
    font-size: 1em;
  }
}

/* =============================================================== TABLET STYLY (576px - 991px) ================================================ */
@media only screen and (min-width: 576px) and (max-width: 991px) {
  body {
    padding-top: 60px;
  }

  .navbar-content {
    display: none;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ff0000;
  }

  .hamburger-button {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .hamburger-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
  }

  .hamburger-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .hamburger-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #333;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu a {
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    border-bottom: 1px solid #555;
    font-size: 0.9em;
  }

  .mobile-menu a:last-child {
    border-bottom: none;
  }

  .main_body {
    padding-top: 60px;
  }

  .footer {
    padding: 15px 20px;
    font-size: 0.85em;
    gap: 10px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
  }

  .section {
    flex-direction: column;
  }

  .section > div {
    margin-bottom: 20px;
  }

  .image-box {
    margin-right: 0;
    flex-direction: column;
    align-items: center;
  }

  .image-box p {
    margin-top: 10px;
    text-align: center;
  }

  .text-box {
    margin-bottom: 20px;
  }

  .text-left {
    margin-left: 0;
  }

  .button {
    margin-top: 10px;
  }

  .video-sekce {
    height: auto;
  }

  .video-kontejner video {
    height: auto;
  }

  .video-overlay {
    font-size: 1em;
  }
}

/* =============================================================== DESKTOP STYLY (992px a více) ================================================ */
@media only screen and (min-width: 992px) {
  body {
    padding-top: 60px;
  }

  .navbar-content {
    display: flex;
  }

  .navbar-content a {
    font-size: 0.9em;
    padding: 6px 0;
  }

  .text_uprosdred {
    font-size: 2.5em;
    padding: 30px;
    margin-top: 0;
  }

  .footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 30px;
    text-align: left;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 auto;
    text-align: center;
  }


  .mobile-nav {
    display: none;
  }

  .section {
    flex-direction: row;
  }

  .section > div {
    margin-bottom: 20px;
  }

  .image-box {
    margin-right: 20px;
    flex-direction: column;
    align-items: center;
  }

  .image-box p {
    margin-top: 10px;
    text-align: center;
  }

  .text-box {
    margin-bottom: 20px;
  }

  .text-left {
    margin-left: 20px;
  }

  .button {
    margin-top: 10px;
  }

  .video-sekce {
    height: auto;
  }

  .video-kontejner video {
    height: auto;
  }

  .video-overlay {
    font-size: 1.2em;
  }
}
