/*
========================================
🎨 THEME INFO
========================================
*/
Theme Name: Dark BBQ Theme
Theme URI: https://rickvanhengel.com
Author: Rick van Hengel
Author URI: https://rickvanhengel.com
Description: Dark BBQ style theme with glassmorphism effects, gebaseerd op BlankSlate.
Tags: dark, bbq, starter, lightweight, responsive, seo-friendly
Version: 1.0
Requires at least: 5.2
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: rickvanhengel


/*
========================================
🌍 GLOBALS — DESKTOP
========================================
*/
:root {
  --bbq-orange: #ff6a00;
  --bbq-dark: #0f0f0f;
  --bbq-darkblue: #003057;
  --bbq-light: #4698ca;
  --bbq-text: #fff;
}

html, body {
margin: 0;
  padding: 0;
  padding-top: 70px; /* Zelfde hoogte als je header */
  padding-bottom: 40px; 
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--bbq-text);
  scroll-behavior: smooth;

  /* Achtergrond afbeelding */
  background-image: url('http://dikzijnwetochal.nl/wp-content/uploads/2025/09/webback-1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Parallax effect */
  background-attachment: fixed;
}

/* Keyframes voor pulserende kleur overlay */
@keyframes smolderGradient {
  0%   { background-color: #000000; }
  25%  { background-color: #3d0707; }
  50%  { background-color: #543718; }
  75%  { background-color: #2d2703; }
  100% { background-color: #000000; }
}

a {
  color: var(--bbq-light);
  text-decoration: none;
}
a:hover {
  color: var(--bbq-orange);
}

h1,h2,h3,h4,h5 {
  font-family: "Caveat Brush", cursive;
  font-weight: 400;
  text-transform: uppercase;
}

/* Standaard H2 styling */
.fire-title {
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5rem; /* ruimte tussen vlam en tekst */
  color:#fff;
}

/* Vlam-icoon vóór de tekst */
.fire-title::before {
  content: "🔥";
  font-size: 2rem;
}

/* Animatie voor de kleurverandering */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Utility */
.clear { clear: both; }
*, *::before, *::after { box-sizing: border-box; }

/* 🔥 Vuur animatie */
.fire-toggle svg path { fill: #ff6a00; animation: fire-flicker 15s infinite alternate ease-in-out; }
@keyframes fire-flicker {
  0%   { fill: #ff4500; filter: drop-shadow(0 0 5px #ff6600); }
  25%  { fill: #ff7518; filter: drop-shadow(0 0 12px #ff8800); }
  50%  { fill: #ff9900; filter: drop-shadow(0 0 18px #ffaa00); }
  75%  { fill: #ffb733; filter: drop-shadow(0 0 10px #ff6600); }
  100% { fill: #ff6a00; filter: drop-shadow(0 0 15px #ff3300); }
}


/*
========================================
🌍 GLOBALS — MOBIEL
========================================
*/
@media (max-width: 768px) {
  :root {
    --bbq-orange: #ff6a00;
    --bbq-dark: #0f0f0f;
    --bbq-darkblue: #003057;
    --bbq-light: #4698ca;
    --bbq-text: #fff;
  }

  html, body {
    margin: 0;
    padding: 0;
    padding-top: 30px; /* Zelfde hoogte als je header */
    padding-bottom: 40px; 
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--bbq-text);
    scroll-behavior: smooth;

    /* Achtergrond afbeelding */
    background-image: url('http://dikzijnwetochal.nl/wp-content/uploads/2025/09/webback-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

   
  }

  /* Keyframes voor pulserende kleur overlay */
  @keyframes smolderGradient {
    0%   { background-color: #000000; }
    25%  { background-color: #3d0707; }
    50%  { background-color: #543718; }
    75%  { background-color: #2d2703; }
    100% { background-color: #000000; }
  }

  a {
    color: var(--bbq-light);
    text-decoration: none;
  }
  a:hover { color: var(--bbq-orange); }

  h1,h2,h3,h4,h5 {
    font-family: "Caveat Brush", cursive;
    font-weight: 400;
  }

  /* Utility */
  .clear { clear: both; }
  *, *::before, *::after { box-sizing: border-box; }

  /* 🔥 Vuur animatie */
  .fire-toggle svg path { fill: #ff6a00; animation: fire-flicker 15s infinite alternate ease-in-out; }
  @keyframes fire-flicker {
    0%   { fill: #ff4500; filter: drop-shadow(0 0 5px #ff6600); }
    25%  { fill: #ff7518; filter: drop-shadow(0 0 12px #ff8800); }
    50%  { fill: #ff9900; filter: drop-shadow(0 0 18px #ffaa00); }
    75%  { fill: #ffb733; filter: drop-shadow(0 0 10px #ff6600); }
    100% { fill: #ff6a00; filter: drop-shadow(0 0 15px #ff3300); scale:0.9; }
  }

  /* Standaard H2 styling */
  .fire-title {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* ruimte tussen vlam en tekst */
    color:#fff;
    text-transform: uppercase;
  }

  /* Vlam-icoon vóór de tekst */
  .fire-title::before {
    content: "🔥";
    font-size:20px;
    margin-left:20px;
  }

  /* Animatie voor de kleurverandering */
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
}


/*
========================================
🔥 HEADER — DESKTOP
========================================
*/
#menutop {
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0px 4px 20px rgba(0,0,0,0.5);
  border-bottom: 2px solid rgba(255, 80, 0, 0.4);
  border-radius: 0px;
  position: fixed;
  top: 0px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 100%;
  height:125px;
  z-index: 9999;
}

#header-werken {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 30px 40px;
  position: relative;
  z-index: 1;
}

.logo-container {
  position: relative;
  text-align: center;
  margin-top: 20px;
}

.logo-title {
  font-family: "Caveat Brush", cursive;
  color: white;
  font-size: 32px;
  margin-top: 15px;
  margin-left:20px;
  transition: opacity 0.6s ease;
  float:left;
}

/* Sticky logo (blijft staan bij scrollen) */
.logo-container a img {
  position: sticky;
  top: 10px; /* hoe hoog hij moet blijven plakken */
  z-index: 10;
}

.logo-container img {
  width: 100%;
  height: auto;
  max-width: 100px; /* optioneel, limitering */
  float:left;
  margin-bottom:-60px;
}


/*
========================================
🔥 HEADER — MOBIEL
========================================
*/
@media (max-width: 768px) {
  #menutop {
    background: rgba(15, 15, 15, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0px 4px 20px rgba(0,0,0,0.8);
    border-bottom: 2px solid rgba(255, 80, 0, 0.4);
    height:70px;
    width: 100%;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    /* Zorg dat de bovenste hoeken niet afgerond zijn */
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    z-index: 9999;
    top:0px;
  }

  /* Algemene container */
  .logo-container {
    display: flex;              /* maakt er een flexbox van */
    align-items: center;        /* logo en tekst netjes in het midden van elkaar uitlijnen */
    justify-content: center;    /* centreren in de breedte */
    margin-top: 10px;
    gap: 12px;                  /* ruimte tussen logo en tekst */
  }

  /* Logo afbeelding */
  .logo-container a img {
    width: 70px;                /* pas aan naar wat mooi is */
    height: auto;
    position: sticky;
    top: 0px;
    margin-top:-100px;
    margin-left:-40px;
    z-index: 10;
  }

  /* Titel */
  .logo-title {
    font-family: "Caveat Brush", cursive;
    color: white;
    font-size: 20px;            /* iets kleiner voor telefoon */
    margin: 0;                  /* marge weghalen, flexbox regelt spacing */
    transition: opacity 0.6s ease;
    margin-top:-18px;
  }

  #menu-toggle {
    position:absolute;
    scale:0.7;
    top:15px;
    right:15px;
  }
  #menu-toggle:hover { scale:0.7; }
}


/*
========================================
🧭 MENU + NAVIGATIE — DESKTOP
========================================
*/
#menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 99999;
  margin-top:0px;
}
#menu-toggle:hover { }

#container { margin-top:40px; }

/* Overlay menu */
#overlay-menu {
  position: absolute;
  top: 110%;
  right: 0;
  transform: translateY(10px);
  width: 250px;
  background: rgba(15, 15, 15, 0.9);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid rgba(255, 80, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  z-index: 9999;
}

#overlay-menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#overlay-menu .overlay-menu-items {
  list-style: none;
  margin: 0;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#overlay-menu .overlay-menu-items li {
  margin: 12px 0;
  position: relative;
}

#overlay-menu .overlay-menu-items a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Caveat Brush', cursive;
  text-decoration: none;
  transition: color 0.3s ease;
  padding-left: 50px;
}

#overlay-menu .overlay-menu-items li:hover::before {
  content: "🔥";
  position: absolute;
  left: 10px;
  top: 0;
  font-size: 1.2rem;
}

#overlay-menu .overlay-menu-items a:hover { color: #ff6a00; }


/*
========================================
🧭 MENU + NAVIGATIE — MOBIEL (cat pill)
========================================
*/
@media (max-width: 768px) {
  /* categorie bar */
  .category-bar-wrapper {
    max-width: 1300px;
    margin: 20px auto;
    position: absolute;
    display: flex;
    bottom:30px;
    align-items: center;
    overflow: hidden;
    padding: 0 60px;
  }
  .category-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .category-bar::-webkit-scrollbar { display: none; }

  .category-pill {
    flex: 0 0 auto;
    padding: 20px;
    border-radius: 999px;
    background: #000;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: background 0.3s, color 0.3s;
  }
  .category-pill:hover { background: #333; color: #fff; }
  .category-pill .count { margin-left: 4px; font-size: 0.9em; color: #777; }
}


/*
========================================
📦 CONTAINER — DESKTOP
========================================
*/
.sidebar {
  flex: 1;
  min-width: 250px;
  padding: 20px;
}


/*
========================================
📦 CONTAINER — MOBIEL
========================================
*/
@media (max-width: 768px) {
  main {
    flex-direction: column;
    max-width: 100%;
  }
  .sidebar {
    min-width: 100%;
    margin-bottom: 20px;
  }
  .content { min-width: 100%; }
}


/*
========================================
🦶 FOOTER — DESKTOP
========================================
*/
#footer {
  color: white;
  padding: 20px 0;
  text-align: center;
  background: linear-gradient(0deg, #003057, #122540);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  padding: 10px;
  line-height: 1.5;
  color: white;
  font-size: 14px;
  padding:30px;
}

.footer-widget { text-align: left; }

#copyright {
  color: #fff;
  padding: 20px;
  font-size: 14px;
  background: linear-gradient(180deg, #003057, #122540);
}

.footer-column a { color: white; text-decoration: none; }
.footer-column a:hover { color: #4698CA; }
.footer-column b, .footer-column strong { text-transform: uppercase; }

#footer25 {
  width:100%;
  background: linear-gradient(to bottom, #003057, #122540);
  min-height:300px;
}
.footer-container-25 {
  width:1000px;
  padding-top:50px;
  margin:auto;
  min-height:300px;
  color:#fff;
}
#footer-25-items {
  width:1000px;
  padding-top:20px;
  margin:auto;
  min-height:300px;
  color:#fff;
}
#footer-25-items p {
  font-size:14px;
  font-family: 'shapiro-feather', sans-serif!important;
  color:#fff;
}
#footer-25-items h3 {
  font-size:18px;
  font-family: 'shapiro-heavy', sans-serif!important;
  font-weight:normal;
  color:#4698ca;
}
#footer-25-items a {
  font-family: 'shapiro-feather', sans-serif!important;
  float:left;
  clear:both;
  color:#fff;
  font-weight:normal;
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}
#footer-25-items a:hover { color:#4698ca; }
#copy {
  width:100%;
  background:#003057;
  color:#fff;
  text-align:center;
  padding:20px;
}


/*
========================================
🦶 FOOTER — MOBIEL
========================================
*/
@media (max-width: 768px) {
  #footer25 {
    width: 100%;
    background: linear-gradient(to bottom, #003057, #122540);
    min-height: 300px;
  }
  .footer-container-25 {
    width: 100%;
    max-width: 1000px;
    padding: 30px 20px;
    margin: auto;
    min-height: 300px;
    color: #fff;
  }
  #footer-25-items {
    width: 100%;
    max-width: 1000px;
    padding: 20px;
    margin: auto;
    min-height: 200px;
    color: #fff;
  }
  #footer-25-items p {
    font-size: 14px;
    font-family: 'shapiro-feather', sans-serif!important;
    color: #fff;
  }
  #footer-25-items h3 {
    font-size: 18px;
    font-family: 'shapiro-heavy', sans-serif!important;
    font-weight: normal;
    color: #4698ca;
  }
  #footer-25-items a {
    font-family: 'shapiro-feather', sans-serif!important;
    display: block;
    color: #fff;
    font-weight: normal;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
  }
  #footer-25-items a:hover { color: #4698ca; }
  #copy {
    width: 100%;
    background: #003057;
    color: #fff;
    text-align: center;
    padding: 20px;
  }
  .footer-container-25,
  #footer-25-items,
  .footer-container {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    text-align: center;
  }
  .footer-column {
    min-width: 100%;
    padding: 15px;
    text-align: center;
  }
  #footer-25-items a {
    display: inline-block;
    margin: 5px;
  }
}


/*
========================================
🏷️ CATEGORY PILL (globaal)
========================================
*/
.category-pill {
  display: inline-block;   /* breedte past bij de tekst */
  padding: 10px 20px;      /* ruimte rondom de tekst voor pill-look */
  border-radius: 999px;    /* ronde pill vorm */
  border:1px solid #000;
  background: rgba(255, 255, 255, 0.5); /* doorzichtig wit, zodat de blur zichtbaar is */
  backdrop-filter: blur(10px);          /* de daadwerkelijke blur */
  -webkit-backdrop-filter: blur(10px);  /* voor Safari */
  color: #000;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;     /* voorkomt dat de tekst wrapt */
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index:99999;
}

.author-pill {
  display: inline-block;
  background: rgba(255,255,255,0.85);
  color: #333;
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  font-weight: bold;
}

.scroll-btn {
  background: #fff;
  border: 1px solid #ccc;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 10px 10px 10px;
  border-radius: 9999px;
  width:50px;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}
.scroll-btn:hover { background: #333; color: #fff; }
.scroll-btn.left  { left: 10px; }
.scroll-btn.right { right: 10px; }


/*
========================================
📰 ARTICLES — DESKTOP
========================================
*/
#content { margin-bottom:10px; }


/*
========================================
🧱 MAIN — DESKTOP
========================================
*/
main {
  max-width: 1300px;
  margin: auto;
  box-sizing: border-box; 
  border-radius: 8px;
}

/*
========================================
🧱 MAIN — MOBIEL
========================================
*/
@media (max-width: 600px) {
  main {
    width: 100%; /* iets breder op kleine schermen */
    background:none;
    border-radius: 15px; /* iets minder afgerond */
  }
}


/*
========================================
📚 COVERS — DESKTOP
========================================
*/
.netflix-grid {
  max-width: 1300px;
  margin: 2rem auto;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px; /* vaste hoogte */
  gap: 1rem;
}

.recipe-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.recipe-item:hover { transform: scale(1.05); z-index: 2; }

.recipe-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* categorie boven, auteur onder */
  position: relative;
  border-radius: inherit;
}

/* Gradient overlay over de afbeelding */
.recipe-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  border-radius: inherit;
  z-index: 1;
}

/* Titel in het midden */
.overlay h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-family: "Caveat Brush", cursive;
  font-size: 1.5rem;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8);
  margin: 0;
  line-height: 1.2;
}

/* Auteur-avatar onderaan */
.overlay .author {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.overlay .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  object-fit: cover;
}

/* Hover effect overlay */
.recipe-item:hover .recipe-image::before { background: rgba(0,0,0,0.5); }

/* LOAD MORE BUTTON */
.load-more-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

#load-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem 1rem 3rem;
  background-color: #ff7b00;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.flame {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 50% 50%, #fff100, #ff7b00);
  border-radius: 50%;
  animation: pulse 1s infinite alternate;
  transition: all 0.3s ease;
}

.btn-text { z-index: 1; }

#load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

#load-more:hover .flame {
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 50% 50%, #fff700, #ff4500);
  box-shadow: 0 0 15px rgba(255,69,0,0.6);
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

/* COVERS — MOBIEL */
@media (max-width: 768px) {
  .grid-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
    gap: 1rem;
    padding: 10px;
  }

  .recipe-item:hover { transform: scale(1.02); z-index: 1; }
  .overlay h2 { font-size: 1.2rem; }
  .category-pill { font-size: 0.7rem; padding: 0.15rem 0.5rem; }

  .overlay .author img { width: 40px; height: 40px; }

  #load-more {
    padding: 0.8rem 1.5rem 0.8rem 2.5rem;
    font-size: 0.9rem;
  }
  #load-more:hover .flame { width: 24px; height: 24px; }
}


/*
========================================
🎠 HEERLIEDEPEERLIE CAROUSEL — DESKTOP
========================================
*/
.heerliedepeerlie-carousel-wrapper {
  position: relative;
  max-width: 1300px;
 padding: 15px 15px 5px 15px;

	
	
	
	background: rgba(0, 0, 0, 0.25);   /* 90% zwart transparant */
  backdrop-filter: blur(10px);      /* maakt de achtergrond wazig */
  -webkit-backdrop-filter: blur(10px); /* voor Safari */
	border-radius:25px;
	border: 1px solid rgba(255, 255, 255, 0.255); /* heel licht wit, bijna schaduw */
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

}

.heerliedepeerlie-carousel {
	border-radius:25px;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

/* Elk item = klikbare kaart */
.carousel-item {
  flex: 0 0 calc(25% - 2rem); /* 4 naast elkaar op desktop */
  height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  scroll-snap-align: start;
  overflow: hidden;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.carousel-item:hover { transform: scale(0.90); z-index: 2; }

.carousel-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0));
}

