/* ============================================
   Donohue Handyman: white, blue-grey hero, steel blue accent
   Warm cream + charcoal + terracotta. Fraunces/Archivo.
   ============================================ */
:root {
  --nav-height: 72px;

  /* Palette (Jim, 2026-11-18): white page, light blue-grey hero, steel blue accent */
  --paper: #ffffff;          /* page background */
  --paper-alt: #ffffff;      /* alternating sections stay white */
  --hero: #f2f4f5;           /* light blue-grey top section */
  --ink: #1a1917;            /* near-black charcoal text */
  --ink-soft: #666666;       /* muted body text */
  --accent: #0f5f86;         /* steel blue accent */
  --accent-soft: rgba(15, 95, 134, .10);
  --charcoal: #1a1917;       /* buttons, nav, footer */
  --charcoal-hover: #2c2b29;
  --line: rgba(26, 25, 23, .10);

  /* aliases kept so existing rules stay readable */
  --green: var(--charcoal);
  --green-dark: var(--charcoal);
  --copper: var(--accent);
  --copper-soft: var(--accent-soft);

  --bs-primary: #1a1917;
  --bs-primary-rgb: 26, 25, 23;

  --card-bg: #ffffff;
  --card-border: rgba(26, 25, 23, .10);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

html, body { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  padding-top: var(--nav-height);
  scroll-padding-top: calc(var(--nav-height) + 20px);
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

h1, h2, h3, h4, h5, .section-title {
  font-family: var(--font-display);
}
h5 { font-weight: 600; letter-spacing: .1px; }
/* Tile headings: h2 for SEO, sized like the old h5 */
.card-title-h { font-size: calc(1.25rem + 4px); font-weight: 600; letter-spacing: .1px; }

/* ---------- Navbar (hero bg darkened 20%) ---------- */
.navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--line);
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}
.navbar .nav-link {
  color: rgba(26,25,23,.75);
  font-weight: 500;
  letter-spacing: .02em;
  font-size: calc(.85rem + 4px);
  margin-left: 11px;
  margin-right: 11px;
  padding: .45rem 1.05rem !important;
  border-radius: 999px;
  transition: background-color .18s ease, color .18s ease;
}
.navbar .nav-link:hover {
  color: var(--ink);
  background-color: rgba(26,25,23,.07);
}
.navbar .nav-link.active {
  color: var(--accent);
  background-color: var(--accent-soft);
}
.navbar-logo {
  width: 232px;
  height: auto;
}
@media (max-width: 575.98px) {
  .navbar-logo { width: 176px; }
}
.navbar-toggler { color: var(--ink) !important; }

/* Services dropdown */
.navbar .dropdown-toggle::after {
  content: "";
  border: none;
  width: .5em;
  height: .5em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
  vertical-align: middle;
  margin-top: -4px;
  margin-left: calc(.255em + 3px);
}
.navbar .dropdown-menu {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: .75rem;
  box-shadow: 0 12px 32px rgba(26,25,23,.16);
  padding: .75rem;
  min-width: 240px;
  margin-top: .5rem;
}
.navbar .dropdown-item {
  color: var(--ink);
  font-weight: 500;
  font-size: 1.02rem;
  border-radius: .5rem;
  padding: .7rem 1rem;
  margin-bottom: .35rem;
}
.navbar .dropdown-menu li:last-child .dropdown-item { margin-bottom: 0; }
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  background: var(--accent-soft);
  color: var(--accent);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  background: var(--accent-soft);
  color: var(--accent);
}
.navbar .dropdown-divider {
  border-color: var(--line);
  opacity: 1;
  margin: .35rem .5rem .7rem;
}

