* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  background: #fff;
  color: #222;
}

header {
  background: #111;
  color: #fff;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.nav-links a {
  color: #fff;
  margin: 0 0.5rem;
  text-decoration: none;
  font-weight: bold;
}

.lang-switch {
  display: flex;
  border: 1px solid #fff;
  border-radius: 20px;
  overflow: hidden;
}

.lang-switch a {
  padding: 0.3rem 0.8rem;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}

.lang-switch a.active {
  background: #fff;
  color: #111;
}

.section {
  padding: 2.5rem 1.5rem;
  max-width: 80%;
  margin: auto;
}

.hero {
  display: grid;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero img {
  width: 100%;
  border-radius: 8px;
}

.img-wide {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 8px;
}

.gray {
  background: #fafafa;
}

.services-list {
  list-style: disc;
  margin-left: 1.2rem;
}

/* FOOTER */
footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 1.5rem 1rem;
}

footer p {
  margin-bottom: 0.5rem;
}

.back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  margin-bottom: 0.5 rem;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 700px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* MENU HOVER */
.nav-links a:hover,
.lang-switch a:hover,
.back-to-top:hover {
  color: #ffcc00;
  transition: color 0.3s;
}

/* OBRAZKI HOVER */
.hero img:hover,
.img-wide:hover {
  transform: scale(1.02);
  transition: transform 0.5s ease;
}
/* --- Bujanie switch --- */
.lang-switch {
  display: flex;
  border: 1px solid #fff;
  border-radius: 20px;
  overflow: hidden;

}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/* --- Stopka wjeżdża przy scroll --- */
.footer-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.footer-content.visible {
  opacity: 1;
  transform: translateY(0);
}



@keyframes floatLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* --- Fade-in/zoom przy scroll dla sekcji już mamy --- */
/* --- Sticky menu --- */
.sticky {
  position: sticky;
  top: 0;
  background: #111;
  z-index: 999;
}

/* --- Logo z miejscem na obrazek --- */
.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

/* --- Bujanie switch --- */
.lang-switch {
  display: flex;
  border: 1px solid #fff;
  border-radius: 20px;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes floatLogo {
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-3px);}
}

/* --- Fade-in i zoom --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.zoom-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Features --- */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature {
  background:#fff;
  padding:1.5rem;
  border-radius:10px;
  text-align:center;
  box-shadow:0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.feature .icon {
  font-size:2.5rem;
  margin-bottom:0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-8px);}
}

/* CTA Button */
.cta-button {
  display:inline-block;
  background:#ffcc00;
  color:#111;
  padding:0.7rem 1.5rem;
  border-radius:30px;
  font-weight:bold;
  margin-top:1rem;
  text-decoration:none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Footer */
footer {
  background:#111;
  color:#fff;
  text-align:center;
  padding:2rem 1rem;
}

.footer-content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.footer-content.visible {
  opacity:1;
  transform: translateY(0);
}
/* Animacja fade przy zmianie języka */
.lang-switch a {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease, transform 0.3s ease;
}

.lang-switch a:hover {
  color: #ffcc00;
  transform: scale(1.1);
}

/* Fade overlay */
.lang-fade {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.lang-fade.visible {
  opacity: 1;
}
/* Back to Top */
.back-to-top {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ffcc00;
  color: #111;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
.cta-button {
  display: inline-block;
  background: #ffcc00;
  color: #111;
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  margin-top: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  opacity: 0; /* początkowo niewidoczny */
  transform: translateY(20px);
}

.cta-button.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
a{
	color: #fff;
	text-decoration: none;}
.fade-in a{
	color: #111;
	text-decoration: none;}
    #contact {
      background-color: #f2f2f2;
      padding: 40px 20px;
      text-align: center;
      border-radius: 15px;
      margin: 40px auto;
      max-width: 800px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }

    #contact h2 {
      font-size: 2em;
      margin-bottom: 20px;
      color: #333;
    }

    #contact p {
      font-size: 1.2em;
      color: #555;
    }

    #contact a {
      color: #007BFF;
      text-decoration: none;
      font-weight: bold;
    }

    #contact a:hover {
      text-decoration: underline;
    }