/*
Theme Name: Yuwork
Author: Niels van Dijk - n1design.nl
Description: Custom child template for yuwork.nl based on Twenty Twenty-Five parent
Version: 1.0
Template: twentytwentyfive
*/

/* rules */

html {
    scroll-behavior: smooth;
}

/* header */

.logged-in header {
	top: 32px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  transition: transform 0.3s ease;
}

header.header--hidden {
  transform: translateY(-100%);
}

svg.custom-logo {
	width: 195px;
}

svg.custom-logo g {
	transform-box: fill-box;
	transform-origin: center;
	animation: fadeRotateIn 0.8s ease-out forwards;
}

nav ul li a {
  position: relative;
  padding-bottom: 3px;
  text-decoration: none;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: currentColor; /* matches your link color automatically */
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

nav ul li a:hover {
  text-decoration: none;
}

nav ul li a:hover::after {
  width: 100%;
}

.main-menu-btn {
background-color: var(--wp--preset--color--accent-2) !important;
  color: #fff;
  padding: 5px 10px !important;
  display: block;
  border-radius: 2px;
}

.entry-content {
	margin-block-start: 0rem;
}


/* ======= buttons */

.wp-block-button {

  position: relative;
  overflow: hidden;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
	border 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.wp-block-button::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(20deg, transparent, rgba(255,255,255,0.08), transparent);
  transition: left 0.5s ease;
}

.wp-block-button:hover {
  background-color: #DCB490;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.wp-block-button:hover::after {
  left: 160%;
}

.wp-block-button:active {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.button-content-afspraak a::after {
content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M144 0l0 64 160 0 0-64 48 0 0 64 96 0 0 416-448 0 0-416 96 0 0-64 48 0zm0 112l-96 0 0 64 352 0 0-64-256 0zM48 224l0 208 352 0 0-208-352 0z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  transform: translateY(3px) translateX(7px);
}

/* ======= blocks */

#werkwijze h4 {
	overflow-wrap: break-word;
}

#hero p, #hero h1 {
	text-shadow: 0px 2px 3px #00000063, 0px 0px 27px #223234e0;
}


.hero {
	display: flex;
	align-items: center;
}

.hero h1 span {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 600ms ease,
    opacity 600ms ease,
    filter 1000ms ease;
}

.hero h1.is-visible span {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.quote h4 span {
  display: inline-block;
  opacity: 0;
  filter: blur(6px);
  transition:
    transform 600ms ease,
    opacity 600ms ease,
    filter 1000ms ease;
}

.quote h4.is-visible span {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.anim-columns .wp-block-column {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.anim-columns .wp-block-column.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#team .team-member {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* pushes child to bottom */
}

#team .team-member .wp-block-group {
padding-top: 150% !important;
  width: 100%;
}

.blurb {
  background: var(--wp--preset--color--accent-1);
  padding: .5em 1em;
  border-radius: 20px;
  font-size: 80%;
  font-weight: bold;
  color: var(--wp--preset--color--base);
}

.blurb::before {
  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 512a256 256 0 1 1 0-512 256 256 0 1 1 0 512zm84.5-361l-119.4 164.2-69.1-69.1-33.9 33.9 88.9 88.9 19.8 19.9 16.5-22.7 135.9-186.9 14.1-19.4-38.8-28.3-14.1 19.4z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  transform: translateY(2px) translateX(-5px);
}

.yuw-number-list > li::marker {
  font-weight: bold;
  font-family: var(--wp--preset--font-family--gloock);
  color: var(--wp--preset--color--accent-1);
}
.yuw-number-list {
list-style: inside decimal-leading-zero;
  padding: 0;
}

.yuw-testemonial-container {
  position: relative;
  width: 100%;
}

.yuw-testemonial {
  display: none;
  animation: fadeIn 0.9s ease-in-out;
}

.yuw-testemonial.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.yuw-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5rem;
}

.yuw-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.yuw-slider-dot.active {
  background: #555;
}

.yuw-slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 1rem;
}

.yuw-slider-btn {
  background: none;
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s;
}

.yuw-slider-btn:hover {
  border-color: #555;
  color: #555;
}

.yuw-testemonial {
  position: relative;
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 1.5rem;
}

.yuw-testemonial::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 2rem;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #f9f9f9;
  filter: drop-shadow(0 1px 0 #e8e8e8);
}




/* ======= style */

