@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,800");
@import url("fontawesome-all.min.css");

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 300px;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;

  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  margin: 0 auto;
  max-width: 2000px;
}

#header-wrapper {
  position: fixed; 
  top: 0;          
  left: 0;     
  right: 0;     
  height: 120px;   
  overflow: hidden;  
  background-image: url('../../images/tlo2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 9999;   
  background-color: rgba(0, 0, 0, 0.4); 
  background-blend-mode: darken;        
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;

  border-bottom: 6px solid #ffc900; 
}

body {
  padding-top: 120px; 
  margin: 0;
}


.video-section {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('../../images/mainPhoto6.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-position: center;
	overflow: hidden;
	max-width: 2000px;
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(201, 199, 189, 0.6); 
  z-index: 1;
}

.video-section > * {
  position: relative;
  z-index: 2; 
}

.video-section video {
  width: 100%;         
  max-width: 1000px;   
  height: auto;        
  box-shadow: 0 10px 20px 10px rgba(0,0,0,0.5);
}

#main-wrapper {
  flex: 1 0 auto;   
  background-color: #ffffff; 
  max-width: 2000px;
}

#main-wrapper2 {
  background-color: #ffffff; 
  max-width: 2000px;
  padding-top: 100px;
  padding-bottom: 100px;
}

#main-wrapper .container {
  height: 100%;
}


header#header {
  padding: 10px 20px;
  color: #fff;
  width: 100%;
  background: transparent;     
  position: relative;
  z-index: 2;
  overflow: visible;
}


#header .inner {
  border-radius: 10px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
  background: transparent;
}

.logo-contact {
  display: flex;
  flex-direction: row; 
  align-items: center;
  padding: 0px 0px;
  gap: 30px;
}

.logo-img {
  max-height: 80px; 
  width: auto;
  height: auto;
  display: block;
  transform: translateY(-8px);
}

.contact-info {
  display: flex;
  flex-direction: column;  
  align-items: flex-start;
  gap: 15px;    
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  margin-top: -20px;
}

.contact-info span {
  display: inline-block;
  margin-right: 15px;
}

.contact-info i {
  margin-right: 5px;
  color: #ffffff;
}

#nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;       
  gap: 20px;           
  margin-top: 20px;    
}

#nav ul li {
  display: block;      
  margin: 0;           
}

#nav ul li a {
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
  transition: font-family 0.5s ease; 
}

#about {
  width: 100%;
  margin: 0;
  padding: 0;
}

.language-flags {
  position: absolute;
  top: 5px;       
  right: 10px;      
  display: flex;
  gap: 5px;
}

.language-flags a img {
  opacity: 0.5;         
  transition: opacity 0.3s;
}

.language-flags a.active img {
  opacity: 1;           
}

.language-flags a img:hover {
  opacity: 0.8;         
}

#footer-wrapper {
  margin: 0;
  padding: 0;
}

#footer-wrapper .container p {
  text-align: center;
  margin: 0; 
}

.home-title {
  text-align: center;   
  font-size: 2.5rem;    
  padding: 40px 20px;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
}

.home-title2 {
  text-align: center;   
  font-size: 30px;
  padding: 40px 20px;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 400;
}

.team-section {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  text-align: justify;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.6;
}


.software-section {
  display: flex;
  width: 100%;
  max-width: 2000px;
  margin: 1px auto;
  align-items: center;

  opacity: 0;
  transform: translateX(120px);
  transition: all 2s ease-out;
  background: #ffc900;
  padding-left:  200px;
}

.software-section h2 {
  font-weight: normal; 
}

.software-section.reverse {
  flex-direction: row-reverse;
  transform: translateX(-120px);
  background-color: #ffffff;
  padding-left:  50px;
  padding-right: 200px;
}

.software-section.visible {
  opacity: 1;
  transform: translateX(0);
}

.software-left {
  flex: 1;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
  color: #222;
  line-height: 1.6;
  text-align: justify;
}

.software-right {
  flex: 1;
  display: flex;
  justify-content: center; 
  align-items: center;
}

.gear-bg {
  width: 600px;
  height: 600px;
  position: relative;
  overflow: hidden;
}

