body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f0;
  color: #333;
  line-height: 1.6;
  position: relative;
}

h1, h2, h3 {
  margin-top: 0;
}

header {
  height: auto; /* auto żeby logo się nie ucinało */
  padding: 10px 20px;
  background-color: #a8cfa2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  z-index: 1100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  gap: 40px;
}

.logo {
  max-height: 200px; /* zwiększone z 70px na 120px */
  width: auto;
  height: auto;
  max-width: 100%; /* by nie wychodziło poza kontener */
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 20px;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

nav a:hover, nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

.burger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.burger-line {
  height: 3px;
  width: 100%;
  background-color: white;
  transition: all 0.3s;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* MENU MOBILNE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #92b98f;
    padding: 15px 0;
    position: absolute;
    top: 60px; /* poniżej header */
    right: 0;
    left: 0;
    z-index: 1100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 5px 0;
    text-align: center;
  }
  
   .header-inner {
    justify-content: center;
    align-items: center; /* wyśrodkowanie pionowe */
    height: 130px; /* ustaw wysokość nagłówka na stałą (np. 60px) */
  }

  .logo {
    max-height: 100%;
    height: 100%;
    width: auto;
  }

  nav {
    order: 2; /* przesuwa menu poniżej logo */
    width: 100%;
    margin-top: 15px;
  }

  .burger-menu {
    order: 3; /* burger pod menu */
    position: fixed;
    top: 20px;
    right: 20px;
  }

  
}


.hero {
  background-color: #e8f5e9;
  
  background-size: cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hero h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #2e7d32;
}

.hero p {
  font-size: 1.2em;
  max-width: 700px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
  color: #2e7d32;
}

.hero-image {
  width: 100%;
  max-width: 600px;
  height: 400px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-dog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease-in-out;
}

.hero button {
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero button:hover {
  background-color: #45a049;
}

.hero button:focus {
  outline: 3px solid #ff9800;
  outline-offset: 2px;
}

footer {
  background-color: #ddd;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  margin-top: 50px;
}



.why-us {
  background-color: #e8f5e9;
  padding: 50px 20px;
  text-align: center;
}

.why-us h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #2e7d32;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature {
  background-color: #ffffff;
  border: 2px solid #f4a261; /* Pomarańczowa obwódka */
  border-radius: 10px;
  padding: 20px;
  width: 220px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Tekst zaczyna się u góry */
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
  border-color: #ff9800; /* Jaśniejszy pomarańczowy na hover */
}

.feature img {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

.feature h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #388e3c;
}

.feature p {
  font-size: 0.95em;
  color: #555;
  text-align: left;
}

.pricing, .about-us, .gallery, .contact, .offer {
  padding: 60px 20px;
  text-align: center;
}

.pricing h2, .about-us h2, .gallery h2, .contact h2, .offer h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #2e7d32;
}

.price-table, .offer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-item {
  background-color: #fff;
  border: 2px solid #f4a261; /* Dodaje pomarańczową obwódkę */
  border-radius: 15px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: flex-start;
}
.price-item:hover {
  transform: translateY(-5px); /* lekko unosi przy najechaniu */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* mocniejszy cień */
}

.price-item h3 {
  color: #4caf50;
}

.price-item .price {
  font-size: 1.6em;
  font-weight: bold;
  color: #ff9800;
  margin: 10px 0;
}



.price-notes {
  max-width: 700px;
  margin: 40px auto 0;
  background-color: #fffefc;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ffe0b2;
  text-align: left;
}

.price-notes ul {
  padding-left: 20px;
}

.about-content, .contact-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  font-size: 1em;
  color: #444;
}

.about-content p, .contact-info p, .contact-info li {
  margin-bottom: 20px;
}

.contact-info a {
  color: #4caf50;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.offer {
  background-color: #e8f5e9;
  border-radius: 12px;
  padding: 60px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.offer-text {
  flex: 1;
  font-size: 1em;
  color: #444;
  text-align: left;
}

.offer-image img {
  width: 100%;
  border-radius: 10px;
  max-width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.offer-image img:hover {
  transform: scale(1.05);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.5em;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #45a049;
  transform: translateY(-3px);
}

.contact-form {
  max-width: 600px;
  margin: 30px auto 0;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form button {
  background-color: #4caf50;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #45a049;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  nav {
    width: 100%;
    margin-top: 15px;
  }
  
  .burger-menu {
    display: flex;
  }
  
  #navMenu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #92b98f;
    padding: 15px 0;
  }
  
  #navMenu.active {
    display: flex;
  }
  
  #navMenu li {
    margin: 5px 0;
  }
  
  .hero {
    padding: 50px 10px;
  }
  
  .features, .price-table {
    flex-direction: column;
    align-items: center;
  }
  
  .feature, .price-item {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
  
  .offer-content {
    flex-direction: column;
  }
  
  .offer-image {
    margin-top: 30px;
  }
}

/* Efekty przejścia dla zdjęcia hero */
.hero-image {
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: 0 auto 20px;
}

.hero-dog-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: opacity 0.5s ease-in-out;
  display: block;

}
 

.formularz-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.formularz-title {
  text-align: center;
  font-size: 2em;
  margin-bottom: 20px;
}
/* Ikonki social*/

.social-floating-icons {
  position: fixed;
  top: 40%;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social-floating-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  color: white;
  font-size: 20px;
  border-radius: 0 5px 5px 0;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-floating-icons a.facebook {
  background-color: #3b5998;
}

.social-floating-icons a.instagram {
  background-color: #e4405f;
}

.social-floating-icons a.whatsapp {
  background-color: #25D366;
}

.social-floating-icons a:hover {
  opacity: 0.8;
}

/* GALERIA powieksza zdjęcia i czatrne tło */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3em;
  color: #fff;
  cursor: pointer;
  z-index: 2100;
  font-family: Arial, sans-serif;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3em;
  color: #fff;
  cursor: pointer;
  user-select: none;
  z-index: 2100;
  padding: 0 20px;
}
.lightbox-prev {
  left: 10px;
}
.lightbox-next {
  right: 10px;
}