/* 
Theme Name: Wendelfred Theme
Theme URI: https://wendelfred.com
Description: Thema Wendelfred
Author: Studio Code Rood
Author URI: https://studiocoderood.nl
Template: hello-elementor
Version: 1.2.2
*/

body {
  margin: 0;
  overflow-x: hidden;
}

strong, b {
  font-weight: 700 !important;
}
ul, ol li {
  margin-bottom: 20px;
} 
p {
    margin-block-start:0;
    margin-block-end:.9rem;
}
h1, h2, h3, h4, h5, h6 {
    margin-block-start: .5rem;
    margin-block-end: 1rem;
    line-height: 1.2;
}
body a:focus, input[type=text]:focus, [type=button]:focus, [type=submit]:focus, input[type=email]:focus, textarea:focus {
    outline-style: dotted !important;
    outline-width: 3px !important;
    outline-color: var(--e-global-color-primary) !important;
}
footer a:focus {
/*    outline-color: black !important;*/
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #333;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


/* Text-scroll styling - horizontale scroll animatie bij page scroll */
.text-scroll {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
}

.text-scroll .elementor-widget-container {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

.text-scroll .elementor-heading-title,
.text-scroll span.elementor-heading-title {
  font-size: clamp(80px, 20vw, 300px) !important;
  white-space: nowrap !important;
  display: inline-block !important;
  font-family: var(--e-global-typography-secondary-font-family) !important;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 30px 0 !important;
  transform: translateX(100%) !important; /* Start buiten beeld rechts */
  will-change: transform;
}

/* Genummerde stappen lijst styling */
.stappen-lijst {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 25px;
}

.stappen-lijst li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

/* Verticale lijn links van de cijfers */
.stappen-lijst li:not(:last-child)::before {
  content: '';
  position: absolute;
  left: -17px;
  top: 5px;
  height: calc(100% + 110px);
  width: 2px;
  background: currentColor;
  opacity: 1;
}

/* Bullet/dot op de lijn */
.stappen-lijst li::after {
  content: '';
  position: absolute;
  left: -21px;
  top: 20px;
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  opacity: 1;
}

.stap-nummer {
  font-size: 4em;
  font-weight: 700;
  line-height: 1;
  margin-left: 10px;
  margin-right: 10px;
  min-width: 60px;
  color: inherit;
  font-family: var(--e-global-typography-secondary-font-family);
}

.stap-content p {
  margin: 0;
  line-height: 1.5;
}

.stap-content p:first-child {
  font-weight: 700;
  margin-bottom: 5px;
  font-family: var(--e-global-typography-secondary-font-family);
  font-size: 1.1em;
}

.stap-content p:last-child {
  opacity: 0.9;
}

/* Team Showcase Styling */
.team-showcase {
  display: flex;
  gap: 30px;
  width: 100%;
  height: 400px;
}

.team-member {
  position: relative;
  flex: 0 0 110px;
  transition: flex 0.5s ease;
  overflow: hidden;
  cursor: pointer;
  border-radius: 20px;
}

.team-member.active {
  flex: 1;
  cursor: default;
}

.team-member-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-photo {
  display: none;
}

.team-info {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px 20px 20px 20px;
  color: white;
}

.team-name {
  font-size: 2em !important;
  font-weight: 700 !important;
  margin: 0;
  white-space: nowrap;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.team-member:not(.active) .team-name {
  transform: rotate(-90deg);
  transform-origin: left bottom;
  position: absolute;
  left: 60px;
  bottom: 30px;
}

.team-member.active .team-name {
  transform: rotate(0deg);
  transform-origin: left bottom;
  position: relative;
  left: 0;
  bottom: 0;
  margin-bottom: 15px;
}

.team-content {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}

.team-member.active .team-content {
  opacity: 1;
  max-height: 300px;
  overflow-y: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .team-showcase {
    flex-direction: column;
    height: auto;
  }

  .team-member {
    flex: 0 0 60px;
    height: 60px;
  }

  .team-member.active {
    height: 400px;
  }
}

/* Offerte menu item styling */
.offerte .elementor-item {
  background-color: var(--e-global-color-primary);
  color: white !important;
  border: 2px solid var(--e-global-color-primary);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.offerte .elementor-item:hover {
  background-color: transparent;
  color: var(--e-global-color-primary) !important;
}

/* Sample menu item styling - omgekeerde stijl van offerte hover */
.sample .elementor-item {
  background-color: transparent;
  color: var(--e-global-color-text) !important;
  border: 2px solid var(--e-global-color-text);
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.sample .elementor-item:hover {
  background-color: var(--e-global-color-text);
  color: white !important;
}

/* ============================================
   Rounded Corner Overlap Effect - Herbruikbaar
   ============================================ */

/* Voeg class "rounded-corner-right-green" toe aan element dat rechts een afgeronde hoek moet krijgen (groen) */
.rounded-corner-right-green {
  position: relative;
  z-index: 1;
}

/* Pseudo-element voor afgeronde hoek rechtsboven - groen */
.rounded-corner-right-green::after {
  content: '';
  position: absolute;
  right: 0;
  top: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at top left, transparent 20px, var(--e-global-color-text) 20px);
  z-index: 2;
}

/* Voeg class "rounded-corner-right-lightgreen" toe aan element dat rechts een afgeronde hoek moet krijgen (lichtgroen) */
.rounded-corner-right-lightgreen {
  position: relative;
  z-index: 1;
}

/* Pseudo-element voor afgeronde hoek rechtsboven - lichtgroen */
.rounded-corner-right-lightgreen::after {
  content: '';
  position: absolute;
  right: 0;
  top: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at top left, transparent 20px, var(--e-global-color-secondary) 20px);
  z-index: 2;
}

/* Responsive: verwijder het effect op mobiel */
@media (max-width: 768px) {
  .rounded-corner-right-green::after,
  .rounded-corner-right-lightgreen::after {
    display: none;
  }
}