/* 
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{
	width:100%!important;
}
html, body {
  overflow-x: clip;  
  overflow-y: visible;
  position: relative;
}

::selection {
  background:var(--e-global-color-secondary) !important;
	color:white;
}

.doorlopend .swiper{
    overflow: visible!important;
}
body {
 font-size: 1.1vw!important;
}

@media screen and (min-width:1920px) {
 body {font-size: 21px!important;}
}

@media screen and (max-width:1100px) {
body {font-size: 16px!important;}
}
.elementor-button-icon svg{
	height:1em;
}
/* Make text look crisper and more legible in all browsers */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}


/* ========== SVG + tekst animatie (pijl vóór tekst) ========== */

.svgeffect .elementor-button{
  position: relative;
  overflow: hidden;
}

/* Wrapper blijft referentie */
.svgeffect .elementor-button-content-wrapper{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* TEKST = ankerpunt */
.svgeffect .elementor-button-text{
  position: relative;
  display: inline-block;

  transform: translateX(0);
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

/* ICON: absoluut t.o.v. de tekst */
.svgeffect .elementor-button-icon{
  position: absolute;
  left: -10px;              /* vóór de eerste letter */
  top: 50%;
width: 0.8em!important;
  transform: translate(-6px, -50%);
  opacity: 0;

  display: inline-flex;
  align-items: center;
  pointer-events: none;

  transition:
    transform 0.45s cubic-bezier(.4,0,.2,1),
    opacity 0.35s ease;
}

/* Hover: alles schuift netjes */
.svgeffect .elementor-button:hover .elementor-button-icon{
  transform: translate(0, -50%);
  opacity: 1;
}

.svgeffect .elementor-button:hover .elementor-button-text{
  transform: translateX(10px); /* ruimte voor pijl */
}


/* =========================
   HERO BASIS
========================= */

.hero{
  position: relative;
  overflow: hidden;
  isolation: isolate; /* zorgt voor nette stacking */
}

/* =========================
   ZON ORB
========================= */

.hero::after{
  content: "";
  position: absolute;
  top: -5em;
  left: -5em;

  width: 25em;
  height: 25em;
  border-radius: 50%;

  /* 🌞 Zachte zon-gradient */
  background: radial-gradient(circle at 30% 30%,
    #F9F871 0%,
    #F9F871 18%,
    #E67E22 50%,
    rgba(230,126,34,0.55) 65%,
    rgba(230,126,34,0.25) 75%,
    rgba(230,126,34,0.12) 85%,
    rgba(230,126,34,0.05) 92%,
    rgba(230,126,34,0) 100%
  );

  filter: blur(8px);

  box-shadow:
    0 0 120px rgba(230,126,34,0.35);

  opacity: 0.95;
  pointer-events: none;
  z-index: 2;

  will-change: transform;

  animation: orbFloat 18s ease-in-out infinite alternate;
}

/* =========================
   CONTENT BOVEN ORB
========================= */

.hero > *{
  position: relative;
  z-index: 3;
}

/* =========================
   ELEMENTOR OVERLAY FIX
========================= */

.hero .elementor-background-overlay,
.hero .elementor-background-slideshow{
  z-index: 1 !important;
}

/* =========================
   ANIMATIE
========================= */

@keyframes orbFloat{
  0% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(60px, 40px) scale(1.08);
  }

  50% {
    transform: translate(-40px, 90px) scale(0.95);
  }

  75% {
    transform: translate(80px, 20px) scale(1.05);
  }

  100% {
    transform: translate(-60px, 110px) scale(0.98);
  }
}
/* =========================
   INTRO (invliegen) - alleen extra
========================= */

.hero.orb-intro::after{
  /* Eerst intro, daarna jouw bestaande orbFloat */
  animation:
    orbIntro 1.6s cubic-bezier(.22,1,.36,1) forwards,
    orbFloat 18s ease-in-out 1.6s infinite alternate;
}

@keyframes orbIntro{
  0%{
    transform: translate(-220px, -220px) scale(0.6);
    opacity: 0;
  }
  70%{
    transform: translate(30px, 20px) scale(1.08);
    opacity: 1;
  }
  100%{
    transform: translate(0, 0) scale(1);
    opacity: 0.95;
  }
}
/* HERO start verborgen */
.hero{
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* Wanneer geladen */
.hero.is-visible{
  opacity: 1;
}
/* Orb standaard niet zichtbaar bij initial paint */
.hero:not(.orb-ready)::after{
  opacity: 0;
  transform: translate(-220px, -220px) scale(0.6);
  animation: none;
}
.hero.orb-ready::after{
  animation:
    orbIntro 1.6s cubic-bezier(.22,1,.36,1) forwards,
    orbFloat 18s ease-in-out 1.6s infinite alternate;
}

@keyframes orbIntro{
  0%{
    transform: translate(-220px, -220px) scale(0.6);
    opacity: 0;
  }
  70%{
    transform: translate(30px, 20px) scale(1.08);
    opacity: 1;
  }
  100%{
    transform: translate(0, 0) scale(1);
    opacity: 0.95;
  }
}
/* =========================
   ELEMENTOR EDIT MODE FIX
========================= */

/* Hero altijd zichtbaar in editor */
.elementor-editor-active .hero{
  opacity: 1 !important;
}

/* Orb direct zichtbaar zonder intro */
.elementor-editor-active .hero::after{
  opacity: 0.95 !important;
  transform: translate(0, 0) scale(1) !important;
  animation: orbFloat 18s ease-in-out infinite alternate !important;
}
/* =========================
   OPLOSSING EFFECT
========================= */
/* basis */
.oplossingbtn{
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

/* zorg dat tekst ook mee kleurt */
.oplossingbtn .elementor-heading-title{
  transition: color .2s ease;
}

/* actieve/hover state */
.oplossingbtn.is-active,
.oplossingbtn:hover{
  background: #fff !important;
}

.oplossingbtn.is-active,
.oplossingbtn:hover,
.oplossingbtn.is-active .elementor-heading-title,
.oplossingbtn:hover .elementor-heading-title{
  color: #E67E22 !important;
}
