/*
Theme Name: Bruce A. Johnson LTD
Theme URI: https://brucejohnsonltd.com
Author: Bruce A. Johnson, LTD
Author URI: https://brucejohnsonltd.com
Description: Professional accounting and tax services theme for Bruce A. Johnson, LTD in Coon Rapids, MN.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bruce-johnson-ltd
Tags: business, accounting, tax, professional, one-page
*/

/* ── CSS VARIABLES ── */
:root {
  --navy: #0d1b2a;
  --deep: #1a2e45;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --gold-pale: #f5e9c8;
  --cream: #faf7f2;
  --white: #ffffff;
  --gray: #6b7280;
  --light-gray: #e8e4de;
  --text: #1a1a2e;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav, #site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-decoration: none;
}
.nav-logo span { display: block; font-size: 0.65rem; color: rgba(201,168,76,0.6); letter-spacing: 0.2em; text-transform: uppercase; font-family: 'DM Sans', sans-serif; font-weight: 300; }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; transition: color 0.25s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--navy) !important; padding: 0.45rem 1.2rem; border-radius: 2px; font-weight: 500 !important; transition: background 0.25s !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh; background: var(--navy);
  position: relative; display: flex; align-items: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
              radial-gradient(ellipse 40% 60% at 15% 80%, rgba(201,168,76,0.05) 0%, transparent 60%);
}
.hero-rule-left { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, transparent, var(--gold) 30%, var(--gold) 70%, transparent); opacity: 0.6; }
.hero-grid { position: absolute; inset: 0; opacity: 0.03; background-image: linear-gradient(rgba(201,168,76,1) 1px, transparent 1px), linear-gradient(90deg, rgba(201,168,76,1) 1px, transparent 1px); background-size: 60px 60px; }
.hero-inner { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 5%; padding-top: 70px; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; width: 100%; }
.hero-eyebrow { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; }
.hero-eyebrow::before { content: ''; display: block; width: 30px; height: 1px; background: var(--gold); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 900; color: var(--white); line-height: 1.08; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc { font-family: 'Crimson Pro', serif; font-size: 1.2rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.18); border-radius: 4px; padding: 2.5rem; backdrop-filter: blur(8px); }
.hero-card-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); margin-bottom: 1.5rem; font-weight: 600; letter-spacing: 0.04em; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hero-stat { text-align: center; padding: 1.2rem; background: rgba(201,168,76,0.05); border: 1px solid rgba(201,168,76,0.12); border-radius: 2px; }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.4rem; }
.hero-stat-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); font-weight: 300; }
.hero-divider { border: none; border-top: 1px solid rgba(201,168,76,0.15); margin: 1.8rem 0; }
.hero-contact-mini { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.9; }
.hero-contact-mini strong { color: var(--gold-light); font-weight: 500; }

/* ── BUTTONS ── */
.btn-primary { background: var(--gold); color: var(--navy); padding: 0.9rem 2rem; border-radius: 2px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: background 0.25s, transform 0.2s; display: inline-block; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline { border: 1px solid rgba(201,168,76,0.5); color: var(--gold-light); padding: 0.9rem 2rem; border-radius: 2px; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; transition: border-color 0.25s, background 0.25s; display: inline-block; }
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--gold); padding: 1rem 5%; display: flex; align-items: center; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); display: flex; align-items: center; gap: 0.5rem; }
.trust-item::before { content: '✦'; font-size: 0.6rem; }

/* ── SECTIONS ── */
section { padding: 6rem 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.7rem; }
.section-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 1rem; }
.section-title em { font-style: italic; color: var(--gold); }
.section-subtitle { font-family: 'Crimson Pro', serif; font-size: 1.15rem; color: var(--gray); line-height: 1.75; max-width: 600px; font-weight: 300; }

/* ── WHY ── */
.why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.why-card { padding: 2.2rem; background: var(--white); border: 1px solid var(--light-gray); border-top: 3px solid var(--gold); border-radius: 2px; transition: transform 0.3s, box-shadow 0.3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(13,27,42,0.08); }
.why-icon { font-size: 2rem; margin-bottom: 1rem; }
.why-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; }
.why-card p { font-family: 'Crimson Pro', serif; font-size: 1rem; color: var(--gray); line-height: 1.65; font-weight: 300; }
.highlight-box { background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04)); border: 1px solid rgba(201,168,76,0.3); border-left: 3px solid var(--gold); border-radius: 2px; padding: 1.2rem 1.5rem; margin-top: 2.5rem; font-family: 'Crimson Pro', serif; font-size: 1rem; color: var(--gray); font-style: italic; line-height: 1.65; }

