* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
/* ==========================================================
   AUDI A5 F5 - style
   ========================================================== */

/* --- RESET / PODSTAWY --- */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
}

/* --- SEKCJA HERO ---
   Twoj CSS do hero piszesz tutaj.
   Klasa .hero jest juz w HTML, wiec mozesz od razu pisac:
*/
.hero {
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}
.hero p {
  font-size: 24px;
  margin-bottom: 30px;
}
.hero .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #e60000;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}
.hero .btn:hover {
  background: #ff1a1a;
}
.specs {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.specs h2 {
  margin-top: 0;
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
}

.spec {
  background: #1c1c1c;
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
}
.specs-grid,
.specs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec h3 {
  margin-bottom: 8px;
}
footer.footer {
  background: #000;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(8px);
}

.nav-logo {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e60000;
}
.specs,
.footer {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.specs.widoczna,
.footer.widoczna {
  opacity: 1;
  transform: translateY(0);
}