@media (max-width: 991.98px) {
  #navContent {
    margin-top: 24px;
    text-align: center;
  }
  #navContent .nav-link {
    display: block;
    margin: 10px 0;
    font-size: 1rem;
  }
  .hero .container { padding-left: 12px !important; padding-right: 12px !important; }
  .hero .row { --bs-gutter-x: 0 !important; }
  .hero .container.content .col-lg-6 { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4.5rem;
  background: var(--hero);
}
.hero .content { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(15,95,134,.28);
  border-radius: 999px;
  padding: .45rem 1rem;
  margin-bottom: 1.5rem;
  background: var(--accent-soft);
  transition: background-color .2s ease, border-color .2s ease;
}
.eyebrow a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.eyebrow a:hover,
.eyebrow a:focus-visible {
  color: var(--ink);
}
.eyebrow:has(a:hover),
.eyebrow:has(a:focus-visible) {
  background: rgba(15,95,134,.18);
  border-color: rgba(15,95,134,.45);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}
.hero-title-long {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.15;
}
.hero-title em,
.hero-title span {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.3rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.hero-body {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,95,134,.4);
  padding-bottom: 2px;
  transition: border-color .2s ease, color .2s ease;
}
.hero-link:hover { color: var(--ink); border-color: var(--ink); }

.hero-visual {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  padding: 10px;
}
.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .25rem;
  object-fit: cover;
}
/* ---------- Buttons ---------- */
.btn-cta {
  background: var(--charcoal);
  border: 1px solid var(--charcoal);
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  border-radius: 999px;
  padding: .75rem 1.7rem;
  transition: background .2s ease, transform .15s ease;
}
.btn-cta:hover, .btn-cta:focus {
  background: var(--charcoal-hover);
  border-color: var(--charcoal-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-cta:active {
  transform: translateY(1px);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.hero-compact-follow {
  padding-bottom: 2.25rem;
}
.hero-compact-follow .content.py-5 {
  padding-bottom: 1.5rem !important;
}
.section-compact-top {
  padding-top: 44px;
}
#services {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-alt {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.map-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  border-radius: .75rem;
  border: 1px solid var(--card-border);
  background: #fff;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.section-kicker {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
}
.section-title {
  color: var(--ink);
  font-weight: 600;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  letter-spacing: -.01em;
}
.section-title-sm {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}
.section-intro {
  font-size: 1.12rem;
  color: var(--ink-soft);
  margin-bottom: 2.5rem;
}

/* ---------- Cards ---------- */
.card, .card-2 {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .75rem;
  color: var(--ink);
  transition: transform .25s ease, border-color .25s ease;
}
.card-2 { box-shadow: none; }
.card-2:hover {
  border-color: rgba(26,25,23,.22);
  transform: translateY(-2px);
}
.card-2.card-static:hover {
  border-color: var(--card-border);
  transform: none;
}
a.service-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.service-card-link:hover,
a.service-card-link:focus-visible {
  color: inherit;
  border-color: rgba(15,95,134,.45);
}
.card-tagline {
  font-family: var(--font-display);
  font-size: calc(1rem + 2px);
  color: var(--accent);
  margin-bottom: .9rem;
}
.card-body-text { color: var(--ink-soft); font-size: 1.02rem; }

.service-list {
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: .97rem;
}
.service-list li { margin-bottom: 7px; }
.service-list li::marker { color: var(--ink); }
.service-card-title-link,
.service-list-link {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
}
.service-list-link {
  color: var(--ink);
  text-decoration: none;
}
.service-list-link:hover,
.service-list-link:focus-visible,
.service-card-title-link:hover,
.service-card-title-link:focus-visible {
  color: rgba(26, 25, 23, 0.5);
}

.check-list { color: var(--ink-soft); font-size: 1.02rem; }
.check-list i { color: var(--accent); }

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: .5rem;
  display: inline-grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid rgba(15,95,134,.22);
}
.icon-badge i.bi { font-size: 1.48rem; line-height: 1; }
.icon-badge svg { width: 1.48rem !important; height: 1.48rem !important; }
.object-fit-cover { object-fit: cover; }

/* ---------- Gallery ---------- */
#gallery .card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 8px;
  cursor: pointer;
}
#gallery .card:hover {
  transform: translateY(-4px) rotate(-.4deg);
  border-color: rgba(26,25,23,.22);
}
#gallery .card img {
  transition: transform .25s ease;
  display: block;
  width: 100%;
  height: auto;
  border-radius: .25rem;
}

