body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  color: #222;
}

header {
  background-color: #000;
  color: white;
  padding: 15px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  height: 50px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

section {
  padding: 60px 80px;
  text-align: center;
}

footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

.hero {
  background-image: url('https://www.bmw.co.id/content/dam/bmw/common/all-models/m-series/m4-coupe/2024/highlights/bmw-m4-coupe-csl-modelfinder-stage-desktop.jpg');
  background-size: cover;
  background-position: center;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}

.hero h1 {
  font-size: 3rem;
  background: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 8px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  width: 300px;
  overflow: hidden;
  margin: 20px;
  display: inline-block;
  vertical-align: top;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 15px 0 10px;
}
.hero {
      background-image: url('https://www.bmw.co.id/content/dam/bmw/common/all-models/m-series/m4-coupe/2024/highlights/bmw-m4-coupe-csl-modelfinder-stage-desktop.jpg');
      background-size: cover;
      background-position: center;
      height: 90vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: white;
      text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
    }

    .hero h1 {
      font-size: 3rem;
      background: rgba(0,0,0,0.6);
      padding: 20px 40px;
      border-radius: 10px;
    }

    .hero p {
      margin-top: 15px;
      font-size: 1.2rem;
      background: rgba(0,0,0,0.4);
      padding: 10px 25px;
      border-radius: 8px;
    }

    .btn {
      margin-top: 25px;
      background: #007aff;
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 8px;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.3s;
      text-decoration: none;
    }

    .btn:hover {
      background: #005ecc;
    }

    .intro {
      padding: 60px 80px;
      text-align: center;
    }

    .intro h2 {
      font-size: 2rem;
      margin-bottom: 10px;
    }

    .intro p {
      max-width: 800px;
      margin: auto;
      line-height: 1.6;
    }

    .preview-model {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 30px;
      margin-top: 40px;
    }

    .preview-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
      width: 300px;
      overflow: hidden;
      transition: transform 0.3s;
    }

    .preview-card:hover {
      transform: scale(1.05);
    }

    .preview-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .preview-card h3 {
      margin: 15px 0 10px;
    }

    .cta {
      text-align: center;
      padding: 40px 20px;
      background: #000;
      color: white;
    }

    .cta a {
      display: inline-block;
      background: #007aff;
      color: white;
      padding: 12px 25px;
      border-radius: 6px;
      text-decoration: none;
      margin-top: 15px;
      transition: background 0.3s;
    }

    .cta a:hover {
      background: #005ecc;
    }
    .hero {
  text-align: center;
  padding: 150px 20px;
  color: white;
  background-image: 
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
    url('logo1.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #111;
}

.hero h1 {
  font-size: 2.5em;
  font-weight: bold;
  background-color: rgba(0,0,0,0.6);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
}

.hero p {
  background-color: rgba(0,0,0,0.5);
  display: inline-block;
  padding: 8px 15px;
  border-radius: 8px;
  margin-top: 15px;
}

.btn {
  display: inline-block;
  margin-top: 25px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background-color: #0056b3;
}

.detail-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  gap: 40px;
}

.detail-container img {
  width: 45%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.detail-info {
  max-width: 500px;
}

.detail-info h1 {
  color: #000;
}

.detail-info h3 {
  color: #007bff;
}

.detail-info ul {
  list-style: none;
  padding: 0;
}

.detail-info ul li {
  margin-bottom: 6px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-container img {
    width: 60px;
}

.bmw-text {
    font-size: 18px;
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
}