.attn-heading::before {
  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M571.4 267.3l11.3-11.3-11.3-11.3-144-144-11.3-11.3-22.6 22.6 11.3 11.3 116.7 116.7-521.4 0 0 32 521.4 0-128 128 22.6 22.6 155.3-155.3z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  transform: translateY(4px) translateX(0px);
  margin-right: 1em;
}

.attn-link a {
text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  font-size: 80%;
}

.attn-link a::after {
	  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path d="M246.8 256l-11.3 11.3-160 160-11.3 11.3-22.6-22.6 11.3-11.3 148.7-148.7-148.7-148.7-11.3-11.3 22.6-22.6 11.3 11.3 160 160 11.3 11.3z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  transform: translateY(4px) translateX(0px);
  margin-left: 1em;
}


.contact-links a {
text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  font-size: 70%;
}

.contact-link a::after {
	  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path d="M246.8 256l-11.3 11.3-160 160-11.3 11.3-22.6-22.6 11.3-11.3 148.7-148.7-148.7-148.7-11.3-11.3 22.6-22.6 11.3 11.3 160 160 11.3 11.3z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 15px;
  transform: translateY(3px) translateX(0px);
  margin-left: .3em;
}

.bio-link a::after {
	  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M192.1 374.6l11.3-11.3 160-160 11.3-11.3-22.6-22.6-11.3 11.3-148.7 148.7-148.7-148.7-11.3-11.3-22.6 22.6 11.3 11.3 160 160 11.3 11.3z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 15px;
  transform: translateY(3px) translateX(0px);
  margin-left: .3em;
}

.contact-meer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.25s ease;
}

.contact-meer > div {
  min-height: 0;
}

.contact-meer.is-open {
  grid-template-rows: 1fr;
}

.contact-locatie {
position: absolute;
  left: 20px;
  background: #dcf4e6;
  padding: .1em 1em 0.2em;
  border-radius: 18px;
  z-index: 1;
  margin-block-start: -50px;
}


.back-link a {
text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
}


.back-link a::before {
	  content: '';
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M4.8 244.7l-11.3 11.3 11.3 11.3 144 144 11.3 11.3 22.6-22.6-11.3-11.3-116.7-116.7 521.4 0 0-32-521.4 0 116.7-116.7 11.3-11.3-22.6-22.6-155.3 155.3z"/></svg>');
  width: 20px;
  background-color: currentColor;
  display: inline-block;
  mask-repeat: no-repeat;
  mask-size: contain;
  height: 20px;
  transform: translateY(5px) translateX(0px);
  margin-right: 1em;
}
	

/* ======= forms */

/* ======= hax */

/* Remove space above footer */
.wp-block-template-part[data-slug="footer"],
footer.wp-block-template-part {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* ======= responsive */

/* desktop */
@media screen and (min-width: 1024px) {
.hero-content {
	max-width: 660px;
	margin-left: 10%;
}

#contact {
	background: linear-gradient(to left, #f5f2ee 53%, transparent 50%), url('https://yuwork.n1design.nl/wp-content/uploads/2026/04/yuwork-backg2.webp') center bottom / cover;
}


}


/* mobile */
@media screen and (max-width: 1024px) {
	
	#werkwijze .wp-block-group-is-layout-grid {
		grid-template-columns: 1fr;
	}
	
	  .hero-content > *  {
    margin-block-start: 10px;
  }

}

/* ======= keyframes */

@keyframes fadeRotateIn {
  from {
    opacity: 0.6;
    transform: rotate(-60deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes revealIn {
  from { opacity: 0; filter: blur(12px); transform: scale(0.92); }
  to   { opacity: 1; filter: blur(0);    transform: scale(1); }
}

/* 2. finger moves up and fades out */
@keyframes fingerSwipeUp {
  0% { opacity: 0; transform: translateY(0) scale(1.2); }
  10% { opacity: 1; transform: translateY(0) scale(1); }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  70% { opacity: 0.8; transform: translateY(-80px) scale(1); }
  90% { opacity: 0; transform: translateY(-90px) scale(.8); }
  100% { opacity: 0; transform: translateY(-100px) scale(.8); }
}

.finger {
	animation: fingerSwipeUp 2.6s ease-in-out infinite;
	width: 60px;
	height: 60px;
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: url('https://yuwork.n1design.nl/wp-content/uploads/2026/05/yuw-swiper.png');
}

.reveal { opacity: 0; }

.reveal.visible {
  animation: revealIn 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

