/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* ==========================================================
   ===                       HEADER                       ===
   ========================================================== */
/* UAE-menu: op desktop geen vaste breedte. De optie "Volledige breedte"
   (voor het uitklapmenu) zet met JS een pixelbreedte die afrondt, waardoor
   het laatste menu-item naar een 2de regel sprong. (2026-11-05)
   Klasse staat op de widget via Geavanceerd > CSS klassen. (2026-11-04)
------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .hamburger-rechts .hfe-nav-menu__layout-horizontal {
    width: auto !important;
    left: auto !important;
  }
}

/* UAE-menu: Uitlijning hamburger staat op Midden (tablet); 
   deze regel zet hem rechts op mobiel. 
   Klasse staat op de widget via Geavanceerd > CSS klassen. (2026-11-04)
------------------------------------------------------------------------  */
@media (max-width: 767px) {
  .hamburger-rechts .hfe-nav-menu__toggle {
    margin-right: 0 !important;
  }
}


/* Sticky header (UAE gratis heeft geen sticky-optie). (2026-11-04)
------------------------------------------------------------------- */
.ehf-header #masthead {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Ruimte voor de WordPress-adminbalk (alleen zichtbaar als je ingelogd bent)
----------------------------------------------------------------------------- */
.admin-bar.ehf-header #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.ehf-header #masthead { top: 46px; } }
@media (max-width: 600px) { .admin-bar.ehf-header #masthead { top: 0; } }


/* ==========================================================
   ===                       FOOTER                       ===
   ========================================================== */
/* Footer: knop Cookie-instellingen als gewone link
--------------------------------------------------- */
.footer-cookie-link,
.footer-cookie-link:hover,
.footer-cookie-link:focus {
  all: unset;
  cursor: pointer;
  color: #67B0A5;
  font: inherit;
}
.footer-cookie-link:hover { text-decoration: underline; }
.footer-cookie-link:focus-visible { outline: 2px solid #67B0A5; outline-offset: 2px; }

/* ==========================================================
   ===                      ALGEMEEN                      ===
   ========================================================== */
/* Vloeiend scrollen van het thema uit: het UAE-menu animeert zelf.
   Samen gaven ze een schokkerige scroll (eerst stil, dan snel). (2026-11-05)
----------------------------------------------------------------------------- */
html { scroll-behavior: auto; }

/* WPForms (formulier 600): velden in 2 kolommen op mobiel onder elkaar.
   #wpforms-600 + !important nodig: WPForms laadt na style.css en
   zette anders zijn marge van 20px terug. (2026-11-06)
----------------------------------------------------------------------- */
@media (max-width: 767px) {
  #wpforms-600 .wpforms-field.wpforms-one-half {
    width: 100% !important;
    margin-left: 0 !important;
    float: none !important;
  }
}

/* WPForms (Contact, formulier 600): verzendknop gelijk aan de
   Elementor-knop "Contacteer ons" (normaal + hover). WPForms Lite heeft
   hiervoor geen instellingen; !important is nodig omdat de widget
   zijn eigen stijl met een sterkere selector zet. (2026-11-06)
------------------------------------------------------------------- */
#wpforms-600 {
  --wpforms-button-size-padding-h: 28px !important; /* links en rechts */
  --wpforms-button-size-height: 37px !important;    /* = 10px boven/onder */
}
#wpforms-600 .wpforms-submit-container button.wpforms-submit {
  font-family: "Roboto", sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 15px !important;
  color: #FFFFFF !important;
  background: #67B0A5 !important;
  border: 1px solid #FFFFFF !important;
  border-radius: 72px !important;
  box-shadow: none !important;
  transition: all .3s !important;
}
#wpforms-600 .wpforms-submit-container button.wpforms-submit:hover,
#wpforms-600 .wpforms-submit-container button.wpforms-submit:focus {
  color: #67B0A5 !important;
  background: #FFFFFF !important;
  border-color: #67B0A5 !important;
}

/* WPForms (formulier 600): bevestiging na verzenden in de huisstijl
   (lichtgroen vlak met groene lijn links, zoals het parkingblok).
   WPForms heeft hiervoor geen instelling. (2026-11-06)
------------------------------------------------------------------- */
#wpforms-confirmation-600 {
  background: #EEF6F4 !important;
  border: 0 !important;
  border-left: 4px solid #67B0A5 !important;
  border-radius: 0 !important;
  padding: 20px 24px !important;
  color: #333333 !important;
  font-size: 16px !important;
  margin: 0 !important;
}
#wpforms-confirmation-600 p {
  margin: 0 !important;
  color: inherit !important;
}


/* ==========================================================
   ===                         404                        ===
   ========================================================== */

/* 404-pagina: wazige "404" met een scherpe lens die de muis volgt.
   Klassen: lo404-wrap op de container, lo404-soft en lo404-sharp op de
   twee koppen. De lens is ::before (rand) en ::after (pootje).
   De JS in functions.php zet --x en --y. (2026-11-08)
------------------------------------------------------------------- */
.lo404-wrap {
  --x: 50%;
  --y: 50%;
  --r: 78px;                 /* straal van de lens */
  position: relative;
  overflow: visible;
}
.lo404-wrap .elementor-widget {
  grid-area: 1 / 1;          /* beide 404's op elkaar */
  align-self: stretch;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  user-select: none;
}
.lo404-soft .elementor-heading-title { filter: blur(14px); opacity: .75; }
.lo404-sharp {
  clip-path: circle(var(--r) at var(--x) var(--y));
  pointer-events: none;
}
.lo404-wrap::before,
.lo404-wrap::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}
.lo404-wrap::before {        /* rand van de lens */
  left: var(--x);
  top: var(--y);
  width: calc(var(--r) * 2);
  height: calc(var(--r) * 2);
  transform: translate(-50%, -50%);
  border: 3px solid #3D7A71;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}
.lo404-wrap::after {         /* pootje van de lens */
  left: calc(var(--x) + var(--r) * .94);
  top: calc(var(--y) - var(--r) * .32);
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #3D7A71;
  transform: rotate(-28deg);
  transform-origin: left center;
}
@media (max-width: 1024px) { .lo404-wrap { --r: 64px; } }
@media (max-width: 767px) {
  .lo404-wrap { --r: 52px; }
  .lo404-soft .elementor-heading-title { filter: blur(10px); }
}