/*
Theme Name: Ruud Verhoeven
Version: 1.0
Description: Wordpress theme for Ruud Verhoeven
Author: Ruud Verhoeven
Author URI: https://ruudverhoeven.nl
*/

/* =========================================
   0) BASIS / TOKENS
========================================= */

:root {
  --brand: #B4BD00;
  --gap: clamp(12px, 2vw, 24px);
  color-scheme: light only !important;
}

*, *::before, *::after { box-sizing: border-box; }

html { background-color: #E9EFEA;}
body { margin: 0; background-color: #E9EFEA;}
p:empty { display: none; }

/* Utility */
.text-white { color: #FFFFFF; }
.text-green { color: var(--brand); }

/* =========================================
   1) HEADER
========================================= */

@media (min-width: 1980px) {
  #header { top: 10px; }
}
@media (max-width: 1879px) and (min-width: 900px) {
  #header { top: 15px; }
}

#header {
  background-color: rgba(0,0,0,1);
  border-radius: 20px;
  width: 1440px;
  height: 75px;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.35s ease;
}
#header.with-shadow { box-shadow: 0 4px 20px rgba(0,0,0,0.5); }

.logo {
  background-repeat: no-repeat;
  height: 70px;
  width: 275px;
  margin: 3px 0 0 10px;
}

.navigation { flex: 1; }
.navigation a { color: #FFFFFF; text-decoration: none; }
.navigation a:hover { color: var(--brand) !important; }

.navigation > ul,
.navigation .menu,
.navigation .menu ul {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-evenly;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation .menu li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.navigation .menu li a::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 6px;
  background: url('/wp-content/themes/ruudverhoeven/images/development-icon.svg') no-repeat center/contain;
}

/* Menu iconen */
.navigation .menu .menu-item-72 a::before { background-image: url('/wp-content/themes/ruudverhoeven/images/design-icon.svg'); }
.navigation .menu .menu-item-71 a::before { background-image: url('/wp-content/themes/ruudverhoeven/images/development-icon.svg'); }
.navigation .menu .menu-item-75 a::before { background-image: url('/wp-content/themes/ruudverhoeven/images/about-icon.svg'); }
.navigation .menu .menu-item-78 a::before {
  margin: 0 8px 0 0;
  background-image: url('/wp-content/themes/ruudverhoeven/images/play.svg');
}

/* Hover icon swaps */
.navigation .menu .menu-item-72 a:hover::before { background-image: url('/wp-content/themes/ruudverhoeven/images/design-icon-green.svg'); }
.navigation .menu .menu-item-71 a:hover::before { background-image: url('/wp-content/themes/ruudverhoeven/images/development-icon-green.svg'); }
.navigation .menu .menu-item-75 a:hover::before { background-image: url('/wp-content/themes/ruudverhoeven/images/about-icon-green.svg'); }
.navigation .menu .menu-item-78 a:hover::before {
  margin: 0 8px 0 0;
  background-image: url('/wp-content/themes/ruudverhoeven/images/play-green.svg');
}

/* Menu CTA */
.navigation .menu .menu-item-78 a {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--brand);
  border-radius: 20px;
  padding: 5px 20px 5px 20px;
  margin-top: 10px;
}
.navigation .menu .menu-item-78 a:hover {
  background-color: #FFFFFF;
  color: var(--brand);
  animation: shake 0.4s ease;
}

/* Active states */
.navigation .menu li:not(.menu-item-78).current-menu-item > a,
.navigation .menu li:not(.menu-item-78).current_page_item > a,
.navigation .menu li:not(.menu-item-78).current-menu-ancestor > a,
.navigation .menu li:not(.menu-item-78).current_page_parent > a {
  color: #B4BD00;
}

/* Active icon swaps */
.navigation .menu .menu-item-72.current-menu-item a::before,
.navigation .menu .menu-item-72.current_page_item a::before,
.navigation .menu .menu-item-72.current-menu-ancestor a::before {
  background-image: url('/wp-content/themes/ruudverhoeven/images/design-icon-green.svg');
}
.navigation .menu .menu-item-71.current-menu-item a::before,
.navigation .menu .menu-item-71.current_page_item a::before,
.navigation .menu .menu-item-71.current-menu-ancestor a::before {
  background-image: url('/wp-content/themes/ruudverhoeven/images/development-icon-green.svg');
}
.navigation .menu .menu-item-75.current-menu-item a::before,
.navigation .menu .menu-item-75.current_page_item a::before,
.navigation .menu .menu-item-75.current-menu-ancestor a::before {
  background-image: url('/wp-content/themes/ruudverhoeven/images/about-icon-green.svg');
}

/* =========================================
   2) HOMEPAGE BANNER
========================================= */

#home-banner {
  background-color: var(--brand);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 65vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom-left-radius: 50px;
}
@media (min-width: 1980px) { #home-banner { min-height: 50vh; } }
@media (max-width: 1879px) and (min-width: 900px) { #home-banner { min-height: 62vh; } }

.home-banner-overlay {
  background-color: rgba(180,189,0, 0.5);
  width: 100%;
  min-height: inherit;
  position: absolute;
  top: 0; left: 0;
}

@media (min-width: 1980px) {
  .home-banner-text { width: 1440px; margin: 0 auto; padding: 14vh 0 0 0; }
}
@media (max-width: 1879px) and (min-width: 900px) {
  .home-banner-text { width: 1440px; margin: 0 auto; padding: 17vh 0 0 0; }
}

.payoff {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 55px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 0.6s ease-out 0.5s forwards;
}
h1.payoff-title{
  text-transform: none;
  color: inherit;
  margin: -5px 0px 0px 0px;;
}

.intro {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 35px;
  color: #FFFFFF;
  width: 30%;
  float: right;
  margin-top: -40px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-out 1s forwards;
}

@media (max-width: 900px) {
  .intro { font-size: 20px; }
}

/* =========================================
   3) DISCIPLINES
========================================= */

#disciplines {
  width: 1000px;
  margin: -10vh auto 0;
  position: relative;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  clear: left;
}

.discipline-1,
.discipline-2 {
  flex: 1;
  max-width: calc((100% - 40px) / 2);
  border: 2px solid var(--brand);
  opacity: 0;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.discipline-1 { background-color: #FFFFFF; border-bottom-right-radius: 100px; }
.discipline-2 { background-color: #000000; border-top-left-radius: 100px; }

.discipline-1 { transform: translateX(-100px); animation-name: slideInLeft; }
.discipline-2 { transform: translateX(100px);  animation-name: slideInRight; }

.discipline-1:hover,
.discipline-2:hover {
  transform: translateY(-0px) scale(1.0);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}

.discipline-title-1, .discipline-title-2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 40px;
  text-align: center;
  width: 100%;
  text-transform: uppercase;
  margin-top: 20px;
}
.discipline-title-1 { color: #000000; }
.discipline-title-2 { color: #FFFFFF; }

.discipline-intro-1, .discipline-intro-2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 25px;
  text-align: center;
  width: 100%;
  padding: 0 20px;
  margin: 20px 0 50px 0;
}
.discipline-intro-1 { color: #000000; } /* FIX: typo was discpipline-intro-1 */
.discipline-intro-2 { color: #FFFFFF; }

.discipline-icon {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin: 20px 0 auto;
  height: 115px;
}

/* =========================================
   4) ABOUT ME
========================================= */

#about-me {
  background-color: #000000;
  width: 100%;
  margin-top: 100px;
  padding: 75px 0;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
}

.card {
  width: 1000px;
  margin: 0 auto;
  height: auto;
  display: flex;
}

.card-img {
  background-size: cover;
  background-position: center center;
  flex: 1;
  margin: 40px;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
  border: 2px solid var(--brand);
}
.card-img:hover {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.03);
}
.card-img { animation: blob 8s ease-in-out infinite; } /* keyframes blob staan niet in dit bestand; voeg toe als nodig */

.card-text {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.card-text h2 {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 40px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: -30px;
}
.card-text p {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 25px;
  color: #FFFFFF;
}
.card-text a {
  font-weight: 700;
  background-color: var(--brand);
  padding: 10px 16px;
  border-radius: 40px;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.card-text a::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 8px;
  background: url('/wp-content/themes/ruudverhoeven/images/play.svg') no-repeat center/contain;
}
.card-text a:hover {
  background-color: #FFFFFF;
  color: var(--brand);
  animation: shake 0.4s ease;
}
.card-text a:hover::before {
  background: url('/wp-content/themes/ruudverhoeven/images/play-green.svg') no-repeat center/contain;
}

/* About me – entry animaties zoals Disciplines */
#about-me .card-img {
  opacity: 0;
  transform: translateX(-100px);
  animation: slideInLeft 0.9s ease-out 0.4s forwards;
  max-height: 400px;
}
#about-me .card-text {
  opacity: 0;
  transform: translateX(100px);
  animation: slideInRight 0.9s ease-out 0.55s forwards;
}
@media (prefers-reduced-motion: reduce) {
  #about-me .card-img,
  #about-me .card-text {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================
   5) FEATURED (PORTFOLIO OVERVIEW)
========================================= */

.portfolio-text a {
	text-decoration: underline;
	text-decoration-color: var(--brand);
}
#featured {
  background-color: #E9EFEA;
  width: 100%;
  padding: 100px 0;
}

#featured h2 a:hover {
	color: #000000;
}

#featured h2 a {
	color: var(--brand);
}

#page-featured {
  background-color: #CED6D0;
  width: 100%;
  padding: 75px 0;
  min-height: 600px;
}