.gear-photo-circle {
  width: 520px;       
  height: 520px;
  border-radius: 30%; 
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 45px;        
  left: 25px;       
  z-index: 0;
}

.gear-spin {
  width: 600px;
  height: 600px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  animation: spin-gear 40s linear infinite;
  z-index: 1;
}

.software-logos-container {
  position: absolute;
  bottom: 65px;
  left: 30px;
  width: 85%;
  overflow: hidden;
  z-index: 2;
}

.software-logos {
  display: flex;
  gap: 5px;
  animation: marquee 40s linear infinite;
}

.software-logos img {
  width: 100px;
  height: 60px;
}

.logo-box {
  width: 120px;      
  height: 60px;
  background-color: white;  
  border-radius: 10px;      
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;          
}

.logo-box img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

@keyframes spin-gear {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#kontakt {
  width: 100%;
  max-width: 2000px;
  background-image: url('../../images/tlo2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: darken;        
  color: white;
}

#kontakt.no-bg {
  background: none !important; 
   color: black;
}

.kontakt-container {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  max-height: 500px;
}

.kontakt-container2 {
  display: flex;
  gap: 0px;
  flex-wrap: wrap;
  max-height: 900px;
}

.kontakt-left {
  flex: 2;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-height: 500px;
}

.kontakt-left2 {
  flex: 2;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 900px;
}

.kontakt-left-content {
  text-align: left;
  margin-left: 200px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
  margin-top: 40px;
}

.kontakt-left-content2 {
  text-align: left;
  margin-left: 150px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 24px;
}

.kontakt-left-content p {
  margin: 20px 0; 
  font-size: 22px; 
  line-height: 2; 
}

.kontakt-left-content2 p {
  margin: 20px 0; 
  font-size: 22px;
  line-height: 1.5; 
}

.kontakt-left-content h2 {
  margin-bottom: 20px;
  font-size: 30px;
  font-weight: normal;
}

.kontakt-left-content2 i {
  margin-right: 10px; 
}

.kontakt-left-content i {
  margin-right: 10px; 
}

