:root {
  --black: #0a0a0a;
  --dark: #111213;
  --gray: #c9c9c9;
  --silver: #bdbdbd;
  --gold: #d4af37;
  --white: #f7f7f7;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
a { text-decoration: none; }

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #1f2022;
}
.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
}
.logo-mark {
  width: 34px;
  height: 34px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 700;
}
.domain { color: var(--gold); }
.menu { display: flex; gap: 22px; }
.menu a {
  padding: 8px 0;
  color: var(--silver);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.menu a.cta {
  color: var(--black);
  background: var(--gold);
  padding: 8px 14px;
  border-radius: 6px;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--gold);
  cursor: pointer;
}

/* Hero section with background */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: var(--white);

  background-image: url("../images/hero-car.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-blend-mode: multiply;
  background-color: rgba(0,0,0,0.6);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}
.hero h1 {
  font-size: 42px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero p {
  color: var(--silver);
  margin-bottom: 24px;
}
.actions { display: flex; gap: 12px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.btn.gold { background: var(--gold); color: var(--black); }
.btn.ghost { border: 1px solid #2a2a2a; color: var(--gray); }

/* Highlights cards */
.highlights {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: linear-gradient(180deg, #121314 0%, #0c0c0d 100%);
  border: 1px solid #1f2022;
  border-radius: 12px;
  padding: 20px;
}
.card h3 { margin-bottom: 8px; font-size: 18px; color: var(--gold); }
.card p { color: var(--silver); }

/* Section headers */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 20px;
}
.section h2 {
  margin-bottom: 18px;
  font-size: 28px;
  color: var(--gold);
}
.section p.lead { color: var(--silver); margin-bottom: 24px; }

/* Grid for models */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.section .card img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Forms (kontakt, usługi) */
input, select, textarea {
  background: #121314;
  color: var(--white);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 12px;
}
button, .btn {
  cursor: pointer;
}

/* Footer */
.footer {
  border-top: 1px solid #1f2022;
  color: var(--silver);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 26px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer .copy { font-size: 14px; }
.footer .social { display: flex; gap: 12px; }
.footer .social a { color: var(--silver); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { padding: 60px 20px; }
  .highlights { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .menu { display: none; }
  .menu-toggle { display: block; }
  .hero { text-align: center; justify-content: center; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .actions { flex-direction: column; gap: 10px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .menu {
    flex-direction: column;
    background: #111213;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px;
    border-radius: 8px;
  }
  .menu a { padding: 10px; color: var(--white); }
}

/* Logo w nawigacji */
.brand .logo img {
  height: 48px;       /* wysokość logo */
  width: auto;        /* proporcje zachowane */
  display: block;
}

/* Logo – wersja mobilna */
@media (max-width: 768px) {
  .brand .logo img {
    max-width: 140px;   /* zmniejsza szerokość logo */
    height: auto;       /* zachowuje proporcje */
  }
}

/* jeszcze mniejsze ekrany */
@media (max-width: 480px) {
  .brand .logo img {
    max-width: 110px;   /* jeszcze mniejsze logo */
  }
}

/* Sekcja usług – desktop */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
}

.service-box {
  flex: 1 1 300px; /* minimalna szerokość 300px */
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}

/* Mobile/tablet */
@media (max-width: 768px) {
  .services {
    flex-direction: column; /* układ pionowy */
  }
  .service-box {
    flex: 1 1 100%;
    margin-bottom: 20px;
  }
}

