html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f9f9f9;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navbar {
  background-color: white;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #00aaff;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -2px;
  background-color: #00aaff;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #00aaff;
}

.nav-links li a.active {
  color: #00aaff;
}

.nav-links li a.active::after {
  width: 100%;
}

.tlo {
  position: relative;
  height: 90vh;
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tlo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;      
}

.tlo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.tlo-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.tlo-content h1 {
  font-size: 3rem;
}

.tlo-content .highlight {
  color: #00aaff;
}

.przy {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  margin: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform;
}

.przy:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.2);
}

.przy:active {
  transform: scale(0.96);
  box-shadow: 0 4px 10px rgba(0, 170, 255, 0.3);
}

.przy.glowny {
  background: #00aaff;
  color: white;
}

.przy.glowny:hover {
  background: #0094d6;
}

.przy.drugi {
  border: 2px solid white;
  color: white;
}

.przy.drugi:hover {
  background: white;
  color: #00aaff;
  border-color: white;
}

.section {
  padding: 4rem 0;
}

.section.light {
  background: #f1f5f9;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

.uslugi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.onas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.features-list {
  list-style: disc;
  padding-left: 1.5rem;
  color: #555;
}

.quote-box {
  background: #1D74D6;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  color: #fff;
}

.footer {
  background: #1e293b;
  color: white;
  padding: 3rem 1rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.footer-menu ul li {
  color: #ddd;
  text-decoration: none;
  margin-bottom: 9px;
}

.footer a {
  color: #ddd;
  text-decoration: none;
  margin-bottom: 199px;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #aaa;
}

.galeria-header {
  text-align: center;
  margin-top: 3rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
}

.galeria-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

form.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input, .form-textarea {
  width: 94%;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.sklep-zdj {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

#pow {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

#pow img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}

#pow-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 2001;
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.tlo-content h1,
.tlo-content p,
.tlo-buttons a {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.tlo-content h1 { animation-delay: 0.2s; }
.tlo-content p { animation-delay: 0.4s; }
.tlo-buttons a:nth-child(1) { animation-delay: 0.6s; }
.tlo-buttons a:nth-child(2) { animation-delay: 0.8s; }

.staty {
  background: #1d74d6;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.staty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}

.staty-grid h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.staty-grid p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

.kontener-podziekowanie {
  background: #fff;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: wejscie-z-dolu 0.6s ease-out;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(50%);
}

.kontener-podziekowanie .tytul {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #0077cc;
}

.kontener-podziekowanie .opis {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

.kontener-podziekowanie .przycisk {
  display: inline-block;
  background: #0077cc;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.kontener-podziekowanie .przycisk:hover {
  background: #005fa3;
}

.kontener-podziekowanie .maly-tekst {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #777;
}

@keyframes wejscie-z-dolu {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}

.navbar-content { position: relative; }

.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.hamburger span + span { margin-top: 5px; }

@media (max-width: 768px) {
  .onas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .quote-box {
    text-align: center;
  }

  .logo {
    padding-left: 10px;
  }

  .hamburger { 
    display: block;
    padding-right: 15px;
  }


  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: .5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    display: none; 
    z-index: 1001; 
  }
  .nav-links li a { display: block; padding: .75rem 0; }


  .nav-links.active { display: flex; }

  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

.sekcja-mapa {
  text-align: center;
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.section-title {
  font-size: 2.4rem;
  margin-bottom: 8px;
  font-weight: 700;
  color: #333;
}

.section-subtitle {
  margin-bottom: 24px;
  font-size: 1.1rem;
  color: #666;
}

.mapa-iframe {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  margin: 0 auto 24px auto;
  max-width: 1400px;
}

.mapa-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.adres {
  margin: 16px 0 8px;
  font-weight: 600;
  font-size: 1.1rem;
  color: #444;
}

.btn-dojazd {
  display: inline-block;
  padding: 14px 22px;
  border: 2px solid #007acc;
  border-radius: 8px;
  text-decoration: none;
  color: #007acc;
  background-color: #fff;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s;
}

.btn-dojazd:hover {
  background-color: #007acc;
  color: #fff;
}

.faq-lista {
  margin-top: 2rem;
}

.faq-element {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
}

.faq-pytanie {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  padding: .5rem 0;
  color: #333;
  transition: color 0.3s ease;
}

.faq-element.active .faq-pytanie {
  color: #00aaff;
}

.faq-odpowiedz {
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  color: #555;
  line-height: 1.6;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
}

.faq-element.active .faq-odpowiedz {
  max-height: 300px; 
  margin-top: .5rem;
}


.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.blok {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.blok:hover {
  transform: translateY(-3px);
}

.tytul-sekcji {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.pole, .pole-tekst {
  width: 95%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pole:focus, .pole-tekst:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 0 3px rgba(0, 170, 255, 0.1);
}

.przycisk.glowny {
  background-color: #00aaff;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s ease;
}

.przycisk.glowny:hover {
  background-color: #007acc;
  transform: translateY(-2px);
}


.blok a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s;
}

.blok a:hover {
  color: #005fa3;
}

.blok p {
  margin-bottom: 12px;
  color: #444;
  line-height: 1.5;
}


.mapa {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.mapa iframe {
  width: 100%;
  height: 250px;
  border: 0;
}


@media (max-width: 900px) {
  .kontakt-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .blok {
    padding: 20px;
  }

  .tytul-sekcji {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .pole, 
  .pole-tekst {
    font-size: 0.95rem;       
    padding: 10px 12px;       
    border-radius: 6px; 	
	width: 95%;
  }

  form .przycisk.glowny {
    width: 100%;              
    padding: 14px;           
    font-size: 1rem;
  }
}
