/* Spokane Valley Epoxy Flooring — site styles */

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

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

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

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

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

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

header.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #1c2b22;
  border-bottom: 3px solid #d97706;
}

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

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

.brand span { color: #d97706; }

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

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

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

.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: 270px;
  z-index: 200;
}

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

.dropdown-menu-list {
  list-style: none;
  background: #1c2b22;
  border: 1px solid #33443a;
  border-top: 3px solid #d97706;
  padding: 8px 0;
}

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

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

.dropdown-menu-list a:hover {
  background: #2a3b30;
  color: #ffffff;
}

.nav-cta {
  background: #d97706;
  color: #1c2b22 !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
}

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

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

.hero {
  position: relative;
  color: #ffffff;
}

.hero-image {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.55);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 24px;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: 2.4rem;
  max-width: 700px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 24px;
  color: #f2f2ef;
}

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

.btn-primary {
  background: #d97706;
  color: #1c2b22;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

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

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  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: #f0ece1; }

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

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

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

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

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

.card {
  background: #ffffff;
  border: 1px solid #e5ded0;
  border-top: 3px solid #d97706;
  padding: 22px;
  border-radius: 4px;
}

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

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

.faq-item h3 { color: #1c2b22; }

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

.cta-band {
  background: #1c2b22;
  color: #ffffff;
  text-align: center;
  padding: 48px 24px;
}

.cta-band h2 { color: #ffffff; }
.cta-band p { color: #d9dcd8; margin: 0 auto 24px; }

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

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

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

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

footer {
  background: #171f18;
  color: #cfd4cd;
  padding: 40px 0 24px;
  font-size: 0.9rem;
}

footer h3 { color: #ffffff; font-size: 1rem; margin-bottom: 10px; }
footer a { color: #d97706; }
footer .foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
footer .copyright {
  border-top: 1px solid #2c352c;
  padding-top: 16px;
  color: #8b9188;
}

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

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

form.contact-form label {
  display: block;
  font-weight: 600;
  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 #cfc7b4;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

form.contact-form button {
  margin-top: 20px;
  background: #d97706;
  color: #1c2b22;
  border: none;
  padding: 14px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

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

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

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