/* Cadillac Constructions: rugged, dark charcoal + bronze */

:root {
  --bg: #17191d;
  --bg2: #20242a;
  --card: #23272e;
  --line: #33383f;
  --bronze: #c9a05a;
  --bronze-dark: #a07f3e;
  --text: #f2eee5;
  --muted: #b9b2a3;
  --radius: 10px;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.25rem;
  background: rgba(23, 25, 29, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}

.nav-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--bronze-dark);
}

.nav-name {
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
}

.nav-links { display: flex; gap: 1.25rem; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover { color: var(--bronze); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-call {
  background: var(--bronze);
  color: #1c1508;
}

.btn-call:hover { background: var(--bronze-dark); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--bronze);
}

.btn-ghost:hover { background: rgba(201, 160, 90, 0.12); }

.nav .btn-call { padding: 0.55rem 1rem; font-size: 0.9rem; white-space: nowrap; }

/* ---------- hero ---------- */
.hero {
  padding: 4rem 1.25rem 3.5rem;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 160, 90, 0.14), transparent 60%),
    var(--bg);
  text-align: center;
}

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero-logo {
  width: min(520px, 92%);
  margin: 0 auto 1.5rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.hero-kicker {
  color: var(--bronze);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--bronze);
  font-weight: 700;
  margin: 0.5rem 0;
}

.hero-sub { color: var(--muted); max-width: 560px; margin: 0 auto 1.75rem; }

.hero-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
.section { padding: 3.5rem 1.25rem; max-width: 1060px; margin: 0 auto; }

.section-alt { background: var(--bg2); max-width: none; }
.section-alt > * { max-width: 1060px; margin-left: auto; margin-right: auto; }

.section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--bronze);
  display: inline-block;
}

.section-lead { color: var(--muted); margin-bottom: 2rem; font-size: 1.08rem; }

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--bronze);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; color: var(--bronze); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- recent work ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.1rem;
}

.work-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.work-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.work-item figcaption {
  padding: 0.8rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--bronze);
}

/* ---------- about ---------- */
.about-text { font-size: 1.12rem; max-width: 720px; margin-bottom: 1.5rem; }

.about-points { list-style: none; display: flex; gap: 1rem; flex-wrap: wrap; }

.about-points li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--bronze);
}

/* ---------- service area ---------- */
.area-list { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.area-note { color: var(--muted); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-line {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--text);
}

.contact-line:hover { border-color: var(--bronze); }

.contact-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bronze);
  font-weight: 700;
}

.contact-value { font-size: 1.2rem; font-weight: 800; }

.contact-hours { color: var(--muted); font-size: 0.95rem; }

.contact-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-form label { display: block; margin-bottom: 1rem; font-weight: 600; font-size: 0.95rem; }

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--bronze);
}

.contact-form .btn { width: 100%; margin-top: 0.25rem; }

.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 0.75rem; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-name { color: var(--text); font-weight: 800; font-size: 1.05rem; }

.footer a { color: var(--bronze); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

.footer-copy { margin-top: 0.75rem; font-size: 0.85rem; }

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg2);
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.9rem;
  }

  .nav-links.open { display: flex; }

  .nav-toggle { display: block; }

  .nav .btn-call { display: none; }

  .contact-grid { grid-template-columns: 1fr; }

  .hero { padding: 2.75rem 1.25rem 2.5rem; }
}

/* Recent work slideshow */
.slideshow { position: relative; max-width: 880px; margin: 0 auto; border-radius: 14px; overflow: hidden; border: 1px solid #2e3238; background: #101216; }
.slideshow .slide { display: none; margin: 0; }
.slideshow .slide.active { display: block; animation: slideFade .55s ease; }
.slideshow .slide img { width: 100%; height: min(74vh, 660px); object-fit: cover; display: block; }
.slideshow figcaption { padding: 14px 18px; color: #c8ccd2; font-size: .95rem; text-align: center; }
@keyframes slideFade { from { opacity: .3; } to { opacity: 1; } }
.slide-btn { position: absolute; top: 40%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(10,11,13,.55); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.slide-btn:hover { background: rgba(10,11,13,.85); }
.slide-btn.prev { left: 12px; }
.slide-btn.next { right: 12px; }
.slide-dots { display: flex; justify-content: center; gap: 9px; margin-top: 14px; }
.slide-dots .dot { width: 11px; height: 11px; border-radius: 50%; border: 1px solid #c8956c; background: transparent; cursor: pointer; padding: 0; }
.slide-dots .dot.active { background: #c8956c; }