.featured-content {
  /*max-width: 1400px;*/
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  box-sizing: border-box;
  margin-bottom: 40px;
}

.featured-title {
  width: 100%;
  color: var(--brand);
}
#page-featured .featured-title {
  width: 100%;
  color: #000000;
}

.featured-card-category {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.9;
  z-index: 2;
  display: inline-block;
  padding: 5px 8px;
  background-color: #000000;
}

@media (max-width: 900px) {
	.featured-card-category {
	font-size: 18px;
  }
}

.featured-card {
  flex: 0 0 calc((100% - 2 * var(--gap)) / 3);
  max-width: calc((100% - 2 * var(--gap)) / 3);
  box-sizing: border-box;

  opacity: 0;
  transform: translateY(40px);
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-play-state: paused;
  will-change: transform, opacity;
}

@media (max-width: 960px) {
  .featured-card {
    flex: 0 0 calc((100% - 1 * var(--gap)) / 2);
    max-width: calc((100% - 1 * var(--gap)) / 2);
  }
}
@media (max-width: 600px) {
  .featured-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.featured-card:nth-child(3n+1) { animation-name: slideInLeft; }
.featured-card:nth-child(3n+2) { animation-name: slideInUp; }
.featured-card:nth-child(3n+3) { animation-name: slideInRight; }

.featured-card.is-visible {
  opacity: 1;
  transform: none;
  animation-play-state: running;
}

@media (prefers-reduced-motion: reduce) {
  .featured-card { animation: none !important; opacity: 1 !important; transform: none !important; }
}

.featured-card-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  width: 100%;
}

