/* Beaumont Epoxy Garage Floors -- stylesheet */

:root {
  --color-navy: #0b1c30;
  --color-navy-light: #142c47;
  --color-accent: #29c2d6;     /* cyan */
  --color-cta: #ea6a35;        /* orange */
  --color-bg: #f4f5f3;
  --color-text: #1b2430;
  --color-muted: #64748b;
  --max-width: 1180px;
  --font-display: 'Oswald', 'Archivo Black', sans-serif;
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}
h1, h2, h3, .logo-name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--color-navy);
}
a { color: var(--color-navy); }

/* Eyebrow label -- small line + tracked uppercase text above headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-accent);
}
.hero .eyebrow { color: #7fe3ef; }
.hero .eyebrow::before { background: #7fe3ef; }

.accent { color: var(--color-accent); }

/* Header */
.site-header {
  background: var(--color-navy);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  flex-shrink: 0;
  display: flex;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.site-nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #cdd9e6;
  font-size: 0.9rem;
  font-weight: 600;
}
.site-nav a:hover { color: #fff; }
.nav-cta {
  background: var(--color-cta);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 3px;
}
.phone-cta {
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

/* Mobile nav */
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .header-right {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    order: 3;
  }
  .header-right.nav-open { display: flex; }
  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 10px 0;
  }
  .site-nav a {
    margin: 0;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-cta { margin-top: 8px; text-align: center; }
  .phone-cta { padding: 14px 0; display: block; }
}

/* Hero */
.hero {
  background-size: cover;
  background-position: center;
  background-color: var(--color-navy);
  color: #fff;
  padding: 110px 20px 60px;
  text-align: left;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,28,48,0.92) 0%, rgba(11,28,48,0.55) 55%, rgba(11,28,48,0.25) 100%);
}
.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: #fff;
  margin: 0 0 18px;
}
.hero p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: #d7e0ea;
  max-width: 520px;
  margin-bottom: 26px;
  text-transform: none;
  font-weight: 400;
}
.btn-primary {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  padding: 14px 30px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Numbered feature strip (used under hero on homepage) */
.feature-strip {
  position: relative;
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 24px 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.feature-strip .feature-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e7edf3;
}
.feature-strip .feature-num { color: var(--color-accent); font-weight: 800; }

/* Content */
main { max-width: var(--max-width); margin: 0 auto; padding: 56px 20px; }
.content-block { margin-bottom: 48px; }
.content-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 18px; }
.placeholder { color: #999; font-style: italic; }

/* Service grid -- alternating card colors */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: #dfe3e6;
  border: 1px solid #dfe3e6;
}
@media (max-width: 820px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-grid > div {
  background: #fff;
  padding: 26px 22px;
}
.service-grid > div:nth-child(1) { background: var(--color-accent); }
.service-grid > div:nth-child(1) h3 a,
.service-grid > div:nth-child(1) p { color: #05262c; }
.service-grid > div:nth-child(2) { background: var(--color-navy); }
.service-grid > div:nth-child(2) h3 a,
.service-grid > div:nth-child(2) p { color: #fff; }
.service-grid h3 { font-size: 1.05rem; margin: 0 0 10px; text-transform: none; letter-spacing: normal; }
.service-grid h3 a { text-decoration: none; }
.service-grid p { font-size: 0.92rem; margin: 0; }

.gallery-grid, .area-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0;
}
.area-list li {
  padding: 14px 18px;
  background: #fff;
  border-left: 3px solid var(--color-accent);
  font-weight: 600;
}
.gallery-grid img { width: 100%; border-radius: 6px; }

/* Process list -- numbered, Odessa-style */
.process-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid #dfe3e6;
}
.process-list li {
  position: relative;
  padding: 24px 22px;
  background: #fff;
  border-left: 1px solid #dfe3e6;
}
.process-list li:first-child { border-left: none; }
.process-list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.process-list { counter-reset: step; }
.process-list strong { display: block; margin-bottom: 4px; color: var(--color-navy); }

.contact-form { display: flex; flex-direction: column; gap: 14px; max-width: 480px; background: #fff; padding: 24px; border-top: 4px solid var(--color-accent); }
.contact-form label { display: flex; flex-direction: column; font-size: 0.85rem; font-weight: 600; gap: 6px; }
.contact-form input, .contact-form textarea {
  padding: 11px; border: 1px solid #ccc; border-radius: 3px; font-size: 1rem; font-family: var(--font-body);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.cost-table th, .cost-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e2e2;
}
.cost-table th {
  background: var(--color-navy);
  color: #fff;
  font-family: var(--font-body);
  text-transform: none;
}
.cost-table tr:nth-child(even) { background: #eceeec; }
@media (max-width: 640px) {
  .cost-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* Before/After compare slider */
.compare-slider {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  margin: 20px auto 0;
  overflow: hidden;
  border-radius: 6px;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.compare-slider img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.compare-before-wrap {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  overflow: hidden;
}
.compare-before-wrap img {
  width: var(--compare-img-width, 900px);
  max-width: none;
}
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.15);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.compare-label {
  position: absolute;
  top: 12px;
  padding: 5px 12px;
  border-radius: 3px;
  background: rgba(11,28,48,0.75);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
}
.compare-label-before { left: 12px; }
.compare-label-after { right: 12px; }

/* Footer */
.site-footer { background: var(--color-navy); color: #b7c3d1; padding: 48px 20px 14px; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.footer-col a { display: block; color: #b7c3d1; text-decoration: none; margin-bottom: 7px; font-size: 0.88rem; }
.footer-col a:hover { color: var(--color-accent); }
.copyright { text-align: center; color: #6f7f92; font-size: 0.78rem; margin-top: 36px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; }
