/*
Theme Name:  Ford Strategies
Theme URI:   https://fordstrategies.ca
Author:      Ford Strategies
Author URI:  https://fordstrategies.ca
Description: Custom WordPress theme for Ford Strategies – Epicor BisTrack Consulting.
Version:     1.0.1
License:     GNU General Public License v2 or later
Text Domain: ford-strategies
*/

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:    #0F1014;
  --paper:  #F4F1EB;
  --white:  #FDFCF9;
  --blue:   #1A5CCC;
  --gold:   #D4891A;
  --mid:    #5A5C66;
  --border: 1.5px solid #0F1014;
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--paper); color: var(--ink); overflow-x: hidden; }

/* ── NAV ── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 3rem;
  background: var(--paper); border-bottom: var(--border);
}
.nav-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 1rem; letter-spacing: -.02em;
  text-decoration: none; color: var(--ink);
  display: flex; align-items: center; gap: .5rem;
}
.nav-logo-dot { width: 10px; height: 10px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }
.nav-cta {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  background: var(--blue); border: 2px solid var(--blue);
  padding: .6rem 1.4rem; transition: background .2s, color .2s;
}
.nav-cta:hover { background: transparent; color: var(--blue); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 3rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg-text {
  position: absolute; right: -4rem; top: 50%; transform: translateY(-50%);
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(8rem, 22vw, 24rem);
  color: transparent; -webkit-text-stroke: 1.5px #E2DED5;
  pointer-events: none; user-select: none; letter-spacing: -.06em; line-height: 1;
}
.hero-content { position: relative; z-index: 1; max-width: 660px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1.5rem;
}
.hero-tag::before { content: ''; width: 20px; height: 2px; background: var(--blue); display: block; }
.hero-section h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: .92; letter-spacing: -.04em;
}
.hero-section h1 em { font-style: italic; color: var(--blue); }
.hero-sub {
  margin-top: 1.8rem; font-size: 1.05rem; line-height: 1.75; color: var(--mid);
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.2rem; flex-wrap: wrap; }
.btn {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; padding: .9rem 1.8rem; display: inline-block;
  border: 2px solid; transition: background .2s, color .2s; cursor: pointer;
}
.btn-solid  { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-solid:hover  { background: transparent; color: var(--blue); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ── ABOUT ── */
.about-section {
  background: var(--ink); color: #fff;
  padding: 6rem 3rem;
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 5rem; align-items: center;
}
.section-label {
  font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem;
}
.section-label::before { content: ''; width: 16px; height: 2px; display: block; }
.label-gold { color: var(--gold); }
.label-gold::before { background: var(--gold); }
.label-blue { color: var(--blue); }
.label-blue::before { background: var(--blue); }
.about-section h2, .contact-section h2 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: .95; letter-spacing: -.035em;
}
.about-section h2 em { font-style: italic; color: var(--gold); }
.about-right { display: flex; flex-direction: column; gap: 1rem; }
.about-right p { font-size: .97rem; line-height: 1.8; color: rgba(255,255,255,.6); }
.about-right p strong { color: #fff; font-weight: 500; }

/* ── CONTACT ── */
.contact-section { padding: 6rem 3rem; background: var(--paper); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 5rem; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.contact-lead {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: .95; letter-spacing: -.035em; margin-bottom: 1.2rem;
}
.contact-lead em { font-style: italic; color: var(--blue); }
.contact-copy { font-size: .93rem; line-height: 1.8; color: var(--mid); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: .8rem; }
.cd {
  display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.2rem;
  background: var(--white); border: var(--border);
}
.cd-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.cd-icon svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; }
.cd-text { font-size: .85rem; color: var(--mid); }
.cd-text strong { display: block; font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: .15rem; }

/* ── CF7 Form Overrides ── */
.wpcf7 .wpcf7-form { display: flex; flex-direction: column; gap: .9rem; }
.cf7-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.cf7-field { display: flex; flex-direction: column; gap: .35rem; }
.cf7-field label {
  font-size: .65rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--mid);
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 select,
.wpcf7 textarea {
  background: var(--white); border: var(--border);
  padding: .8rem 1rem; font-family: 'DM Sans', sans-serif;
  font-size: .9rem; color: var(--ink); outline: none;
  transition: border-color .2s; appearance: none; width: 100%;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--blue); }
.wpcf7 textarea { resize: vertical; min-height: 100px; }
.wpcf7 input[type="submit"] {
  background: var(--blue); color: #fff;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 1rem 2rem; border: 2px solid var(--blue);
  cursor: pointer; align-self: flex-start;
  transition: background .2s, color .2s; width: auto;
}
.wpcf7 input[type="submit"]:hover { background: transparent; color: var(--blue); }
.wpcf7-response-output {
  padding: .9rem 1.1rem !important; margin: 0 !important;
  font-size: .85rem; border-radius: 0 !important;
}
.wpcf7-mail-sent-ok { background: #e8f5e9 !important; border-color: #2e7d32 !important; color: #1b5e20 !important; }
.wpcf7-validation-errors, .wpcf7-mail-sent-ng { background: #fff3e0 !important; border-color: #e65100 !important; color: #bf360c !important; }
.wpcf7-not-valid-tip { font-size: .75rem; color: #c62828; margin-top: .25rem; }
span.wpcf7-spinner { display: none !important; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink); color: rgba(255,255,255,.4);
  padding: 2rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: .9rem; letter-spacing: -.02em; color: #fff;
  display: flex; align-items: center; gap: .45rem;
}
.footer-logo-dot { width: 8px; height: 8px; background: var(--blue); border-radius: 50%; }
.site-footer p { font-size: .75rem; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Responsive ── */
@media (max-width: 800px) {
  nav.site-nav { padding: 1rem 1.5rem; }
  .hero-section { padding: 7rem 1.5rem 4rem; }
  .hero-bg-text { display: none; }
  .about-section { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 2rem; }
  .contact-section { padding: 4rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cf7-row { grid-template-columns: 1fr; }
  .site-footer { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
}
