/* ============================================================
   DealershipStyles.css — page content only
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #151616;
  background: #f0f0f0;
  overflow-x: hidden;
}

body {
  padding-top: 120px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
}

/* ── Hero image ────────────────────────────────────────────── */
.img-wrapper { width: 100%; position: relative; overflow: hidden; }

.image {
  width: 100%;
  position: relative;
}

.image img {
  width: 100%;
  height: clamp(240px, 40vw, 480px);
  object-fit: cover;
  display: block;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.45);
  padding: 20px;
  text-align: center;
}

.hero-title {
  font-size: clamp(20px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  max-width: 800px;
}

.orange-text { color: #ed8d1b; }

/* ── Dealer form section ───────────────────────────────────── */
.dealer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 52px 28px;
}

.dealer-wrapper {
  background: #1e1e1e;
  border-radius: 18px;
  padding: 44px 40px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.18);
  border: 1px solid #2e2e2e;
  max-width: 680px;
  margin: 0 auto;
}

.become-a-dealer { margin-bottom: 28px; }

.dealer-text {
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 800;
  color: #fff;
  border-bottom: 3px solid #ed8d1b;
  padding-bottom: 12px;
}

/* ── Form fields ───────────────────────────────────────────── */
.info-container .gform-details {
  list-style: none;
  padding: 0;
}

.gform-details li {
  margin-bottom: 16px;
  color: #aaa;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.gform-details input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  background: #2a2a2a;
  border: 1.5px solid #3a3a3a;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
  margin-top: 6px;
  display: block;
}

.gform-details input[type="text"]:focus {
  outline: none;
  border-color: #ed8d1b;
  background: #2f2f2f;
}

/* Two-up row (email + mobile) */
.two-up {
  display: flex;
  gap: 16px;
  margin-bottom: 16px !important;
}

.two-up .field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.two-up .field label {
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

.two-up .field input {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  background: #2a2a2a;
  border: 1.5px solid #3a3a3a;
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.2s;
}

.two-up .field input:focus {
  outline: none;
  border-color: #ed8d1b;
  background: #2f2f2f;
}

/* Input widths overrides */
.input-name, .input-target,
.input-businessName, .input-businessAdd {
  width: 100% !important;
  margin-top: 6px;
}

/* Submit */
.submit { margin-top: 28px; }

.submit-button {
  padding: 13px 36px;
  background: #ed8d1b;
  color: #151616;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: 0.5px;
}

.submit-button:hover { background: #c97415; }
.submit-button:active { transform: scale(0.98); }

/* ── Gallery strip ─────────────────────────────────────────── */
.img2-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  padding: 0 28px 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.img1, .img2, .img3, .img4 {
  flex: 1 1 220px;
  max-width: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #1e1e1e;
  box-shadow: 0 6px 22px rgba(237,141,27,0.2);
}

.img1 img, .img2 img, .img3 img, .img4 img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .dealer-container { padding: 32px 16px; }
  .dealer-wrapper { padding: 28px 20px; }
  .two-up { flex-direction: column; gap: 0; }
  .img2-wrapper { padding: 0 16px 40px; gap: 12px; }
  .img1, .img2, .img3, .img4 { flex: 1 1 140px; max-width: 48%; }
  .img1 img, .img2 img, .img3 img, .img4 img { height: 150px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(16px, 5vw, 28px); }
}
