/* Lakeville Towing theme layer. Loaded after the compiled bundle so it overrides it.
   Elements pulled from the logo: crimson red, charcoal, white script with black outline
   and red drop shadow, collegiate caps type, double red stripes, the swoosh. */

:root {
  --lk-red: #e30b2b;
  --lk-red-deep: #b30820;
  --lk-red-soft: #ff7283;
  --lk-char: #535353;
  --lk-panel: #303032;
  --lk-deep: #1c1c1e;
  --lk-ink: #131314;
  --lk-slab: "Graduate", "Alfa Slab One", Georgia, serif;
  --lk-script: "Yellowtail", "Brush Script MT", cursive;
  --bs-brand: #e30b2b;
  --bs-brand-rgb: 227, 11, 43;
  --bs-dark: #262628;
  --bs-dark-rgb: 38, 38, 40;
}

.bg-black-dark { background-color: var(--lk-panel); }
.bg-page-rest-section { background-color: var(--lk-deep); }
.review-slider { background-color: var(--lk-panel); }

/* Headings: white fill, black outline, red offset shadow, like the wordmark */
.content h1, .content h2, article.content .h1, article.content .h2,
.hero h1, .services-gallery h2, .featured-service-area h2, .partner-gallery h2,
.review-slider h2, .footer h4 {
  font-family: var(--lk-slab);
  font-weight: 400;
  letter-spacing: .035em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 2px rgba(0,0,0,.65), 2px 2px 0 var(--lk-red);
}
.content h1, article.content .h1 { font-size: clamp(1.6rem, 4.4vw, 2.2rem); line-height: 1.2; }
.content h2, article.content .h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); line-height: 1.25; }
.footer h4.text-brand { color: #fff !important; font-size: 1.15rem; }
.card-title { font-family: var(--lk-slab); font-weight: 400 !important; letter-spacing: .03em; }

/* Double red stripe under headings (the stripes flanking TIRES in the logo) */
.content h1::after, .content h2::after, .services-gallery h2::after,
.featured-service-area h2::after, .partner-gallery h2::after, .review-slider h2::after, .footer h4::after {
  content: "";
  display: block;
  width: 84px;
  height: 13px;
  margin-top: 12px;
  background: linear-gradient(var(--lk-red) 0 5px, transparent 5px 8px, var(--lk-red) 8px 13px);
}
h2.text-center::after { margin-left: auto; margin-right: auto; }

/* Buttons: red, white edge, hard black shadow */
.btn-brand-primary, .btn-brand-outline {
  font-family: var(--lk-slab);
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px !important;
  box-shadow: 3px 3px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.btn-brand-primary {
  --bs-btn-bg: var(--lk-red);
  --bs-btn-color: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: var(--lk-red);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: var(--lk-red-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: #fff;
}
.btn-brand-outline {
  --bs-btn-color: #fff;
  --bs-btn-border-color: var(--lk-red);
  --bs-btn-hover-bg: var(--lk-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-bg: var(--lk-red-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-border-color: #fff;
  background-color: rgba(0, 0, 0, .35);
}
.btn-brand-primary:hover, .btn-brand-outline:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 #000; }
.btn-brand-primary:active, .btn-brand-outline:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }

/* Header: charcoal with the double stripe along the bottom edge */
body > section.bg-dark.py-3 {
  position: relative;
  padding-bottom: 1.9rem !important;
  background-color: var(--lk-char) !important;
  background-image: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.18));
}
body > section.bg-dark.py-3::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 13px;
  background: linear-gradient(var(--lk-red) 0 5px, var(--lk-ink) 5px 8px, var(--lk-red) 8px 13px);
}
.menu .nav-link, .menu .btn-link {
  font-family: var(--lk-slab);
  font-size: .86rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
}
.menu .nav-link:hover, .menu .btn-link:hover, .menu .nav-link.active { color: var(--lk-red-soft); }
img.navbar-logo { filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)); }

/* Footer: stripe along the top */
.footer { position: relative; background-color: var(--lk-ink) !important; }
.footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 13px;
  background: linear-gradient(var(--lk-red) 0 5px, var(--lk-char) 5px 8px, var(--lk-red) 8px 13px);
}

