/* === EPOXY FLOORS UP - Main Stylesheet === */
/* Design: Professional contractor site. Trust-forward. Fast. */

:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2740;
  --accent: #d4a029;
  --accent-hover: #c0901f;
  --text: #2c2c2c;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f5f5f0;
  --bg-dark: #1a1a1a;
  --border: #e0ddd5;
  --success: #2e7d32;
  --shadow: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-lg: 0 4px 20px rgba(0,0,0,0.12);
  --radius: 6px;
  --max-width: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === TOP BAR (phone + location) === */
.top-bar {
  background: var(--primary-dark);
  color: #ccc;
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar a { color: #fff; font-weight: 600; }
.top-bar a:hover { color: var(--accent); }
.top-bar .location { display: flex; align-items: center; gap: 6px; }

/* === HEADER === */
header {
  background: var(--bg);
  border-bottom: 3px solid var(--accent);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }

nav { display: flex; gap: 4px; flex-wrap: wrap; }
nav a {
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
nav a:hover, nav a.active {
  background: var(--primary);
  color: #fff;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.header-cta:hover { background: var(--accent-hover); color: #fff; }

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  max-width: 700px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 19px;
  opacity: 0.9;
  max-width: 600px;
  margin-bottom: 28px;
  line-height: 1.6;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  padding: 16px 36px;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(212,160,41,0.3);
}
.hero-cta:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
}
.hero-badges {
  margin-top: 30px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  opacity: 0.85;
}
.hero-badge svg { flex-shrink: 0; }

/* === TRUST BAR === */
.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}
.trust-item {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item strong { color: var(--primary); font-size: 17px; }

/* === SECTIONS === */
section { padding: 60px 0; }
section:nth-child(even) { background: var(--bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.service-card .price {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.service-card a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
}
.service-card a:hover { color: var(--accent); }

/* === WHY CHOOSE US === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.why-item { text-align: center; padding: 20px; }
.why-item .icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.why-item .icon svg { width: 28px; height: 28px; }
.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.why-item p { font-size: 15px; color: var(--text-light); }

/* === SERVICE AREA === */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.area-link {
  display: block;
  padding: 14px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.area-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* === FAQ === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  cursor: default;
}
.faq-item p {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
}

/* === CTA BANNER === */
.cta-banner {
  background: var(--primary);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 18px;
  opacity: 0.9;
  margin-bottom: 24px;
}
.cta-banner .hero-cta { font-size: 22px; padding: 16px 40px; }

/* === CONTENT PAGE (service + city pages) === */
.content-page { padding: 50px 0; }
.content-page h1 {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
.content-page h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 12px;
}
.content-page p {
  margin-bottom: 16px;
  color: var(--text);
  max-width: 800px;
}
.content-page ul {
  margin: 0 0 20px 24px;
  color: var(--text);
}
.content-page ul li { margin-bottom: 8px; }
.content-page .inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 14px 30px;
  border-radius: var(--radius);
  margin: 20px 0;
}
.content-page .inline-cta:hover { background: var(--accent-hover); color: #fff; }

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  color: #aaa;
  padding: 40px 0 20px;
  font-size: 14px;
}
footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
footer h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
footer a { color: #ccc; }
footer a:hover { color: var(--accent); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer .footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid #333;
  padding-top: 16px;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #777;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 16px; }
  .hero-cta { font-size: 18px; padding: 14px 28px; }
  header .container { flex-direction: column; text-align: center; }
  nav { justify-content: center; }
  .top-bar .container { justify-content: center; text-align: center; }
  .trust-bar .container { gap: 20px; }
  .section-header h2 { font-size: 26px; }
  .cta-banner h2 { font-size: 24px; }
  .header-cta { font-size: 16px; padding: 8px 16px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0 50px; }
  .hero h1 { font-size: 24px; }
  section { padding: 40px 0; }
  nav a { padding: 6px 10px; font-size: 13px; }
}
