* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  color: #444;
  line-height: 1.6;
  /* background: linear-gradient(to bottom, #2a4d7a, #16263b); */
  /* background: linear-gradient(to bottom, #457b9d, #1d3557); */
  background: linear-gradient(to bottom, #457b9d 0%, #345d79 50%, #12243a 100%);
  color: #fff;
}
body {
  scroll-behavior: smooth;
}
/* colors
jasny niebieski #457b9d
✅ Granat / Ciemny niebieski (#1D3557) – symbolizuje profesjonalizm, stabilność i zaufanie.
✅ Czerwień (#D72638) – dodaje dynamiki, kojarzy się z motoryzacją i szybkością (ale warto używać go oszczędnie, np. na CTA).
✅ Srebrny / Szary (#D1D5DB) – elegancki, kojarzy się z nowoczesnością i metalicznymi elementami aut.
✅ Biel (#FFFFFF) – zapewnia przejrzystość i kontrast.

2️⃣ Akcenty i detale:
🔹 Czarny / Grafitowy (#333333) – jako dodatkowy kolor w nagłówkach i ikonach, dodaje elegancji.
🔹 Żółty (#F4B400) – opcjonalnie jako akcent, np. do podkreślenia kluczowych informacji (ale nie dominujący kolor).
 */
.margin-bottom-small {
  margin-bottom: 1rem;
}
.margin-bottom-medium {
  margin-bottom: 3rem;
}
.margin-bottom-high {
  margin-bottom: 6rem;
}
.center-text {
  text-align: center;
}
.logoimage {
  display: block;
  width: 6rem;
  border-radius: 0.5rem;
}
.logoimagefooter {
  width: 50%;
  border-radius: 0.5rem;
}
.logoimage {
  display: block;
  width: 6rem;
  border-radius: 0.5rem;
}

.logoimagefooter {
  width: 50%;
  border-radius: 0.5rem;
}

@media (max-width: 768px) {
  .logoimage {
    width: 4rem; /* Smaller size for mobile */
  }
  .logoimagefooter {
    width: 40%; /* Adjust footer logo size */
  }
}