.carousel-item .title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* netjes in het midden */
  width: 90%;
  padding: 0.5rem 1rem;
  color: #fff;
  font-family: "Caveat Brush", cursive;
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem; /* beetje groter, film vibes */
  text-transform: uppercase;
  letter-spacing: 2px; /* extra dramatisch effect */
  line-height: 1.2;
  text-shadow: 0px 4px 12px rgba(0,0,0,0.8); /* film poster glow */
  background: none; /* blur + gradient weghalen */
  backdrop-filter: none;
}

/* Navigatieknoppen */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  padding: 1rem;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-btn.prev { left: -2rem; }
.carousel-btn.next { right: -2rem; }

/* Progress bar */
.progress-bar { display:none; }
.progress { height: 100%; width: 0; background: linear-gradient(90deg, #ff6600, #ff0000); transition: width 0.3s ease; }

/* Categorie bovenaan */
.carousel-item .category {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  z-index: 3;
}

/* Auteur avatar onderaan in een cirkel */
.carousel-item .author {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.carousel-item .author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
  object-fit: cover;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .carousel-item { flex: 0 0 calc(50% - 1rem); height: 350px; }
}
@media (max-width: 600px) {
  .carousel-item { flex: 0 0 70%; height: 300px; }
  .heerliedepeerlie-carousel { padding-left: 1rem; }
  .carousel-btn.prev, .carousel-btn.next { display: none; } /* swipe werkt */
}


/*
========================================
🎧 SPOTIFY CAROUSEL — DESKTOP
========================================
*/
.spotify-playlists-carousel-wrapper {
  position: relative;
  max-width: 1300px;
  margin-top:-30px;
}

.spotify-playlists-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding: 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.playlist-item {
  flex: 0 0 calc(25% - 1rem);
  scroll-snap-align: start;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.playlist-item:hover { transform: scale(1.05); }

.playlist-cover {
  width: 100%;
  padding-top: 100%; /* vierkant */
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}

/* Titel overlay met blur */
.playlist-title {
  position: absolute;
  bottom: 0px;
  height:150px;
  width: 100%;
  padding-top:50px;
  text-align: center;
  font-weight: bold;
  font-family: "Caveat Brush", cursive;
  font-size:35px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
  backdrop-filter: blur(6px);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

/* Pijltjes */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.6); color: #fff; border: none; padding: 1rem; border-radius: 50%; cursor: pointer; z-index: 5; font-size: 1.2rem; }
.carousel-btn:hover { background: rgba(0,0,0,0.8); }
.carousel-btn.prev { left: -2rem; }
.carousel-btn.next { right: -2rem; }

/* RESPONSIVE */
@media (max-width: 1024px) { .playlist-item { flex: 0 0 calc(50% - 1rem); } }
@media (max-width: 600px)  { .playlist-item { flex: 0 0 70%; } .carousel-btn { display: none; } /* swipe mobiel */ }


/*
========================================
🤡 HUMOR GALLERY — DESKTOP
========================================
*/
/* Container met pijltjes */
.humor-gallery-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-btn {
  display: none; /* alleen desktop */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
}
.gallery-btn.prev { left: -25px; }
.gallery-btn.next { right: -25px; }

@media(min-width: 768px){
  .gallery-btn { display: block; }
}

/* Horizontaal scrollbare gallery */
.netflix-gallery {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
}

/* Scrollbar styling */
.netflix-gallery::-webkit-scrollbar { display:none; }
.netflix-gallery::-webkit-scrollbar-thumb { background: #888; border-radius: 4px; }

/* Aspect ratio 9:16 container */
.gallery-item {
  position: relative;
  width: 180px; /* breedte kan aangepast worden */
  padding-top: 320px; /* hoogte = breedte * 16/9, dus 180*16/9≈320 */
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 10px;
}
.gallery-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s;
}
.gallery-item img:hover { transform: scale(1.05); }

/* Lightbox */
.humor-lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
  overflow: hidden;
  background: rgba(0,0,0,0.6); /* donkere overlay */
  backdrop-filter: blur(20px); /* achtergrond vervagen */
  -webkit-backdrop-filter: blur(20px);
}

/* Achtergrondafbeelding */
.humor-lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("http://dikzijnwetochal.nl/wp-content/uploads/2025/08/cropped-cropped-banner-img-copy.png") 
              center center / cover no-repeat;
  opacity: 0.3; /* 50% zichtbaar */
  filter: blur(10px);
  z-index: 0;
  backdrop-filter: blur(20px); /* achtergrond vervagen */
  -webkit-backdrop-filter: blur(20px);
}

/* Lightbox content */
.humor-lightbox img {
  position: relative;
  z-index: 1;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8); /* mooie dropshadow */
}


