* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #000;
  color: #fff;
}

/* Style dla topbara */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
}

/* Logo w nawigacji - wyśrodkowane */
.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 30px;          /* dostosuj według potrzeb */
  object-fit: contain;
}

/* Linki nawigacyjne wyrównane do prawej */
.topbar nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

/* Linki */
.topbar nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  font-weight: bold;
}
.topbar nav a:hover {
  background-color: #ffd700;
  color: #000;
  border-radius: 4px;
}

/* Upewnij się, że treść nie chowa się pod topbarem */
body {
  padding-top: 140px; /* levele: logo (100px) + padding (2×10px) + marginesy */
}

/* Sekcje */
section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}
h2 {
  color: #ffd700;
  margin-bottom: 20px;
}

/* O nas */
#onas {
  background-color: #111;
  color: #fff;
}

/* Usługi */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-box {
  border: 2px solid #ffd700;
  background-color: #000;
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-box .bialy-naglowek {
  margin: 0 0 10px;
}
.service-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border: 2px solid #ffd700;
}

/* Galeria (before/after) */
.compare-container {
  max-width: 900px;
  margin: 60px auto;
  user-select: none;
}
.compare-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.compare-img,
.compare-overlay img {
  display: block;
  width: 100%;
  height: auto;
}
.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0);
  z-index: 2;
}
.compare-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #ffd700;
  cursor: ew-resize;
  z-index: 3;
}
.compare-handle div {
  position: absolute;
  top: 50%;
  left: -8px;
  width: 20px;
  height: 20px;
  background-color: #ffd700;
  border-radius: 50%;
  transform: translateY(-50%);
}

/* Kontakt */
#wycena form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}
#wycena input,
#wycena textarea,
#wycena select {
  padding: 10px;
  border: 1px solid #ccc;
  width: 100%;
}
#wycena input[type="submit"] {
  background-color: #ffd700;
  border: none;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
}

/* Stopka */
footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 20px;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background-color: #111;
  padding: 40px 20px;
}
.footer-column {
  flex: 1 1 200px;
  margin: 10px;
  color: #ccc;
}
.footer-column h4 {
  color: #fff;
  margin-bottom: 10px;
}
.footer-logo img {
  max-width: 120px;
  margin-bottom: 10px;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 8px;
}
.footer-nav a {
  color: #ccc;
  text-decoration: none;
}
.footer-nav a:hover {
  color: #ffd700;
}
.footer-contact p,
.footer-contact a {
  margin: 5px 0;
  color: #ccc;
  text-decoration: none;
}
.footer-social a {
  margin-right: 10px;
}
.footer-social img {
  width: 24px;
  height: 24px;
}

/* Ukryj linki i pokaż toggle na mobilnych */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #000;
    position: absolute;
    top: 100%;
    width: 100%;
    left: 0;
    padding: 10px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    color: #fff;
    padding: 10px 20px;
  }
}