.featured-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.featured-card-link:hover .featured-card-img {
  transform: translateY(-0px) scale(1.0);
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
  cursor: pointer;
}

.featured-card:nth-child(4n+1) .featured-card-img { border-top-left-radius: 40px; }
.featured-card:nth-child(4n+2) .featured-card-img { border-top-right-radius: 40px; }
.featured-card:nth-child(4n+3) .featured-card-img { border-bottom-left-radius: 40px; }
.featured-card:nth-child(4n+4) .featured-card-img { border-bottom-right-radius: 40px; }

.featured-card-title {
  display: inline-block;
  margin: 20px;
  padding: 5px 8px;
  color: #FFFFFF;
  background-color: var(--brand);
} /* FIX: missing closing brace was breaking the rest of the file */


/* =========================================
   6) CUSTOMERS (fluid responsive)
========================================= */

#customers{
  width:100%;
  max-width:1440px;
  margin:0 auto;

  /* top/right/bottom/left */
  padding:clamp(32px, 4vw, 50px) 20px clamp(80px, 10vw, 150px) 20px;
}

.customers-title{
  margin-bottom:clamp(20px, 3vw, 30px);
}

#customers .customers-logos{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:clamp(12px, 2vw, 24px);
  align-items:center;
}

#customers .customer-logo img {
	max-height: 65px;
}

/* 5 -> 4 */
@media (max-width: 1200px){
  #customers .customers-logos{
    grid-template-columns:repeat(4, 1fr);
  }
}

/* 4 -> 3 */
@media (max-width: 900px){
  #customers .customers-logos{
    grid-template-columns:repeat(3, 1fr);
  }
}

/* 3 -> 2 (tablet portrait + mobile) */
@media (max-width: 640px){
  #customers .customers-logos{
    grid-template-columns:repeat(2, 1fr);
  }

  #customers .customer-logo{
    height:90px;
    padding:8px 12px;
	}

  #customers .customer-logo img{
    max-height:48px;
  }
}

/* kleine telefoons */
@media (max-width: 420px){
  #customers .customer-logo{
    height:80px;
    padding:6px 10px;
  }

  #customers .customer-logo img{
    max-height:40px;
  }
}

#customers .customer-logo{
  height: 110px;                 /* visuele regelmaat */
  padding:10px 20px;            /* lucht rondom logo */
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (max-width: 640px){
  #customers .customer-logo{
    margin-bottom: -40px;
  }
	
#customers .customer-logo img{
  max-width:100%;
  max-height:70px;              /* NIET height → voorkomt opgeblazen smalle logo’s */
  width:auto;
  height:auto;
  object-fit:contain;
  display:block;
  opacity:0.85;
  transition:opacity .25s ease, transform .25s ease, filter .25s ease;
}
}

