/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  scroll-behavior: smooth;
}

/* === OGÓLNE === */
body {
  background-color: #111;
  color: #f5f5f5;
}

h1, h2, h3 {
  color: #ff4500;
  letter-spacing: 1px;
}

a {
  text-decoration: none;
  color: #ff6a00;
  transition: 0.3s;
}

a:hover {
  color: #ff0000;
}

/* === HEADER === */
header {
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #ff4500;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  width: 70px;
  height: 70px;
}

.logo h1 {
  font-size: 22px;
  color: #ff6a00;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #ff4500;
}

/* === BANER O NAS === */
.banner-onas {
  background-image: url('img/banner-onas.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 3px solid #ff4500;
  position: relative;
}

.banner-onas::after {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.banner-content {
  position: relative;
  z-index: 2;
}

.banner-onas h2 {
  font-size: 48px;
  color: #ff6a00;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px #000;
  text-transform: uppercase;
}

/* === NOWA SEKCJA O NAS === */
.onas-bloki {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  flex-wrap: wrap;
  padding: 80px 10%;
  text-align: center;
  background-color: #1a1a1a;
}

.blok {
  background: #222;
  border: 2px solid #ff4500;
  border-radius: 10px;
  padding: 30px 20px;
  width: 300px;
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
  height: 200px;
  overflow: auto;
}

.blok:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 69, 0, 0.5);
}

.blok i {
  font-size: 40px;
  color: #ff6a00;
  margin-bottom: 15px;
}

.blok h3 {
  color: #ff6a00;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.blok p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.6;
}

/* === O NAS - ZDJĘCIE I TEKST === */
.onas-zdjecie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 10%;
  background-color: #111;
  flex-wrap: wrap;
}

.onas-zdjecie img {
  width: 400px;
  border-radius: 12px;
  border: 2px solid #ff4500;
  box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
}

.onas-tekst {
  max-width: 500px;
}

.onas-tekst h3 {
  color: #ff6a00;
  font-size: 24px;
  margin-bottom: 15px;
}

.onas-tekst p {
  font-size: 18px;
  line-height: 1.7;
  color: #f5f5f5;
}

/* === SEKCJE OGÓLNE === */
.sekcja {
  padding: 80px 10%;
  max-width: 1300px;
  margin: auto;
  text-align: center;
}

.onas-tresc {
  background-color: rgba(26, 26, 26, 0.9);
  margin-top: -40px;
  padding: 60px 10%;
  text-align: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
}

.onas-tresc p {
  font-size: 18px;
  line-height: 1.8em;
}

/* === WYPOŻYCZALNIA === */
.wypozyczalnia {
  text-align: left;
}

.moto-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #1a1a1a;
  border: 2px solid #ff4500;
  border-radius: 10px;
  margin-top: 40px;
  padding: 25px;
  gap: 25px;
  flex-wrap: wrap;
  box-shadow: 0 0 10px rgba(255, 69, 0, 0.3);
}

.moto-lewa {
  flex: 1 1 45%;
}

.moto-glowne img {
  width: 100%;
  height: auto;
  border: 2px solid #ff4500;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}

.moto-glowne img:hover {
  transform: scale(1.03);
}

.moto-miniatury {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.moto-miniatury img {
  width: 70px;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: 0.3s;
}

.moto-miniatury img:hover {
  border-color: #ff6a00;
  transform: scale(1.1);
}

.moto-prawa {
  flex: 1 1 50%;
  padding: 10px;
}

.moto-prawa h3 {
  color: #ff6a00;
  font-size: 22px;
  margin-bottom: 10px;
}

.parametry {
  list-style: none;
  margin: 15px 0;
}

.parametry li {
  padding: 4px 0;
  border-bottom: 1px solid #333;
}

.cennik {
  background-color: #222;
  border: 1px solid #ff4500;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.cennik p {
  margin: 5px 0;
}

/* === PROJEKTY === */
.projekty {
  background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
  padding: 40px 20px;
}

.projekty-opis {
  max-width: 800px;
  margin: 0 auto 60px auto;
  font-size: 18px;
  color: #ddd;
  line-height: 1.8;
  text-align: center;
}

.projekty-galeria {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.projekt-box {
  display: flex;
  flex-wrap: wrap;
  background: #1a1a1a;
  border: 2px solid #ff4500;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 69, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projekt-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 35px rgba(255, 69, 0, 0.5);
}

.projekt-zdjecie {
  flex: 1 1 40%;
  min-width: 300px;
  overflow: hidden;
}

.projekt-zdjecie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.projekt-box:hover .projekt-zdjecie img {
  transform: scale(1.05);
}

.projekt-opis {
  flex: 1 1 60%;
  padding: 20px 25px;
  color: #f5f5f5;
}

/* === STOPKA === */
footer {
  background-color: #000;
  text-align: center;
  padding: 15px 0;
  color: #777;
  border-top: 2px solid #ff4500;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 10px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .moto-box {
    flex-direction: column;
    text-align: center;
  }

  .moto-lewa,
  .moto-prawa {
    flex: 1 1 100%;
  }

  .moto-miniatury img {
    width: 60px;
    height: 45px;
  }

  .logo img {
    width: 55px;
    height: 55px;
  }

  .onas-zdjecie {
    flex-direction: column;
  }

  .onas-zdjecie img {
    width: 90%;
  }

  .banner-onas h2 {
    font-size: 32px;
  }

  .blok {
    width: 90%;
    height: auto;
  }

  .projekt-box {
    flex-direction: column;
  }

  .projekt-zdjecie,
  .projekt-opis {
    flex: 1 1 100%;
  }

  .big-logo {
    display: block;
    margin: 40px auto;
    max-width: 250px;
    width: 80%;
    height: auto;
  }
}