/* ── SERVICES ── */
.services { background: var(--navy); }
.services .section-title { color: var(--white); }
.services .section-subtitle { color: rgba(255,255,255,0.55); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 3.5rem; }
.service-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.15); border-radius: 4px; padding: 2rem; position: relative; overflow: hidden; transition: background 0.3s, border-color 0.3s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0; transition: opacity 0.3s; }
.service-card:hover { background: rgba(201,168,76,0.06); border-color: rgba(201,168,76,0.3); }
.service-card:hover::before { opacity: 1; }
.service-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: rgba(201,168,76,0.15); line-height: 1; margin-bottom: 0.8rem; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--gold-light); margin-bottom: 0.8rem; }
.service-card p { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }
.service-card ul { list-style: none; margin-top: 0.8rem; }
.service-card ul li { font-size: 0.8rem; color: rgba(255,255,255,0.45); padding: 0.2rem 0; padding-left: 1rem; position: relative; }
.service-card ul li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 0.7rem; }

/* ── REVIEWS ── */
.reviews { background: var(--cream); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-top: 3.5rem; }
.review-card { background: var(--white); border: 1px solid var(--light-gray); border-radius: 4px; padding: 2rem; position: relative; transition: box-shadow 0.3s; }
.review-card:hover { box-shadow: 0 8px 32px rgba(13,27,42,0.08); }
.review-card::before { content: '"'; font-family: 'Playfair Display', serif; font-size: 5rem; color: var(--gold-pale); position: absolute; top: -0.8rem; left: 1.2rem; line-height: 1; pointer-events: none; }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.review-text { font-family: 'Crimson Pro', serif; font-size: 1.05rem; color: var(--text); line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; font-weight: 300; }
.review-author { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1rem; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.review-name { font-weight: 500; font-size: 0.9rem; color: var(--navy); }
.review-meta { font-size: 0.75rem; color: var(--gray); }

/* ── CTA STRIP ── */
.cta-strip { background: linear-gradient(135deg, var(--navy) 0%, #162840 100%); border-top: 1px solid rgba(201,168,76,0.2); border-bottom: 1px solid rgba(201,168,76,0.2); padding: 4rem 5%; text-align: center; }
.cta-strip h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 0.8rem; font-weight: 700; }
.cta-strip h2 em { font-style: italic; color: var(--gold); }
.cta-strip p { font-family: 'Crimson Pro', serif; color: rgba(255,255,255,0.6); font-size: 1.1rem; margin-bottom: 2rem; font-weight: 300; }

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy); margin-bottom: 1.5rem; font-weight: 700; }
.contact-block { margin-bottom: 1.8rem; }
.contact-label { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 0.4rem; }
.contact-value { font-family: 'Crimson Pro', serif; font-size: 1.05rem; color: var(--navy); line-height: 1.6; }
.contact-value a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
.contact-value a:hover { color: var(--gold); }

/* Contact form styles (used by plugin shortcode) */
.bjl-contact-form { background: var(--cream); border: 1px solid var(--light-gray); border-radius: 4px; padding: 2.5rem; }
.bjl-contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: 1.5rem; font-weight: 700; }
.bjl-form-group { margin-bottom: 1.2rem; }
.bjl-form-group label { display: block; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 0.4rem; font-weight: 500; }
.bjl-form-group input,
.bjl-form-group select,
.bjl-form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--light-gray); border-radius: 2px; background: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--text); transition: border-color 0.2s; outline: none; }
.bjl-form-group input:focus,
.bjl-form-group select:focus,
.bjl-form-group textarea:focus { border-color: var(--gold); }
.bjl-form-group textarea { height: 100px; resize: vertical; }
.bjl-submit { width: 100%; background: var(--navy); color: var(--white); padding: 0.9rem; border: none; border-radius: 2px; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background 0.25s; margin-top: 0.5rem; }
.bjl-submit:hover { background: var(--deep); }
.bjl-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; padding: 1rem 1.2rem; border-radius: 2px; margin-bottom: 1.2rem; font-size: 0.9rem; }
.bjl-error { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; padding: 1rem 1.2rem; border-radius: 2px; margin-bottom: 1.2rem; font-size: 0.9rem; }

/* ── FOOTER ── */
footer, #site-footer { background: #07111c; padding: 2.5rem 5%; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(201,168,76,0.15); }
.footer-logo { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 0.95rem; font-weight: 700; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: center; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.hero-content > * { opacity: 0; animation: fadeUp 0.7s ease forwards; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-desc { animation-delay: 0.35s; }
.hero-actions { animation-delay: 0.5s; }
.hero-card { opacity: 0; animation: fadeUp 0.7s ease 0.3s forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; padding-top: 100px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 5%; }
  .trust-bar { gap: 1.2rem; }
}