/* =========================================
   6) BLOG OVERVIEW
========================================= */

#blog {
  background-color: #B4BD00;
  width: 100%;
  padding: 100px 0;
  border-top-right-radius: 50px;
}

#blog-index {
  background-color: #E9EFEA;
  width: 100%;
  padding: 100px 0px 175px 0px;
  border-top-right-radius: 50px;
}

h2.blog-title a.arrow {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease;
}

h2.blog-title a.arrow > span {
  display: inline-block;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}

h2.blog-title a.arrow::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 55%;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  background: url('/wp-content/themes/ruudverhoeven/images/play-black.svg') no-repeat center / contain;
  transform: translate(0, -50%);
  opacity: 1;
  transition:
    transform .25s cubic-bezier(.22,.61,.36,1),
    opacity .18s ease;
}

h2.blog-title a.arrow:hover {
  color: #000;
}

h2.blog-title a.arrow:hover::after {
  transform: translate(20px, -50%);
  opacity: 1;
}

h2.blog-title a.arrow:hover > span {
  transform: translateX(5px);
}

.blog-content {
  /*max-width: 1400px;*/
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  padding-bottom: 100px;
}

.blog-card {
  flex: 0 0 calc((100% - 2 * 40px) / 3);
  display: flex;
  background-color: #FFFFFF;
  border-radius: 0px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  will-change: opacity, transform;
}

#blog-index .blog-card {
  flex: 0 0 calc((100% - 40px) / 2);
  display: flex;
  background-color: #FFFFFF;
  border-radius: 0px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  will-change: opacity, transform;
}

@media (max-width: 960px) {
  #blog-index .blog-card { flex: 0 0 100%; }
}

#blog-index .blog-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#blog-index .blog-card-img{
  flex: 0 0 160px;
  border-right: 10px solid #F5F5F5;
}

#blog-index .blog-card-title{
  font-size: 35px;
  color: var(--brand);
}

@media (max-width: 960px){
  #blog-index .blog-grid .blog-card{ flex: 0 0 100%; }
	.blog-card-title {
		font-size: 20px !important;
	}
}

#blog-index .blog-grid .blog-card{
  flex: 0 0 calc((100% - 40px) / 2);
}

.blog-card-meta {
  font-family: 'Oswald', sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: #707070;
  margin: 15px 0px 15px 0px;
}
.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.blog-card-link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.blog-card-img {
  flex: 0 0 100px;
  align-self: stretch;
  background-size: cover;
  background-position: center;
  border-right: 5px solid #B4BD00;
}

.blog-card-text {
  flex: 1;
  padding: 10px 16px;
}

.blog-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

@media (max-width: 960px) {
  .blog-card { flex: 0 0 calc((100% - 40px) / 2); }
}
@media (max-width: 600px) {
  .blog-card { flex: 0 0 100%; }
}

.blog-card:nth-child(4n+1) { border-top-left-radius: 40px; }
.blog-card:nth-child(4n+2) { border-top-right-radius: 40px; }
.blog-card:nth-child(4n+3) { border-bottom-left-radius: 40px; }
.blog-card:nth-child(4n+4) { border-bottom-right-radius: 40px; }

#blog-index .blog-card:nth-child(4n+1) { border-top-left-radius: 40px; }
#blog-index .blog-card:nth-child(4n+2) { border-bottom-right-radius: 40px; }
#blog-index .blog-card:nth-child(4n+3) { border-top-right-radius: 40px; }
#blog-index .blog-card:nth-child(4n+4) { border-bottom-left-radius: 40px; }

