/* Deltacon Construction — Brand & Layout */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f3ef;
  --ink: #1a1a1a;
  --ink-muted: #555;
  --brand: #b8232a;       /* strong construction red */
  --brand-dark: #8f1a20;
  --accent: #1f2937;      /* slate */
  --line: #e5e1d8;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 6px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; color: var(--ink); line-height: 1.15; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-muted); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--brand);
  margin: 0 0 .6em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23,28,36,0.96);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 52px; width: auto; border-radius: 0; object-fit: contain; }
.logo:hover { text-decoration: none; }

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  color: #e9ecf1;
  font-weight: 500;
  font-size: .95rem;
}
.primary-nav a:hover { color: #fff; }
.primary-nav a.btn-sm {
  background: var(--brand);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: background .2s;
}
.primary-nav a.btn-sm:hover { background: var(--brand-dark); text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 40px; height: 40px;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: .2s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s, background .2s, color .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-wide { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-slider { position: absolute; inset: 0; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: brightness(.62);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroPan 6s ease-out forwards;
}
@keyframes heroPan {
  from { transform: scale(1.12); }
  to   { transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity .4s; animation: none; transform: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,15,20,0.75) 0%, rgba(10,15,20,0.35) 60%, rgba(10,15,20,0.55) 100%);
}
.hero-inner { position: relative; padding: 120px 24px 100px; max-width: 980px; }
.hero .eyebrow { color: #ffb3b6; }
.hero h1 { color: #fff; }
.hero .lede { color: rgba(255,255,255,.9); font-size: 1.15rem; max-width: 720px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.hero-meta div { color: #fff; }
.hero-meta strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; line-height: 1; }
.hero-meta span { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: .85; }

/* Trust bar */
.trust-bar { background: var(--accent); color: #fff; }
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 48px;
  padding: 22px 24px;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  opacity: .95;
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-sub { font-size: 1.08rem; }

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius);
  background: rgba(184,35,42,0.08);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card p { margin: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy .check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.about-copy .check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
  color: var(--ink);
}
.about-copy .check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  font-weight: 800;
}
.about-image { position: relative; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 560px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--brand);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius);
  max-width: 280px;
  box-shadow: var(--shadow);
}
.about-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 4px; }
.about-badge span { font-size: .85rem; opacity: .92; }

/* Gallery — curated & grouped */
.gallery { display: block; }
.gallery-group-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  margin: 50px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.gallery-group-title:first-child { margin-top: 0; }
.gallery-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ece9e3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
  display: block;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 60%, rgba(0,0,0,0.35));
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.gallery figure:hover::after { opacity: 1; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.review-card .stars { color: #fbbc05; font-size: 1.05rem; letter-spacing: 1px; margin: 4px 0 12px; }
.review-card blockquote { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review-card footer { font-weight: 600; color: var(--ink-muted); }

/* Google reviews summary banner */
.google-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 26px;
  max-width: 460px;
  margin: 0 auto 44px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}
.gs-text strong { display: block; font-size: .95rem; color: var(--ink); margin-bottom: 2px; }
.gs-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gs-score { font-size: 1.5rem; font-weight: 700; color: #e7711b; line-height: 1; }
.gs-rating .stars { color: #fbbc05; font-size: 1.15rem; letter-spacing: 1px; }
.gs-count { font-size: .85rem; color: var(--ink-muted); }

/* Google review cards */
.g-review .gr-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.gr-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: .95rem;
  flex-shrink: 0;
}
.gr-meta { flex: 1; min-width: 0; }
.gr-meta strong { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.gr-meta span { font-size: .8rem; color: var(--ink-muted); }
.gr-badge { flex-shrink: 0; display: inline-flex; }

/* Reviews call-to-action buttons */
.reviews-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

/* Contact */
.contact-section { background: var(--accent); color: #fff; }
.contact-section .eyebrow { color: #ff8d92; }
.contact-section h2 { color: #fff; }
.contact-copy p { color: rgba(255,255,255,.85); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 18px; }
.contact-info li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci-icon { font-size: 1.25rem; line-height: 1.4; }
.contact-info strong { color: #fff; }
.contact-info a { color: #ffb3b6; }

.socials { margin-top: 30px; }
.socials strong {
  display: block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: background .2s, transform .15s, color .2s;
}
.social-icons a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); text-decoration: none; }
.social-icons svg { width: 20px; height: 20px; }

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: .9rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(184,35,42,0.12);
}
.contact-form textarea { resize: vertical; }
.contact-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form .hp { position: absolute; left: -9999px; }
.form-note { font-size: .9rem; text-align: center; margin-top: 14px; color: var(--ink-muted); }

/* Footer */
.site-footer {
  background: #111;
  color: #ccc;
  padding: 70px 0 20px;
}
.site-footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; margin: 0 0 16px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #ccc; }
.site-footer a:hover { color: #fff; }
.logo-light { color: #fff; margin-bottom: 14px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 50px;
}
.footer-grid .muted { color: #888; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 20px;
  font-size: .85rem;
  color: #888;
  text-align: center;
}
.footer-bottom p { margin: 4px 0; color: #888; }
.footer-bottom .credit a { color: #bbb; font-weight: 500; }
.footer-bottom .credit a:hover { color: #fff; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.lightbox.open { display: flex; }
.lb-img { max-width: 92vw; max-height: 88vh; border-radius: 4px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  line-height: 1;
  padding: 10px 20px;
  transition: opacity .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { opacity: .7; }
.lb-close { top: 10px; right: 10px; font-size: 2.5rem; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 400px; }
  .about-badge { position: static; margin-top: 20px; max-width: 100%; }
  .gallery { column-count: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .nav-toggle { display: block; }
  .primary-nav ul {
    display: none;
    position: absolute;
    top: 100%; right: 0; left: 0;
    flex-direction: column;
    gap: 0;
    background: #171c24;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 10px 0;
  }
  .primary-nav ul.open { display: flex; }
  .primary-nav li { width: 100%; }
  .primary-nav a { display: block; padding: 14px 24px; }
  .primary-nav a.btn-sm { margin: 10px 24px; text-align: center; }
  .about-copy .check-list { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 24px; }
  .hero-meta strong { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .gallery { column-count: 1; }
  .hero-inner { padding: 90px 24px 70px; }
}
