/*
 Theme Name:   Northside Marketing Inc. Divi Child
 Theme URI:    https://northsidemarketing.net
 Description:  Northside Marketing Inc. child theme for Divi. Customizations to typography, colors, and layout built on top of the Divi parent theme.
 Author:       Northside Marketing Inc.
 Author URI:   https://northsidemarketing.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         divi, child-theme, northside-marketing
 Text Domain:  northside-divi-child
*/

/* ============================================================
   NORTHSIDE MARKETING INC. — DIVI CHILD THEME
   Version:    1.0.0
   Author:     Northside Marketing Inc.
   Website:    https://northsidemarketing.net
   
   TABLE OF CONTENTS
   -----------------
   1. Google Fonts Import
   2. CSS Custom Properties (Brand Variables)
   3. Global Reset & Base
   4. Typography
   5. Buttons
   6. Header & Navigation
   7. Hero Section
   8. Sections & Backgrounds
   9. Cards & Modules
   10. Forms
   11. Footer
   12. Utility Classes
   13. Responsive
   ============================================================ */


/* ============================================================
   1. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');


/* ============================================================
   2. CSS CUSTOM PROPERTIES (BRAND VARIABLES)
   ============================================================ */
:root {

  /* Brand Colors */
  --ns-navy-dark:       #0d1120;
  --ns-navy:            #151c2e;
  --ns-navy-mid:        #1e2a42;
  --ns-steel:           #3d6080;
  --ns-steel-light:     #5a85a8;
  --ns-bronze:          #a0784a;
  --ns-bronze-light:    #c09060;
  --ns-white:           #f0eeea;
  --ns-muted:           rgba(240, 238, 234, 0.55);
  --ns-border:          rgba(240, 238, 234, 0.1);

  /* Typography */
  --ns-font-heading:    'Montserrat', sans-serif;
  --ns-font-body:       'Inter', sans-serif;

  /* Font Weights */
  --ns-weight-light:    300;
  --ns-weight-regular:  400;
  --ns-weight-medium:   500;
  --ns-weight-semibold: 600;
  --ns-weight-bold:     700;
  --ns-weight-black:    800;

  /* Spacing */
  --ns-section-padding: 80px;
  --ns-container-width: 1200px;

  /* Border Radius */
  --ns-radius-sm:       2px;
  --ns-radius-md:       4px;
  --ns-radius-lg:       8px;

  /* Transitions */
  --ns-transition:      all 0.2s ease;
}


/* ============================================================
   3. GLOBAL RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--ns-navy-dark);
  color: var(--ns-white);
  font-family: var(--ns-font-body);
  font-weight: var(--ns-weight-light);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ns-steel-light);
  text-decoration: none;
  transition: var(--ns-transition);
}

a:hover {
  color: var(--ns-white);
}


/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */

/* Headings */
h1, h2, h3, h4, h5, h6,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
  font-family: var(--ns-font-heading);
  font-weight: var(--ns-weight-black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ns-white);
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem,   4vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem;  }

/* Body text */
p,
.et_pb_module p {
  font-family: var(--ns-font-body);
  font-size: 1rem;
  font-weight: var(--ns-weight-light);
  line-height: 1.8;
  color: var(--ns-muted);
  margin-bottom: 1.25rem;
}

/* Section eyebrow labels */
.ns-eyebrow {
  font-family: var(--ns-font-body);
  font-size: 0.7rem;
  font-weight: var(--ns-weight-medium);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-bronze);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.ns-eyebrow::before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1px;
  background: var(--ns-bronze);
  flex-shrink: 0;
}

/* Strong / Bold */
strong, b {
  font-weight: var(--ns-weight-semibold);
  color: var(--ns-white);
}


/* ============================================================
   5. BUTTONS
   ============================================================ */

/* Primary Button */
.et_pb_button,
.et_pb_button_0,
.ns-btn-primary {
  font-family: var(--ns-font-heading) !important;
  font-size: 0.82rem !important;
  font-weight: var(--ns-weight-bold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--ns-white) !important;
  background: var(--ns-steel) !important;
  border: none !important;
  border-radius: var(--ns-radius-sm) !important;
  padding: 0.9rem 2rem !important;
  transition: var(--ns-transition) !important;
  cursor: pointer;
}

.et_pb_button:hover,
.et_pb_button_0:hover,
.ns-btn-primary:hover {
  background: var(--ns-steel-light) !important;
  transform: translateY(-1px);
}

/* Ghost / Outline Button */
.ns-btn-ghost {
  font-family: var(--ns-font-body);
  font-size: 0.875rem;
  font-weight: var(--ns-weight-regular);
  color: var(--ns-muted);
  background: transparent;
  border: 0.5px solid rgba(240, 238, 234, 0.2);
  border-radius: var(--ns-radius-sm);
  padding: 0.85rem 1.75rem;
  transition: var(--ns-transition);
  cursor: pointer;
  display: inline-block;
}