.blog-card.is-visible {
  animation: blogPop 0.6s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

.blog-card-excerpt {
  font-size: 25px;
  line-height: 1.5;
  opacity: 0.85;
  margin-top: 6px;
}
.blog-card:hover .blog-card-excerpt {
	color: #000000;
}
.blog-card-more {
  font-weight: 500;
  opacity: 0.9;
}

.blog-title{
  font-family: 'Oswald', sans-serif;
  color: #000000;
  font-size: 40px;
  font-weight: 700;
  width: 100%;
}
@media (max-width: 600px) {
  .blog-title {
  font-size: clamp(30px, 6vw, 32px);
	}
  .blog-card-excerpt {
  font-size: clamp(20px, 4.2vw, 25px);
  line-height: 1.3;
}
}

@media (max-width: 900px) {
    .portfolio-caption {
        font-size: clamp(20px, 4.2vw, 25px) !important;
        line-height: 1.5;
		color: #000000 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
  .blog-card,
  .blog-card.is-visible {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================
   7) PORTFOLIO SINGLE
========================================= */

#portfolio-single {
  width: 1440px;
  margin: 0 auto;
  padding: 80px 0;
}

.portfolio-grid {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-top: -25px;
}

.portfolio-col {
  flex: 1;
  min-width: 0;
}

.portfolio-images {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 25px;
}

.portfolio-image-inner {
  width: 95%;
  margin-left: 15px;
  height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 50%;
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.portfolio-image-inner-screens {
  width: 100%;
  height: 420px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0px 0px 50px 0px;
}

@media (max-width: 768px) {
  .portfolio-grid { align-items: flex-start; }
  .portfolio-col-media { order: 1 !important; }
  .portfolio-col-text  { order: 2 !important; }
  .portfolio-image-inner-screens { margin: 0px; }

}

.portfolio-image:nth-child(4n+1):hover .portfolio-image-inner,
.portfolio-image:nth-child(4n+2):hover .portfolio-image-inner,
.portfolio-image:nth-child(4n+3):hover .portfolio-image-inner,
.portfolio-image:nth-child(4n+4):hover .portfolio-image-inner {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.02);
}

.portfolio-image:nth-child(4n+1) .portfolio-image-inner { border-radius: 60% 40% 55% 45% / 55% 60% 40% 45%; }
.portfolio-image:nth-child(4n+2) .portfolio-image-inner { border-radius: 45% 55% 40% 60% / 50% 45% 55% 50%; }
.portfolio-image:nth-child(4n+3) .portfolio-image-inner { border-radius: 50% 60% 45% 55% / 60% 40% 55% 45%; }
.portfolio-image:nth-child(4n+4) .portfolio-image-inner { border-radius: 55% 45% 60% 40% / 45% 55% 50% 60%; }

@media (min-width: 981px) {
  .portfolio-col-media {
    position: sticky;
    top: 140px;
  }
}

.portfolio-caption {
  font-family: 'Oswald';
  font-size: 22px;
  color: #666;
  margin: 25px 0px 50px 0px;
  /*opacity: 0.75;*/
  text-align: center;
  font-weight: 300;
}

.portfolio-block + .portfolio-block {
  margin-top: 40px;
}

@media (max-width: 980px) {
  #portfolio-single {
    width: 100%;
    padding: 50px 20px;
  }
  .portfolio-grid {
    flex-direction: column;
    gap: 30px;
  }
  .portfolio-image-inner {
    height: 280px;
  }
}

.portfolio-back {
  margin: 0px 0px 40px 0px;
}

.back-button {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -75px;
}

.back-button:hover {
  color: var(--brand);
  animation: shake 0.4s ease;
}

/* =========================================
   8) FOOTER
========================================= */

#footer {
  background-color: #000000;
  width: 100%;
  padding: 50px 0px 50px 0px;
}

.footer-content {
  width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-menus{
  display: flex;
  gap: 60px;              /* ruimte tussen de twee menu’s */
  justify-content: flex-end;
  align-items: flex-start;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.footer-menu li a {
  font-family: 'Oswald';
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase; /* FIX: removed stray 's' */
}
.footer-menu li a:hover { color: var(--brand); }

.footer-contact{
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
}

.footer-menu-first {
  width: 150px;
}

.footer-contact-item{
  font-family: 'Oswald';
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-contact-item:hover{
  color: var(--brand);
}

.footer-contact-meta{
  font-family: 'Oswald';
  font-size: 14px;
  opacity: .8;
  color: #fff;
}
#footer .footer-contact-key .contact-icon{
  width: 20px;
  display: inline-block;
  margin: -10px 5px 0 0 !important;
}

/* =========================================
   9) PAGE (generic templates)
========================================= */

#page-banner {
  background-color: var(--brand);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 20vh;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-bottom-left-radius: 50px;
}

@media (min-width: 1980px) {
  .page-banner-text { width: 1440px; margin: 0 auto; padding: 7vh 0 0 0; }
}
@media (max-width: 1879px) and (min-width: 900px) {
  .page-banner-text { width: 1440px; margin: 0 auto; padding: 67vh 0 0 0; }
}

#page-content, #officials-content {
  width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  padding: 100px 0;
}

.page-content-text,
.page-content-img,
.page-content-imgs,
.page-content-form {
  flex: 1;
}

.page-content-text img {
	border: 1px solid #FFFFFF;
}

.page-content-text a {
  text-decoration: underline;
  text-decoration-color: #B4BD00;
}

.page-content-text a:hover {
  text-decoration: underline;
  text-decoration-color: #B4BD00;
  /*text-decoration-thickness: 3px;*/
}

.page-content-img {
  position: relative;
}

.page-content-img-inner {
  position: relative;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--blob-radius, 55% 45% 60% 40% / 50% 60% 40% 50%);
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
  min-height: 500px;
  max-height: 500px;
}

