/* Modern, fast, clean styles for sump pump repair Branford CT */
:root {
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --accent: #0f172a;
  --text: #334155;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #cbd5e1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

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

.btn-call {
  background: var(--primary);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-call:hover {
  background: var(--primary-dark);
}

.hero {
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('https://images.pexels.com/photos/8482890/pexels-photo-8482890.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') center/cover no-repeat;
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #e2e8f0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--accent);
}

footer {
  background: var(--accent);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

footer p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.75rem;
  text-align: center;
  z-index: 1000;
}

.mobile-bar a {
  display: block;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

@media(max-width: 768px) {
  .nav-links { display: none; }
  .mobile-bar { display: block; }
  body { padding-bottom: 60px; }
}
