/* IMAGE SWAP GUIDE — all paths are relative to this CSS file.
   Replace an assets file with a new photo of the same filename, or edit its URL below.
   Keep the selector: it limits the change to the intended page/slide.
   background-position controls the crop. The original cover sizing, gradients,
   responsive layout and parallax remain in styles.css.
   Portrait images are cropped to fill these wide banners.
   After editing, change the ?v= value on the stylesheet links in each HTML page
   to refresh cached CSS. See IMAGE-GUIDE.txt for the full image map.
*/

/* HOME — both hero slides use the same updated van photo. */
body[data-page="home"] .hero-image.silver-bg {
  background-image: url('assets/dent-vibes-van-updated.png');
}

/* HOME — hero slide 2: attached dent-vibes-van.png. */
body[data-page="home"] .hero-image.van-bg {
  background-image: url('assets/dent-vibes-van-updated.png');
}

/* SERVICES, AREAS, CONTACT — footer banners use the new van image.
   Split this selector group into individual rules to use different images later.
   The contact page's TOP hero and the other pages' banners stay unchanged. */
body[data-page="services"] .contact-backdrop,
body[data-page="areas"] .contact-backdrop,
body[data-page="contact"] .contact-backdrop {
  background-image: linear-gradient(90deg,#07130ff2,#07130fd9 29%,#07130f3d 60%,transparent 80%), url('assets/dent-vibes-van-updated.png');
}

/* SMALL SCREENS — preserve the original darker mobile overlay for legibility. */
@media (max-width: 760px) {

  body[data-page="services"] .contact-backdrop,
  body[data-page="areas"] .contact-backdrop,
  body[data-page="contact"] .contact-backdrop {
    background-image: linear-gradient(90deg,#07130ff0,#07130f90), url('assets/dent-vibes-van-updated.png');
  }
}

/* CONTACT FOOTER: filename is in contact/index.html. Display the whole van. */
.contact-footer-photo { margin-block: 30px 55px; }
.contact-footer-photo img { display: block; width: 100%; height: auto; }
/* CONTACT PAGE HERO: supplied van photo with both contact numbers.
   Change this URL and the image preload in contact/index.html together. */
body[data-page="contact"] .page-intro-image.hero-contact {
  background-image: url('assets/dent-vibes-van-updated.png');
}

/* HOME: full-width van views, equal cards and aligned contact actions.
   Cropping is CSS-only: the original photographs are retained unchanged. */
body[data-page="home"] .team-contact { padding: 40px 0; min-height: 0; }
.team-contact-heading { padding-bottom: 24px; }
.team-contact-heading .eyebrow { color: #d0ff9f; margin-bottom: 12px; }
.team-contact-heading h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; margin: 0 0 12px; }
.team-contact-heading > p:last-child { font-size: 18px; line-height: 1.5; max-width: 760px; margin: 0; }
.team-contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.team-contact-card { min-width: 0; overflow: hidden; border: 1px solid #ffffff20; border-radius: 12px; background: #1d2d18; }
.team-photo-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #101b0e; }
.team-photo-frame .team-contact-photo { position: absolute; display: block; max-width: none; height: auto; margin: 0; }
/* Full-width views retain the painted logos and phone numbers.
   Mark: 1200 x 900 window beginning at y=450. Damo: full 1600 x 1200. */
.team-photo-mark .team-contact-photo { width: 100%; left: 0; top: -50%; }
.team-photo-damo .team-contact-photo { width: 100%; left: 0; top: 0; }
.team-contact-details { padding: 24px; }
.team-contact-details h3 { font-size: 26px; line-height: 1.2; margin: 0 0 18px; }
.team-contact-details .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.team-contact-details .button { width: 100%; min-width: 0; min-height: 88px; height: 88px; padding: 14px 12px; font-size: 22px; justify-content: center; gap: 10px; }
.team-contact-details .button svg { width: 25px; height: 25px; flex-shrink: 0; }
.team-contact-details .button small { font-size: 19px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
@media (max-width: 1200px) and (min-width: 761px) {
  .team-contact-details .actions { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body[data-page="home"] .team-contact { padding: 28px 0; }
  .team-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .team-contact-details { padding: 20px; }
  .team-contact-details .actions { grid-template-columns: 1fr; }
}

/* Keep the quote action above the two call buttons on narrow screens. */
@media (max-width: 760px) {
  body[data-page="home"] .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 530px; gap: 10px; }
  body[data-page="home"] .hero .actions > .button-green { grid-column: 1 / -1; }
  body[data-page="home"] .hero .actions > .button-outline { padding: 12px 8px; font-size: 17px; gap: 8px; justify-content: center; }
  body[data-page="home"] .hero .actions > .button-outline svg { width: 22px; height: 22px; flex-shrink: 0; }
  body[data-page="home"] .hero .actions > .button-outline small { font-size: 14px; white-space: nowrap; }
}
@media (max-width: 360px) {
  body[data-page="home"] .hero .actions > .button-outline { gap: 5px; font-size: 16px; }
  body[data-page="home"] .hero .actions > .button-outline svg { width: 18px; height: 18px; }
  body[data-page="home"] .hero .actions > .button-outline small { font-size: 13px; }
}
