* { box-sizing: border-box; 
    scroll-behavior: smooth;}
    
    body {
      margin: 0;
      
      background: #000;
      color: #fff;
    }
  /* --- Reset i podstawy --- */
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
  }
  h1, h2, .hero-text h1, #lokalizacja h2, .showcase h2 {
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  letter-spacing: 1.2px;
}

body, .service-card-content p, .reason-card p {
 font-family: "Raleway", sans-serif;
  font-weight: 400;
}

  body {
    background-color: #111;
    color: #f5f5f5;
    line-height: 1.6;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  /* --- Nawigacja --- */
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: sticky;
    top: 0;
    background-color: rgba(0,0,0,0.7); /* delikatny overlay */
    z-index: 10;
    font-size: 18px;
    letter-spacing: 2px;
  }

  nav a:hover{
    color: #2afafa;
  }

  nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
  }

  nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
  }
.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;     /* ← kontroluje wielkość */
  width: auto;
  object-fit: contain;
}
  nav ul li:hover {
    opacity: 0.7;
  }
  footer a{
    color: black;
  }

  /* --- Hero / sekcja nagłówkowa --- */
  .hero {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 70vh;
    background: url('https://images.unsplash.com/photo-1597732790476-ec0be7007d9c?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    position: relative;
    justify-content: center;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0,0,0,0.5); /* przyciemnienie */
  }

  .hero-text {
    position: relative;
    max-width: 600px;
    margin-left: 50px;
  }

  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
  }

  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ccc;
  }

  .hero-text a {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1a1a1a;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
  }

  .hero-text a:hover {
    background-color: #2afafa;
  }
/* ===== SEKCA DLACZEGO WARTO ===== */
/* ================= SHOWCASE ================= */

.showcase {
  padding: 100px 60px;
  background: #0a0a0a;
  text-align: center;
}

.showcase h2 {
  font-size: 2.6rem;
  margin-bottom: 70px;
  color: white;
  letter-spacing: 1px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 25px;
  max-width: 1300px;
  margin: 0 auto;
}

.showcase-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,.7);
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.showcase-item:hover img {
  transform: scale(1.1);
}

/* overlay */

.showcase-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.15));
  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.showcase-item h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ROZMIARY */

.showcase-item.big {
  grid-column: span 2;
  grid-row: span 2;
}

.showcase-item.wide {
  grid-column: span 2;
}

/* ================= MOBILE ================= */

@media(max-width: 900px) {

  .showcase {
    padding: 70px 30px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

}

@media(max-width: 500px) {

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

}
/* ================= SCROLL REVEAL ================= */

.reveal {
  opacity: 0;
  transform: translateY(60px) scale(.97);
  transition: all .9s cubic-bezier(.19,1,.22,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================= LIGHTBOX ================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: .4s ease;
}

.lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,.9);
  animation: zoomIn .4s ease;
}

@keyframes zoomIn {
  from {transform: scale(.8); opacity: 0;}
  to {transform: scale(1); opacity: 1;}
}

/* zamykanie */

.lightbox::after {
  content: "✕";
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}
/* ================= BEFORE AFTER ================= */

.before-after {
  padding: 120px 60px;
  background: radial-gradient(circle at top, #111, #050505);
  text-align: center;
}

.before-after h2 {
  font-size: 2.6rem;
  margin-bottom: 60px;
}

.ba-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.ba-item {
  position: relative;
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.9);
}

/* obrazy */

.ba-img {
  position: absolute;
  inset: 0;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-img.after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path .2s ease;
}

/* slider */

.ba-slider {
  position: absolute;
  inset: 0;
  appearance: none;
  background: none;
  cursor: ew-resize;
  z-index: 5;
}

.ba-slider::-webkit-slider-thumb {
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 4px solid #111;
}

.ba-slider::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: white;
  border: 4px solid #111;
}

/* linia */



/* ================= MOBILE ================= */

@media(max-width:768px){

  .before-after {
    padding: 80px 25px;
  }

  .ba-item {
    height: 320px;
  }

}


/* ================= WHY US ================= */

.why-us {
  background-color: #111;
  padding: 80px 50px;
  text-align: center;
}
.uslugi h2{

  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
  color: white;
}
.why-us h2 {
  font-size: 2.5rem;
  margin-bottom: 60px;
  font-weight: 700;
  color: white;
}

