/*
  BASE STYLES - Central State Pumping
  Header, hero, stat strip, brand variables, resets
  Mobile-first, fully responsive
*/

/* ========== BRAND VARIABLES ========== */
:root {
  --color-primary: #c21d2e;
  --color-secondary: #1a1a1a;
  --color-accent: #c21d2e;
  --primary: #c21d2e;
  --primary-color: #c21d2e;
  --accent-color: #c21d2e;
  --text: #222222;
  --text-color: #1a1a1a;
  --text-light: #575760;
  --white: #ffffff;
  --background-alt: #f7f8f9;
}

/* ========== RESETS ========== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

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

/* ========== CONTAINER ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.header-inner.full-width {
  padding-left: 1rem;
  padding-right: 1rem;
}

.header-left {
  flex-shrink: 0;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.logo-text:hover {
  color: var(--color-secondary);
}

.logo {
  height: 48px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.header-cta.cta {
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 1.25rem;
  background: var(--color-primary);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.header-cta.cta:hover {
  background: #a01725;
  transform: translateY(-1px);
}

/* Hide "Call Now: " prefix on mobile for cleaner header button */
@media (max-width: 768px) {
  .header-cta-prefix {
    display: none;
  }
}

/* Hide desktop nav on mobile - mobile-menu-toggle handles it */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-cta {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

/* ========== HERO ========== */
.hero-section {
  min-height: 70vh;
  min-height: min(70vh, 500px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: clamp(1.875rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-description {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 2rem;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-section .button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.hero-section .button:not(.secondary) {
  background: var(--color-primary);
  color: var(--white);
  border: 2px solid var(--color-primary);
}

.hero-section .button:not(.secondary):hover {
  background: #a01725;
  border-color: #a01725;
  transform: translateY(-2px);
}

.hero-section .button.secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.hero-section .button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-section .button {
    justify-content: center;
  }
}

/* ========== STAT STRIP ========== */
.stat-strip {
  background: var(--color-secondary);
  color: var(--white);
  padding: 1.5rem 1rem;
}

.stat-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}

.stat-item {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 600px) {
  .stat-strip-inner {
    flex-direction: column;
    gap: 1rem;
  }
  .stat-item {
    font-size: 0.95rem;
  }
}

/* ========== BUTTONS (shared) ========== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: var(--color-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 48px;
}

.button:hover {
  background: #a01725;
  transform: translateY(-2px);
}

.button i,
.button svg {
  flex-shrink: 0;
}