.ns-btn-ghost:hover {
  color: var(--ns-white);
  border-color: rgba(240, 238, 234, 0.5);
}


/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
#main-header,
#main-header.et-fixed-header {
  background: rgba(13, 17, 32, 0.92) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--ns-border);
}

#main-header .nav li a,
#main-header.et-fixed-header .nav li a {
  font-family: var(--ns-font-body);
  font-size: 0.85rem;
  font-weight: var(--ns-weight-regular);
  letter-spacing: 0.04em;
  color: var(--ns-muted) !important;
  transition: var(--ns-transition);
}

#main-header .nav li a:hover,
#main-header.et-fixed-header .nav li a:hover {
  color: var(--ns-white) !important;
}

/* Logo sizing */
#logo {
  max-height: 50px;
  width: auto;
}


/* ============================================================
   7. HERO SECTION
   ============================================================ */
.ns-hero {
  min-height: 100vh;
  background-color: var(--ns-navy-dark);
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.ns-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 25%, rgba(61, 96, 128, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 75%, rgba(160, 120, 74, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.ns-hero h1 {
  font-size: clamp(3.25rem, 7.5vw, 6.75rem);
  line-height: 0.95;
  margin-bottom: 2rem;
}

.ns-hero h1 em {
  font-style: normal;
  color: var(--ns-steel-light);
  display: block;
}


/* ============================================================
   8. SECTIONS & BACKGROUNDS
   ============================================================ */

/* Dark section */
.et_pb_section,
.ns-section-dark {
  background-color: var(--ns-navy-dark);
}

/* Mid section */
.ns-section-mid {
  background-color: var(--ns-navy-mid);
}

/* Section padding */
.et_pb_section {
  padding: var(--ns-section-padding) 0;
}

/* Horizontal rule / divider */
.ns-divider {
  height: 0.5px;
  background: var(--ns-border);
  border: none;
  margin: 0;
}

/* Bronze accent line */
.ns-accent-line {
  width: 2rem;
  height: 2px;
  background: var(--ns-bronze);
  margin-bottom: 1.25rem;
}


/* ============================================================
   9. CARDS & MODULES
   ============================================================ */
.et_pb_blurb,
.ns-card {
  background: var(--ns-navy);
  border: 0.5px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: 2rem;
  transition: background 0.25s ease;
}

.et_pb_blurb:hover,
.ns-card:hover {
  background: var(--ns-navy-mid);
}

.et_pb_blurb_title,
.ns-card-title {
  font-family: var(--ns-font-heading);
  font-size: 1.05rem;
  font-weight: var(--ns-weight-bold);
  color: var(--ns-white);
  margin-bottom: 0.65rem;
}

/* Number / counter accent */
.ns-number {
  font-family: var(--ns-font-heading);
  font-size: 2.75rem;
  font-weight: var(--ns-weight-black);
  color: var(--ns-steel-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* Service number label */
.ns-service-num {
  font-family: var(--ns-font-heading);
  font-size: 0.68rem;
  font-weight: var(--ns-weight-bold);
  letter-spacing: 0.18em;
  color: var(--ns-bronze);
  margin-bottom: 1rem;
}


/* ============================================================
   10. FORMS
   ============================================================ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
select,
textarea,
.et_pb_contact_field input,
.et_pb_contact_field textarea,
.fluentform input,
.fluentform textarea,
.fluentform select {
  background: rgba(240, 238, 234, 0.05) !important;
  border: 0.5px solid rgba(240, 238, 234, 0.15) !important;
  border-radius: var(--ns-radius-sm) !important;
  padding: 0.75rem 1rem !important;
  font-family: var(--ns-font-body) !important;
  font-size: 0.875rem !important;
  color: var(--ns-white) !important;
  outline: none !important;
  transition: border-color 0.2s ease !important;
  width: 100% !important;
}

input::placeholder,
textarea::placeholder {
  color: rgba(240, 238, 234, 0.25) !important;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(90, 133, 168, 0.6) !important;
  background: rgba(90, 133, 168, 0.05) !important;
}

/* Fluent Forms submit button */
.fluentform .ff-btn-submit,
.et_pb_contact_submit {
  font-family: var(--ns-font-heading) !important;
  font-size: 0.82rem !important;
  font-weight: var(--ns-weight-bold) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: var(--ns-steel) !important;
  color: var(--ns-white) !important;
  border: none !important;
  border-radius: var(--ns-radius-sm) !important;
  padding: 0.9rem 2rem !important;
  cursor: pointer !important;
  transition: var(--ns-transition) !important;
}

.fluentform .ff-btn-submit:hover,
.et_pb_contact_submit:hover {
  background: var(--ns-steel-light) !important;
}

/* Fluent Forms labels */
.fluentform .ff-el-form-control label,
.fluentform label {
  font-family: var(--ns-font-body) !important;
  font-size: 0.75rem !important;
  font-weight: var(--ns-weight-medium) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  color: rgba(240, 238, 234, 0.7) !important;
  margin-bottom: 0.4rem !important;
}


/* ============================================================
   11. FOOTER
   ============================================================ */
#main-footer {
  background: var(--ns-navy-mid) !important;
  border-top: 0.5px solid var(--ns-border);
}

#main-footer .footer-widget h4,
#main-footer .et_pb_widget_area_footer h4 {
  font-family: var(--ns-font-heading);
  font-size: 0.75rem;
  font-weight: var(--ns-weight-bold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ns-bronze);
  margin-bottom: 1rem;
}

#main-footer .footer-widget li a,
#main-footer .et_pb_widget_area_footer li a {
  font-family: var(--ns-font-body);
  font-size: 0.82rem;
  font-weight: var(--ns-weight-light);
  color: var(--ns-muted);
  transition: var(--ns-transition);
}

#main-footer .footer-widget li a:hover,
#main-footer .et_pb_widget_area_footer li a:hover {
  color: var(--ns-white);
}

#et-footer-nav {
  background: var(--ns-navy-dark) !important;
  border-top: 0.5px solid var(--ns-border);
}

