/* SLC Shower Doors — shared styles. Plain CSS, no framework. Mobile-first. */

:root {
  --teal: #0f4c4c;
  --teal-dark: #0a3535;
  --teal-light: #e6f2f2;
  --slate: #263238;
  --slate-soft: #546e7a;
  --line: #dfe8e8;
  --bg: #ffffff;
  --bg-soft: #f4f8f8;
  --accent: #2a9d8f;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

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

a { color: var(--teal); }
a:hover { color: var(--accent); }

h1, h2, h3 { color: var(--teal-dark); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.6em; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.4em; }
li { margin-bottom: 0.4em; }

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

/* Header */
.site-header {
  background: var(--teal-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand span { color: #7fd1c0; font-weight: 400; }
.nav-toggle {
  display: block;
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: #fff;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 1rem;
  cursor: pointer;
}
.main-nav { display: none; }
.main-nav.open { display: block; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav a {
  color: #e6f2f2;
  text-decoration: none;
  display: block;
  padding: 6px 0;
}
.main-nav a:hover { color: #fff; text-decoration: underline; }
.main-nav a.cta {
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
  padding: 8px 14px;
  text-align: center;
}
.main-nav a.cta:hover { text-decoration: none; background: #248a7e; }

/* Hero */
.hero { position: relative; background: var(--teal-dark); color: #fff; }
.hero img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.9;
}
.hero-text {
  padding: 32px 0 40px;
}
.hero-text h1 { color: #fff; font-size: 2rem; margin-bottom: 0.4em; }
.hero-text p { color: #d7e8e8; font-size: 1.1rem; max-width: 640px; }
.hero-text .btn { margin-top: 8px; }

.page-hero {
  background: var(--teal);
  color: #fff;
  padding: 36px 0 30px;
}
.page-hero h1 { color: #fff; margin-bottom: 0.3em; }
.page-hero p { color: #d7e8e8; margin: 0; max-width: 680px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { background: #248a7e; color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}
.btn-secondary:hover { background: var(--teal-light); color: var(--teal-dark); }

/* Sections */
.section { padding: 36px 0; }
.section-alt { background: var(--bg-soft); }
.lead { font-size: 1.12rem; color: var(--slate-soft); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 20px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: #fff;
}
.card h3 { margin-bottom: 0.3em; }
.card p { margin-bottom: 0.8em; }

/* Steps */
.steps { list-style: none; padding: 0; counter-reset: step; margin-top: 20px; }
.steps li {
  counter-increment: step;
  padding-left: 48px;
  position: relative;
  margin-bottom: 18px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps li strong { color: var(--teal-dark); }

/* Areas */
.areas {
  columns: 2;
  column-gap: 24px;
  list-style: none;
  padding: 0;
}
.areas li { margin-bottom: 0.3em; }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 12px;
  background: #fff;
}
.faq summary {
  font-weight: 600;
  color: var(--teal-dark);
  cursor: pointer;
}
.faq p { margin: 10px 0 0; }

/* Quote form */
.quote {
  background: var(--teal-light);
  border-radius: var(--radius);
  padding: 24px 20px;
  margin-top: 8px;
}
.quote h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 4px; color: var(--teal-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b9c9c9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.form-note { font-size: 0.92rem; color: var(--slate-soft); margin-top: 12px; }
.honey { display: none; }

/* Footer */
.site-footer {
  background: var(--teal-dark);
  color: #b9d4d4;
  padding: 32px 0 28px;
  font-size: 0.95rem;
}
.site-footer a { color: #e6f2f2; }
.site-footer .container { display: flex; flex-direction: column; gap: 16px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }

/* Larger screens */
@media (min-width: 720px) {
  h1 { font-size: 2.4rem; }
  .nav-toggle { display: none; }
  .main-nav { display: block; }
  .main-nav ul { flex-direction: row; align-items: center; gap: 20px; padding: 0; }
  .hero img { height: 420px; }
  .hero-text { padding: 40px 0 48px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
  .areas { columns: 3; }
  .site-footer .container { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

/* Spam honeypot field — hidden from visitors, visible only to bots */
.hidden { display: none; }
