/* Sydney Line Marking / Premier Workplace Solutions
   Hero Section — home page, first section under the header.
   Right-side form is rendered by mod_jcforms (com_jcforms); left-side
   "Intro Content" is authored in that module's own admin field. */

.hero-section {
  position: relative;
  background-color: var(--slm-black);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(245, 184, 0, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, rgba(11, 17, 26, 0.72) 0%, rgba(15, 23, 42, 0.58) 60%, rgba(11, 17, 26, 0.76) 100%),
    url('/images/banner21.jpg');

    
  background-size: cover;
  background-position: center;
  padding: 72px 0 64px 0;
  color: #FFFFFF;
  border-bottom: 4px solid var(--slm-yellow);
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

/* Section tag / eyebrow badge */
.hero-section .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--slm-font-heading);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--slm-radius-sm);
  border-left: 3px solid var(--slm-yellow);
  margin-bottom: 12px;
}

.hero-section .section-tag-dark {
  background-color: rgba(245, 184, 0, 0.15);
  color: var(--slm-yellow);
}

/* Reset mod_jcforms' own split-card chrome — we drive the layout/colors ourselves */
.hero-section .jcforms-thankyou-inline {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 26px;
  font-family: var(--slm-font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 500;
  color: #14532d;
  background-color: #ecfdf3;
  border: 2px solid #16a34a;
  border-radius: var(--slm-radius-sm);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  text-shadow: none;
}

.hero-section .jcforms-thankyou-inline p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.hero-section .mod-jcforms {
  margin-bottom: 0;
}

.hero-section .jcforms-split {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  align-items: center;
  gap: 40px;
}

.hero-section .jcforms-split-intro {
  flex: 1 1 56%;
  min-width: 300px;
  background: transparent;
  color: #FFFFFF;
  padding: 0;
}

.hero-section .jcforms-split-form {
  flex: 1 1 38%;
  min-width: 300px;
  background: transparent;
  padding: 0;
}

/* Left column content (module "Intro Content" field) */
.hero-headline {
  color: #FFFFFF;
  font-family: var(--slm-font-heading);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-headline span {
  color: var(--slm-yellow);
  display: block;
}

.hero-subheading {
  font-family: var(--slm-font-body);
  font-size: 20px;
  color: #E2E8F0;
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 28px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 184, 0, 0.4);
  border-radius: var(--slm-radius-sm);
  color: #FFFFFF;
  font-family: var(--slm-font-heading);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-pill i {
  color: var(--slm-yellow);
  flex-shrink: 0;
}

.hero-section .section-tag i {
  color: var(--slm-yellow);
  flex-shrink: 0;
}

.hero-cta-group a i {
  flex-shrink: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero-cta-group a {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-height: 52px;
  line-height: 1.25;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--slm-radius-sm);
  text-decoration: none;
  transition: all var(--slm-transition);
  gap: 10px;
}

.btn-slm-secondary {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.btn-slm-secondary:hover {
  background-color: #FFFFFF;
  color: var(--slm-navy);
  transform: translateY(-2px);
}

.btn-slm-phone {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-slm-phone:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--slm-yellow);
  color: var(--slm-yellow);
  transform: translateY(-2px);
}

.hero-cta-group .btn-slm-primary:hover {
  transform: translateY(-2px);
}

/* com_jcforms/site.css sets ".jcforms-split-content a { color: #9be89b }" (0,2,1 specificity),
   which otherwise wins over the button classes above and tints their text/icons green. */
.hero-section .jcforms-split-content a.btn-slm-primary,
.hero-section .jcforms-split-content a.btn-slm-primary i {
  color: var(--slm-black) !important;
}

.hero-section .jcforms-split-content a.btn-slm-secondary,
.hero-section .jcforms-split-content a.btn-slm-secondary i,
.hero-section .jcforms-split-content a.btn-slm-phone,
.hero-section .jcforms-split-content a.btn-slm-phone i {
  color: #FFFFFF !important;
}

.hero-section .jcforms-split-content a.btn-slm-secondary:hover,
.hero-section .jcforms-split-content a.btn-slm-secondary:hover i {
  color: var(--slm-navy) !important;
}

.hero-section .jcforms-split-content a.btn-slm-phone:hover,
.hero-section .jcforms-split-content a.btn-slm-phone:hover i {
  color: var(--slm-yellow) !important;
}

/* Right column: quick-quote form card (mod_jcforms output) */
.hero-section .jcforms-split-form {
  background-color: var(--slm-navy);
  border: 2px solid var(--slm-slate);
  border-top: 4px solid var(--slm-yellow);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.hero-section .jcforms-description,
.hero-form-header {
  margin-bottom: 20px;
}

.hero-form-title {
  color: #FFFFFF;
  font-family: var(--slm-font-heading);
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 4px;
}

.hero-form-subtitle {
  color: #94A3B8;
  font-family: var(--slm-font-body);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 0;
  margin-bottom: 0;
}

/* Neutralise the old Bootstrap-2 protostar template.css, which still defines a
   blue gradient background-image for the bare ".btn"/".btn-primary" classes. */
.hero-section .btn {
  background-image: none;
}

/* Layout HTML owns the gaps (mb-3 / mb-4). Drop the extra margin the field wrapper adds. */
.hero-section .jcforms-split-form .jcforms-field {
  margin-bottom: 0;
}

.hero-section .jcforms-split-form .mb-3 {
  margin-bottom: 16px;
}

.hero-section .jcforms-split-form .mb-4 {
  margin-bottom: 24px;
}

/* The phone/suburb icon box + input live together in one ".input-group" written
   directly in the form's Layout HTML (com_jcforms > Forms > Layout tab), with a
   real <i class="fa-solid fa-..."> icon — not a CSS ::before/::after injection.
   JCForms still wraps its auto-rendered <input> in its own ".jcforms-field" div;
   "display: contents" drops that wrapper's box so the icon and input sit in one
   flex row, without needing any JS to move things around. */
.hero-section .input-group .jcforms-field {
  display: contents;
}

.form-label-custom {
  font-family: var(--slm-font-heading);
  font-size: 12px;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.hero-section .input-group-text {
  background-color: var(--slm-black);
  border: 1px solid var(--slm-slate);
  border-right: none;
  color: var(--slm-yellow);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-section .jcforms-split-form .input-group .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  border-left: none;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.hero-section .input-group .form-control:focus {
  border-left: none;
  box-shadow: none;
}

.hero-section .input-group:focus-within .input-group-text {
  border-color: var(--slm-yellow);
}

.hero-section .jcforms-field .form-control,
.hero-section .jcforms-field .form-select {
  /* The old Bootstrap-2 protostar template.css still ships a
     "select, textarea, input[type=...] { height: 18px; padding: 4px 6px; margin-bottom: 9px; font-size: 13px; }"
     rule that squashes any input it wasn't written for — reset all of it here. */
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 12px 14px;
  font-family: var(--slm-font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--slm-navy);
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--slm-radius-sm);
  outline: none;
  transition: border-color var(--slm-transition);
}

.hero-section .jcforms-field .form-control:focus,
.hero-section .jcforms-field .form-select:focus {
  border-color: var(--slm-yellow);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.25);
}

/* Submit button — plain markup written in the form's Layout HTML
   (class="btn-slm-primary w-100 py-3", arrow as a real <i> tag), styled by the
   existing .btn-slm-primary rule above. Just widen the gap to match the reference. */
.hero-section .jcforms-split-form button.btn-slm-primary {
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  font-size: 16px;
  line-height: 1.25;
}

/* Trust note under the submit button (freetext field) */
.hero-form-trust-note {
  color: #CBD5E1;
  font-family: var(--slm-font-body);
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.hero-form-trust-note i {
  color: #16A34A;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 48px 0;
  }

  .hero-headline {
    font-size: 36px;
  }

  .hero-section .jcforms-split-intro,
  .hero-section .jcforms-split-form {
    flex: 1 1 100%;
  }
  .hero-section .jcforms-split-form button.btn-slm-primary{padding: 16px; font-size: 14px;}
  .hero-section .jcforms-split-form{padding: 24px;}

  .hero-pill{gap: 6px; padding: 8px 12px; font-size: 12px;}
}

@media (max-width: 575px) {
  .hero-headline {
    font-size: 28px;
  }

  .hero-cta-group a {
    width: 100%;
  }
}
