/* ============================================================
   CONTACT PAGE STYLES — Jackson Group Isuzu
   ============================================================ */

:root {
  --isuzu-red: #cc0000;
  --black: #111;
  --white: #fff;
  --gray-light: #f5f5f5;
  --gray-dark: #333;
  --font-main: 'Arial', sans-serif;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.contact-hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.contact-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.contact-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-hero p {
  font-size: 1.1rem;
  color: #f0f0f0;
}

/* ============================================================
   FORM SECTION (Primary Focus)
   ============================================================ */
.contact-form-wrapper {
  padding: 4rem 1rem;
  background-color: var(--white);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-wrapper h2 {
  color: var(--isuzu-red);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contact-form-wrapper p {
  color: var(--gray-dark);
  margin-bottom: 2rem;
  font-size: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--gray-dark);
  margin-bottom: 0.35rem;
}

.form-group input,
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-main);
}

textarea {
  resize: vertical;
}

.btn {
  align-self: center;
  background-color: var(--isuzu-red);
  color: var(--white);
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #a80000;
  transform: translateY(-2px);
}

/* ============================================================
   LOCATION + MAP SECTION
   ============================================================ */
.contact-location {
  background-color: var(--gray-light);
  padding: 3rem 1rem;
}

.contact-location .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.location-info h2 {
  color: var(--isuzu-red);
  margin-bottom: 1rem;
}

.location-info p {
  color: var(--gray-dark);
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--isuzu-red);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #a80000;
}

.location-map iframe {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 768px) {
  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-location {
    text-align: center;
  }

  .contact-location .container {
    grid-template-columns: 1fr;
  }
}