/*
========================================
📝 SINGLE POST — DESKTOP
========================================
*/
.single-post {
  font-family: 'Arial', sans-serif;
  color: #fff;
  position: relative;
}

/* Header - onderste laag */
.post-header {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  z-index: 0; /* laagste laag */
}

/* Header afbeelding */
.post-header-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

/* Info-blok over de afbeelding */
.post-header-info {
  position: absolute;
  top: 110px;
  left: 50px;
  padding: 20px;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  width: 500px;
  z-index: 2; /* boven de header */
}

/* Post titel */
.post-title {
  margin: 0 0 1rem 0;
  font-size: 36px;
  color: #fff;
  clear: both;
}

/* Meta informatie (categorie + auteur) */
.post-header-info .post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Pills styling voor single post */
.post-header-info .single-post-category-pill,
.post-header-info .author-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.6rem;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  color: #000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Auteur avatar hover effect */
.post-header-info .author-pill .author-avatar {
  border-radius: 50%;
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-header-info .author-pill:hover .author-avatar {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* Content + Sidebar */
.post-content-wrapper {
  display: flex;
  gap: 2rem;
  margin-top: -200px; /* overlapt de header voor effect */
  position: relative;
  z-index: 1; /* boven header, onder info-box */
}

.post-content {
  flex: 1 1 70%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: 15px;
}

.post-sidebar {
  flex: 0 0 28%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 1.5rem;
  border-radius: 15px;
  color: #fff;
  align-self: flex-start;
}

/* Hover effect op sidebar widgets */
.post-sidebar .widget {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
}
.post-sidebar .widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

/* Back-button boven alles */
.back-button-container {
  margin: 40px 40px -40px 40px;
  text-align: left;
  z-index: 9999;
  position: relative;
}
.back-button {
  padding: 0.6rem 1.2rem;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}
.back-button:hover {
  background-color: #555;
  transform: translateY(-2px);
}


/*
========================================
📝 SINGLE POST — MOBIEL
========================================
*/
@media (max-width: 768px) {
  .post-header-info {
    position: static;
    margin-top:-400px;
    margin-bottom:300px;
    width:96%;
    margin-left:2%;
    z-index: 2;
  }

  .post-content-wrapper {
    flex-direction: column;
    align-items: center;
    z-index: 1;
  }

  .post-content { flex: 1 1 100%; }

  .post-sidebar {
    flex: 1 1 90%;
    max-width: 400px;
    width: 95%;
    align-self: center;
  }
}
