/* ============================================================
   Fayetteville Epoxy Flooring — styles.css
   Color palette: Navy #1e3a5f | Orange #f97316 | Light #f8fafc
   ============================================================ */

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

:root {
  --navy:   #1e3a5f;
  --navy2:  #162d4a;
  --orange: #f97316;
  --orange2:#ea6c0a;
  --light:  #f8fafc;
  --mid:    #e2e8f0;
  --text:   #1e293b;
  --muted:  #64748b;
  --white:  #ffffff;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,.10);
}

html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy); display: flex; align-items: center;
  justify-content: space-between; padding: 0 5%; height: 64px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.nav-brand { color: var(--white); font-size: 1.15rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-brand span { color: var(--orange); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { color: var(--mid); text-decoration: none; font-size: .95rem; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--orange); color: var(--white); text-decoration: none;
  padding: 10px 20px; border-radius: var(--radius); font-weight: 700;
  font-size: .95rem; white-space: nowrap; transition: background .2s;
}
.nav-cta:hover { background: var(--orange2); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy2) 0%, #2d5282 100%);
  color: var(--white); padding: 80px 5% 72px; text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.pexels.com/photos/36230779/pexels-photo-36230779.jpeg?auto=compress&cs=tinysrgb&w=1260') center/cover no-repeat;
  opacity: .12;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(14, 24, 42, 0.72);
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: var(--orange); }
.hero p { font-size: 1.15rem; margin-bottom: 36px; color: #cbd5e1; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--orange); color: var(--white); padding: 15px 32px;
  border-radius: var(--radius); font-weight: 700; font-size: 1.05rem;
  text-decoration: none; display: inline-block; transition: background .2s;
}
.btn-primary:hover { background: var(--orange2); }
.btn-secondary {
  border: 2px solid var(--white); color: var(--white); padding: 13px 28px;
  border-radius: var(--radius); font-weight: 600; font-size: 1rem;
  text-decoration: none; display: inline-block; transition: all .2s;
}
.btn-secondary:hover { background: rgba(255,255,255,.12); }

/* ── TRUST BAR ───────────────────────────────────────────── */
.trust-bar { background: var(--orange); color: var(--white); padding: 14px 5%; }
.trust-bar-inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; align-items: center; font-size: .92rem; font-weight: 600; }
.trust-bar-inner span::before { content: '\2713\00a0'; }

/* ── SECTIONS ────────────────────────────────────────────── */
section { padding: 72px 5%; }
section:nth-child(even) { background: var(--light); }
.section-inner { max-width: 960px; margin: 0 auto; }
.section-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--orange); margin-bottom: 8px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); margin-bottom: 20px; line-height: 1.25; }
h3 { font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; margin-top: 28px; }
p { margin-bottom: 18px; }

/* ── IMAGE ───────────────────────────────────────────────── */
.section-img { width: 100%; border-radius: 10px; box-shadow: var(--shadow); margin: 28px 0; object-fit: cover; height: 380px; }
.img-caption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: -20px; margin-bottom: 24px; }

/* ── 2-COL GRID ──────────────────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }

/* ── CARDS ───────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 32px; }
.card {
  background: var(--white); border-radius: 10px; padding: 28px 24px;
  box-shadow: var(--shadow); border-top: 4px solid var(--orange);
}
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card p { font-size: .94rem; margin-bottom: 0; }
.card .icon { font-size: 2rem; margin-bottom: 12px; display: block; }

/* ── COST TABLE ──────────────────────────────────────────── */
.cost-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-size: .95rem; }
.cost-table th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; }
.cost-table td { padding: 12px 16px; border-bottom: 1px solid var(--mid); }
.cost-table tr:nth-child(even) td { background: var(--light); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { margin-top: 32px; }
.faq-item { border-bottom: 1px solid var(--mid); padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid var(--mid); }
.faq-item h3 { margin-top: 0; color: var(--navy); font-size: 1.05rem; }
.faq-item p { margin-bottom: 0; font-size: .95rem; }

/* ── CTA BAND ────────────────────────────────────────────── */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 64px 5%; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; }
.cta-band p { color: #94a3b8; max-width: 520px; margin: 0 auto 32px; }
.cta-band .btn-primary { font-size: 1.1rem; padding: 16px 40px; }

/* ── SERVICES LIST ───────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; margin-top: 36px; }
.service-card {
  background: var(--white); border-radius: 10px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
}
.service-card:hover { transform: translateY(-3px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 24px; }
.service-card-body h3 { margin-top: 0; }
.service-card-body a { color: #2563eb; text-decoration: underline; }

/* ── CONTACT FORM ────────────────────────────────────────── */
.form-wrap { background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 40px; max-width: 600px; }
.form-wrap label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-wrap input, .form-wrap textarea, .form-wrap select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--mid);
  border-radius: var(--radius); font-size: 1rem; margin-bottom: 20px;
  font-family: inherit; transition: border-color .2s;
}
.form-wrap input:focus, .form-wrap textarea:focus { outline: none; border-color: var(--navy); }
.form-wrap textarea { min-height: 120px; resize: vertical; }
.form-wrap button {
  background: var(--orange); color: var(--white); border: none;
  padding: 14px 36px; border-radius: var(--radius); font-size: 1.05rem;
  font-weight: 700; cursor: pointer; width: 100%; transition: background .2s;
}
.form-wrap button:hover { background: var(--orange2); }

/* ── STEPS ───────────────────────────────────────────────── */
.steps { counter-reset: step; margin-top: 32px; }
.step { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 44px; height: 44px; background: var(--orange);
  color: var(--white); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 1.1rem;
}
.step-text h3 { margin-top: 0; font-size: 1rem; }
.step-text p { margin-bottom: 0; font-size: .94rem; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  background: var(--navy2); color: #94a3b8; padding: 48px 5% 28px;
}
.footer-inner { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 36px; }
.footer-brand { color: var(--white); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.footer-brand span { color: var(--orange); }
footer h4 { color: var(--white); font-size: .95rem; margin-bottom: 14px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; font-size: .9rem; }
footer ul li a { color: #94a3b8; text-decoration: none; }
footer ul li a:hover { color: var(--white); }
.footer-phone a { color: var(--orange); font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.footer-bottom { max-width: 960px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid #2d4a6b; font-size: .82rem; text-align: center; }

/* ── INLINE LINK ─────────────────────────────────────────── */
a.inline { color: #2563eb; text-decoration: underline; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { padding: 0 4%; }
  section { padding: 52px 4%; }
  .hero { padding: 60px 4% 52px; }
  .two-col { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 16px; font-size: .84rem; }
  .form-wrap { padding: 24px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cost-table { font-size: .85rem; }
}