.page-content-img:hover .page-content-img-inner {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.03);
}

.page-content-shadow {
  position: absolute;
  top: 18px;
  left: 12px;
  width: 100%;
  height: 525px;
  z-index: 1;
  background-color: rgba(185, 200, 0, 1);
  border-radius: var(--blob-shadow-radius, 60% 40% 50% 50% / 50% 60% 40% 50%);
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.page-content-img:hover .page-content-shadow {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.02) translateY(4px);
}

.page-content-caption {
  font-size: 22px;
  color: #666;
  margin: 25px 0px 50px 0px;
  text-align: center;
}

.page-content-bullets {
  width: 800px;
  margin: 0 auto;
  padding: 50px 0px 50px 0px;
}

#page-featured {
  background-color: #CED6D0;
  width: 100%;
  height: 400px;
  border-top-right-radius: 50px;
  border-bottom-left-radius: 50px;
}

.single .page-content-img-inner {
  min-height: 260px;
  max-height: 260px;
}

.page-content-img-inner.page-content-inner-single {
  min-height: 300px;
  max-height: 500px;
  border: 1px solid #FFFFFF;
}

/* Single content: 2/3 tekst - 1/3 beeld */
#page-content.page-content-single-content .page-content-text {
  flex: 2;
}

#page-content.page-content-single-content .page-content-imgs {
  flex: 1;
  min-width: 0; /* voorkomt overflow issues bij lange content */
}

/* =========================================
   10) CONTACT
========================================= */

.contact-icon {
  width: 20px;
  display: inline-block;
  margin: 15px 20px 0px 0px;
}
.contact-icon-kvk { color: var(--brand); margin-right: 20px; }
.contact-icon-btw { color: var(--brand); margin-right: 17px; }

.contact-content a {
  text-decoration: none;
}
.contact-content a:hover {
  text-decoration: none;
}

input {
  width: 100%;
  height: 45px;
  border: 1px solid var(--brand);
}
textarea {
  width: 100%;
  height: 150px !important; /* FIX: was heigth */
  border: 1px solid var(--brand);
}

/* reset basis */
.wpcf7-form input,
.wpcf7-form textarea {
  border-radius: 0;
}

/* Ritme op basis van de <p> wrappers */
.wpcf7-form p:nth-of-type(4n+1) input,
.wpcf7-form p:nth-of-type(4n+1) textarea { border-top-left-radius: 16px; }
.wpcf7-form p:nth-of-type(4n+2) input,
.wpcf7-form p:nth-of-type(4n+2) textarea { border-top-right-radius: 16px; }
.wpcf7-form p:nth-of-type(4n+3) input,
.wpcf7-form p:nth-of-type(4n+3) textarea { border-bottom-left-radius: 16px; }
.wpcf7-form p:nth-of-type(4n+4) input,
.wpcf7-form p:nth-of-type(4n+4) textarea { border-bottom-right-radius: 16px; }

/* Submit knop (CTA-stijl) */
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 25%;
  padding: 7px 10px 15px 10px;
  background-color: var(--brand);
  color: #FFFFFF;
  border-radius: 25px;
  border: 0;
  cursor: pointer;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  font-family: 'Oswald';
  font-size: 20px;
  text-transform: uppercase;
}

.wpcf7-form input[type="submit"] {
  background-image: url('/wp-content/themes/ruudverhoeven/images/play.svg');
  background-repeat: no-repeat;
  background-position: left 12px center;
  background-size: 22px;
  padding-left: 36px;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button[type="submit"]:hover {
  background-color: #000000;
  color: #FFFFFF;
  animation: shake 0.4s ease;
}

/* wrapper */
.contact-img {
  position: relative;
  width: 250px;
  height: 250px;
}

/* echte afbeelding */
.contact-img-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--blob-radius, 55% 45% 60% 40% / 50% 60% 40% 50%);
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.contact-img:hover .contact-img-inner {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.04);
}

.contact-img-shadow {
  position: absolute;
  top: 12px;
  left: 10px;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(192, 210, 0, 0.65);
  border-radius: var(--blob-shadow-radius, 60% 40% 50% 50% / 50% 60% 40% 50%);
  transition: border-radius 0.6s ease-in-out, transform 0.6s ease-in-out;
}

.contact-img:hover .contact-img-shadow {
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
  transform: scale(1.02) translateY(6px);
}

.wpcf7 form.sent .wpcf7-response-output {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 25px;
  background-color: var(--brand);
  color: #FFFFFF;
  padding: 20px;
  border-top-left-radius: 40px;
  border: 0px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  font-family: 'Oswald';
  font-size: 20px;
  font-weight: 500;
  border-color: #FF0000 !important;
  background-color: #FF0000;
  border-top-left-radius: 20px;
  color:#FFFFFF;
}