@media (max-width: 480px) {
  .logoimage {
    width: 3rem; /* Even smaller on very small screens */
  }
  .logoimagefooter {
    width: 30%; /* Further reduce size */
  }
}
#uslugi {
  scroll-margin-top: 10rem; /* wysokość Twojego navbaru + zapas */
}
.logo-first-row {
  text-transform: uppercase;
  font-size: 2rem;
  font-weight: 500;
  color: #444;
  font-family: "oswald";
}
.logo-first-row-blue {
  color: #457b9d;
}
.logo-first-row-small {
  color: #444;
  font-weight: 500;
  text-transform: uppercase;
}
.navbar-btn {
  display: inline-block;
  background: #ffcc00; /* Kolor CTA */
  color: #000;
  padding: 12px 30px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: 0.3s;
  text-decoration: none;
}
.contact-button {
  display: block;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  background-color: #12243a;
  text-decoration: none;
  color: #fff;
  font-family: "Oswald";
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.contact-button:hover {
  background-color: #ffb703;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.contact-button:hover a {
  color: #f1faee;
  letter-spacing: 1px;
}
.link {
  color: #12243a;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  transition: transform 0.2s ease, color 0.3s ease;
  font-size: 1.25rem;
}

.link:hover {
  color: #457b9d;
  transform: translateY(-3px);
}
/* Podstawowy styl navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  background-color: #132238;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Układ linków w wersji desktop */
.navlinks {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.navlinks .link {
  color: #fff;
  font-size: 1.3rem;
}
.navlinks .link:hover {
  color: #ffb003;
}

/* Styl dla przycisków kontaktowych */
.navbuttons {
  display: flex;
  gap: 1rem;
}

/* Przycisk menu hamburger */
.menu-toggle {
  display: none; /* Domyślnie ukryty na dużych ekranach */
  font-size: 2rem;
  cursor: pointer;
  color: #457b9d;
}

/* Responsywność */
@media (max-width: 930px) {
  .navbuttons {
    display: none; /* Ukrywamy przyciski w wersji mobilnej */
  }
  @media (max-width: 768px) {
    .navbar-btn {
      padding: 10px 24px;
      font-size: 15px;
      border-radius: 6px;
      width: auto;
      display: inline-block;
      text-align: center;
    }
  }

  @media (max-width: 480px) {
    .navbar-btn {
      padding: 14px 28px;
      font-size: 16px;
      border-radius: 8px;
      display: block;
      margin: 10px auto;
      width: fit-content;
      min-width: 70%;
      max-width: 90%;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    }
  }
  .navlinks {
    display: none; /* Ukrywamy linki do momentu kliknięcia */
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background-color: #12243a;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .navlinks a {
    display: block;
    text-align: center;
    padding: 10px 0;
    font-size: 1.5rem;
  }

  .menu-toggle {
    display: block; /* Pokazujemy ikonę hamburgera */
  }

  /* Styl dla rozwiniętego menu */
  .navlinks.active {
    display: flex;
    animation: fadeIn 0.3s ease-in-out;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.hero-section {
  background-image: url(img/herobanner.webp);
}
/* 🔹 HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  /* background-image: url(img/14042-_1_.webp); */
  background-image: url(img/DSC08927-OK.webp);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 🔹 PRZYCIEMNIENIE TŁA */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45); /* Ciemne przyciemnienie dla kontrastu */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

/* 🔹 TEKST W HERO */
.hero-content {
  color: #fff;
  max-width: 800px;
}

.hero-content h1 {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* 🔹 PRZYCISK */
.btn {
  display: inline-block;
  background: #ffcc00; /* Kolor CTA */
  color: #000;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  transition: 0.3s;
  text-decoration: none;
}

.btn:hover,
.navbar-btn:hover {
  background-color: #e6b800; /* ciemniejszy żółty */
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
@media (max-width: 1024px) {
  .hero {
    height: 70vh; /* Skracamy sekcję na tabletach */
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .btn {
    font-size: 16px;
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh; /* Jeszcze krótsza sekcja na telefonach */
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
  .margin-bottom-high {
    margin-bottom: 1.5rem;
  }
}
.container {
  max-width: 75rem;
  margin: 0 auto;
}
.containerwhite {
  background-color: #fff;
  color: #444;
  padding: 3rem 6rem 3rem 6rem;
}
.aboutus-header {
  text-transform: uppercase;
}

/* SEKCJA USŁUGI */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 4rem 2rem;
  margin: 0 auto;
}
.service-tile ul {
  list-style: none;
}
.service-tile {
  max-width: 22rem; /* Szerokość kafla */
  border: 1px solid #ccc; /* Obramowanie */
  border-radius: 10px; /* Zaokrąglone rogi */
  overflow: hidden; /* Ukrycie nadmiarowych elementów */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Delikatny cień */
  transition: transform 0.3s ease-in-out; /* Efekt hover */
}

.service-tile:hover {
  transform: translateY(-5px); /* Przesunięcie kafla przy hover */
}

.service-image {
  width: 100%; /* Zdjęcie rozciąga się na całą szerokość */
  height: 250px; /* Wysokość zdjęcia */
  object-fit: cover; /* Obrazek wypełnia całą powierzchnię, zachowując proporcje */
}
.service-number {
  color: #457b9d;
  font-weight: 600;
  font-size: 1.75rem;
}
.service-description {
  padding: 1rem;
}

.service-title {
  font-size: 1.5rem;
  color: #12243a;
  margin: 0 0 0.5rem; /* Odstęp poniżej tytułu */
}

.service-text {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

@media (min-width: 1025px) {
  .services {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(2, 1fr); /* Zawsze dwie kolumny */
  }
}
@media (max-width: 1024px) {
  .services {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 4rem 1rem;
  }

  .service-image {
    height: 180px;
  }

  .service-name {
    font-size: 1.4rem;
  }

  .service-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-tile {
    max-width: 90%;
    margin: 0 auto;
  }

  .service-image {
    height: 180px;
  }

  .service-name {
    font-size: 1.4rem;
  }

  .service-text {
    font-size: 0.95rem;
  }
}
@media (max-width: 480px) {
  .service-tile {
    max-width: 100%; /* Na najmniejszych ekranach kafelki zajmują pełną szerokość */
  }

  .service-image {
    height: 160px;
  }

  .service-name {
    font-size: 1.3rem;
  }

  .service-text {
    font-size: 0.9rem;
  }
  .containerwhite {
    padding: 1rem;
  }
}
/* SEKCJA DLACZEGO MY */
.whyus {
  margin-top: 6rem;
  font-weight: 600;
  font-size: 1.5rem;
}
.why-us-section {
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.why-us-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.why-us-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.why-us-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1faee;
}

.why-us-item p {
  font-size: 1rem;
  color: #ddd;
}
.why-us-icon {
  width: 5rem;
  height: 5rem;
}
@media (min-width: 1025px) {
  .why-us-list {
    grid-template-columns: repeat(4, 1fr); /* 4 kolumny na dużych ekranach */
  }
}

@media (max-width: 1024px) {
  .why-us-list {
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny na średnich ekranach */
  }
}

@media (max-width: 768px) {
  .why-us-list {
    grid-template-columns: 1fr; /* 1 kolumna na małych ekranach */
  }
}
@media (max-width: 1024px) {
  .why-us-title {
    font-size: 2rem;
  }
  #aboutus {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .why-us-title {
    font-size: 1.8rem;
  }

  .container {
    max-width: 100%;
  }

  p {
    font-size: 1rem;
    line-height: 1.5;
  }

  #aboutus {
    padding: 2rem 1rem;
  }
}
/* REVIEWS SECTION */
.reviews-section {
  background: linear-gradient(145deg, #f7f9fc 0%, #e9eff6 100%);
  padding: 4rem 2rem;
  text-align: center;
}

.reviews-title {
  font-size: 2rem;
  color: #12243a;
  margin-bottom: 2rem;
}

.carousel {
  display: flex;
  overflow: hidden;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.review {
  min-width: 100%;
  background-color: #b0b0b0; /* Ciemniejsze szare tło */
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease;
}

.review-text {
  font-size: 1.5rem;
  font-style: italic;
  color: #ffffff;
}

.review-author {
  font-size: 1rem;
  font-weight: bold;
  color: #f1faee;
  margin-top: 0.25rem;
}
.review-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}
.review-stars {
  display: flex;
  gap: 0.25rem;
  color: #ffb003;
}
.carousel-buttons {
  margin-top: 1rem;
}

.prev,
.next {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #12243a;
  margin: 0 10px;
  transition: transform 0.2s ease;
}

.prev:hover,
.next:hover {
  transform: scale(1.2);
  color: #ffb703;
}

.service-icon {
  color: #457b9d;
}
.footer {
  background-color: #12243a;
  padding: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* zmienione z space-between */
  align-items: flex-start; /* lub center, jeśli chcesz też w pionie */
  color: #f1f1f1;
  gap: 3rem;
  border-top: solid 1px #457b9d;
}

.footer > div {
  flex: 1; /* Każda kolumna dostosuje swoją szerokość */
  min-width: 200px; /* Zapobiega zbyt małym kolumnom */
}

.footer ul {
  list-style: none;
}
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.column-header {
  color: #f1f1f1;
  font-weight: bold;
  font-size: 20px;
  text-transform: uppercase;
}

.social-media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-media a {
  color: #f1f1f1;
  transition: 0.3s;
}

.social-media a:hover {
  color: #ffb703;
  transform: translateY(-3px);
}

.logo-footer-white {
  color: #f1f1f1;
}
@media (max-width: 1024px) {
  .footer {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer > div {
    flex: 1 1 calc(50% - 2rem); /* 2 kolumny na tablecie */
  }
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column; /* Jedna kolumna na telefonie */
    text-align: center;
    align-items: center;
    padding: 2rem;
  }

  .footer > div {
    width: 100%;
    border-bottom: solid 1px #457b9d;
  }

  .social-media {
    align-items: center;
  }
}
.uppercase {
  text-transform: uppercase;
}
.footer-backlink {
  text-align: center;
  color: #457b9d;
  font-size: 0.75rem;
}
.footer-backlink a {
  color: #457b9d;
  font-size: 0.75rem;
  transition: 0.3s ease-in-out;
}
/* Contact */
.contact-header {
  text-align: center;
}
.subpage-baner {
  background-color: #fff;
  position: relative;
  overflow: hidden;
}
.subpage-baner img {
  width: 100%;
  height: 100%;
  filter: brightness(45%);
  object-fit: cover;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem;
  padding: 0 6rem 0 6rem;
}
.contact-form-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  text-align: center;
}
label {
  display: block;
  margin-bottom: 8px;
}
input,
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #eaeaea;
  background-color: #f2f2f2;
  border-radius: 0.5rem;
}
.hidden {
  display: none;
}
.googlemap {
  width: 100%;
  height: 33rem;
}
.centered-button {
  margin: 0 auto;
  cursor: pointer;
}
.contact-links {
  display: flex;
  flex-direction: column;
}
.contact-links a {
  font-size: 1.5rem;
  text-decoration: none;
  color: #12243a;
}
.contactpagelink {
  transition: transform 0.2s ease, color 0.3s ease;
}
.contactpagelink:hover {
  color: #457b9d;
  transform: translateY(-3px);
}
.contactpageicon {
  color: #457b9d;
  height: 1.5em;
  width: 1.5em;
}
.contactcentered {
  display: flex;
  align-items: center; /* wyrównanie w pionie */
  font-size: 1.5em;
  gap: 8px; /* odstęp między ikoną a tekstem */
}
.contact-informations p {
  font-size: 1.5rem;
}
.contactsubheader {
  font-size: 1rem !important;
}
@media (max-width: 1024px) {
  .contact-grid {
    padding: 0 3rem; /* Zmniejszenie paddingu na średnich ekranach */
    grid-template-columns: 1fr; /* Zmieniamy na 1 kolumnę na ekranach poniżej 1024px */
  }
}
@media (max-width: 752px) {
  .contactcentered {
    font-size: 1rem;
  }
  .contactcentered a {
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .contact-grid {
    padding: 0 1rem; /* Jeszcze mniejszy padding na bardzo małych ekranach */
  }

  .googlemap {
    height: 25rem; /* Zmniejszenie wysokości mapy na bardzo małych ekranach */
  }
}
/* O NAS */
.subpage-baner-text {
  position: absolute; /* Pozycjonowanie absolutne względem .subpage-baner */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Centrowanie */
  color: white;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  width: 90%; /* Zapobiega zbyt długim liniom tekstu */
  max-width: 800px; /* Ograniczenie szerokości tekstu */
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  /* 🔹 Dynamiczna wielkość tekstu */
  font-size: clamp(20px, 4vw, 40px);

  /* 🔹 Dodatkowy cień dla lepszej czytelności */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.about-us-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6rem;
  padding: 2rem 0;
}
.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.about-text h1 {
  text-transform: uppercase;
}
.quote {
  font-style: italic;
  font-size: 1.4rem;
  color: #457b9d;
  text-align: center;
  margin-bottom: 1.5rem;
}
.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 1rem; /* Większy odstęp między ikoną a tekstem */
  margin-bottom: 1.2rem;
}
.about-list li div {
  flex-grow: 1;
}

.aboutus-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: #457b9d;
  flex-shrink: 0; /* Zapobiega zmniejszaniu się ikon */
}

.about-list div {
  display: flex;
  flex-direction: column;
}

.about-list strong {
  font-size: 1.1rem;
  color: #333;
}

.about-list p {
  margin: 0;
  font-size: 1rem;
  color: #666;
}

/* Styl dla ostatniego akapitu */
.lastvalue {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #457b9d;
  margin-top: 2rem;
}
/* 🔹 RESPONSYWNOŚĆ 🔹 */
@media (max-width: 1024px) {
  .about-us-container {
    flex-direction: column; /* Na mniejszych ekranach zamieniamy na układ pionowy */
    text-align: center;
    gap: 2rem;
  }

  .about-image,
  .about-text {
    max-width: 100%; /* Obraz i tekst zajmują całą szerokość */
  }

  .about-text ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Wyrównanie do środka */
    gap: 1rem;
  }

  .about-us-container li {
    width: 100%; /* Każdy element listy zajmuje całą szerokość */
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .aboutus-icon {
    display: none; /* Ukrywa ikony na ekranach poniżej 768px */
  }
  .about-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .quote {
    font-size: 1.2rem;
  }

  .about-text h1 {
    font-size: 1.6rem;
  }
}
.gallery h2 {
  margin-top: 3rem;
}
.gallerygrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.gallerygrid img {
  width: 100%; /* Obrazek wypełnia kafelek */
  max-height: 300px; /* Zachowuje proporcje */
  aspect-ratio: 16/9;
  object-fit: cover; /* Zapewnia estetyczne przycinanie */
  border-radius: 0.5rem;
}
.gallerygrid img:hover {
  transform: scale(1.05);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.contactbuttons {
  display: flex;
  flex-direction: column;
}
/* 🔹 Responsywność 🔹 */
@media (max-width: 1024px) {
  .gallerygrid {
    grid-template-columns: repeat(2, 1fr); /* Na tabletach 2 kolumny */
  }
}

@media (max-width: 600px) {
  .gallerygrid {
    grid-template-columns: repeat(1, 1fr); /* Na telefonach 1 kolumna */
  }
}
