.kadence-sticky-header {
  background-color: transparent;
}
.kadence-sticky-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.kadence-sticky-header.scrolled {
  background-color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-top: 10px;
  padding-bottom: 10px;
}

.kadence-sticky-header .menu-item a {
  transition: color 0.3s ease;
}

.kadence-sticky-header.scrolled .menu-item a {
  color: #111 !important;
}
/* Zorg voor vloeiende animatie */
.kadence-sticky-header {
  transition: all 0.4s ease;
}

/* Bij scrollen: kleinere header */
.kadence-sticky-header.scrolled {
  background-color: white !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding-top: 8px;
  padding-bottom: 8px;
  opacity: 0.95;
}

/* Logo kleiner maken bij scrollen */
.kadence-sticky-header.scrolled .custom-logo {
  max-height: 40px;
  transition: max-height 0.3s ease;
}

/* Standaard grootte logo */
.kadence-sticky-header .custom-logo {
  max-height: 70px;
  transition: max-height 0.3s ease;
}
/* Standaard: wit logo */
.kadence-sticky-header .custom-logo {
  content: url('https://quintadoscozinheiros.com/wp-content/uploads/2025/06/cropped-logo_white-1.png');
  transition: content 0.3s ease-in-out;
}

/* Bij scrollen: oranje logo */
.kadence-sticky-header.scrolled .custom-logo {
  content: url('https://quintadoscozinheiros.com/wp-content/uploads/2025/06/cropped-cropped-afbeelding_2025-06-17_110915766.png');
}
/* Zorg voor consistente grootte */
.custom-logo {
    height: auto;
    max-height: 60px;
    width: auto;
    transition: all 0.3s ease;
}
.custom-logo {
  max-height: 60px;
  width: auto;
  transition: all 0.3s ease;
}
/* Sticky logo groter maken en beter leesbaar */
.site-header.is-sticky .site-branding img.custom-logo,
.site-header.item-is-fixed .site-branding img.custom-logo {
  max-height: 75px !important;
  height: auto !important;
  width: auto !important;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.4));
}
.site-header-wrap.is-stuck {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.custom-logo {
  display: block;
  margin: 0 auto;
  vertical-align: middle;
}
.site-header-wrap.is-stuck .site-branding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.site-header-wrap.is-stuck .custom-logo {
  max-height: 85px !important;
}
.site-header-wrap.is-stuck .custom-logo.sticky-logo {
  max-height: 85px !important;
}
.site-header.is-sticky .main-navigation ul li a:hover {
  color: #de7a00; /* oranje tint */
  transition: color 0.3s ease;
}
.main-navigation .current-menu-item > a {
  color: #de7a00; /* highlight kleur */
  font-weight: bold;
}
/* HOVER effect op hoofdmenu-items in sticky header */
.kadence-sticky-header .menu-item a:hover {
  color: #de7a00 !important;
}

/* Actieve menu-item markeren (de pagina waar je bent) */
.kadence-sticky-header .current-menu-item > a,
.kadence-sticky-header .current_page_item > a {
  color: #de7a00 !important;
  font-weight: 600;
}

/* Dropdown-menu styling in sticky header */
.kadence-sticky-header .sub-menu {
  background-color: #ffffff !important;
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.kadence-sticky-header .sub-menu li a {
  padding: 12px 16px;
  color: #333333 !important;
  background-color: transparent !important;
}

.kadence-sticky-header .sub-menu li a:hover {
  background-color: #f5f5f5 !important;
  color: #de7a00 !important;
}
/* Highlight actief menu-item in sticky header */
.kadence-sticky-header .main-navigation .current-menu-item > a,
.kadence-sticky-header .main-navigation .current_page_item > a {
  color: #de7a00 !important;
  font-weight: 600;
  position: relative;
}

/* Optioneel: underline of border onder actief item */
.kadence-sticky-header .main-navigation .current-menu-item > a::after,
.kadence-sticky-header .main-navigation .current_page_item > a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #de7a00;
}