/* ============================================================
   Birk Construction LLC — Stylesheet
   Brand colors live in :root. Change once, updates everywhere.
   ============================================================ */

:root {
  --red:          #C8102E;
  --red-dark:     #A30D26;
  --navy:         #14202E;
  --navy-2:       #1F2D3D;
  --slate:        #4A5868;
  --bg:           #FFFFFF;
  --bg-soft:      #F4F6F8;
  --bg-card:      #FFFFFF;
  --line:         #E2E6EB;
  --text:         #1F2D3D;
  --muted:        #5C6877;
  --shadow-sm:    0 4px 14px rgba(20, 32, 46, 0.07);
  --shadow:       0 12px 32px rgba(20, 32, 46, 0.12);
  --shadow-lg:    0 24px 60px rgba(20, 32, 46, 0.18);
  --radius:       4px;
  --radius-lg:    10px;
  --maxw:         1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: 'Oswald', 'Inter', sans-serif;
  color: var(--navy-2);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: 0.02em; }
h4 { font-size: 0.95rem; font-family: 'Inter', sans-serif; font-weight: 600; color: var(--navy-2); text-transform: uppercase; letter-spacing: 0.1em; }
p  { color: var(--muted); }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
  margin-bottom: 4px;
}

.red-bar { width: 56px; height: 3px; background: var(--red); border: 0; margin: 0 0 22px; }
.text-center .red-bar { margin-left: auto; margin-right: auto; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy-2); border-color: var(--navy-2); }
.btn-outline:hover { background: var(--navy-2); color: #fff; }
.btn .arrow { transition: transform 0.22s ease; font-weight: 800; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--red);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 24px;
}

/* LOGO — the actual Birk Construction wordmark, mounted on a white "plaque"
   so the black "CONSTRUCTION" text and house mark stay readable on dark nav. */
.logo {
  display: inline-flex;
  align-items: center;
  background: #fff;
  padding: 8px 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  flex-shrink: 0;
}
.logo:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover { border-color: var(--red); color: #fff; }
.nav-cta { font-size: 0.82rem; padding: 12px 22px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: #fff; padding: 4px; }
@media (max-width: 980px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 18px 28px;
    border-bottom: 3px solid var(--red);
    gap: 18px;
  }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(110deg, rgba(20,32,46,0.88) 0%, rgba(20,32,46,0.55) 60%, rgba(20,32,46,0.35) 100%),
    url('../images/hero.jpg') center/cover,
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=2200&q=80') center/cover;
  z-index: -1;
}
/* When assets/images/hero.jpg exists, it loads.
   The Unsplash URL is a fallback so the page never looks broken. */
.hero-content { padding: 110px 0; max-width: 740px; }
.hero h1 { color: #fff; margin: 18px 0 22px; }
.hero h1 .red { color: var(--red); display: block; }
.hero-sub { font-size: 1.12rem; color: rgba(255, 255, 255, 0.86); max-width: 580px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 56px;
  padding: 30px 0 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  flex-wrap: wrap;
}
.hero-stat .num { font-family: 'Oswald', sans-serif; font-size: 2.4rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat .num em { color: var(--red); font-style: normal; }
.hero-stat .lbl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255, 255, 255, 0.7); margin-top: 8px; font-weight: 600; }
.hero-badge {
  position: absolute;
  bottom: 28px; right: 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.hero-badge b { color: var(--red); font-weight: 700; }
@media (max-width: 700px) { .hero-badge { display: none; } }

/* ============ SECTION SHELL ============ */
section { padding: 110px 0; }
.section-head { max-width: 760px; margin: 0 auto 60px; }
.section-head.text-center { text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }
.alt-bg { background: var(--bg-soft); }

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 4px; height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--red);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { margin-bottom: 12px; color: var(--navy-2); }
.service-card p { font-size: 0.97rem; color: var(--muted); }
.service-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 700;
  color: var(--red);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card .more::after { content: "→"; transition: transform 0.22s; }
.service-card:hover .more::after { transform: translateX(4px); }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  background: var(--navy);
}
.gallery-item img, .gallery-item picture {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.gallery-item picture { display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 22px;
  background: linear-gradient(0deg, rgba(20,32,46,0.92), transparent);
  color: #fff;
  transform: translateY(15%);
  opacity: 0;
  transition: all 0.35s ease;
}
.gallery-item:hover .caption { transform: translateY(0); opacity: 1; }
.gallery-item .caption h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; letter-spacing: 0.04em; }
.gallery-item .caption span { font-size: 0.8rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.1em; }
.gi-1 { grid-column: span 3; grid-row: span 2; }
.gi-2 { grid-column: span 3; grid-row: span 1; }
.gi-3 { grid-column: span 3; grid-row: span 1; }
.gi-4 { grid-column: span 2; grid-row: span 1; }
.gi-5 { grid-column: span 2; grid-row: span 1; }
.gi-6 { grid-column: span 2; grid-row: span 1; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gi-1, .gi-2, .gi-3, .gi-4, .gi-5, .gi-6 { grid-column: span 1; grid-row: span 1; }
}

