@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

/* ==========================
   GLOBAL
   ========================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: transparent; /* film jest tłem */
  color: #333;
}

a { text-decoration: none; color: inherit; }

/* --- TŁO WIDEO --- */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;             /* pod treścią */
  pointer-events: none;    /* kliki przechodzą do treści */
}

/* Wszystkie sekcje nad tłem */
header, .hero, .dlaczego-my, .opinie, .cta, #faq, #kontakt, .cennik, .uslugi, footer {
  position: relative;
  z-index: 1;
}

/* ==========================
   HEADER: LOGO > SLOGAN > MENU
   ========================== */
header {
  background: rgba(34,34,34,0.8); /* półprzezroczyste tło */
  padding: 15px 0;
  text-align: center;
}
.header-cta { display: flex; gap: 12px; justify-content: center; }
.btn-cta {
  background: #ff5722; color: #fff;
  padding: 10px 20px; border-radius: 4px; font-weight: bold;
}
.btn-cta:hover, .btn-cta:focus { background: #e64a19; }
.btn-phone { background: #4caf50; }
.btn-phone:hover, .btn-phone:focus { background: #388e3c; }

.header-container {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

.logo { height: 240px; width: auto; }
.slogan p {
  margin: 0 0 8px; font-size: 1.4rem; color: #fff; font-weight: 400; letter-spacing: .5px;
  font-family: 'Luckiest Guy', cursive;
}
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 25px; }
nav ul li a { color: #fff; font-weight: bold; font-size: 1.1rem; }
nav ul li a:hover { text-decoration: underline; }

@media (max-width: 768px){
  .logo { height: 120px; }
  .slogan p { font-size: 1.1rem; }
  nav ul { flex-wrap: wrap; gap: 15px; }
}

/* ==========================
   HERO
   ========================== */
.hero {
  background: rgba(33,150,243,0.7);
  color: white; padding: 50px; text-align: center;
}
.hero .btn{
  display: inline-block; margin-top: 20px; padding: 10px 20px;
  background: #fff; color: #2196f3; font-weight: bold; border-radius: 5px;
}
.hero .btn:hover{ background: #e0e0e0; }

/* animacja H1 */
@keyframes pulse-scale{
  0%{ transform: scale(1); opacity: .8; }
  50%{ transform: scale(1.6); opacity: 1; }
  100%{ transform: scale(1); opacity: .8; }
}
section.hero h1{
  display: inline-block;
  -webkit-text-stroke: 1.5px red;
  text-stroke: 1px red;
  color: #fff;
  animation: pulse-scale 2s ease-in-out infinite;
}

/* ==========================
   USŁUGI
   ========================== */
.uslugi{ padding: 40px; background: rgba(255,255,255,0.9); }
.uslugi h2{ text-align: center; margin-bottom: 30px; }
.uslugi ul{ list-style: none; padding-left: 0; }
.usluga{
  background: #fff; padding: 20px; margin: 15px auto; max-width: 800px;
  border-left: 5px solid #2196f3; box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
.usluga h3{ margin-top: 0; color: #333; }
.usluga p{ margin: 10px 0 0; color: #555; }
.toggle-usluga{
  width: 100%; background: #2196f3; color: #fff; padding: 15px; font-size: 18px;
  border: none; border-radius: 5px; cursor: pointer; margin-top: 15px;
}
.usluga-opis{
  display: none; background: #fff; padding: 15px; border-left: 5px solid #2196f3;
  box-shadow: 0 2px 5px rgba(0,0,0,.1); margin-bottom: 10px;
}

/* ==========================
   KONTAKT
   ========================== */
#kontakt{ background: rgba(255,255,255,0.9); padding: 40px; text-align: center; }
#kontakt form{ max-width: 500px; margin: 0 auto; text-align: left; }
#kontakt input, #kontakt textarea{
  width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px;
}
#kontakt input[type="submit"]{
  background: #2196f3; color: #fff; border: none; cursor: pointer;
  display: inline-block; width: auto; padding: 10px 20px;
}
#kontakt input[type="submit"]:hover{ background: #1976d2; }
#pokazNumer{
  background: #2196f3; color: #fff; padding: 10px 20px; font-size: 16px;
  border: none; border-radius: 5px; cursor: pointer;
}
#pokazNumer:hover{ background: #1976d2; }

/* ==========================
   CENNIK
   ========================== */
.cennik{ padding: 40px; background: rgba(255,255,255,0.9); text-align: center; }
.cennik table{
  margin: 0 auto; border-collapse: collapse; width: 90%; max-width: 800px;
}
.cennik th, .cennik td{
  border: 1px solid #ccc; padding: 12px; text-align: left;
}
.cennik th{ background: #f4f4f4; }
.cennik td:last-child{ text-align: right; white-space: nowrap; font-family: monospace; min-width: 120px; }
.cennik-tabela{ border: 1px solid #ccc; background: #fff; }
.cennik-tabela td, .cennik-tabela th{ padding: 12px; border: 1px solid #ddd; }
.cennik-tabela tr:nth-child(even){ background: #f9f9f9; }

/* ==========================
   DLACZEGO MY
   ========================== */
.dlaczego-my{ background: rgba(255,255,255,0.9); padding: 40px 20px; text-align: center; }
.dlaczego-my h2{ font-size: 28px; margin-bottom: 30px; }
.dlaczego-bloki{ display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.blok{
  background: #f9f9f9; padding: 20px; border-left: 5px solid #2196f3;
  max-width: 300px; box-shadow: 0 2px 5px rgba(0,0,0,.1); text-align: left;
}

/* ==========================
   OPINIE
   ========================== */
.opinie{ background: rgba(255,255,255,0.9); padding: 40px 20px; text-align: center; }
.opinie h2{ font-size: 28px; margin-bottom: 20px; }
.opinie blockquote{
  font-style: italic; margin: 20px auto; max-width: 600px;
  border-left: 4px solid #2196f3; padding-left: 15px; color: #555;
}

/* ==========================
   CTA
   ========================== */
.cta{ background: rgba(33,150,243,0.8); color: #fff; text-align: center; padding: 50px 20px; }
.cta h2{ font-size: 26px; margin-bottom: 20px; }
.cta .btn{
  background: #fff; color: #2196f3; padding: 12px 25px; border-radius: 5px; font-weight: bold; font-size: 16px;
}
.cta .btn:hover{ background: #e0e0e0; }

/* ==========================
   FOOTER
   ========================== */
footer{ background: rgba(34,34,34,0.9); color: #fff; text-align: center; padding: 15px; }

/* ==========================
   FAQ
   ========================== */
#faq{ padding: 40px 20px; background: rgba(255,255,255,0.9); }
#faq h2{ text-align: center; margin-bottom: 30px; font-size: 2rem; color: #222; }
.faq-item{ max-width: 800px; margin: 0 auto 15px; }
.faq-q{
  width: 100%; text-align: left; background: #2196f3; color: #fff; padding: 12px 20px;
  font-size: 1.1rem; border: none; border-radius: 4px; cursor: pointer; position: relative;
}
.faq-q::after{ content: '+'; position: absolute; right: 20px; font-size: 1.2rem; }
.faq-q[aria-expanded="true"]::after{ content: '−'; }
.faq-a{
  display: none; padding: 15px 20px; border-left: 4px solid #2196f3;
  background: #f9f9f9; border-radius: 0 4px 4px 4px;
}

/* ==========================
   LEGAL PAGES – czytelny tekst + wideo w tle
   ========================== */
body.legal-page {
  color: #222 !important;
}

/* NIE ukrywamy .bg-video – zostaje w tle */

/* Treść jako półprzezroczysta „kartka” */
body.legal-page main,
body.legal-page section {
  background: rgba(255,255,255,0.92); /* mleczko, ale widać wideo */
  color: #222 !important;
  max-width: 900px;
  margin: 20px auto;
  padding: 40px 20px;
  line-height: 1.7;
  border-radius: 6px;
}

/* nagłówki ciemne, bez efektów */
body.legal-page h1,
body.legal-page h2,
body.legal-page h3 {
  color: #111 !important;
  text-shadow: none !important;
}

