body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #f4f1ea;
  color: #333;
  text-align:center;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 2px 0;
  
  
  
}

/* ── HEADER: sticky + animowany gradient ───────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  color: #fff;
  padding: 16px 0;
  background: linear-gradient(135deg, #6dc36d, #3c8c3c);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  transition: box-shadow 0.3s ease;
}

/* Większa szerokość TYLKO dla headera + więcej bocznego oddechu */
header .container {
  max-width: 1400px;      /* szerzej niż reszta strony */
  padding: 0 28px;        /* większy odstęp od krawędzi */
}

/* Flex 3-strefowy: lewo / środek / prawo, szeroko rozciągnięty */
.header-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;              /* przerwa między strefami */
}

/* Lewa: logo mocno do lewej */
.brand { flex: 1; text-align: left; }
.brand {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px; /* odstęp między logo a tekstem */
  text-align: left;
}

.brand-logo {
  width: 32px;   /* małe logo */
  height: auto;
}

.brand h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

/* Środek: menu – większe przerwy, idealnie wycentrowane */
.main-nav {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 40px;              /* większe odstępy między linkami */
}

/* Prawa: kontakt – skrajnie prawa + odstępy między elementami */
.contact {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;              /* odstęp: tel / mail / F */
    white-space: nowrap; /* ZAPOBIEGA łamaniu wiersza */
}
.contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap; /* każdy link w jednej linii */
}
.contact .dot { opacity: .85; }

/* „F” jako kapsułka */
.contact .fb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; 
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.7);
  font-weight: 800;
  line-height: 1;
  color: #fff;                  /* domyślnie białe F */
  transition: all 0.3s ease;    /* płynna animacja */
}

.contact .fb:hover {
  background-color: #1877F2;    /* niebieskie tło */
  border-color: #1877F2;
  color: #fff;                  /* F zostaje białe */
}

/* Podkreślenie linków w menu – zostawiamy Twój efekt */
nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 5px 0;
  font-weight: bold;
  transition: color .3s ease;
}
nav a::before {
  content: "";
  position: absolute;
  width: 100%; height: 3px;
  bottom: 0; left: 0;
  background-color: #ffcc00;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease-out;
}
nav a:hover { color: #ffcc00; }
nav a:hover::before { transform: scaleX(1); transform-origin: left; }

/* Cień po scrollu */
header.scrolled { box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ── Responsywność ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .main-nav { gap: 28px; }
}

@media (max-width: 900px) {
  header .container { padding: 0 16px; }
  .brand h1 { font-size: 24px; }
  .main-nav { gap: 20px; }
  .contact { gap: 14px; }
}

@media (max-width: 700px) {
  .header-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
  .brand, .main-nav, .contact { flex: 0 0 auto; }
  .contact .dot { display: none; }
}

/* Animacja tła */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

nav a {
  position: relative;
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  padding: 5px 0;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: #ffcc00; /* intensywny kolor podkreślenia */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease-out;
}

nav a:hover {
  color: #ffcc00; /* kolor tekstu po najechaniu */
}

nav a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  background: url('img/1.jpg') no-repeat center center / cover;
  background-attachment: fixed;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25); /* lekkie przyciemnienie */
  pointer-events: none;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px; /* odstęp logo ↔ tekst */
  padding: 20px;
}

/* Logo mniejsze i subtelne */
.hero-logo {
  width: clamp(80px, 15vw, 140px);
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4));
  opacity: 0;
  transform: translateX(-40px);
  animation: logoIn 1s ease forwards;
}

/* Napis obok */
.hero-title {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  opacity: 0;
  transform: translateX(40px);
  animation: titleIn 1s ease forwards;
  animation-delay: 0.3s; /* napis pojawia się chwilę po logo */
}

/* Animacje wejścia */
@keyframes logoIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes titleIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Na mniejszych ekranach układ pionowy */
@media (max-width: 600px) {
  .hero-center {
    flex-direction: column;
    text-align: center;
  }
  .hero-title {
    font-size: 28px;
  }
}


 .section {
      padding: 2rem 1rem;
      background: white;
      margin-bottom: 1rem;
      border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

.oferta-boxy {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

    .oferty-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .oferta-box {
      padding: 1rem;
      background: #f1f8e9;
      border-radius: 8px;
      border: 1px solid #c5e1a5;
    }

.galeria-zdjecia img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 5px #aaa;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-zdjecia img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor:pointer;
}


.kontakt-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.kontakt-info form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kontakt-info input,
.kontakt-info textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.kontakt-info button {
  background: #b68d40;
  color: #fff;
  border: none;
  padding: 12px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 16px;
}

footer {
  background: #3e3e3e;


  color: #fff;
  text-align: center;
  padding: 20px 0;
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.lightbox img:hover {
  transform: scale(1.02);
  cursor: zoom-out;
}
    .btn-animated {
      display: inline-block;
      margin-top: 1rem;
      padding: 12px 24px;
      background: linear-gradient(135deg, #6dc36d, #3c8c3c);
      color: white;
      font-weight: bold;
      text-decoration: none;
      border-radius: 30px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
	  

    }
    .btn-animated::after {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.2);
      transition: all 0.4s ease;
      transform: skewX(-20deg);
    }
    .btn-animated:hover {
      transform: scale(1.05);
    }
    .btn-animated:hover::after {
      left: 100%;
    }
}
body{
text-align:center;
}
    footer {
      text-align: center;
      padding: 1rem;
      background: #2e7d32;
      color: white;
    }
	    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-top: 1rem;
    }
    input, textarea {
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
    }
    textarea {
      min-height: 120px;
    }
    button {
      padding: 12px;
      background: #2e7d32;
      color: white;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s ease;
    }
    button:hover {
      background: #1b5e20;
    }
    .kontakt-info {
      background: #f1f8e9;
      padding: 1rem;
      border-radius: 10px;
    }
    .kontakt-dane {
      background: white;
      padding: 1rem;
      border-radius: 10px;
      margin-top: 2rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    iframe {
      width: 100%;
      height: 300px;
      border: 0;
      margin-top: 1rem;
      border-radius: 10px;
    }
	    .onas-section {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      background: #f1f8e9;
      padding: 3rem 2rem;
      border-radius: 16px;
      margin: 2rem auto;
      max-width: 1200px;
    }
    .onas-image {
      flex: 1 1 40%;
    }
    .onas-image img {
      max-width: 100%;
      border-radius: 16px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    .onas-text {
      flex: 1 1 55%;
      font-size: 1.1rem;
      line-height: 1.8;
    }
    .onas-text p {
      margin-bottom: 1.2rem;
    }
    @media (max-width: 768px) {
      .onas-section {
        flex-direction: column;
        padding: 2rem 1rem;
      }
    }
	h1{
	font-size:30px;
	}