/* ============ ABOUT ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}
.about-photo img, .about-photo picture { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo::after {
  content: "";
  position: absolute;
  right: -22px; bottom: -22px;
  width: 130px; height: 130px;
  background: var(--red);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-photo .badge {
  position: absolute;
  left: 22px; bottom: 22px;
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
}
.about-photo .badge small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  opacity: 0.85;
  letter-spacing: 0.18em;
  margin-top: 2px;
}
.about-text h2 { margin-bottom: 22px; }
.about-text p + p { margin-top: 16px; }
.about-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}
.about-list .check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--red);
  color: #fff;
  border-radius: 4px;
  display: grid;
  place-items: center;
  margin-top: 1px;
}
.about-list .check svg { width: 14px; height: 14px; }
.about-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 880px) {
  .about-split { grid-template-columns: 1fr; gap: 50px; }
  .about-list { grid-template-columns: 1fr; }
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.quote-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  position: relative;
}
.quote-card .qmark { font-family: 'Oswald', serif; font-size: 4.4rem; color: var(--red); line-height: 0.6; margin-bottom: 14px; }
.quote-card blockquote { font-size: 1rem; line-height: 1.6; color: var(--text); margin-bottom: 22px; }
.quote-meta { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}
.quote-meta .name { font-weight: 700; color: var(--navy-2); font-size: 0.95rem; }
.quote-meta .role { font-size: 0.82rem; color: var(--muted); }
.stars { color: var(--red); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 14px; }

/* ============ CONTACT CTA ============ */
.cta-block {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 100%;
  background: linear-gradient(45deg, transparent 50%, var(--red) 50%);
  opacity: 0.12;
  pointer-events: none;
}
.cta-block .eyebrow { color: #fff; }
.cta-block .eyebrow::before { background: var(--red); }
.cta-block h2 { color: #fff; max-width: 760px; margin: 14px auto 18px; }
.cta-block h2 .red { color: var(--red); }
.cta-block p { color: rgba(255, 255, 255, 0.78); max-width: 580px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-info {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}
.cta-info b {
  color: #fff;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  text-transform: uppercase;
}
@media (max-width: 700px) { .cta-block { padding: 60px 28px; } }

/* ============ FOOTER ============ */
footer {
  background: #0E1721;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
  font-size: 0.92rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
footer h4 { color: #fff; margin-bottom: 18px; }
footer ul { list-style: none; display: grid; gap: 10px; }
footer ul a:hover { color: var(--red); }
.foot-brand .footer-logo { margin-bottom: 16px; }
.foot-brand .logo-img { height: 48px; }
.foot-brand p { color: rgba(255, 255, 255, 0.6); max-width: 320px; }
.foot-license {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  font-family: 'Oswald', sans-serif;
}
.copyright {
  text-align: center;
  padding-top: 28px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  section { padding: 70px 0; }
  .hero-content { padding: 80px 0; }
  .logo-img { height: 38px; }
}