#et-footer-nav .bottom-nav li a {
  font-family: var(--ns-font-body);
  font-size: 0.75rem;
  color: rgba(240, 238, 234, 0.35);
}

#et-footer-nav .bottom-nav li a:hover {
  color: var(--ns-white);
}


/* ============================================================
   12. UTILITY CLASSES
   ============================================================ */

/* Text colors */
.ns-text-white   { color: var(--ns-white) !important; }
.ns-text-muted   { color: var(--ns-muted) !important; }
.ns-text-steel   { color: var(--ns-steel-light) !important; }
.ns-text-bronze  { color: var(--ns-bronze) !important; }

/* Background colors */
.ns-bg-dark      { background-color: var(--ns-navy-dark) !important; }
.ns-bg-navy      { background-color: var(--ns-navy) !important; }
.ns-bg-mid       { background-color: var(--ns-navy-mid) !important; }
.ns-bg-steel     { background-color: var(--ns-steel) !important; }

/* Borders */
.ns-border-top    { border-top: 0.5px solid var(--ns-border); }
.ns-border-bottom { border-bottom: 0.5px solid var(--ns-border); }

/* Spacing helpers */
.ns-mt-0  { margin-top: 0 !important; }
.ns-mb-0  { margin-bottom: 0 !important; }
.ns-mt-1  { margin-top: 1rem !important; }
.ns-mb-1  { margin-bottom: 1rem !important; }
.ns-mt-2  { margin-top: 2rem !important; }
.ns-mb-2  { margin-bottom: 2rem !important; }

/* Visibility */
.ns-hidden { display: none !important; }


/* ============================================================
   13. RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  :root {
    --ns-section-padding: 60px;
  }

  h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
  h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

  #main-header {
    background: rgba(13, 17, 32, 0.97) !important;
  }
}

@media (max-width: 767px) {
  :root {
    --ns-section-padding: 48px;
  }

  h1 { font-size: 2.25rem; line-height: 1.05; }
  h2 { font-size: 1.75rem; }

  .ns-hero {
    padding-bottom: 3rem;
    align-items: center;
  }

  .et_pb_button,
  .et_pb_button_0 {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   NORTHSIDE MARKETING INC. — INTAKE FORM CSS
   northsidemarketing.net/new-website-intake-form/
   ============================================================ */

/* ── Page Background ── */
.et_pb_section,
.et_pb_row,
body {
  background-color: #0d1120 !important;
}

/* ── Form Wrapper ── */
.fluentform,
.ff-el-group,
.ff-el-form-control {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* ── Section Headings (YOUR INFORMATION, BUSINESS DETAILS etc.) ── */
.ff-el-section-title,
.ff-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #5a85a8 !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 0.5px solid rgba(240,238,234,0.1) !important;
  margin-bottom: 1.25rem !important;
}

/* ── Field Labels ── */
.ff-el-group label,
.fluentform label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(240,238,234,0.6) !important;
  margin-bottom: 0.4rem !important;
  display: block !important;
}

/* ── Required asterisk ── */
.ff-el-group label .ff-el-is-required {
  color: #a0784a !important;
}

