/*
Theme Name: StapVoorStapVrij
Theme URI: https://stapvoorstapvrij.nl
Author: ChatGPT
Author URI: https://chat.openai.com
Description: Minimal, snelle, responsive WordPress theme gebaseerd op stapvoorstapvrij.nl met WooCommerce en formulier-styling.
Version: 1.2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stapvoorstapvrij
*/

/* Kleuren en layout */
:root {
  --color-bg: #ffffff;
  --color-fg: #111111;
  --color-muted: #6b7280;
  --color-primary: #ff0066;
  --color-primary-contrast: #ffffff;
  --color-accent: #7db0ea;
  --color-accent-2: #e45bb0;
  --color-border: #e5e7eb;

  --nav-bg: #7db0ea;
  --nav-link: #0a2540;
/*   --nav-link-hover-bg: rgba(255,255,255,.12); */
	--nav-link-hover-bg: #ff0066;
  --nav-sub-bg: #0b89c2;

  --radius: 14px;
  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --container: 1120px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica Neue, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(to right, #d9e4f5, #f2f6fc);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding: 0 1rem; }

/* === HEADER === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.site-title {
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
  color: var(--color-fg);
  text-decoration: none;
}

.site-title:hover {
  color: var(--color-primary);
}

.site-description {
  margin: 0;
  font-size: .85rem;
  color: var(--color-muted);
  line-height: 1.3;
}

/* === PRIMARY MENU === */
/*.primary-nav {
  background: var(--nav-bg);
}

.primary-nav .nav-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.primary-nav .nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: #000;
  border-radius: .7rem;
  padding: 1rem 1rem;
  font-weight: 600;
  cursor: pointer;
	font-size: 20px;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav .menu > li {
  position: relative;
}

.primary-nav .menu > li > a {
  display: block;
  padding: .85rem 1.1rem;
  color: var(--nav-link);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.primary-nav .menu > li:hover > a {
  background: var(--nav-link-hover-bg);
  color: #fff;
}
*/
/* Submenu */
/*
.primary-nav .menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--nav-sub-bg);
  list-style: none;
  margin: 0;
  padding: .4rem 0;
  border-radius: .6rem;
  box-shadow: var(--shadow);
}

.primary-nav .menu li:hover > .sub-menu {
  display: block;
}

.primary-nav .menu li .sub-menu a {
  display: block;
  padding: .65rem .9rem;
  color: #fff;
  font-size: .9rem;
}

.primary-nav .menu li .sub-menu a:hover {
  background: rgba(255,255,255,.15);
}
*/
/* Responsive nav */
/*
@media (max-width: 900px) {
  .primary-nav .nav-toggle {
    display: inline-flex;
  }

  .primary-nav .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .primary-nav.open .menu {
    display: flex;
  }

  .primary-nav .menu > li > a {
    padding: .9rem 1rem;
    border-top: 1px solid rgba(255,255,255,.15);
  }

  .primary-nav .menu li .sub-menu {
    position: static;
    display: none;
    background: rgba(255,255,255,.06);
    border-radius: 0;
    box-shadow: none;
  }

  .primary-nav .menu li.open > .sub-menu {
    display: block;
  }
}
*/

/* === PRIMARY MENU === */
.primary-nav {
  background: var(--nav-bg);
}

.primary-nav .nav-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap; /* voorkomt horizontale scroll */
}

.primary-nav .nav-toggle {
  display: none !important; /* hamburger knop nooit tonen */
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap; /* items lopen door op nieuwe regel */
}

.primary-nav .menu > li {
  position: relative;
}

.primary-nav .menu > li > a {
  display: block;
  padding: .85rem 1.1rem;
  color: var(--nav-link);
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}

.primary-nav .menu > li:hover > a {
  background: var(--nav-link-hover-bg);
  color: #fff;
}

/* Submenu */
.primary-nav .menu li .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--nav-sub-bg);
  list-style: none;
  margin: 0;
  padding: .4rem 0;
  border-radius: .6rem;
  box-shadow: var(--shadow);
}

