body {
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0cm;
    line-height: 1.6;
    color: #000000;
}



/* GŁÓWNY HEADER */
header {
  background: white;
  border-bottom: 1px solid #e80f0f;
  padding: 4px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 9000px;
  margin: 0 auto;
  position: relative;
}

/* LOGO */
.logo img {
  height: 80px;
  width: auto;
}

/* MENU - DESKTOP */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  font-size: 16px;
}

/* ROZWIJANY PRZYCISK */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1001;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 10px;
    background: white;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  nav ul.active {
    display: flex;
  }
}


.hero {
  background-image: url('obraztlo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: flex-start; /* zachowuje box po lewej */
  align-items: center;
  padding: 60px 80px;
  text-align: left;

  min-height: 500px;           /* zamiast sztywnego 70vh */
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Box z tekstem */
.text-on-image {
  max-width: 500px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Nagłówek */
.text-on-image h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #111;
}

/* Akapit */
.text-on-image p {
  font-size: 18px;
  color: #222;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Przycisk */
.btn {
  display: inline-block;
  background-color: #ffe600;
  color: #000;
  font-weight: bold;
  padding: 15px 25px;
  text-decoration: none;
  margin-top: 20px;
  border-radius: 4px;
}

/* MOBILE: poprawka responsywności */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    align-items: center;
  }

  .text-on-image {
    max-width: 100%;
    padding: 30px;
  }

  .text-on-image h1 {
    font-size: 32px;
  }

  .text-on-image p {
    font-size: 16px;
  }
}


/* Sekcja z trzema kartami */
.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 100px 20px;
  background: #fff;
  gap: 20px;
}

/* Karta z perspektywą 3D */
.flip-card {
  background: transparent;
  width: 300px;
  height: 300px;
  perspective: 1000px;
}

/* Wnętrze karty obracane */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

/* Aktywacja obrotu po najechaniu */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Przód i tył karty */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

/* FRONT – zawiera obrazek i nagłówek */
.flip-card-front img {
  width: 150px;
  height: auto;
  margin-bottom: 15px;
}

.flip-card-front h3 {
  color: #000;
  margin-bottom: 10px;
  font-size: 20px;
}

/* BACK – zawiera opis na ciemnym tle */
.flip-card-back {
  background-color: #333;
  color: #fff;
  transform: rotateY(180deg);
  font-size: 16px;
  padding: 30px;
}


.help-section {
    background-color: #2e2e2e;
    color: #fff;
    padding: 80px 40px;
}

.help-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.help-image img {
    width: 350px;
    border-radius: 8px;
}

.help-text {
    flex: 1;
}

.help-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.help-text p {
    margin-bottom: 15px;
}

.help-text .btn {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 20px;
    background: #ff0;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}
.contact-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    font-size: 2em;
    font-weight: bold;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    background-color: #f0f0f0;
    padding: 40px 10px;
    flex-wrap: wrap;
}

.contact-box {
    text-align: center;
    margin: 20px;
    max-width: 200px;
    padding-left: 20px;
}

.contact-box img {
    height: 40px;
    margin-bottom: 20px;
}

.contact-box h3 {
    margin-bottom: 5px;
}

.contact-box p, .contact-box a {
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
}

.contact-cta {
    background-color: #111;
    padding: 110px;
    text-align: center;
}

.contact-cta .btn.yellow {
    background-color: #ffdc00;
    color: #000;
    padding: 12px 25px;
    align-items: center;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
}
.container {
  margin-left: 300px;
  margin-right: 300px;
  margin-bottom: 0px;
}

.section {
  margin-right:auto;
  margin-left: auto;
  margin-bottom: 60px;
}

.number {
  text-align: center;
}

.main2 {
  margin-left: 60px;
  margin-right: 60px;
}


