body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: #333;
}

header {
  background-color: #05ad05;
  color: white;
  padding: 10px 5%;
  display: flex;
  align-items: center;
  min-height: 100px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 110px;
}

.contact-info-navbar {
  display: flex;
  align-items: center;
  margin-left: auto;
  margin-right: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.contact-info-navbar img {
  height: 70px;
  margin-right: 10px;
}

.contact-info-navbar a {
  color: #000000;
  text-decoration: none;
  margin: 3px 0;
  display: block;
}

.language-switch {
  display: flex;
  align-items: center;
}

.language-option {
  display: flex;
  align-items: center;
  margin-right: 10px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.language-option img {
  height: 30px;
  width: auto;
}

.language-option:last-child {
  margin-right: 0;
}

.language-option:hover {
  opacity: 0.8;
}

.intro {
  text-align: center;
  padding: 30px 15%;
  color: #006400;
}

.intro h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.intro p {
  font-size: 18px;
  line-height: 1.6;
}

.welding-services {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.welding-services h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.service {
  background: #f5f5f5;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
}

.service img {
  max-width: 120px;
  height: auto;
  border-radius: 5px;
}

.service h3 {
  color: #05ad05;
  font-size: 22px;
  margin-bottom: 5px;
}

.service p {
  font-size: 16px;
  line-height: 1.5;
}

footer {
  background-color: #05ad05;
  color: white;
  text-align: center;
  padding: 20px 10%;
}

footer a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  margin: 0 10px;
}

footer a img {
  vertical-align: middle;
}

.social-links {
  margin-bottom: 10px;
}

.carousel {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-container {
  position: relative;
  width: 100%;
  height: 500px; /* Nastav pevne stanovenú výšku kontajneru */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff; /* Pridanie pozadia pre kontajner */
}

.carousel img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Zachová celý obrázok bez orezu */
  display: block; /* Zabezpečenie, že obrázok sa zobrazí ako blokový prvok */
  border: 4px solid #138613; /* Pridanie orámovania iba pre obrázky */
}

.carousel button {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 20px; /* Zväčšenie paddingu pre väčšie tlačidlá */
  cursor: pointer;
  font-size: 24px; /* Ešte väčšia veľkosť písma pre tlačidlá */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 10px; /* Pridanie zaoblenia tlačidiel */
  transition: background-color 0.3s ease; /* Pridanie prechodového efektu */
  z-index: 1; /* Zabezpečenie, že tlačidlá budú nad obrázkom */
}

.carousel button:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Zmena farby pozadia pri hover */
}

.carousel button.prev {
  left: 10px;
}

.carousel button.next {
  right: 10px;
}

.photo-gallery h2 {
  text-align: center;
}
.photo-gallery {
  margin-bottom: 20px;
}

@media screen and (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }

  header .logo {
    height: 80px;
    margin-right: auto;
  }

  .contact-info-navbar a {
    color: #000000;
    font-size: 15px;
  }

  .contact-info-navbar img {
    height: 60px;
    margin-right: 10px;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 5%;
    min-height: 60px;
  }
}

@media screen and (max-width: 600px) {
  .container {
    width: 90%;
  }

  header .logo {
    height: 60px;
    margin-right: auto;
  }

  .intro {
    font-size: 17px;
    text-align: center;
    margin: 20px 0;
    padding: 10px 10%;
    color: #006400;
  }

  .intro h1 {
    font-size: 30px;
  }

  .container {
    width: 70%;
    margin: 0 auto;
    padding: 20px 0;
    justify-content: center;
  }

  .contact-info-navbar a {
    color: #000000;
    font-size: 10px;
  }

  .language-option img {
    height: 25px;
    width: auto;
  }

  header {
    padding: 5px 5%;
    min-height: 60px;
  }

  .contact-info-navbar img {
    height: 40px;
  }

  .contact-info-navbar {
    margin-right: 15px;
  }

  .carousel img {
    max-height: 300px; /* Zmenšenie maximálnej výšky obrázkov na mobilných zariadeniach */
  }

  .carousel button {
    padding: 10px;
    font-size: 30px; /* Zmenšenie veľkosti písma pre tlačidlá na mobilných zariadeniach */
    border-radius: 5px; /* Pridanie zaoblenia tlačidiel pre mobilné zariadenia */
  }
}

@media screen and (min-width: 600px) {
  .carousel button {
    border-radius: 15px;
  }
}
