/* === OGÓLNE === */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  margin: 0;
  background: #f6f6f6;
  color: #333;
  line-height: 1.6;
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1b1e23, #2a2f35);
  color: white;
  padding: 14px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* === LOGO KLIKALNE + HASŁO === */
header .logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 1.6em;
  line-height: 1.1;
  transition: color 0.2s;
}

header .logo span {
  font-size: 1.4em;
  letter-spacing: 0.5px;
}

header .logo small {
  font-size: 0.7em;
  font-weight: normal;
  color: #aad4ff;
  margin-top: 2px;
}

header .logo:hover {
  color: #00a2ff;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: 0.2s;
}

nav a:hover,
nav a.active {
  color: #00a2ff;
}

/* === HERO / GŁÓWNE TŁO === */
.hero {
  background: url('img/truck_background.jpg') center center / cover no-repeat;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  border-bottom: 4px solid #00a2ff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero .overlay {
  position: relative;
  z-index: 1;
  color: white;
  padding: 40px 60px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
}

.btn {
  background: linear-gradient(135deg, #0078d7, #005a9e);
  color: white;
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn:hover {
  background: linear-gradient(135deg, #005a9e, #004b82);
  transform: translateY(-2px);
}

/* === TREŚĆ STRONY === */
.content {
  max-width: 950px;
  margin: 50px auto;
  padding: 0 20px;
}

.content h2 {
  color: #005a9e;
  border-left: 5px solid #00a2ff;
  padding-left: 10px;
}

.content h3 {
  margin-top: 35px;
  color: #005a9e;
}

ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  margin: 6px 0;
  padding-left: 22px;
  position: relative;
}

ul li::before {
  content: "•";
  color: #00a2ff;
  position: absolute;
  left: 0;
  top: 0;
}

/* === SEKCJA USŁUG === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 25px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service img {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.service:hover img {
  transform: scale(1.07);
  opacity: 1;
}

.service p {
  margin: 0;
  text-align: center;
  font-weight: 500;
  color: #333;
}

/* === POJAZDY === */
.fleet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}

.vehicle {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.vehicle:hover {
  transform: translateY(-3px);
}

.vehicle-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.vehicle h4 {
  color: #005a9e;
  margin: 5px 0;
}

.vehicle-info {
  font-size: 0.95em;
  color: #444;
  line-height: 1.5;
}

/* === LIGHTBOX === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox-content {
  max-width: 90%;
  max-height: 85%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  cursor: default;
  transition: transform 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: #00a2ff;
}

/* === STOPKA === */
footer {
  text-align: center;
  background: #1b1e23;
  color: #bbb;
  padding: 15px;
  margin-top: 50px;
  font-size: 0.95em;
}

/* === RESPONSYWNOŚĆ === */
@media (max-width: 768px) {
  .hero {
    height: 300px;
  }

  .hero .overlay {
    padding: 20px;
  }

  .hero h1 {
    font-size: 1.6em;
  }

  .content {
    padding: 0 15px;
  }

  header {
    flex-direction: column;
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 5px 10px;
  }
}
/* === KONTAKT === */
.contact-section {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-section h2 {
  color: #005a9e;
  border-left: 5px solid #00a2ff;
  padding-left: 12px;
  margin-bottom: 20px;
}

.contact-section p {
  font-size: 1em;
  margin-bottom: 20px;
}

.contact-section strong {
  color: #1b1e23;
}

.contact-section a {
  color: #005a9e;
  text-decoration: none;
}

.contact-section a:hover {
  text-decoration: underline;
}

/* Ikony kontaktowe */
.contact-info {
  margin: 25px 0;
  font-size: 1.05em;
  line-height: 1.8;
}

.contact-info span {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.contact-info span i {
  font-style: normal;
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #00a2ff;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  margin-right: 10px;
  font-weight: bold;
}

/* Formularz kontaktowy */
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  flex: 1 1 45%;
  min-width: 250px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  font-family: inherit;
  transition: 0.2s ease;
}

.contact-form textarea {
  flex: 1 1 100%;
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00a2ff;
  box-shadow: 0 0 4px rgba(0, 162, 255, 0.4);
  outline: none;
}

.contact-form button {
  background: linear-gradient(135deg, #0078d7, #005a9e);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(135deg, #005a9e, #004b82);
  transform: translateY(-2px);
}
.info {
  margin-top: 15px;
  font-weight: 600;
  text-align: center;
  transition: 0.3s;
}
/* === SEKCJA ZAPROSZENIA DO GALERII === */
.gallery-invite {
  margin-top: 60px;
  text-align: center;
}

.gallery-banner {
  background: url('img/truck_background.jpg') center/cover no-repeat;
  border-radius: 10px;
  padding: 70px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

.gallery-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.gallery-text {
  position: relative;
  z-index: 1;
}

.gallery-text h2 {
  font-size: 2em;
  margin-bottom: 10px;
  color: #fff;
}

.gallery-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ddd;
}

.gallery-text .btn {
  background: linear-gradient(135deg, #0078d7, #005a9e);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.gallery-text .btn:hover {
  background: linear-gradient(135deg, #005a9e, #004b82);
  transform: translateY(-2px);
}
