* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: #222222;
  background: #ffffff;
  line-height: 1.6;
}

/* Header / menu */
header {
  width: 100%;
  background: #000000;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.navbar {
  max-width: 1300px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000000;
}

.logo img {
  max-height: 70px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  transition: color 0.25s ease;
}

.nav-links li a:hover {
  color: #d9b48f;
}

.hamburger {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
}

/* Wybór języka pod menu */
.language-switcher {
  width: 100%;
  background: #151515;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  flex-wrap: wrap;
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  min-width: 92px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.25s ease;
}

.language-button:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-2px);
}

/* Hero / karuzela */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  min-height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  animation: carouselSlide 18s infinite;
}

.carousel-slide {
  width: 100%;
  height: 100%;
  flex: 0 0 100%;
  background: #000000;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

@keyframes carouselSlide {
  0% {
    transform: translateX(0);
  }

  28% {
    transform: translateX(0);
  }

  33% {
    transform: translateX(-100%);
  }

  61% {
    transform: translateX(-100%);
  }

  66% {
    transform: translateX(-200%);
  }

  94% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  background: #8b5e3c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #6f482d;
  transform: translateY(-2px);
}

/* Sekcje */
.section {
  padding: 80px 24px;
  max-width: 1300px;
  margin: 0 auto;
}

.section h2 {
  font-size: 38px;
  line-height: 1.25;
  margin-bottom: 22px;
  text-align: center;
}

.section > p {
  max-width: 1000px;
  margin: 0 auto 18px;
  font-size: 18px;
  text-align: center;
}

.section.dark {
  max-width: none;
  background: #f6f1eb;
  padding-left: 24px;
  padding-right: 24px;
}

.section.dark > img {
  display: block;
  max-width: 260px;
  width: 100%;
  margin: 0 auto 25px;
  border-radius: 12px;
}

/* Sekcja Dla Psa */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 20px;
}

.service-card {
  background: #ffffff;
  color: #222222;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

.service-card h3 {
  font-size: 20px;
  line-height: 1.3;
  margin: 20px 20px 10px;
}

.service-card p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 20px 24px;
  flex-grow: 1;
}

.centered-cta {
  text-align: center;
  margin-top: 50px;
}

.centered-cta p {
  font-size: 22px;
  margin-bottom: 16px;
}

/* Galerie w sekcji O Mnie */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 38px auto 0;
  max-width: 1150px;
}

.gallery-second {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1250px;
}

.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
}

/* Powiększanie zdjęć */
.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox img {
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  color: #000000;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: #e8e8e8;
}

/* Kontakt */
#contact {
  text-align: center;
}

#contact p {
  font-size: 20px;
}

/* Footer */
footer {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 24px 15px;
  font-size: 15px;
}

footer p {
  margin-bottom: 8px;
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ffffff;
  text-decoration: underline;
}

.footer-links a:hover {
  color: #d9b48f;
}

/* Responsywność */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-second {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    height: 470px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 12px 18px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 94px;
    left: 0;
    width: 100%;
    background: #000000;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 10px 0 18px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
  }

  .hero {
    height: 420px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 21px;
  }

  .section {
    padding: 65px 20px;
  }

  .section h2 {
    font-size: 32px;
  }

  .section > p {
    font-size: 17px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .service-card img {
    height: 220px;
  }

  .gallery,
  .gallery-second {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .gallery-card {
    min-height: 230px;
  }

  .gallery-card img {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .language-switcher {
    gap: 8px;
    padding: 8px 10px 10px;
  }

  .language-button {
    padding: 7px 12px;
    min-width: auto;
    font-size: 14px;
  }

  .navbar {
    padding: 10px 16px;
  }

  .logo img {
    max-height: 58px;
  }

  .nav-links {
    top: 78px;
  }

  .hero {
    height: 360px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .btn {
    padding: 12px 25px;
    font-size: 16px;
  }

  .section {
    padding: 55px 16px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section > p {
    font-size: 16px;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0;
  }

  .service-card img {
    height: 240px;
  }

  .service-card h3 {
    font-size: 19px;
  }

  .service-card p {
    font-size: 15px;
  }

  .gallery,
  .gallery-second {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .gallery-card {
    min-height: auto;
    padding: 10px;
  }

  .gallery-card img {
    height: auto;
    max-height: 360px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox img {
    max-width: 96vw;
    max-height: 82vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  #contact p {
    font-size: 18px;
  }

  footer {
    font-size: 14px;
  }

  .footer-links {
    gap: 7px;
  }
}