.kontakt-right {
  flex: 4;
  min-width: 300px;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.map-wrapper {
  width: 100%;
  max-width: 900px; 
  max-height: 400px;
  aspect-ratio: 4/3;
  margin-bottom: 50px;
  flex-shrink: 1;
  flex-grow: 1;

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-left: 200px; 
  margin-right: 50px; 
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.kontakt-right2 {
  flex: 4;
  min-width: 300px;
  max-height: 900px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

.map-wrapper2 {
  width: 100%;
  max-width: 700px; 
  max-height: 700px;
  aspect-ratio: 3/3;
  flex-shrink: 1;
  flex-grow: 1;

  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}


.map-wrapper2 iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.siedziba-img {
  width: 100%;       
  max-width: 1200px; 
  height: auto;     
  display: block;
  margin: 20px auto; 
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3); 
}


.footer-top-bar {
  width: 100%;
  height: 100px;
  background-image: url('../../images/tlo2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(0,0,0,0.4); 
  background-blend-mode: darken;
}


@media (max-width: 768px) {
  #header-wrapper {
    position: fixed;
    height: auto;
    min-height: 120px;
    padding: 8px 0;
    overflow: visible;
    box-sizing: border-box;
  }

  body {
    padding-top: 135px; 
  }

  #header .inner {
    display: grid !important;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 0px 0px;
    align-items: center;
    width: 100%;
    padding: 0px 0px;
    box-sizing: border-box;
    background: transparent;
  }

  #header-wrapper,
  #header {
    margin: 0px 0px;
    padding: 0px 0px;
  }

  #header#header {
    padding: 0px 20px;
  }

  .logo-contact {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding: 0;
    min-height: 48px;
  }

  .language-flags {
    position: static; 
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
  }

  .logo-img {
    max-height: 60px;
    height: auto;
    transform: translateY(0); 
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    margin-top: 0; 
    line-height: 1.1;
  }

  .contact-info span {
    margin-right: 8px;
    white-space: nowrap;
  }

  #nav {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    width: 100%;
    margin: 0;
    padding-top: 0px;
    border-top: 1px solid rgba(255,255,255,0.08); 
    box-sizing: border-box;
  }

  #nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0px 0 0 0;
    margin: 0;
  }

  #nav ul li {
    display: inline-block;
    margin: 0;
  }

  #nav ul li a {
    font-size: 18px;
    padding: 4px 10px;
    display: inline-block;
  }

  .language-flags a img {
    width: 22px;
    height: auto;
    opacity: 0.9;
  }

  .team-section {
  width: 90%;
  max-width: 1200px;
  margin: 0px auto;
  text-align: justify;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  }

  .home-title { 
  font-size: 1.5rem;    
  padding: 20px 10px;
  }

  .software-section,
  .software-section.reverse {
    flex-direction: column !important;  
    align-items: center;
    justify-content: center;
    padding: 20px 15px !important;      
    text-align: center;
    background: #ffc900;               
    transform: none;                    
  }

  .software-section h2 {
    font-weight: normal;
    font-size: 24px;
    text-align: center;  
    width: 100%;
  }

  .software-section.reverse {
    background-color: #ffffff;
  }

  .software-left {
    width: 100%;
    flex: none;
    font-size: 18px;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;                
  }

  .software-right {
    width: 100%;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .gear-bg {
    width: 300px;
    height: 300px;
    position: relative;
  }

  .gear-photo-circle {
    width: 260px;
    height: 260px;
    top: 20px;
    left: 20px;
  }

  .gear-spin {
    width: 300px;
    height: 300px;
  }

  .software-logos-container {
    bottom: 25px;
    left: 10px;
    width: 90%;
  }

  .software-logos img {
    width: 60px;
    height: 36px;
  }

  .software-section,
  .software-section.reverse {
    transform: none;
    opacity: 1;
    transition: none;
  }

  .kontakt-container {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    max-height: none; 
    padding: 20px 15px;
    padding-top: 0px;
  }

  .kontakt-left-content {
    margin-left: 0 !important; 
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
    font-size: 18px; 
  }

  .kontakt-left-content p {
    font-size: 18px;
    line-height: 1.5;
    margin: 10px 0;
  }

  .kontakt-left-content h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .kontakt-right {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }

  .map-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    margin: 0 0 20px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .map-wrapper iframe {
    width: 100%;
    height: 100%;
  }

  .kontakt-container2 {
    flex-direction: column !important;
    align-items: center;
    justify-content: flex-start;
    max-height: none; 
    padding: 20px 15px;
    padding-top: 0px;
  }

  .kontakt-left-content2 {
    margin-left: 0 !important; 
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 0px;
    font-size: 18px; 
  }

  .kontakt-left-content2 p {
    font-size: 18px;
    line-height: 1.5;
    margin: 10px 0;
  }

  .kontakt-left-content2 h2 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .kontakt-right2 {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }

  .map-wrapper2 {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 3/3;
    margin: 0 0 20px 0;
    margin-left: 0;
    margin-right: 0;
  }

  .kontakt-container2 {
    margin-top: 30px;
    margin-bottom: 0px;
  }

  #main-wrapper2 {
    background-color: #ffffff; 
    max-width: 2000px;
    padding-top: 0px;
    padding-bottom: 0px;
  }

}

@media screen and (max-width: 500px) {
  .language-flags {
    display: flex;
    flex-direction: column;     
    justify-content: center;    
    align-items: flex-end;      
    gap: 4px;                   
    position: static;           
    height: 100%;               
  }

  .language-flags a img {
    width: 18px;
    height: auto;
  }

  @media screen and (max-width: 400px) {
    .language-flags {
      gap: 2px;
    }
    .language-flags a img {
      width: 20px;
    }
  }

  #nav ul li a {
    font-size: 12px;
  }

}

@media screen and (max-width: 768px) {
  body {
    zoom: 1; 
  }
}

@media screen and (min-width: 769px) and (max-width: 1500px) {
  body {
    zoom: 0.5;
  }
}

@media screen and (min-width: 1501px) and (max-width: 2100px) {
  body {
    zoom: 0.8;
  }
}

@media screen and (min-width: 2101px) {
  body {
    zoom: 1;
  }
}

