body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  align-items: center;
  background: #000;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 60px;
}

.logo img {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: auto; /* Aligns the navigation to the right */
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  margin-top: 5px;
  right: 0;
  background: #fff;
  transition: width 0.3s ease, background-color 0.3s ease;
}

nav a:hover::after {
  width: 100%;
  left: 0;
  background: #fff;
}

nav a:hover {
  color: #ffcc00;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
}

main {
  flex: 1;
  padding: 80px 20px 20px; /* Adjust padding-top to ensure content is not hidden behind the fixed header */
}

.dealership-info {
  text-align: center;
  padding: 20px 0;
}

.dealership-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.dealership-image img {
  max-width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.dealership-image img:hover {
  transform: scale(1.05);
}

.dealership-details {
  max-width: 1000px;
  text-align: left;
}

.location {
  text-align: center;
}

.location .map-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.location .map-container:hover {
  transform: scale(1.02);
}

footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  position: relative;
  width: 100%;
}

@media (max-width: 768px) {
  .dealership-content {
      flex-direction: column;
      text-align: center;
  }

  .dealership-details {
      text-align: center;
  }

  .location .map-container iframe {
      width: 100%;
      height: 300px;
  }
}
