html {
  scroll-behavior: smooth;
}
@font-face {
  font-family: 'DIN Pro';
  src: url('/fonts/DINPro-Regular.woff2') format('woff2');
  font-weight: 400; /* zamiast 'light' */
  font-style: normal;
  font-display: swap; /* lepsze renderowanie i kompatybilność */
}

:root {
  --gradient: linear-gradient(to right, #349EF2, #2816C8);
}

body {
  margin: 0;
  font-family: 'DIN Pro', sans-serif;
  color: #333333;
}

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

header {
  width: 100%;
  height: 750px;
  background: linear-gradient(to right, #0f0230, #2a0a90);
  position: relative;
  overflow: hidden;
  color: white;
  padding: 0;
  box-sizing: border-box;
}

header img.parallax-img {
  position: absolute;
  width: 250px;
  height: auto;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

#img1 { top: 40%; left: 0%; }
#img2 { top: 10%; right: 40%; }
#img3 { bottom: 10%; right: 0%; }

.logo {
  position: absolute;
  top: 2rem;
  left: 120px;
  width: auto;
}

.logo img {
  width: 20vw;
  max-width: 120px;
  height: auto;
  display: block;
}

nav.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 55%;
  position: absolute;
  top: 2rem;
  right: 120px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-grow: 0;
}

.nav-links a {
  font-family: 'DIN Pro', sans-serif;
  font-size: 16px;
  text-decoration: none;
  font-weight: light;
  color: white;
  margin: 0 10px;
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gradient);
  border-radius: 2px;
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-icons a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.facebook-icon i {
  background-color: white;
  color: #1f096e;
  border-radius: 50%;
  padding: 0.4rem;
  width: 1rem;
  height: 1rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1rem;
}

.phone-icon i {
  transform: rotate(90deg);
  font-size: 1.2rem;
}

.phone-number {
  font-weight: 500;
}

.hero {
  position: relative;
  text-align: center;
  margin-top: 6rem;
  z-index: 10;
}

.hero p {
  margin-top: 240px;
  font-size: 2rem;
  line-height: 1.5;
  z-index: 1;
}

.hero h1 {
  font-size: 10rem;
  font-weight: bold;
  font-family: 'DIN Pro', serif;
  margin-bottom: 40px;
  margin-top: -40px;
  z-index: -1;
}

.btn {
  padding: 20px 80px;
  border-radius: 70px;
  background: transparent;
  color: white;
  font-size: 16px;
  font-weight: 300;
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: none;
  margin: 20px 0;
}

.btn:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 70px;
  padding: 2px;
  background: linear-gradient(to right, #349EF2, #2816C8);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.btn:hover {
  background: var(--gradient);
}

.wrapper {
  margin-left: 220px;
  margin-right: 220px;
}

section {
  padding: 4rem 0;
  text-align: center;
}

section h2 {
  font-family: 'DIN Pro', serif;
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 2rem;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gradient);
  position: absolute;
  bottom: -8px;
  left: 0;
  border-radius: 2px;
}

section h3 {
  font-family: 'DIN Pro', sans-serif;
  font-size: 18px;
}

.services {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 40px;
}

.service {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 40px;
  margin-top: 40px;
  gap: 10px;
  background: #FFFFFF;
  box-shadow: 0px 10px 20px #D8DADE;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  flex: 1 1 300px;
}

.service h3 {
  margin-bottom: 0.25rem;
}

.service p {
  margin-top: 0;
}

.service-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.service-icon:hover {
  transform: scale(1.2);
}

footer {
  background: linear-gradient(to right, #0f0230, #2a0a90);
  color: white;
  padding: 4rem 0;
  text-align: center;
  width: 100%;
}

footer .columns {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 80px;
  margin-left: 220px;
  margin-right: 220px;
  line-height: 1.5;
}

footer h2 {
  font-family: 'DIN Pro', serif;
  font-size: 1.8rem;
  border-bottom: 2px solid #349EF2;
  display: inline-block;
  margin-bottom: 1rem;


}

.kontakt strong {
  color: #fff;
}

a {
  color: #00bfff;
}

/* Style dla logotypów */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8rem;
  justify-items: center;
  margin: 80px 0;
}

.logo-item img {
  width: 100%;
  max-width: 140px;
  height: auto;
}

/* BURGER MENU */

.burger {
  display: none;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 100;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: all 0.3s ease;
}

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

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

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

/* RESPONSYWNOŚĆ */

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .navbar {
    display: none !important;
    flex-direction: column;
    background-color: #0f0230;
    position: absolute;
    top: 70px ;
    right: 20px;
    padding: 1rem;
    border-radius: 0px;
    z-index: 99;

  }

  .navbar.active {
    display: flex !important;


  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    text-align: right;
  }

  .nav-icons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .logo {
    left: 20px;
  }

  .logo img {
    width: 30vw;
    max-width: 220px;
  }

  .hero h1 {
    font-size: 4rem;
  }

  .services .service {
    max-width: 100%;
    margin-top: 10px;
    padding: 20px;
  }

  .wrapper {
    margin: 0 10px;
  }

  footer .columns {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 2rem 1rem;
  }
}
