/* =========================================================
   COMPONENT: Forms (Contact + Services + Survey)
   Used on: Contact section, Home/Business/Leased forms
========================================================= */

/* =========================================================
   GLOBAL FORM SIZE (Same across all pages)
========================================================= */
.contact-form {
  max-width: 650px;
  margin: 0 auto;
  width: 100%;

  background: var(--card-soft);
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.9);
  border: 1px solid rgba(255,255,255,0.06);
}

.simplified-form {
  max-width: 650px;
  margin: 0 auto;
}

/* =========================================================
   GENERIC FORM STRUCTURE
========================================================= */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-main);
}

/* =========================================================
   INPUTS + TEXTAREAS + SELECTS
========================================================= */
.form-control,
.simplified-form input,
.simplified-form select,
.simplified-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  font-size: 1rem;
  background: #121212;
  color: var(--text-main);
  transition: var(--transition);
}

.form-control::placeholder {
  color: #666;
}

.form-control:focus,
.simplified-form input:focus,
.simplified-form select:focus,
.simplified-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(247, 150, 51, 0.25);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* =========================================================
   SERVICE PAGE FORM WRAPPER (Simple style)
========================================================= */
.simplified-form {
  background: var(--card-soft);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.95);
  margin-top: 40px;
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.simplified-form h3,
.simplified-form h4 {
  margin-bottom: 20px;
  color: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================================================
   FORM SUBMIT BUTTONS
========================================================= */
.simplified-form button,
.contact-form .btn {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.simplified-form button:hover,
.contact-form .btn:hover {
  background: var(--primary-dark);
}

/* =========================================================
   BUILDING HEIGHT SELECTION (Pill buttons)
========================================================= */
.building-height-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.height-option {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--text-muted);
}

.height-option.selected {
  border-color: var(--primary);
  background: rgba(247, 150, 51, 0.14);
  color: var(--primary-light);
}

/* =========================================================
   LOCATION SHARE PILL (Google Maps placeholder)
========================================================= */
.map-container {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px dashed #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #020617;
  cursor: pointer;
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* =========================================================
   RESPONSIVE: TABLET + PHONE
========================================================= */
@media (max-width: 768px) {

  .contact-form {
    padding: 22px 16px;
  }

  .simplified-form {
    padding: 24px 18px;
  }

  .form-control,
  .simplified-form input,
  .simplified-form select,
  .simplified-form textarea {
    padding: 12px 14px;
    font-size: 0.98rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .simplified-form button,
  .contact-form .btn {
    width: 100%;
  }

  .height-option {
    padding: 7px 12px;
    font-size: 0.88rem;
  }

  .map-container {
    width: 100%;
    justify-content: flex-start;
  }
}

/* =========================================================
   RESPONSIVE: PHONE-ONLY (<= 600px)
========================================================= */
@media (max-width: 600px) {

  .contact-form,
  .simplified-form {
    padding: 20px 14px;
    border-radius: 14px;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-control,
  .simplified-form input,
  .simplified-form select,
  .simplified-form textarea {
    padding: 11px 12px;
  }

  textarea.form-control {
    min-height: 120px;
  }

  .btn,
  .btn-accent,
  .btn-outline {
    width: 100%;
    padding: 12px 0;
    font-size: 0.96rem;
  }

  .height-option {
    padding: 6px 10px;
  }

  .building-height-options {
    gap: 6px;
  }
}