.contactform-instruction {
	font-size: 15px;
}

/* =========================================
   11) TYPOGRAPHY (global)
========================================= */

h1 {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 55px;
  color: #FFFFFF;
  text-transform: uppercase;
}

/* Als je h1 een link bevat: laat die de h1-kleur erven */
h1 a { color: inherit; }

h2 {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 45px;
  color: var(--brand);
  margin: 0px;
}
h3 {
  font-family: 'Oswald';
  font-weight: 700;
  font-size: 35px;
  color: var(--brand);
  margin: 0px;
}
p {
  font-family: 'Oswald';
  font-weight: 300;
  font-size: 25px;
}

a {
  cursor: pointer !important;
}

::before,
::after {
  pointer-events: none;
}

ol, ul {
  font-family: 'Oswald';
  font-weight: 300;
  font-size: 25px;
  line-height: 25px;
}

.page-content-bullets ul, .page-content-text ul {
  list-style: none;
  padding-left: 0;
}
.page-content-bullets ul li, .page-content-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
.page-content-bullets ul li::before, .page-content-text ul li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #B4BD00;
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
}
.page-content-bullets ul li:hover::before, .page-content-text ul li:hover::before {
  transform: scale(1.3);
  transition: transform .25s ease;
}

/* Custom bullets ook in single content */
.page-content-single-content .page-content-text ul {
  list-style: none;
  padding-left: 0;
}

.page-content-single-content .page-content-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.page-content-single-content .page-content-text ul li::before {
  content: "";
  position: absolute;
  top: 11px; /* 6px + 5px */
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #B4BD00;
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
}

.page-content-single-content .page-content-text ul li:hover::before {
  transform: scale(1.3);
  transition: transform .25s ease;
}

/* Custom bullets ook in officials */
#officials-content ul {
  list-style: none;
  padding-left: 0;
}

#officials-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

#officials-content ul li::before {
  content: "";
  position: absolute;
  top: 11px; /* 6px + 5px */
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #B4BD00;
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
}

/* Custom bullets ook in portfolio */
#portfolio-single ul {
  list-style: none;
  padding-left: 0;
}
#portfolio-single ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
#portfolio-single ul li::before {
  content: "";
  position: absolute;
  top: 11px; /* 6px + 5px */
  left: 0;
  width: 14px;
  height: 14px;
  background-color: #B4BD00;
  border-radius: 60% 40% 50% 50% / 45% 55% 55% 45%;
}

#portfolio-single ul li:hover::before {
  transform: scale(1.3);
  transition: transform .25s ease;
}

a { text-decoration: none; color: #000000; }
a:hover { color: #B4BD00; }

/* Sticky footer voor de Officials-template */
body.page-template-officials,
body.page-template-officials-php {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Laat de tekstsectie de resterende hoogte vullen */
body.page-template-officials #officials-content,
body.page-template-officials-php #officials-content {
  flex: 1;
}

.post-date {
  font-size: 20px;
  line-height: 100px;
  color: #707070;
  font-style: italic;
  font-weight: 300;
}
/* =========================================
   12) CALL TO ACTION (section)
========================================= */

#calltoaction {
  width: 100%;
  background-color: var(--brand);
  border-top-right-radius: 50px;
}

.cta {
  width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-text { flex: 4; }
.cta-button {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.cta p {
  font-size: 35px;
  font-weight: 700;
  padding: 50px 0;
}

.cta a {
  font-family: 'Oswald';
  font-size: 25px;
  font-weight: 700;
  background-color: #000000;
  padding: 10px 16px;
  border-radius: 40px;
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}
.cta a::before {
  content: "";
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 8px;
  background: url('/wp-content/themes/ruudverhoeven/images/play.svg') no-repeat center/contain;
}
.cta a:hover {
  background-color: #FFFFFF;
  color: var(--brand);
  animation: shake 0.4s ease;
}
.cta a:hover::before {
  background: url('/wp-content/themes/ruudverhoeven/images/play-green.svg') no-repeat center/contain;
}

/* =========================================
   13) ANIMATIONS / KEYFRAMES
========================================= */

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-2px); }
  40%, 80% { transform: translateX(2px); }
}

@keyframes slideUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blogPop {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Deduped: keep one definitive version of these */
@keyframes slideInLeft  { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px);  } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp    { from { opacity: 0; transform: translateY(40px);  } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   14) FONTS
========================================= */

