/* ============================================
   Greg Blackwell Agency — Main Stylesheet
   Replicated from gregblackwellagency.com
   ============================================ */

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

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  background: #f9fafb;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 80rem; /* 1280px — Tailwind max-w-7xl */
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px)  { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* ---------- NAV ---------- */
nav {
  background: #1e3a8a; /* blue-900 */
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.nav-brand svg { width: 2rem; height: 2rem; flex-shrink: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a.signin {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.15s;
}
.nav-links a.signin:hover { color: #bfdbfe; }

.nav-links a.getstarted {
  font-size: 0.875rem;
  font-weight: 500;
  background: #fff;
  color: #1e3a8a;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background 0.15s;
}
.nav-links a.getstarted:hover { background: #eff6ff; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background-color: #1e3a8a;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 58, 138, 0.75); /* blue-900/75 */
}

.hero-content {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 6rem 1rem;
  text-align: center;
}
@media (min-width: 640px)  { .hero-content { padding: 6rem 1.5rem; } }
@media (min-width: 1024px) { .hero-content { padding: 6rem 2rem; } }

.hero-license {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: #bfdbfe; /* blue-200 */
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) { .hero-license { font-size: 1.5rem; } }

.hero-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  background: #fff;
  color: #1e3a8a;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.btn-phone:hover { background: #eff6ff; }
.btn-phone svg { width: 1.25rem; height: 1.25rem; }

/* ---------- SOLUTIONS ---------- */
.solutions {
  padding: 4rem 0;
  background: #f9fafb;
}

.solutions h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  text-align: center;
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

a.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.13); }

.card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card svg.card-icon {
  width: 3rem;
  height: 3rem;
  color: #1e3a8a;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #111827;
}

.card p {
  font-size: 0.975rem;
  color: #4b5563;
  flex-grow: 1;
}

.card .quote-link {
  display: inline-block;
  margin-top: 1rem;
  color: #1e3a8a;
  font-weight: 500;
  font-size: 0.95rem;
}

.card .coming-soon-label {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 4rem 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #374151;
}

.about-feature svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #1e3a8a;
  flex-shrink: 0;
}

.contact-card {
  background: #1e3a8a;
  border-radius: 0.5rem;
  padding: 2rem;
  color: #fff;
  margin-top: 2.5rem;
}
@media (min-width: 1024px) { .contact-card { margin-top: 0; } }

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-card .contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-card a {
  color: #bfdbfe;
  transition: color 0.15s;
}
.contact-card a:hover { color: #fff; }

/* ---------- FOOTER ---------- */
footer {
  background: #f9fafb;
  margin-top: auto;
}

.footer-inner {
  padding: 3rem 0;
  text-align: center;
}

footer p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
