*{margin:0;padding:0;box-sizing:border-box;font-family:Arial,sans-serif}
section {
  scroll-margin-top: 90px;
}
html{scroll-behavior:smooth}
body{padding-top:0px;color:#1f3d1f}
body {
  background: #f1f4f1;
}


/* NAVBAR */
.navbar{position:sticky;top:0;background:#1f3d1f;z-index:1000}
.nav-container {
  max-width: 1100px;
  margin: auto;

  height: 50px;                 /* STAŁA WYSOKOŚĆ NAVBARA */
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;                 /* WIĘKSZE LOGO */
  margin-top: 0px;            /* LEKKO WYSTAJE */
}


.nav-links{list-style:none;display:flex;gap:25px}
.nav-links a{color:#fff;text-decoration:none;font-weight:bold;position:relative}
.nav-links a:hover{color:#9be39b}
.nav-links a::after{content:"";position:absolute;left:0;bottom:-5px;width:0;height:2px;background:#9be39b;transition:.3s}
.nav-links a:hover::after{width:100%}
.nav-link.active{color:#9be39b}

.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hamburger span{width:25px;height:3px;background:#fff}

/* HERO */
.hero {
  min-height: 70svh;
  max-height: 800px;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.95;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-bg.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  height: 100%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.btn {
  margin-top: 20px;
  padding: 14px 30px;
  background: #3ba63b;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}



.section > *:not(h2) {
  margin-top: 30px;
}
.section > h2 {
  text-align: center;
}

.section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 50px 40px;

  background: #fff;
  border-radius: 12px;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);

  position: relative;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.light{background:#f4f7f4}
.center{text-align:center}

/* OFERTA */
.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px}
.service {
  background: #fff;
  border-radius: 10px;
  padding: 30px;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.07);

  transition: transform .3s ease, box-shadow .3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow:
    0 15px 35px rgba(0,0,0,0.12);
}

/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 15px;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;

  border-radius: 10px;
  cursor: pointer;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.gallery-img:hover {
  transform: scale(1.20);              /* 👈 minimalne powiększenie */
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
  filter: brightness(1.20);            /* 👈 lekkie podświetlenie */
}


.gallery-img.hidden {
  display: none;
}

.gallery-toggle {
  margin: 30px auto 0;
  padding: 12px 30px;
  background: #3ba63b;
  color: #fff;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* FORM */
.form {
  text-align: left;
  max-width: 500px;
  margin: auto;

  display: flex;
  flex-direction: column;
}

.form input:not([type="checkbox"]) {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
}


.form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;

  min-height: 160px;   /* TYLKO WIADOMOŚĆ */
  resize: vertical;
  font-family: inherit;
}

.form button {
  width: 100%;
  background: #3ba63b;
  color: #fff;
  padding: 12px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

/* CHECKBOX RODO */
.privacy-wrapper {
  display: flex;
  justify-content: center;
  margin: 15px 0 10px;
}

.privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;

  max-width: 100%;        
  width: fit-content;     
  margin: 0 auto;         

  font-size: 14px;
  color: #1f3d1f;
  text-align: left;
}

.privacy-checkbox input {
  margin: 0;
  flex-shrink: 0;
}


.privacy-checkbox a {
  color: #1f3d1f;
  text-decoration: underline;
}

.privacy-checkbox a:hover {
  color: #3ba63b;
}



/* ANIMACJE */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all .8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  user-select: none;
}

.lightbox-btn.prev { left: 20px; }
.lightbox-btn.next { right: 20px; }

.lightbox-btn:hover {
  opacity: 0.7;
}


/* KONTAKT */
.contact-intro {
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.6;
  text-align: center;
}

.contact{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.contact-location {
  text-align: center;
  margin-top: 20px;
}
.contact-telefon {
  text-align: center;
}
.map {
  margin-top: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
/* POLITYKI – marginesy i listy */
.policy {
  max-width: 900px;
  margin: 120px auto 80px;
  padding: 0 20px;
  line-height: 1.7;
}

.policy h1 {
  text-align: center;
  margin-bottom: 40px;
}

.policy h2 {
  margin: 35px 0 15px;
}

.policy ul {
  margin: 15px 0 15px 20px;   /* 👈 kontrolowany margines */
  padding-left: 20px;        /* 👈 kropki NIE uciekają */
}

.policy li {
  margin-bottom: 8px;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 900px;

  background: #1f3d1f;
  color: #fff;

  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);

  padding: 20px;
  z-index: 5000;

  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1;
}

.cookie-content a {
  color: #9be39b;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-buttons button {
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}

.cookie-accept {
  background: #3ba63b;
  color: #fff;
}

.cookie-decline {
  background: #fff;
  color: #1f3d1f;
}

@media (max-width: 600px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: flex-end;
  }
}

/* MAP PLACEHOLDER*/
.map-placeholder {
  height: 300px;
  background: #e6eae6;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 12px;
  color: #1f3d1f;
}

.map-placeholder button {
  background: #3ba63b;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.map-placeholder a {
  color: #1f3d1f;
  text-decoration: underline;
  font-weight: 600;
}

.map-placeholder a:hover {
  color: #3ba63b;
}


/* FOOTER */
footer{background:#1f3d1f;color:#fff;text-align:center;padding:20px}
footer a {
  display: inline-block;
  margin-top: 8px;          /* odstęp od tekstu nad linkiem */
  color: inherit;           /* ten sam kolor co tekst */
  text-decoration: underline;
}

footer a:hover {
  color: #9be39b;           /* delikatny hover */
}

/* CALL MOBILE */
.call-mobile{display:none}

/* MOBILE */
@media(max-width:900px){
  .nav-links {
    position: absolute;
    top: 100%;              /* 👈 KLUCZ */
    left: 0;
    width: 100%;

    background: #1f3d1f;
    flex-direction: column;
    align-items: center;

    display: none;
    padding: 20px 0;
  }

  .nav-links.active {
    display: flex;
  }
  .hamburger{display:flex}
  .contact{grid-template-columns:1fr}
  .section {
    padding: 40px 20px;
    margin: 40px 15px;}
  .call-mobile{display:block;position:fixed;bottom:15px;left:15px;right:15px;background:#3ba63b;color:#fff;text-align:center;padding:15px;font-weight:bold;border-radius:8px;text-decoration:none;z-index:999}
}