.primary-nav .menu li:hover > .sub-menu {
  display: block;
}

.primary-nav .menu li .sub-menu a {
  display: block;
  padding: .65rem .9rem;
  color: #fff;
  font-size: .9rem;
}

.primary-nav .menu li .sub-menu a:hover {
  background: rgba(255,255,255,.15);
}

.primary-nav .menu > li:hover > a,
.primary-nav .menu > li.current-menu-item > a,
.primary-nav .menu > li.current_page_item > a,
.primary-nav .menu > li.current-menu-ancestor > a {
  background: var(--nav-link-hover-bg);
  color: #fff;
}

/* Responsive nav */
@media (max-width: 900px) {
  .primary-nav .menu {
    display: flex !important;
    flex-wrap: wrap;            /* breekt af naar nieuwe regel als het niet past */
    justify-content: space-evenly; /* items verdelen */
    width: 100%;
  }

  .primary-nav .menu > li {
    flex: 1 1 auto;             /* ieder item krijgt gelijke ruimte */
    text-align: center;         /* tekst centreren */
  }

  .primary-nav .menu > li > a {
    padding: .5rem .6rem;       /* kleinere knoppen */
    font-size: .8rem;           /* kleinere tekst */
    display: block;
  }

  .primary-nav .menu li .sub-menu {
    position: static; 
    background: rgba(255,255,255,.06);
    border-radius: 0;
    box-shadow: none;
  }

  .primary-nav .menu li:hover > .sub-menu {
    display: block;
  }
}


/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #7db0ea 0%, #e45bb0 60%, #ff0066 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,.12), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(0,0,0,.15), transparent 70%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

/* Headline */
.hero .headline {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 4px 12px rgba(0,0,0,.25);
  animation: fadeDown 1s ease-out;
}

/* Subhead */
.hero .subhead {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  display: inline-block;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.6);
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
  backdrop-filter: blur(4px);
  animation: glowIn 1.5s ease-out;
}

/* Animations */
@keyframes glowIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* CTA Row */
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 1.4s ease-out;
}

/* Buttons */
.hero .button {
  display: inline-block;
  padding: 0.9rem 1.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  color: #ff0066;
  box-shadow: 0 6px 16px rgba(0,0,0,.2);
}

.hero .button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

/* Secondary button */
.hero .button.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.hero .button.secondary:hover {
  background: #fff;
  color: #ff0066;
}

/* Third button */
.hero .button.third {
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  color: #fff;
  border: 2px solid rgba(255,255,255,.3);
}

.hero .button.third:hover {
  background: #fff;
  color: #ff0066;
}

@keyframes fadeDown {
  from { transform: translateY(-30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

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

/* Responsiveness */
@media (max-width: 768px) {
  .hero { padding: 4rem 1rem; }
  .hero .headline { font-size: 2.2rem; }
  .hero .subhead { font-size: 1.1rem; }
}

/* Sections & cards */
.section { padding: 2.5rem 0;  }
.card { background: rgba(255,255,255, 0.3); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
/* .site-footer { border-top: 1px solid var(--color-border); padding: 2rem 0; color: var(--color-muted); }
.footer-inner { display: grid; gap: 1rem; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
 */
/* FOoter NIEUW */
.site-footer {
  background: #f8f8f8;
  color: #555;
  font-size: 14px;
  padding: 30px 0;
  border-top: 1px solid #e5e5e5;
}

.site-footer a {
  color: #444;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 180px;
}

.footer-col h4 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #222;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin: 4px 0;
}

/* mobiel */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 20px;
  }
}

.footer-header {
	line-height: 1.2;
	color: #555;
	font-weight: bold;
}


/* Content */
h1,h2,h3 { line-height: 1.2; }
.prose h1 { font-size: clamp(1.6rem, 1.5vw + 1.2rem, 2.2rem); }
.prose h2 { font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); }
.prose p { margin: .7rem 0; }