/* Links inside page copy */
.content a:not(.btn) { color: var(--lk-red-soft); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.content a:not(.btn):hover { color: #fff; }

/* Slow Down Move Over banner */
.move-over-section { background: var(--lk-ink); padding: 0; position: relative; }
.move-over-section .mo-stripes { height: 13px; background: linear-gradient(var(--lk-red) 0 5px, transparent 5px 8px, var(--lk-red) 8px 13px); }
.move-over-section .mo-inner {
  display: flex; align-items: center; justify-content: center; gap: clamp(14px, 4vw, 52px);
  padding: 34px 0 20px;
}
.mo-word {
  font-family: var(--lk-slab);
  font-size: clamp(2rem, 7.4vw, 4.6rem);
  line-height: .95;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 3px rgba(0,0,0,.7), 3px 3px 0 var(--lk-red);
}
.mo-mark { flex: 0 0 auto; width: clamp(64px, 11vw, 120px); filter: drop-shadow(4px 4px 0 #000); }
.mo-mark svg { display: block; width: 100%; height: auto; }
.mo-mark .mo-chev { animation: mo-pulse 1.6s ease-in-out infinite; }
.mo-mark .mo-chev + .mo-chev { animation-delay: .25s; }
@keyframes mo-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .mo-mark .mo-chev { animation: none; } }
.mo-copy { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 16px 26px; color: #e9e9e9; }
.mo-copy .mo-script { display: block; font-family: var(--lk-script); font-size: clamp(1.7rem, 4vw, 2.3rem); color: #fff; line-height: 1.1; margin-bottom: 6px; text-shadow: 2px 2px 0 var(--lk-red); }
.mo-copy p { margin: 0; font-size: 1rem; }
@media (max-width: 575.98px) {
  .move-over-section .mo-inner { flex-direction: column; gap: 10px; padding-top: 26px; }
}

/* Photo backgrounds behind dark content blocks */
.lk-photo-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Review placards */
.lk-review-card {
  position: relative; margin: 0; width: 100%;
  background: var(--lk-char); color: #fff;
  border: 2px solid #fff; border-top: 13px solid var(--lk-red);
  box-shadow: 5px 5px 0 #000;
  padding: 34px 22px 20px;
  display: flex; flex-direction: column;
}
.lk-review-quote {
  position: absolute; top: -4px; left: 14px;
  font-family: var(--lk-script); font-size: 4.6rem; line-height: 1; color: #fff;
  text-shadow: 2px 2px 0 var(--lk-red);
}
.lk-review-card blockquote { margin: 18px 0 18px; flex: 1 1 auto; font-size: 1rem; line-height: 1.55; }
.lk-review-card figcaption { border-top: 2px solid rgba(255,255,255,.25); padding-top: 12px; }
.lk-review-card figcaption strong { display: block; font-family: var(--lk-slab); font-weight: 400; letter-spacing: .05em; text-transform: uppercase; }
.lk-review-card figcaption span { font-size: .9rem; color: #e6e6e6; }

/* FAQ cards and link lists (shared by town pages and Danbury service pages) */
.tx-faq details { margin: 0 0 12px; border: 2px solid var(--bs-brand, #f00); border-radius: 6px; overflow: hidden; background: #111; box-shadow: 4px 4px 0 #000; }
.tx-faq summary { cursor: pointer; padding: 14px 18px; background: var(--bs-brand, #f00); color: #fff; font-weight: 700; list-style: none; }
.tx-faq summary::-webkit-details-marker { display: none; }
.tx-faq summary::after { content: "+"; float: right; font-weight: 700; }
.tx-faq details[open] summary::after { content: "\2212"; }
.tx-faq details p { margin: 0; padding: 14px 18px; color: #fff; }
.tx-near { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer-danbury { color: #fff; margin: 0 0 10px; }
.footer-danbury a { color: var(--lk-red-soft); margin: 0 4px; }

/* Auto repair page: hours card, equal height service cards, call banner */
.lk-hours { background: var(--lk-ink); border: 2px solid #fff; border-top: 13px solid var(--lk-red); box-shadow: 5px 5px 0 #000; padding: 18px 20px 20px; }
.lk-hours-title { font-size: 1.35rem !important; margin: 0 0 14px !important; }
.lk-hours-title::after { display: none !important; }
.lk-hours-list { margin: 0 0 12px; }
.lk-hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-bottom: 1px solid rgba(255,255,255,.15); }
.lk-hours-list li:last-child { border-bottom: 0; }
.lk-hours-list .day { font-weight: 700; }
.lk-hours-list .day em { font-style: normal; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--lk-red); color: #fff; padding: 2px 7px; margin-left: 6px; }
.lk-hours-list .time { text-align: right; white-space: nowrap; }
.lk-hours-list li.is-today { background: rgba(227, 11, 43, .18); }
.lk-hours-list li.is-closed .time { color: var(--lk-red-soft); font-weight: 700; }
.lk-hours-note { margin: 0 0 14px; font-size: .95rem; color: #e6e6e6; }
.lk-card { width: 100%; margin-bottom: 0 !important; background: var(--lk-panel); border-top: 8px solid var(--lk-red); box-shadow: 4px 4px 0 #000; }
.lk-card h2 { font-size: 1.45rem !important; }
.lk-card ul { padding-left: 1.2rem; }
.lk-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 24px; text-align: center; background: var(--lk-red); border: 2px solid #fff; box-shadow: 5px 5px 0 #000; padding: 18px 20px; margin-top: 8px; }
.lk-cta h4 { margin: 0; font-family: var(--lk-slab); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: #fff; font-size: clamp(1.1rem, 3vw, 1.5rem); }
.lk-cta .btn-brand-primary { --bs-btn-bg: #fff; --bs-btn-color: var(--lk-red); --bs-btn-border-color: #fff; --bs-btn-hover-bg: var(--lk-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-border-color: #fff; }
