/* Reset i ogólne ustawienia */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* Nagłówek */
header {
  background-color: #FFD700;
  color: #000;
  text-align: center;
  padding: 2rem 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 3rem;
}

/* Galeria usług */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem;
}

.service {
  background-color: #111;
  border: 2px solid #FFD700;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1rem;
}

.service:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px #FFD700;
}

.service img {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  margin: 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}


.service h2 {
  color: #FFD700;
  margin: 1rem 0 0.5rem;
}

.service p {
  padding: 0 1rem 1rem;
}

/* Stopka */
footer {
  text-align: center;
  background-color: #111;
  color: #888;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Porównywarka */
.compare-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  overflow: hidden;
  border: 3px solid #FFD700;
  border-radius: 12px;
}

.compare-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.compare-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
}

.compare-overlay img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.compare-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #FFD700;
  cursor: ew-resize;
  z-index: 10;
}
