/*
 * static-overrides.css
 * Replaces behaviour that the WordPress/PHP theme used to provide with JavaScript.
 * Pure CSS - no scripts anywhere on the site.
 */

/* ---- Sticky header (was JS "sticky-style: fixed") ---- */
.mk-header { position: sticky; top: 0; z-index: 100; }

/* ---- Section background image (was injected by JS from data-mk-img-set) ---- */
.background-layer {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---- Mobile menu: CSS-only toggle (was jQuery slideToggle) ---- */
.dam-nav-toggle {
  position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none;
}
.mk-nav-responsive-link { cursor: pointer; }
.dam-nav-toggle:focus-visible ~ .mk-header-holder .mk-nav-responsive-link {
  outline: 2px solid #76b1df; outline-offset: 2px;
}
@media (max-width: 1140px) {
  .dam-nav-toggle:checked ~ .mk-header-holder .mk-responsive-wrap { display: block; }
  .dam-nav-toggle:checked ~ .mk-header-holder .mk-css-icon-menu-line-2 { opacity: 0; }
  .dam-nav-toggle:checked ~ .mk-header-holder .mk-css-icon-menu-line-1 { transform: rotate3d(0,0,1,45deg); top: 6px; }
  .dam-nav-toggle:checked ~ .mk-header-holder .mk-css-icon-menu-line-3 { transform: rotate3d(0,0,1,-45deg); top: -6px; }
}

/* ---- Contact page map (Google Maps embed, no API key / JS needed) ---- */
.dam-map { position: relative; width: 100%; height: 400px; background: #e8ecee; }
.dam-map iframe { display: block; width: 100%; height: 400px; border: 0; filter: saturate(.35); }
.dam-map-link {
  position: absolute; right: 12px; bottom: 12px; padding: 6px 12px;
  background: #fff; color: #243842; font-size: 13px; line-height: 1.4;
  text-decoration: none; box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.dam-map-link:hover { color: #76b1df; }
