:root {
  --brand: #f97316; /* pomarańczowy główny */
  --brand-dark: #ea580c; /* ciemniejszy pomarańcz */
  --dark: #1f2937; /* ciemny tekst */
  --muted: #6b7280; /* stonowany szary tekst */
  --bg: #f9fafb; /* tło strony */
  --card: #ffffff;
  --radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--dark);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden; /* Ukrywa przewijanie w poziomie */
}

header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--brand);
}

nav a {
  color: var(--dark);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  background: var(--brand);
  color: white;
}

button, .btn {
  background: var(--brand);
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}
 footer {
      text-align: center;
      background: #000;
      color: #fff;
      padding: 15px;
      margin-top: 40px;
    }

    footer a {
      color: var(--bg);
      text-decoration: none;
    }

button:hover, .btn:hover {
  background: var(--brand-dark);
}

/* Karta i siatka */
.card {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  text-align: center;
  border-top: 4px solid var(--brand);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

 footer {
      text-align: center;
      background: #222;
      color: #fff;
      padding: 15px;
      margin-top: 40px;
    }

    footer a {
      color: #f97316;
      text-decoration: none;
    }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

.hero {
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards 0.2s;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 1s forwards 0.4s;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding-top: 20px;
}

img {
  max-width: 100%;
  border-radius: var(--radius);
}

.hero-bg {
  background: url("images/van2.jpg") center/cover no-repeat;
  color: white;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  border-radius: 0 0 var(--radius) var(--radius);
  animation: fadeInBg 2s forwards;
}

@keyframes fadeInBg {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 0 0 var(--radius) var(--radius);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
  animation: slideInText 1s forwards 0.6s;
}

.hero-content p {
  font-size: 1.2rem;
  color: #f1f5f9;
  animation: slideInText 1s forwards 0.8s;
}

@keyframes slideInText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1500px;
  margin: 0 auto;
  padding: 10px 20px;
  background: white;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.logo img {
  height: 35px;
  width: auto;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 15px;
}

.hover-zoom {
  transition: transform 0.2s ease;
}

.hover-zoom:hover {
  transform: scale(1.2);
}

/* Responsywność dla urządzeń mobilnych */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem; /* Mniejsze nagłówki na telefonie */
  }

  .hero-content p {
    font-size: 1rem; /* Mniejszy rozmiar tekstu na telefonie */
  }

  .grid {
    grid-template-columns: 1fr; /* Zamiast trzech kart, będą po jednej */
  }


  nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    padding: 10px 20px; /* Większy padding w linkach */
    text-align: center;
    width: 100%;
  }

  .logo img {
    height: 30px; /* Mniejsze logo na telefonie */
  }
}

@media (max-width: 480px) {
  .hero-bg {
    height: 60vh; /* Mniejsze tło na telefonie */
  }

  .hero-content h1 {
    font-size: 1.8rem; /* Jeszcze mniejszy rozmiar nagłówków */
  }

  .hero-content p {
    font-size: 0.9rem; /* Mniejszy tekst */
  }

  footer {
    padding: 15px;
    font-size: 0.9rem;
  }

  .grid {
    gap: 10px; /* Zmniejszenie odstępów w siatce */
  }
}

body.galeria-page header {
  display: block;
}

.video-container {
  float: right;
  margin-left: 20px; /* Daje trochę przestrzeni między tekstem a wideo */
  margin-top: 20px;
  max-width: 600px;
  animation: slideInRight 1s forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.video-container iframe {
  width: 100%;
  height: auto;
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #555;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  outline: none;
}

.contact-form button {
  background-color: var(--brand);
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--brand-dark);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 kolumny */
  gap: 20px;
  padding: 20px;
  max-width: 90%;
  margin: auto;
}

.image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 200px; /* Możesz dostosować w zależności od potrzeb */
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Dodanie płynnej animacji */
}

.image-container:hover img {
  transform: scale(1.2); /* Powiększenie obrazu */
  opacity: 0.9; /* Opcjonalnie zmienia się przejrzystość obrazu przy powiększeniu */
}

.image-container img {
  object-fit: contain; /* Umożliwia wyświetlanie obrazu w pełnym wymiarze */
}






.image-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 200px; /* Możesz dostosować w zależności od potrzeb */
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease; /* Dodanie płynnej animacji */
}

.image-container:hover img {
  transform: scale(1.2); /* Powiększenie obrazu */
  opacity: 0.9; /* Opcjonalnie zmienia się przejrzystość obrazu przy powiększeniu */
}

.image-container img {
  object-fit: contain; /* Umożliwia wyświetlanie obrazu w pełnym wymiarze */
  transition: transform 0.3s ease; /* Dodano płynne przejście do animacji */
}

/* Ustawienie dwóch sekcji obok siebie, wyśrodkowanie i linia między nimi */
.contact-wrapper {
  display: flex;
  align-items: flex-start; /* równa wysokość startowa (wyrównanie do góry) */
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
  margin-top: 20px; /* sekcje wyżej */
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 10px 20px;
}

/* Delikatna pionowa linia między sekcjami */
.divider {
  width: 2px;
  background-color: #ddd; /* delikatny szary kolor */
  height: 700px;
  align-self: stretch;
  border-radius: 2px;
}

/* Lewa sekcja - dane kontaktowe */
.contact-info {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  flex: 1;
  text-align: left;
}

.contact-info h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 1.6rem;
}

.contact-info p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

/* Prawa sekcja - formularz */
.contact-section {
  flex: 1.5;
  max-width: 700px;
  margin-top: 0; /* wyrównanie z sekcją po lewej */
}

/* Responsywność – jedna pod drugą */
@media (max-width: 900px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .divider {
    display: none; /* brak linii między sekcjami na telefonach */
  }

  .contact-info, .contact-section {
    max-width: 100%;
  }

  .contact-info iframe {
    height: 250px;
  }
}

}

-------------------
/* --- Zdjęcia po bokach nagłówka "Nasze usługi" --- */
.services-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: nowrap;
}

.services-header h1 {
  font-size: 2.4rem;
  color: var(--dark);
  font-weight: 700;
  text-align: center;
}

/* Obrazki po lewej i prawej */
.service-img {
  width: 120px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Dla mniejszych ekranów – zdjęcia nad/pod nagłówkiem */
@media (max-width: 768px) {
  .services-header {
    flex-direction: column;
    gap: 15px;
  }

  .service-img {
    width: 200px;
  }
}