/* ── Text, Email, URL Inputs ── */
.fluentform input[type="text"],
.fluentform input[type="email"],
.fluentform input[type="url"],
.fluentform input[type="tel"],
.fluentform input[type="number"] {
  background: rgba(240,238,234,0.05) !important;
  border: 0.5px solid rgba(240,238,234,0.12) !important;
  border-radius: 3px !important;
  padding: 0.8rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  color: #f0eeea !important;
  width: 100% !important;
  outline: none !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.fluentform input[type="text"]:focus,
.fluentform input[type="email"]:focus,
.fluentform input[type="url"]:focus,
.fluentform input[type="tel"]:focus {
  border-color: rgba(90,133,168,0.6) !important;
  background: rgba(90,133,168,0.05) !important;
}

.fluentform input::placeholder {
  color: rgba(240,238,234,0.22) !important;
}

/* ── Textarea ── */
.fluentform textarea {
  background: rgba(240,238,234,0.05) !important;
  border: 0.5px solid rgba(240,238,234,0.12) !important;
  border-radius: 3px !important;
  padding: 0.8rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  color: #f0eeea !important;
  width: 100% !important;
  outline: none !important;
  resize: vertical !important;
  min-height: 110px !important;
  transition: border-color 0.2s ease !important;
}

.fluentform textarea:focus {
  border-color: rgba(90,133,168,0.6) !important;
  background: rgba(90,133,168,0.05) !important;
}

.fluentform textarea::placeholder {
  color: rgba(240,238,234,0.22) !important;
}

/* ── Select / Dropdown ── */
.fluentform select {
  background: rgba(240,238,234,0.05) !important;
  border: 0.5px solid rgba(240,238,234,0.12) !important;
  border-radius: 3px !important;
  padding: 0.8rem 2.5rem 0.8rem 1rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  color: #f0eeea !important;
  width: 100% !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a85a8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  cursor: pointer !important;
}

.fluentform select option {
  background: #1e2a42 !important;
  color: #f0eeea !important;
}

/* ── Radio Buttons ── */
.fluentform .ff-el-group .ff-custom-radio,
.fluentform .ff-el-radios label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  color: rgba(240,238,234,0.7) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  margin-bottom: 0.6rem !important;
  cursor: pointer !important;
  line-height: 1.5 !important;
}

.fluentform input[type="radio"] {
  accent-color: #5a85a8 !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin-top: 2px !important;
  cursor: pointer !important;
}

/* ── Checkboxes ── */
.fluentform .ff-el-group .ff-custom-checkbox,
.fluentform .ff-el-checks label {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.875rem !important;
  font-weight: 300 !important;
  color: rgba(240,238,234,0.7) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  margin-bottom: 0.5rem !important;
  cursor: pointer !important;
  line-height: 1.5 !important;
}

.fluentform input[type="checkbox"] {
  accent-color: #5a85a8 !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  margin-top: 2px !important;
  cursor: pointer !important;
}

/* ── Field Helper / Description Text ── */
.ff-el-help-message,
.fluentform .ff-field-description {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 300 !important;
  color: rgba(240,238,234,0.3) !important;
  margin-top: 0.35rem !important;
  line-height: 1.6 !important;
  font-style: italic !important;
}

/* ── Error Messages ── */
.ff-el-group .error,
.fluentform .ff-el-is-error input,
.fluentform .ff-el-is-error select,
.fluentform .ff-el-is-error textarea {
  border-color: rgba(224,90,90,0.5) !important;
}

.ff-el-group .error {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  color: #e05a5a !important;
  margin-top: 0.3rem !important;
}

/* ── Submit Button ── */
.fluentform .ff-btn-submit {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  background: #3d6080 !important;
  color: #f0eeea !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 1rem 3rem !important;
  cursor: pointer !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
  width: 100% !important;
  max-width: 320px !important;
  display: block !important;
  margin: 1.5rem auto 0 !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.fluentform .ff-btn-submit:hover {
  background: #5a85a8 !important;
  transform: translateY(-1px) !important;
}

/* ── Success Message ── */
.ff-message-success {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 300 !important;
  color: #4caf82 !important;
  background: rgba(76,175,130,0.08) !important;
  border: 0.5px solid rgba(76,175,130,0.3) !important;
  border-radius: 3px !important;
  padding: 1rem 1.25rem !important;
  text-align: center !important;
}

/* ── Form Field Spacing ── */
.ff-el-group {
  margin-bottom: 1.25rem !important;
}

/* ── Step / Section Dividers ── */
.ff-step-container,
.ff-el-section {
  border-top: 0.5px solid rgba(240,238,234,0.08) !important;
  padding-top: 1.5rem !important;
  margin-top: 1.5rem !important;
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .fluentform .ff-btn-submit {
    max-width: 100% !important;
    padding: 1rem !important;
  }

  .fluentform input[type="text"],
  .fluentform input[type="email"],
  .fluentform select,
  .fluentform textarea {
    font-size: 1rem !important;
  }
}