/* ============================================================
   Kingcrete — styles
   Brand: black / gold / white (gold sampled from the logo)
   ============================================================ */

:root {
  --black: #121212;
  --black-deep: #0b0b0b;
  --gold: #c69836;
  --gold-light: #d9b150;
  --gold-dark: #8a6a1f;   /* readable gold on white */
  --white: #ffffff;
  --offwhite: #f4f2ee;
  --gray-line: #e4e1da;
  --text: #1c1c1c;
  --text-dim: #55524b;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1.15;
}

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

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: background .15s ease, transform .15s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--black-deep);
}

.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255, 255, 255, .85);
  color: var(--white);
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo img { height: 48px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.header-phone:hover { color: var(--gold-dark); }

.site-header .btn { padding: 11px 20px; }

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

.hero {
  position: relative;
  background:
    /* images/hero.jpg shows under this dark tint (kept for text contrast). */
    linear-gradient(rgba(10, 10, 10, .62), rgba(10, 10, 10, .8)),
    url("images/hero.jpg") center / cover no-repeat,
    radial-gradient(1200px 500px at 70% -10%, #2c2c2c, transparent),
    repeating-linear-gradient(115deg, #181818 0 3px, #141414 3px 14px),
    var(--black-deep);
  color: var(--white);
  text-align: center;
  padding: 88px 0 96px;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  max-width: 18ch;
  margin: 0 auto 18px;
}

.hero h1 span { color: var(--gold-light); }

.hero p {
  max-width: 54ch;
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: #d9d6cf;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.hero-note {
  margin-top: 22px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .85rem;
}

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

.section { padding: 72px 0; }

.section-dark { background: var(--black); color: var(--white); }

.section-gray { background: var(--offwhite); }

.kicker {
  display: block;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  margin-bottom: 8px;
}

.section-dark .kicker { color: var(--gold-light); }

.section h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 14px; }

.section-intro { max-width: 60ch; color: var(--text-dim); margin-bottom: 40px; }

.section-dark .section-intro { color: #cfccc5; }

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.service-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  stroke: var(--gold-dark);
}

.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }

.service-card p { color: var(--text-dim); font-size: .96rem; }

/* ---------- Projects ---------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

/* Each tile shows a styled concrete placeholder until the matching
   photo (images/project-1.jpg etc.) is added — then the photo covers it. */
.project-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    center / cover no-repeat var(--tile-photo, none),
    repeating-linear-gradient(45deg, #3a3a38 0 2px, transparent 2px 16px),
    linear-gradient(160deg, #4c4b48, #33322f);
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-end;
}

.tile-1 { --tile-photo: url("images/project-1.jpg"); }
.tile-2 { --tile-photo: url("images/project-2.jpg"); }
.tile-3 { --tile-photo: url("images/project-3.jpg"); }

/* Real Kingcrete job photos (added 09-23) */
.tile-w1 { --tile-photo: url("images/work-1.jpg"); }
.tile-w2 { --tile-photo: url("images/work-2.jpg"); }
.tile-w3 { --tile-photo: url("images/work-3.jpg"); }
.tile-w4 { --tile-photo: url("images/work-4.jpg"); }
.tile-w5 { --tile-photo: url("images/work-5.jpg"); }
.tile-w6 { --tile-photo: url("images/work-6.jpg"); }

.project-tile figcaption {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  color: var(--white);
  font-weight: 600;
  font-size: .95rem;
}

/* ---------- Quote / contact ---------- */

.quote-box {
  text-align: center;
}

.quote-box .section-intro { margin-left: auto; margin-right: auto; }

.contact-lines {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.contact-lines .btn { min-width: 260px; }

.contact-note { margin-top: 22px; color: #b6b3ac; font-size: .92rem; }

.contact-note a { color: var(--gold-light); font-weight: 600; }

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

.site-footer {
  background: var(--black-deep);
  color: #b6b3ac;
  border-top: 3px solid var(--gold);
  padding: 40px 0;
  font-size: .95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 1.15rem;
}

.footer-contact { text-align: right; }

.footer-contact a {
  color: var(--gold-light);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover { text-decoration: underline; }

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .logo img { height: 40px; }

  /* keep the quote button; the phone number lives in hero + contact */
  .header-phone { display: none; }

  .hero { padding: 64px 0 72px; }

  .section { padding: 56px 0; }

  .contact-lines .btn { width: 100%; min-width: 0; }

  .site-footer .wrap { flex-direction: column; text-align: center; }

  .footer-contact { text-align: center; }
}
