/* Reset */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0d0d0d;
  color: #f2f2f2;
  text-align: center;
}

/* Header */
header {
  background-color: #0d0d0d;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #ffd700;
}

header h1 {
  color: #ffd700;
  font-size: 28px;
  margin: 0;
}

nav a {
  color: #f2f2f2;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  color: #ffd700;
}

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url('images/Merc-headlight.png') center/cover no-repeat;
  color: white;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: #ffd700;
}

.hero p {
  font-size: 20px;
}

.btn {
  display: inline-block;
  background: #ffd700;
  color: #0d0d0d;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #e6c200;
}

/* Fleet */
.fleet {
  padding: 60px 20px;
  text-align: center;
}

.fleet h2 {
  color: #ffd700;
  font-size: 36px;
  margin-bottom: 40px;
}

.cars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.car-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.car-card h3 {
  margin: 15px;
  color: #ffd700;
}

.car-card p {
  margin: 0 15px 15px;
  font-size: 14px;
  color: #ccc;
}

/* Contact */
.contact {
  padding: 60px 20px;
  text-align: center;
}

.contact h2 {
  color: #ffd700;
  font-size: 36px;
  margin-bottom: 30px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,215,0,0.2);
}

form label {
  display: block;
  margin: 10px 0 5px;
}

form input,
form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
}

form button {
  width: 100%;
  background: #ffd700;
  color: #0d0d0d;
  padding: 12px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

form button:hover {
  background: #e6c200;
}

.contact-info {
  margin-top: 30px;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  background: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.whatsapp-btn:hover {
  background: #1ebe5c;
}

/* Footer */
footer {
  background: #0d0d0d;
  text-align: center;
  padding: 20px;
  border-top: 2px solid #ffd700;
  margin-top: 50px;
}

footer p {
  margin: 0;
  font-size: 14px;
}

/* ===== HERO IMAGES LOOP ===== */
.hero-images-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;       /* allow full width */
  border-radius: 12px;
}

.slider-track {
  display: flex;
  width: calc(200%);     /* keep the duplicated images for smooth loop */
  animation: slideLoop 30s linear infinite;
  gap: 15px;             /* spacing between images */
}

.slider-track img {
  flex: 0 0 auto;
  width: 300px;          /* bigger images */
  height: 200px;         /* set fixed height for consistency */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Animation */
@keyframes slideLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .slider-track img {
    width: 250px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .slider-track img {
    width: 200px;
    height: 150px;
  }
}

/* Contact Page */
.contact-section {
  padding: 4rem 2rem;
  text-align: center;
  background: #f9f9f9;
}

.contact-section h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #111;
}

.contact-section p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
}

.contact-form button {
  padding: 0.8rem;
  background: black;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: gold;
  color: black;
}

.whatsapp-box {
  flex: 0.8;
  min-width: 280px;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
}

.whatsapp-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #25d366;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  transition: 0.3s;
}

.whatsapp-btn:hover {
  background: #1ebe5b;
}

.section-dark {
  background: #111;
  color: #fff;
  padding: 4rem 2rem;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-form, .whatsapp-box {
  flex: 1;
  min-width: 300px;
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 8px;
  background: #222;
  color: #000000;
}

.contact-form button,
.whatsapp-btn {
  display: inline-block;
  background: #ffd700;
  color: #000000;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
}

.contact-form button:hover,
.whatsapp-btn:hover {
  background: #ffd700;
}

/* Location Section */
.location {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.location h2 {
  color: #FFD700;
  font-size: 32px;
  margin-bottom: 15px;
}

.location p {
  font-size: 18px;
  margin-bottom: 30px;
}

.map-container iframe {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Why Us / Services Section */
.why-us {
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 50px 20px;
}

.why-us h2 {
  color: #FFD700;
  font-size: 32px;
  margin-bottom: 40px;
}

.services-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-box {
  background-color: #000;
  border: 2px solid #FFD700;
  border-radius: 10px;
  padding: 20px;
  width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px #FFD700;
}

.service-box img {
  width: 60px;
  margin-bottom: 15px;
}

.service-box h3 {
  color: #FFD700;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 14px;
  color: #ccc;
}