.reasons {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.reason-card {
  background-color: #1a1a1a;
  border-radius: 15px;
  padding: 30px 20px;
  max-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.reason-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.reason-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.reason-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
}


/* BUTTON */

.reason-card .reason-btn {
  margin-top: 30px;
  padding: 12px 32px;

  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);

  background: transparent;
  color: #ffffff;

  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  cursor: pointer;

  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.reason-card .reason-btn:hover {
  background-color: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

.reason-card .reason-btn:focus {
  outline: none;
}


/* RESPONSYWNOŚĆ */

@media(max-width: 992px) {
  .reasons {
    gap: 30px;
  }
}

@media(max-width: 768px) {
  .reasons {
    flex-direction: column;
    align-items: center;
  }
}

/* ===== KARTY ===== */

.reason-card {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  border-radius: 22px;
  padding: 55px 35px;
  max-width: 380px;
  width: 100%;
  box-shadow:
    inset 0 0 40px rgba(255,255,255,.03),
    0 25px 60px rgba(0,0,0,.7);
  transition: .4s ease;
}

.reason-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    inset 0 0 40px rgba(255,255,255,.05),
    0 35px 80px rgba(0,0,0,.9);
}

/* IKONA */

.reason-card::before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: url("img/icon-car.svg") center/contain no-repeat;
  opacity: .9;
}

/* TEKST */

.reason-card h3 {
  font-size: 1.6rem;
  margin-bottom: 18px;
  color: #fff;
}

.reason-card p {
  font-size: 1rem;
  color: #8f8f8f;
  line-height: 1.7;
  margin-bottom: 35px;
}

/* BUTTON */

.reason-btn {
  padding: 14px 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.45);
  background: transparent;
  color: white;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .35s ease;
}

.reason-btn:hover {
  background: rgba(255,255,255,.1);
  box-shadow:
    0 0 25px rgba(255,255,255,.25),
    inset 0 0 15px rgba(255,255,255,.2);
}

/* ===== MOBILE ===== */

@media(max-width:900px){

  .why-us {
    padding: 90px 25px;
  }

  .why-us h2 {
    font-size: 2.4rem;
  }

}
/* ================= LOKALIZACJA ================= */
#lokalizacja {
  padding: 80px 60px;
  background: #0b0b0b;
  text-align: center;
}

#lokalizacja h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #ffffff;
}

.map-container {
  max-width: 900px;
  margin-left: 900px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ================= MODAL ================= */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: .35s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: linear-gradient(180deg,#1a1a1a,#0b0b0b);
  padding: 45px 40px;
  border-radius: 22px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 40px 90px rgba(0,0,0,.9);

  transform: scale(.85);
  transition: .4s ease;
}

.modal.show .modal-box {
  transform: scale(1);
}

.modal-box h3 {
  font-size: 1.9rem;
  margin-bottom: 20px;
}

.modal-box p {
  color: #aaa;
  margin-bottom: 25px;
}

.modal-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff5722;
}

/* close */

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  cursor: pointer;
}

/* RESPONSYWNOŚĆ */

@media(max-width: 768px) {
  #lokalizacja {
    padding: 40px 20px;
  }

  #lokalizacja h2 {
    font-size: 28px;
  }
}

/* ===== RESPONSYWNOŚĆ ===== */

@media(max-width:768px){

  .why-us {
    padding:50px 20px;
  }

  .reasons {
    flex-direction:column;
    gap:30px;
  }

  #lokalizacja {
    padding:50px 20px;
  }

}

/* --- Sekcja usług --- */.services {  padding: 80px 50px;  display: grid;  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  gap: 30px;}
.service-card {  display: flex;  flex-direction: column;  border-radius: 22px;  overflow: hidden;  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);  box-shadow: inset 0 0 40px rgba(255,255,255,.03), 0 25px 60px rgba(0,0,0,.7);  transition: .4s ease;}
.service-card:hover {  transform: translateY(-5px);  box-shadow: 0 15px 30px rgba(0,0,0,0.5);}
.service-card img {  width: 100%;  height: 200px;  object-fit: cover;}
.service-card-content {  display: flex;  flex-direction: column;  flex: 1;  padding: 20px;}
.service-card-content .service-text {  flex: 1;  display: flex;  flex-direction: column;  justify-content: flex-start;}
.service-card-content h3 {  margin-bottom: 12px;  font-size: 1.3rem;  color: #fff;}
.service-card-content p {  font-size: 0.95rem;  color: #ccc;  line-height: 1.5;  margin-bottom: 0;   flex-grow: 1; }
.service-card-content .separator {  width: 80%;  height: 1px;  background: rgba(255,255,255,0.25);  margin: 15px auto 12px auto;  align-self: center;}
.service-card-content a {  align-self: center;  padding: 12px 28px;  background: rgba(0,0,0,0.55);  color: white;  border-radius: 999px;  font-weight: 700;  font-size: 0.9rem;  text-transform: uppercase;  transition: .3s;}
.service-card-content a:hover {  background: rgba(42, 250, 250, 0.8);   box-shadow: 0 4px 15px rgba(42, 250, 250, 0.4);}

  /* nagłówek */
.service-card-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #fff;
}

  .service-card-content p {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 20px;
  /* NIE używamy margin-bottom: auto, bo powoduje konflikty */
}

  

  .service-card-content a:hover {
    background: rgba(0,0,0,0.55);
  }

  /* --- Stopka --- */
  footer {
    text-align: center;
    padding: 40px 20px;
    background-color: #0d0d0d;
    color: #777;
    font-size: 0.9rem;
  }
.hero {
  background-color: #111; /* bardzo ciemny */
}
.hero {
  background: url('img/car11.jpg') center/cover no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.5); /* przyciemnienie */
}


  /* --- Responsywność --- */
  @media(max-width: 768px) {
    .hero-text h1 {
      font-size: 2.2rem;
    }

    .hero-text {
      margin-left: 20px;
    }
  }
  /* ================= KONTAKT + MAPA ================= */