/* ---------- About ---------- */
.about-img-container {
  max-width: 100%;
  margin: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: .5rem;
  padding: 10px;
  overflow: hidden;
}
.about-img-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: .25rem;
}
@media (max-width: 991px) {
  .about-img-container { max-width: none; width: 100%; margin: 0; transform: none; }
}

/* ---------- Service page photos ---------- */
.service-photo {
  margin: 0;
  overflow: hidden;
  border-radius: .75rem;
  border: 1px solid var(--card-border);
  background: #fff;
}
.service-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
/* ---------- Forms ---------- */
.form-label { font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.label-optional { color: var(--ink-soft); font-weight: 400; }
.form-control, .form-select {
  background: #fff;
  border-color: rgba(26,25,23,.18);
  color: var(--ink);
  border-radius: .5rem;
}
.form-control:focus {
  background: #fff;
  border-color: var(--charcoal);
  box-shadow: 0 0 0 .2rem rgba(26,25,23,.12);
  color: var(--ink);
}
.form-control::placeholder { color: var(--ink-soft); }
.cf-turnstile { display: inline-block; width: 300px; max-width: 300px; }

.contact-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(15,95,134,.4);
}
.contact-link:hover { color: var(--ink); border-color: var(--ink); }
.contact-value { font-weight: 500; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.65);
  padding-top: 3rem;
  padding-bottom: 3rem;
  background: var(--charcoal);
}

/* ---------- Modal / Lightbox (kept dark for viewing photos) ---------- */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: max(50px, 8vh);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #1c1913;
}
.modal-content {
  position: relative;
  background-color: #1c1913;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  border-radius: .5rem;
  overflow: hidden;
}
.close {
  color: #f2f4f5;
  position: absolute;
  top: 23px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  transition: .3s;
  cursor: pointer;
  z-index: 1000;
}
.close:hover, .close:focus {
  color: #7cc0e3;
  text-decoration: none;
}
.mySlides { display: none; }

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: 80px;
  height: 80px;
  color: #f2f4f5;
  font-weight: 900;
  font-size: 29px;
  border: none;
  border-radius: 50%;
  background-color: rgba(0,0,0,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1001;
  transition: background-color .2s ease, transform .15s ease, color .2s ease;
  transform: translateY(-50%);
}
.prev i, .next i { pointer-events: none; }
.next { right: 0; }
.prev:hover, .next:hover { background-color: rgba(0,0,0,.8); color: #7cc0e3; }
.prev:active, .next:active { transform: translateY(-50%) scale(.97); }
.prev:focus-visible, .next:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
@media (max-width: 767.98px) {
  .prev, .next { width: 56px; height: 56px; font-size: 20px; }
}
/* ---------- Phone (header and footer) ---------- */
.nav-phone {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: .5rem;
  margin-right: .5rem;
  padding: .45rem 1.05rem;
  border-radius: 999px;
  background-color: var(--charcoal);
  color: #fff;
  font-weight: 600;
  font-size: calc(.85rem + 4px);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.nav-phone:hover,
.nav-phone:focus-visible {
  background-color: var(--charcoal-hover);
  color: #fff;
}
@media (max-width: 575.98px) {
  /* Phones: icon-only round button beside the menu */
  .nav-phone {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    font-size: 1.15rem;
  }
  .nav-phone-number { display: none; }
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}
.footer-phone:hover,
.footer-phone:focus-visible { color: #fff; text-decoration: underline; }

/* Images carry width/height attributes (to avoid layout shift); keep them responsive */
img[width][height] {
  max-width: 100%;
  height: auto;
}

/* Inside the blue-grey hero, keep the tag and photo frame white */
.hero .eyebrow { background: #ffffff; }
.hero-visual { background: #ffffff; }
