/* =========================
   RESET / OGÓLNE
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body { 
  font-family: Arial, sans-serif; 
  margin: 0; 
  background: #f7f7f7; 
  overflow-x: hidden;
}

/* =========================
   NAV
========================= */
.main-nav {
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #f7f7f7; /* 🔥 maskuje przewijanie */
}

/* NOWY wrapper */
.nav-inner {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  background: #ff7a00;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  padding: 10px 15px;
}

/* === GÓRA === */
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-top img {
  height: clamp(60px, 8vw, 130px);
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.nav-text {
  text-align: right;
}

.nav-text .site-title {
  display: block;
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

.nav-text p {
  margin: 5px 0 0;
  font-size: 14px;
}

/* === MENU === */
.nav-bottom {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  text-align: center;
}

.nav-bottom a {
  display: inline-block;
  color: #000;
  padding: 6px 9px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: all 0.2s ease;
}

.nav-bottom a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

.nav-bottom a:hover::after {
  width: 100%;
}

.nav-bottom a.active,
.nav-bottom a[aria-current="page"] {
  background: #000;
  color: #ff7a00;
}

.nav-bottom a.active::after,
.nav-bottom a[aria-current="page"]::after {
  display: none;
}

.nav-phone-link {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.nav-phone-link:hover {
  text-decoration: underline;
}

/* =========================
   LAYOUT
========================= */
.page { 
  padding: 40px; 
}

/* =========================
   ZIGZAG
========================= */
.zigzag-section {
  max-width: 1100px;
  margin: auto;
}

.service-category-title {
  max-width: 1100px;
  margin: 45px auto 10px;
  text-align: center;
}

.zigzag-row {
  display: flex;
  align-items: stretch;
  gap: 30px;
  margin: 50px 0;
  aspect-ratio: 16 / 7;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

/* 🔥 NOWE – wrapper pod zoom */
.zigzag-image {
  flex: 1;
  display: flex;

  border-radius: 12px;
  overflow: hidden;

  border-top: 3px solid #ff7a00; /* 🔥 TAK SAMO JAK BOX */
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 12px;
}

/* 🔥 TEN SAM EFEKT CO BOX */
.zigzag-image:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* 🔥 HOVER ZOOM */
.zigzag-image:hover img {
  transform: scale(1.05);
}

.zigzag-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  flex: 1;
  height: 100%;
}

/* =========================
   BOX
========================= */
.service-box { 
  background: #fff; 
  padding: 12px 10px;
  border-radius: 12px; 
  text-align: center; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 3px solid #ff7a00;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 🔥 LEPSZY HOVER */
.service-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-box i {
  margin-bottom: 5px;
  color: #ff7a00;
  font-size: 18px;
}

.service-box h3 {
  margin: 5px 0;
  font-size: 14px;
}

.service-box p {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}

/* =========================
   CARD / CTA
========================= */
.card { 
  background: #fff; 
  padding: 25px; 
  margin: 30px auto; 
  max-width: 900px; 
  border-radius: 12px; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
  border-top: 4px solid #ff7a00; 
}

.button { 
  background: #ff7a00; 
  color: #000; 
  padding: 12px 20px; 
  border-radius: 6px; 
  text-decoration: none; 
  display: inline-block; 
  margin-top: 10px;
}

.button:hover { 
  background: #e66900; 
}

/* =========================
   FAQ
========================= */
.faq-card h2 {
  margin-top: 0;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.faq-item:last-of-type {
  border-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  line-height: 1.55;
}

/* =========================
   REGULAMIN
========================= */
.regulamin-card .regulamin-list {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  line-height: 1.55;
}

.regulamin-updated {
  margin: 0 0 1rem;
  color: #555;
  font-size: 14px;
}

.regulamin-card .regulamin-list li {
  margin: 1rem 0;
}

.regulamin-card .regulamin-list li strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #222;
}

/* =========================
   KONTAKT
========================= */
.contact-item { 
  display: flex; 
  align-items: flex-start; 
  margin: 15px 0; 
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-item i { 
  margin-right: 10px; 
  color: #ff7a00; 
}

.location-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 15px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.location-photo-card p {
  margin: 0;
  line-height: 1.55;
}

/* =========================
   GALERIA
========================= */
.gallery-grid {
  max-width: 1100px;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.gallery-item {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  border-top: 4px solid #ff7a00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-item span {
  display: block;
  padding: 12px 14px;
  font-weight: bold;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px 76px;
  background: rgba(0,0,0,0.86);
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-open {
  overflow: hidden;
}

.gallery-lightbox figure {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  text-align: center;
}

.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.gallery-lightbox figcaption {
  color: #fff;
  margin-top: 12px;
  font-weight: bold;
}

.gallery-lightbox button {
  border: 0;
  cursor: pointer;
  background: #ff7a00;
  color: #000;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 34px;
  line-height: 1;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.gallery-lightbox-prev {
  left: 18px;
}

.gallery-lightbox-next {
  right: 18px;
}

/* =========================
   MAPA
========================= */
iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: 10px;
  margin-top: 20px;
}

/* =========================
   FOOTER
========================= */
footer { 
  width: 80%;
  max-width: 1400px;
  margin: 40px auto 0;
  text-align: center; 
  padding: 20px; 
  background: #ff7a00;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* =========================
   CALL BUTTON
========================= */
.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff7a00;
  color: #000;
  padding: 15px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: none;
  border: 2px solid #000;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  h1 {
    font-size: 26px;
    line-height: 1.2;
  }

  h2 {
    font-size: 21px;
    line-height: 1.25;
  }

  .call-button {
    display: inline-flex;
    right: 14px;
    bottom: 14px;
    padding: 13px 17px;
  }

  .main-nav {
    padding: 10px;
  }

  .nav-top {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .nav-text {
    text-align: center;
  }

  .nav-text .site-title {
    font-size: 20px;
  }

  .nav-text p {
    font-size: 13px;
  }

  .nav-top img {
    height: 60px;
    max-width: 95%;
  }

  .nav-bottom {
    gap: 6px 8px;
  }

  .nav-bottom a {
    padding: 5px 6px;
    font-size: 14px;
  }

  .zigzag-row {
    flex-direction: column;
    aspect-ratio: auto;
    gap: 18px;
    margin: 30px 0;
  }

  .zigzag-row.reverse {
    flex-direction: column;
  }

  .nav-inner {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
  }

  .page {
    padding: 22px 14px;
  }

  .card {
    padding: 18px;
    margin: 22px auto;
    border-radius: 10px;
  }

  .service-category-title {
    margin: 32px auto 8px;
  }

  .zigzag-boxes {
    height: auto;
  }

  .service-box {
    min-height: 112px;
  }

  .service-box h3 {
    overflow-wrap: anywhere;
  }

  footer {
    width: calc(100% - 20px);
    margin: 36px 10px 0;
    padding: 16px;
  }

  .gallery-lightbox {
    padding: 70px 14px 84px;
  }

  .gallery-lightbox img {
    max-height: calc(100vh - 180px);
  }

  .gallery-lightbox-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .gallery-lightbox-prev {
    left: calc(50% - 64px);
  }

  .gallery-lightbox-next {
    right: calc(50% - 64px);
  }

}

@media (max-width: 430px) {
  .zigzag-boxes {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