.location-wrapper {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
}

/* LEWA STRONA */

.contact-box {
  flex: 1;
  background: linear-gradient(180deg,#1a1a1a,#0b0b0b);
  padding: 45px 40px;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0,0,0,.9);
  text-align: left;
}

.contact-box h3 {
  font-size: 1.9rem;
  margin-bottom: 30px;
  text-align: center;
}

/* element */

.contact-item {
  font-size: 1.1rem;
  margin-bottom: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  color: #ccc;
}

.contact-item a {
  color: #2afafa;
  font-weight: 600;
  transition: .3s;
}

.contact-item a:hover {
  color: white;
}

/* PRAWA STRONA */

.map-container {
  flex: 1.4;
  margin: 0;
}

/* ================= MOBILE ================= */

/* ================= MOBILE RESPONSYWNOŚĆ ================= */

/* --- Nawigacja --- */
@media(max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px 20px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
  }
}

/* --- Hero --- */
@media(max-width: 768px) {
  .hero-text {
    max-width: 90%;
    margin-left: 15px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-text a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* --- Showcase / galeria --- */
@media(max-width: 900px) {
  .showcase {
    padding: 60px 20px;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
}

@media(max-width: 500px) {
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  .showcase h2 {
    font-size: 2rem;
    margin-bottom: 50px;
  }
}

/* --- Before/After slider --- */
@media(max-width: 768px) {
  .before-after {
    padding: 60px 15px;
  }

  .ba-item {
    height: 280px;
  }

  .ba-slider::-webkit-slider-thumb,
  .ba-slider::-moz-range-thumb {
    width: 32px;
    height: 32px;
  }
}

/* --- Why Us sekcja --- */
@media(max-width: 768px) {
  .why-us {
    padding: 50px 15px;
  }

  .why-us h2 {
    font-size: 2rem;
  }

  .reasons {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .reason-card {
    max-width: 320px;
    padding: 40px 25px;
  }
}

/* --- Sekcja usług --- */
@media(max-width: 768px) {
  .services {
    padding: 50px 15px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card img {
    height: 180px;
  }

  .service-card-content h3 {
    font-size: 1.2rem;
  }

  .service-card-content p {
    font-size: 0.9rem;
  }
}

/* --- Lokalizacja / kontakt + mapa --- */
@media(max-width: 900px) {
  .location-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .contact-box, .map-container {
    width: 100%;
    margin: 0;
  }

  .contact-box {
    padding: 35px 20px;
  }

  #lokalizacja h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .map-container iframe {
    height: 250px;
  }
}

/* --- Stopka --- */
@media(max-width: 500px) {
  footer {
    font-size: 0.8rem;
    padding: 30px 15px;
  }
}
/* === Mobilna nawigacja === */
@media (max-width: 768px) {

  /* Hamburger */
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 110;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background: #2afafa;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Menu wysuwane */
  nav ul {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 60%;
    background: linear-gradient(180deg,#111,#0b0b0b);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: right 0.3s ease;
    padding: 0;
    list-style: none;
    font-size: 1.2rem;
    font-weight: 600;
  }

  nav ul.active {
    right: 0;
  }

  /* Animacja hamburgera */
  .hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Zmiana paddingu nav */
  nav {
    flex-direction: row;
    justify-content: space-between;
    padding: 15px 20px;
  }
}
 h2 {
  text-align: center;
  font-size: 2.5rem; /* możesz dopasować wielkość */
  margin-top: 50px; /* zachowaj odstęp nad kartami */
  color: #fff; /* aby pasowało do reszty strony */
  font-weight: 700;
  letter-spacing: 1px;

}