/* Forms */
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password], input[type=number],
textarea, select {
  width: 100%; padding: .8rem 1rem; border-radius: .7rem; border: 1px solid var(--color-border); background: #fff;
}
textarea { min-height: 140px; }
label { display:block; margin: .5rem 0 .2rem; font-weight: 600; }
.wpforms-field, .wpcf7-form p { margin-bottom: 1rem; }
.wpcf7-response-output, .wpforms-confirmation-container-full { margin-top: 1rem; padding: .8rem 1rem; border-radius: .6rem; background: #ecfccb; border: 1px solid #bef264; }
.wpcf7-not-valid-tip { color: #b91c1c; font-size: .9rem; }
input[type=checkbox], input[type=radio] { transform: translateY(1px); margin-right: .5rem; }

/* WooCommerce */
.woocommerce a.button, .woocommerce button.button, .woocommerce #respond input#submit,
.woocommerce input.button { border-radius: .6rem; padding: .7rem 1rem; }
.woocommerce div.product .price, .woocommerce ul.products li.product .price { color: var(--color-fg); font-weight: 700; }
.woocommerce div.product form.cart .button { background: var(--color-primary); color: var(--color-primary-contrast); }
.woocommerce span.onsale { background: var(--color-accent); color: #111; border-radius: 999px; }
.woocommerce-message, .woocommerce-error, .woocommerce-info { border-radius: .6rem; }
.woocommerce .quantity .qty { width: 6em;	}
.woocommerce h2.woocommerce-loop-category__title mark {
    background: transparent;
}

#kleur {
	width: 100%;
  max-width: 300px;
  padding: 1rem 1.2rem;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(125,176,234,0.2);
  text-align: center;
}

/* Specifieke styling voor het prijsveld */
#yee-nyp-price {
  width: 100%;
  max-width: 300px;
  padding: 1rem 1.2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  background: rgba(255,245,245,0.1);
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(125,176,234,0.2);
  text-align: center;
}

#yee-nyp-price:hover,
#yee-nyp-price:focus {
  border-color: #e45bb0;
  box-shadow: 0 6px 18px rgba(228,91,176,0.3);
  background: rgba(255,245,245,0.2);
}

#yee-nyp-price::placeholder {
  color: rgba(255,0,102,0.5);
  font-weight: 500;
}

.mt-0{margin-top:0}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}
.pad{padding:1rem}.pad-lg{padding:2rem}
.hidden{display:none}

/* Quote stijl met animatie */
blockquote {
  position: relative;
  font-size: 1.5rem;
  font-style: italic;
  color: #ff0066;
  padding: 1rem 2rem;
  margin: 2rem 0;
  border-left: 5px solid #ff0066;
  background: rgba(255, 0, 102, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(255, 0, 102, 0.2);
  animation: slideIn 1s ease-out;
}

blockquote::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: 10px;
  top: -10px;
  color: #ff0066;
  opacity: 0.3;
}

blockquote::after {
  content: "”";
  font-size: 3rem;
  position: absolute;
  right: 15px;
  bottom: -20px;
  color: #ff0066;
  opacity: 0.3;
}

@keyframes slideIn {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.posts-grid .card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.posts-grid .post-thumb img {
  width: 100%;
  height: auto;
  border-radius: .75rem;
}

.posts-grid .post-title {
  margin-top: 1rem;
  font-size: 1.25rem;
	margin-bottom: 0px;
}

.posts-grid .post-title a {
  color: var(--nav-link, #333);
  text-decoration: none;
}

.posts-grid .post-excerpt {
  flex-grow: 1;
  margin: 0;
}

.posts-grid .read-more {
  align-self: flex-start;
  background: var(--color-primary, #7db0ea);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: .5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background .25s ease;
}

.posts-grid .read-more:hover {
  background: #0056b3;
}

.post-thumbnail img {
	border-radius: 1rem;
}
.post-date {
  font-size: 0.85rem;
  color: #666;
  margin: 0 !important;
}

.wpcf7-submit {
	background: var(--color-primary);
  color: var(--color-primary-contrast);
  border-radius: .6rem;
  padding: .7rem 1rem;
  font-size: 20px;
}

.single_add_to_cart_button {
	font-size: 30px !important;
}
