/* Reset & Base */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #000;
  padding-top: 10px; /* Spacing for fixed navbar */
}

h1,
h2,
h3 {
  margin: 0.5em 0;
}

button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}

button:hover {
  background-color: #0056b3;
}

.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url("images/head-bg.jpg") center/cover no-repeat;
  color: white;
  background-size: auto;
    padding: 100px 20px 60px;
  text-align: center;
}

.hero-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Why Choose Section */
.whyez {
  padding: 40px 20px;
  text-align: center;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.step {
  background: #f5f5f5;
  padding: 20px;
  border-radius: 10px;
}

.step-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Inventory Section */
.inventory {
  padding: 60px 20px;
  text-align: center;
  background-color: #e9f1ff;
}

.inventory-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.car-card {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* About Section */
.about-card {
  background-color: rgba(255, 255, 255, 0.92);
  color: #000;
  border-radius: 8px;
  padding: 30px;
  max-width: 800px;
  margin: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about {
  background-color: #ffffff;   /* Sets white background for the whole section */
  text-align: center;          /* Centers all text inside the section */
  padding: 40px 20px;          /* Adds space around the section */
}

/* Footer */
footer {
  text-align: center;
  padding: 5px;
  background-color: #f2f2f2;
  font-size: 0.7rem;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .steps {
    flex-direction: row;
    justify-content: space-between;
  }

}

html {
  scroll-behavior: smooth;
}


.offer-form-section .container {
  text-align: center;
}

/* Reusable Button Styles */
.btn, button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}
.btn:hover, button:hover {
  background-color: #0056b3;
}

/* Orbitron font for Hero headline */

.hero-content h1 {
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* Parallax or Fixed Background for non-hero sections */

section:not(.hero) {
  position: relative;
  background: url("images/background.jpg") no-repeat center center fixed;
  background-color: #000;
  background-size: contain;
  color: white;
  z-index: 0;
}

section:not(.hero)::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

section:not(.hero) > * {
  position: relative;
  z-index: 1;
}

/* Centered content wrapper */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.step {
  background-color: rgba(255, 255, 255, 0.92);
  color: #000;
}

.car-card {
  background-color: rgba(255, 255, 255, 0.92);
  color: #000;
}

.form-section {
  background-color: rgba(255, 255, 255, 0.88);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  color: #000;
}

.form-section h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 5px;
}

.btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 20px;
}
.btn:hover {
  background-color: #0056b3;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  box-sizing: border-box;
}


.offer-form-section form {
  max-width: 600px;
  margin: auto;
  text-align: left;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
  justify-content: center;

}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #007bff;
}

.button-subtext {
  font-size: 0.9rem;
  color: #f8f9fa;
  margin-top: 0.5rem;
  text-align: center;
}

select,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='18' viewBox='0 0 24 24' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 18px;
}
select {
  -webkit-padding-end: 40px;
}

/* Force select field text color to black */
select {
  color: #000;
}

/* Style placeholder (first) option */
select option:first-child {
  color: #888;
}

input[type="file"] {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  color: #333;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  margin-right: 10px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Thank You Page */
.thank-you-message {
  text-align: center;
  padding: 8rem 1rem;
}
.thank-you-message p.large {
  font-size: 1.2rem;
  margin-top: 1rem;
}
.thank-you-message p.small {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .thank-you-message {
    padding: 4rem 1rem;
  }
  .thank-you-message p.large {
    font-size: 1rem;
  }
  .thank-you-message p.small {
    font-size: 0.8rem;
  }
}
