* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #000;
}
html{
  scroll-behavior: smooth;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #111;
  color: white;
  padding: 1rem 2rem;
  flex-wrap: wrap;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 1rem;
}

.title h1 {
  font-size: 32px;
  color: #E53935;
}

.title p {
  font-size: 14px;
  color: #b5d7e6;
}

.contact-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-right: 250px;
}

.contact-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon {
  background-color: #E53935;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 10px;
}

.contact-text .label {
  font-size: 15px;
  color: #E53935;
  font-weight: bold;
}

.contact-text .info {
  font-size: 14px;
  color: white;
}

.lang-flags img {
  width: 25px;
  margin-left: 5px;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background-color: white;
  padding: 1rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  flex-wrap: wrap;
}

.main-nav a {
  text-decoration: none;
  font-weight: bold;
  color: #000;
  font-size: 13px;
}

.main-nav a:first-child {
  color: #E53935;
}

.social-icon {
  width: 20px;
  height: 20px;
}

.burger {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 1rem;
  left: 1rem;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}
.icon {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.icon:hover {
  background-color: #4CAF50; /* Zielony */
  transition: background-color 0.3s ease;
  transform: translateX(-10px);
}
.contact-text .label:hover,
.contact-text .info:hover {
  color: #4CAF50;
  cursor: pointer;
}
.main-nav a:hover {
  color: #4CAF50;
  transition: color 0.3s ease;
}
/* Main */
.vehicle-offer {
  padding: 0;
  background-color: white;
  text-align: center;
  margin-bottom: 20px;
}

.offer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 2rem 2rem 2rem;
}

.offer-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

.offer-text {
  max-width: 800px;
  text-align: center;
}

.offer-text .big {
  font-size: 4rem;
  color: #e11c1c;
  font-weight: bold;
}

.offer-text h2 {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 900;
}

.offer-text h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
}

.offer-text ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.offer-text ul li::before {
  content: "➤";
  color: #444;
  margin-right: 0.5rem;
}

.vehicle-images {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.vehicle-images img {
  max-width: 150px;
  height: auto;
}

.location-box {
  background-color: #1e1e1e;
  color: white;
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
  font-size: 1.2rem;
  max-width: 600px;
  text-align: center;
}

.location-box .phone {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0.5rem 0;
}

.vehicle-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
  gap: 1rem;
}

.vehicle-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0px 70px;
}

.vehicle-button img {
  width: 100px;
  height: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.button-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 2px solid #e11c1c;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  background-color: #e11c1c;
}
.button-label:hover {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
}
/* Footer */
.footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}
.footer a {
  color: red;
  text-decoration: none;
}
.footer h3 {
  font-size: 1.2em;
  border-bottom: 2px dotted #ec0909;
  margin-bottom: 10px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
  margin-left: 90px;
  margin-right: 90px;
}
.footer-section {
  flex: 1 1 250px;
  max-width: 300px;
  min-width: 250px;
}
.footer-section img {
  width: 100%;
  height: auto;
  margin: 10px 0;
}
.footer-section p {
  font-size: 0.95em;
  line-height: 1.5em;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  border-top: 1px solid #444;
  padding-top: 30px;
  margin-left: 50px;
  margin-right: 50px;
}
.copyright{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-top: 1px solid grey;
  font-size: smaller;
  margin-top: 10px;
}
.contact-info, .documents {
  flex: 1 1 300px;
  min-width: 250px;
}
.contact-info p{
  padding: 6px;
}
.documents a {
  display: inline-block;
  margin-top: 5px;
  font-size: 0.95em;
}

.location {
  background-color: white;
  color: red;
  text-align: center;
  padding: 40px 20px;
}

.location h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  display: inline-block;
  padding-bottom: 5px;
}

.map-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
/* Domyślnie ukryj dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 100;
  flex-direction: column;
  min-width: 200px;
}

/* Ustawienie kontenera dropdown */
.dropdown {
  position: relative;
}
/* VW */
.vehicle-section {
  padding: 40px 20px;
  background-color: #fafafa;
  font-family: 'Segoe UI', sans-serif;
}

.vehicle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.vehicle-gallery {
  flex: 1 1 500px;
}

.vehicle-gallery .main-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.thumbnail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.thumbnail-gallery img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.thumbnail-gallery img:hover {
  transform: scale(1.10);
}

.vehicle-info {
  flex: 1 1 400px;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.vehicle-info h2 {
  margin-top: 0;
  font-size: 28px;
  margin-bottom: 15px;
  color: #222;
}
.vehicle-details > div {
  margin-bottom: 8px;
  font-size: 16px;
}
.vehicle-details .price {
  color: #e53935;
  font-weight: bold;
}
.note {
  margin: 15px 0;
  font-style: italic;
  color: #666;
}
.vehicle-features {
  margin: 20px 0;
  padding-left: 20px;
}
.vehicle-features li {
  margin-bottom: 10px;
  line-height: 1.4;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: zoom-out;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
/* Na hover pokaż submenu (tylko na desktopie) */
@media (min-width: 768px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}
/* Style dla pozycji w menu */
.dropdown-menu a {
  padding: 10px 15px;
  text-decoration: none;
  color: black;
  white-space: nowrap;
}
.dropdown-menu a:hover {
  background-color: #eee;
}
@media (max-width: 768px) {
  .location h2 {
    font-size: 1.2em;
  }
  .map-container iframe {
    height: 300px;
  }
}
/* Responsywność */
@media (max-width: 900px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
  }
  .footer-section,
  .contact-info,
  .documents {
    max-width: 100%;
    text-align: center;
  }
  .footer-section img {
    max-width: 80%;
  }
}
/* Responsywność */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-section {
    max-width: 100%;
    text-align: center;
  }

  .footer-section img {
    max-width: 80%;
  }
}
/* ---------- RESPONSYWNOŚĆ ---------- */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
  }
  .contact-section {
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #111;
    color: white;
  }
  .main-nav a {
    color: white;
    padding: 1rem;
    border-top: 1px solid #333;
  }
  .main-nav.show {
    display: flex;
  }
  .burger {
    display: flex;
    z-index: 100;
  }
  .lang-flags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 1rem;
  position: static;
}
}
@media (max-width: 768px) {
  .footer-top {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
  }
}
@media (max-width: 768px) {
  .logo {
    margin-left: 50px;
  }
  .title {
    margin-right: 70px;
  }
}


