/* Goodwin's Deep South Roofing. Plain CSS, no build step. Colors follow the logo: black, red, gold, steel. */

:root {
  --black: #0f0d0d;
  --char: #1b1818;
  --char-2: #252121;
  --steel: #c3c6c9;
  --red: #b3221e;
  --red-dark: #8c1714;
  --gold: #c9a24a;
  --paper: #f7f4ef;
  --paper-2: #efe9e0;
  --ink: #1d1b1b;
  --ink-soft: #4d4747;
  --line: #ddd4c7;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

section { padding: 56px 0; }
.light { background: var(--paper); }
.light.alt { background: var(--paper-2); }
.dark { background: var(--char); color: #f1eeea; }
.dark a { color: inherit; }

/* Header */
.site-header {
  background: var(--black);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 2px solid var(--red);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1rem; }
.brand-sub { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 420px) {
  .brand-text { display: none; }
}

/* Hero */
.hero {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(179, 34, 30, 0.35), transparent 60%),
    var(--black);
  color: #fff;
  padding: 64px 0 72px;
}
.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-logo { width: min(260px, 70vw); margin: 0 auto; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)); }
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-logo { width: 320px; }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.75em;
}
.lede { font-size: 1.15rem; max-width: 36em; color: var(--steel); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.25em; }
.btn {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  overflow-wrap: anywhere;
}
.btn:hover, .btn:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.btn-ghost { background: transparent; color: inherit; border-color: var(--gold); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(201, 162, 74, 0.12); border-color: var(--gold); }
.btn-small { padding: 8px 14px; font-size: 0.95rem; }

/* Cards */
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.card p { color: var(--ink-soft); margin: 0; }
.card-accent { border-top-color: var(--gold); background: #fffaf0; }

/* Service area */
.two-col { display: grid; gap: 24px; grid-template-columns: 1fr; }
.area-lists { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.area {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.area p { margin: 0; color: var(--ink-soft); }
@media (min-width: 760px) {
  .two-col { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* Gallery */
.section-lede { color: var(--steel); max-width: 40em; }
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery figure { margin: 0; background: var(--char-2); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 8px 12px; font-size: 0.9rem; color: var(--steel); }
.pair-title { margin-top: 40px; }
.pair { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Contact */
.contact .btn-ghost { color: #fff; }
.contact-note { margin-top: 12px; color: var(--steel); font-size: 0.95rem; overflow-wrap: anywhere; }

/* Footer */
.site-footer { background: var(--black); color: var(--steel); padding: 28px 0; font-size: 0.9rem; border-top: 2px solid var(--red); }
.site-footer p { margin: 0.25em 0; }
.site-footer a { color: inherit; }

/* Placeholders for Kevin's details. Every one is removed before launch. */
.todo {
  background: #fff3c4;
  color: #6b5200;
  border: 1px dashed #c9a200;
  border-radius: 4px;
  padding: 0 6px;
  font-weight: 600;
  font-size: 0.85em;
  white-space: nowrap;
}
