/* ------------------------- */
/* GLOBALNE */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background: url('') no-repeat center center fixed;
  background-size: cover;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

.container {
  max-width: 2000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* ------------------------- */
/* HERO / O MNIE */
.about-me {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 40px 10px;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.about-left {
  flex: 1 1 45%;
  max-width: 45%;
}

.about-right {
  flex: 1 1 50%;
  max-width: 100%;
  padding: 0 5px;
  box-sizing: border-box;
}

.about-left img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border: 4px solid #ccc;
  margin-bottom: 20px;
}

.about-left h1 {
  margin: 0;
  font-size: 30px;
  font-weight: bold;
}

.about-left h2 {
  margin: 5px 0 15px 0;
  font-size: 20px;
  color: #ccc;
  font-weight: bold;
  font-style: italic;
}

.about-left p {
  margin: 5px 0 15px 0;
  font-size: 18px;
  color: #ccc;
  font-style: italic;
}

.about-right p {
  font-size: 18px;
  margin-bottom: 5px;
  color: #ccc;
}

/* ------------------------- */
/* BUTTONY */
.about-left .btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.btn {
  flex: 1 1 200px; /* elastyczna szerokość: min 200px, rośnie do dopasowania */
  min-height: 50px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center; /* wyśrodkowanie tekstu w przypadku zawijania */
  background: #d3d3d3;
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s;
  white-space: normal; /* pozwala tekstowi się zawijać */
  word-break: break-word; /* dzieli długi tekst w razie potrzeby */
}

.btn:hover {
  transform: scale(1.05);
}

.btn i {
  margin-right: 10px;
  vertical-align: middle;
}

/* FACEBOOK */
.btn-facebook {
  background: #1877F2; /* charakterystyczny niebieski FB */
  color: #fff;
}

.btn-facebook:hover {
  background: #145dbf; /* ciemniejszy na hover */
}

/* INSTAGRAM */
.btn-instagram {
  /* gradient w stylu Instagram */
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: #fff;
}

.btn-instagram:hover {
  filter: brightness(1.1); /* lekko rozjaśni na hover */
}

/* ------------------------- */
/* OFERTA */
.offer-section {
  margin-top: 10px;
  background-color: rgba(51, 51, 51, 0.85);
  padding: 40px 20px;
  width: 100%;
  backdrop-filter: blur(5px); /* opcjonalnie lekko rozmywa tło */
  box-sizing: border-box;
}

.offer-title {
  text-align: center;
  text-transform: uppercase;
  font-size: 32px;
  margin-bottom: 40px;
  letter-spacing: 1px;
  color: #fff;
}

.offer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.offer .card {
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(5px);
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  transition: 0.3s;
}

.offer .card:hover {
  transform: translateY(-5px);
  background: #222;
}

.offer .card h3 {
  text-transform: uppercase;
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
}

.offer .card p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
}

/* ------------------------- */
/* FAQ + KONTAKT */
.section-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.section-container .section {
  flex: 1 1 45%;
  background-color: rgba(51, 51, 51, 0.85); /* lekko przezroczyste */
  padding: 20px;
  border-radius: 10px;
  color: #ccc;
  backdrop-filter: blur(5px); /* opcjonalnie */
  box-sizing: border-box;
}

/* ------------------------- */
/* FOOTER */
.footer {
  margin-top: 20px;
  text-align: center;
  color: #777;
  font-size: 14px;
}

#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.4) grayscale(100%);
}

/* ------------------------- */
/* RESPONSYWNOŚĆ */
@media (max-width: 800px) {
  .about-left,
  .about-right {
    flex: 1 1 100%;
    max-width: 100%;  /* usuń ograniczenie do 50% */
    padding: 0 10px;  /* małe paddingi dla marginesu */
  }

  .about-left .btn-container {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    max-height: 20px;
  }

  .about-right p {
    width: 100%;      /* zajmuje całą szerokość rodzica */
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
  }
  .about-left img {
    max-width: 250px;
  }
  
  .offer-section {
    padding: 30px 15px;
  }
  .offer-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .offer .card h3 {
    font-size: 18px;
  }
  .offer .card p {
    font-size: 15px;
  }
  .offer {
    grid-template-columns: 1fr;
  }

  .section-container .section {
    flex: 1 1 100%;
  }
}
