/* Sioux Falls Epoxy Flooring — site styles */

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

body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: #202531;
  background: #f7f7f5;
  line-height: 1.65;
}

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

a { color: #2563eb; text-decoration: underline; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

header.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #16213e;
  border-bottom: 3px solid #f97316;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
}

.brand {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.brand span { color: #f97316; }

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

.nav-links a {
  color: #d8dce6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover { color: #f97316; }

.nav-links li { position: relative; }

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.has-dropdown > a::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

/* Transparent hit-area bridge: keeps :hover alive while the pointer moves
   from the nav link down into the menu, instead of dropping through a gap. */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 14px;
  min-width: 280px;
  z-index: 200;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-list {
  list-style: none;
  background: #16213e;
  border: 1px solid #2b3a5c;
  border-top: 3px solid #f97316;
  padding: 8px 0;
}

.dropdown-menu-list li + li { border-top: 1px solid #2b3a5c; }

.dropdown-menu-list a {
  display: block;
  padding: 11px 20px;
  color: #d8dce6;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu-list a:hover {
  background: #1f2c4d;
  color: #ffffff;
}

.nav-cta {
  background: #f97316;
  color: #16213e !important;
  padding: 10px 18px;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none !important;
}

.nav-cta:hover { background: #e0630a; }

/* ---------- Hero ---------- */

.hero {
  background: #16213e;
  color: #ffffff;
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: #c3c9d9;
  margin-bottom: 24px;
  max-width: 520px;
}

.hero img {
  border-radius: 6px;
  border: 4px solid #232f52;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: #f97316;
  color: #16213e;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover { background: #e0630a; }

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 24px;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* ---------- Sections ---------- */

section { padding: 56px 0; }

section.alt { background: #edeef0; }

h2 {
  font-size: 1.8rem;
  color: #16213e;
  margin-bottom: 20px;
}

h3 { font-size: 1.15rem; color: #16213e; margin-bottom: 8px; }

p { margin-bottom: 14px; max-width: 760px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.card {
  background: #ffffff;
  border: 1px solid #dde0e6;
  border-left: 4px solid #f97316;
  padding: 22px;
  border-radius: 3px;
}

.card h3 { margin-bottom: 10px; }

.faq-item {
  border-bottom: 1px solid #dde0e6;
  padding: 18px 0;
}

.faq-item h3 { color: #16213e; }

.inline-image {
  border-radius: 6px;
  margin: 24px 0;
}

.cta-band {
  background: #f97316;
  color: #16213e;
  text-align: center;
  padding: 48px 24px;
}

.cta-band h2 { color: #16213e; }
.cta-band p { color: #4a3413; margin: 0 auto 24px; }
.cta-band .btn-primary { background: #16213e; color: #ffffff; }
.cta-band .btn-primary:hover { background: #232f52; }

/* ---------- Service list ---------- */

.service-block {
  background: #ffffff;
  border: 1px solid #dde0e6;
  border-radius: 4px;
  padding: 28px;
  margin-bottom: 24px;
}

.service-block h2 { margin-bottom: 12px; }

/* ---------- Footer ---------- */

footer {
  background: #10182c;
  color: #a9afc0;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}

footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 10px; }
footer a { color: #f97316; }
footer .foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
footer .copyright {
  border-top: 1px solid #232f52;
  padding-top: 16px;
  color: #6a7086;
}

/* ---------- Form ---------- */

form.contact-form {
  background: #ffffff;
  border: 1px solid #dde0e6;
  border-radius: 4px;
  padding: 28px;
  max-width: 560px;
}

form.contact-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  margin-top: 14px;
  font-size: 0.92rem;
}

form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c7cad3;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
}

form.contact-form button {
  margin-top: 20px;
  background: #f97316;
  color: #16213e;
  border: none;
  padding: 14px 26px;
  border-radius: 3px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
}

form.contact-form button:hover { background: #e0630a; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .grid-3, .grid-2, footer .foot-grid { grid-template-columns: 1fr; }
}
