/* ✅ Fix Safari Grey Background */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  background-color: #000;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 🔧 Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background-color: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #333;
  flex-wrap: wrap;
  gap: 10px;
}

.top-left {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  flex-wrap: wrap;
}

.top-left a {
  color: #fff;
  font-size: 16px;
}

.top-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.top-logo img {
  height: 50px;
  max-width: 150px;
  object-fit: contain;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;
    align-items: center;
  }

  .top-left {
    justify-content: center;
    flex-wrap: wrap;
    flex: unset;
  }

  .top-logo {
    justify-content: center;
    margin-top: 10px;
  }
}

/* 🖼 Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.hero-box {
  background: url('gearbox1.png') no-repeat center center;
  background-size: cover;
  height: 600px;
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.hero-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  z-index: 0;
}

.hero-box h1, .hero-box p, .hero-box a {
  position: relative;
  z-index: 1;
}

.hero-box h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.call-button {
  background: #e63946;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.call-button:hover {
  background: #c72c39;
}

/* 📄 Sections */
section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 40px auto;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: #fff;
}

h2 {
  color: #e63946;
  margin-bottom: 20px;
}

/* 🛠 Services List */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: rgba(255,255,255,0.05);
  margin: 10px 0;
  padding: 12px;
  border-left: 5px solid #e63946;
  transition: transform 0.3s ease;
}

ul li:hover {
  transform: translateY(-3px);
}

/* ✅ Warranty & Trust Benefits */
.trust-benefits {
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.trust-benefits li {
  margin-bottom: 12px;
  font-size: 1rem;
  padding-left: 30px;
  position: relative;
}

.trust-benefits li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: #e63946;
}

/* 📬 Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  color: #333;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  background-color: #fff;
}

.contact-form button {
  background: #e63946;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #c72c39;
}

/* 🔚 Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
}