@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-ExtraLight.woff2') format('woff2');
  font-weight: 200; font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-Light.woff2') format('woff2');
  font-weight: 300; font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal;
}
@font-face {
  font-family: 'Oswald';
  src: url('https://ruudverhoeven.nl/wp-content/themes/ruudverhoeven/fonts/Oswald-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal;
}



/* =========================================
   FOOTER — optie A: alles verticaal (kolommen)
========================================= */

@media (min-width: 901px){

  /* 1) Footer wordt 3 kolommen */
  .footer-content{
    display: grid;
    grid-template-columns: auto 1fr auto; /* logo | contact | legal */
    align-items: start;
    column-gap: 80px;
  }

  /* 2) Contact links uitlijnen (rustiger dan rechts) */
  .footer-contact{
    text-align: left;
    align-items: flex-start;
  }

  /* 3) Legal menu ook verticaal */
  .footer-menu ul{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 4) Legal links subtieler maken */
  .footer-menu li a{
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.02em;
    opacity: 0.85;
  }

  .footer-menu li a:hover{
    opacity: 1;
  }
}

/* =========================================
   PORTFOLIO
========================================= */

.portfolio-content {
  margin-bottom: 125px;
}

.portfolio-intro,
.portfolio-filter-chips{
  width: 1440px;
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.portfolio-intro{
  padding: 100px 0px 25px 0px;
}

.portfolio-filter-chips{
  padding: 0px 0px 50px 0px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.portfolio-filter-chips .chip{
  font-family: 'Oswald';
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  line-height: 18px;
  background-color: #FFFFFF;
  border: 2px solid var(--brand);
  color: var(--brand);
  padding: 10px 30px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 900px){
.portfolio-filter-chips .chip{
  font-size: 20px;
  padding: 7px 15px;
}

.portfolio-filter-chips .chip:hover{
  font-family: 'Oswald';
  font-size: 20px;
  line-height: 18px;
  background-color: var(--brand);
  border: 2px solid var(--brand);
  color: #FFFFFF;
  padding: 10px 30px;
  border-radius: 40px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.portfolio-filter-chips .chip.is-active{
  background-color: var(--brand);
  border-color: var(--brand);
  color: #FFFFFF;
}

/*
.portfolio-filter-chips .chip:nth-child(4n+1) { border-top-left-radius: 20px; }
.portfolio-filter-chips .chip:nth-child(4n+2) { border-top-right-radius: 20px; }
.portfolio-filter-chips .chip:nth-child(4n+3) { border-bottom-left-radius: 20px; }
.portfolio-filter-chips .chip:nth-child(4n+4) { border-bottom-right-radius: 20px; }
*/


#featured h2 a.arrow, #page-featured h2 a.arrow {
  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color .2s ease;
}

#featured h2 a.arrow > span, #page-featured h2 a.arrow > span {
  display: inline-block;
  transition: transform .25s cubic-bezier(.22,.61,.36,1);
}

#featured h2 a.arrow::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 55%;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  background: url('/wp-content/themes/ruudverhoeven/images/play-green.svg') no-repeat center / contain;
  transform: translate(0, -50%);
  opacity: 1;
  transition:
    transform .25s cubic-bezier(.22,.61,.36,1),
    opacity .18s ease;
}

#page-featured h2 a.arrow::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 55%;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  background: url('/wp-content/themes/ruudverhoeven/images/play-black.svg') no-repeat center / contain;
  transform: translate(0, -50%);
  opacity: 1;
  transition:
    transform .25s cubic-bezier(.22,.61,.36,1),
    opacity .18s ease;
}

#page-featured h2 a:hover {
	color: #000000 !important;
}

#featured h2 a.arrow:hover, #page-featured h2 a.arrow:hover {
  color: var(--brand);
}

#featured h2 a.arrow:hover::after, #page-featured h2 a.arrow:hover::after {
  transform: translate(20px, -50%);
  opacity: 1;
}

#featured h2 a.arrow:hover > span, #page-featured h2 a.arrow:hover > span {
  transform: translateX(5px);
}

.portfolio-pagination {
  width: 1440px;
  margin: 0 auto;
}

.portfolio-pagination ul li {
  display: inline-block;
}

ul.pagination {
  margin: 0px 0px 0px -40px;
}

.portfolio-pagination ul li .page-numbers {
  font-family: 'Oswald';
  font-size: 18px;
  font-weight: 400;
  padding: 10px 14px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background-color: #E9EFEA;
  color: var(--brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.pagination-item a {
  color: var(--brand);
}

.portfolio-pagination ul li .page-numbers.current {
  color: #FFFFFF;
  background-color: var(--brand);
  border-color: var(--brand);
}

.portfolio-pagination ul li a.page-numbers:hover {
  color: #FFFFFF;
  background-color: var(--brand);
  border-color: var(--brand);
}
