:root {
--white: #fff;
--gray: #5A5A5A;
--primary: #609648;
--secondary: #B68150;
--success: #00A827;
--info: #4BAAD8;
--warning: #FFD877;
--danger: #DA5959;
--purple: #886ED1;
--light-dark: #EEE1D5;
--dark: #242424;
--border-color: #CCC; 
--bg-light: #FFF5ED;
--bg-dark :#D9D9D9;
--bb-gray: #CCC;
--light-gray: #DEDEDE;
--sub-title:#609648;
--light-primary: #9FC958;
--light-radius: 0.75rem;
--border-radius: 2.75rem;
--blue:#4BAAD8;
--red:#DA5959;
--violet:#886ED1;
}


.navbar {
  padding: 1.25rem 0rem 1.25rem 0rem !important;
  border-bottom: 1px solid #e2e2e2e2;
}
.navbar .sub-logo{height: 60px;object-fit: contain;}
.navbar .logo { height: 70px;object-fit: contain;}

header.sticky-header nav.navbar .sub-logo{height: 50px;}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition: 0.3s;
}
header.sticky-header {
  background: #353535 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}
header.bg-white.sticky-header{background: var(--white) !important;}

.home-bar nav{border-bottom: 0 !important;}

.hotdog-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 30px;
  padding: 0 !important;
  cursor: pointer;
}

.hotdog-toggler span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: var(--primary);
  transition: all 0.3s ease-in-out;
}
.home-bar .hotdog-toggler span {
  background: var(--white);
}
.home-bar .hotdog-toggler:hover span {
  background: var(--white);
}
.hotdog-toggler:hover span {
  background: var(--primary);
}
.hotdog-toggler span:nth-child(1),
.hotdog-toggler span:nth-child(3) {
  width: 100%; 
  align-self: center;
}

.hotdog-toggler span:nth-child(2) {
  width: 100%;
  align-self: center;
}

.nav-link:focus, .nav-link:hover{color: var(--primary) !important;}

/* --- Side menu --- */
.side-menu {
  position: fixed;
  top: 0;
  right: -1100px;
  width: 1050px;
  height: 100%;
  background: var(--menu-bg);
  color: var(--menu-text);
  transition: right 0.4s ease;
  z-index: 1000;
  padding-top: 60px;
  overflow: hidden;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  background: var(--primary);
  padding-left: 30px;
  opacity: 0;
  animation: slideIn 0.4s forwards;
}

.side-menu.open {
  right: 0;
  background: var(--primary);
  opacity: 1;
}
.side-menu .menu-item .menu-title span,
.side-menu a,
.theme-toggle {
  display: flex;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
  cursor: pointer;
  font-size: 32px;
  font-weight: 600;
  /* opacity: 0; */
  /* transform: translateX(-20px); */
  /* animation: slideIn 0.4s forwards; */
  
}
.side-menu .menu-item {
border-bottom: 1px solid var(--light-primary);
}
.side-menu .menu-item .menu-title.active > .side-menu .menu-item {
  border-bottom: 1px solid var(--warning);
}
.side-menu .menu-item .menu-title.active span,
.side-menu .menu-item .menu-title.active a{
  color: var(--warning) !important;
}
.side-menu .submenu .active{  color: var(--warning) !important;font-weight: 700;}
 


.menu-item .menu-title {
  position: relative;
  overflow: hidden;
 height: 80px;
      width: 260px;
  display: flex;
  align-items: center;
      margin-left: 10px;
}

/* First text */
.nav-text {
  position: absolute;
  top: 15;
  transition: all 0.5s ease;
  text-transform: uppercase;
}

/* Hover → move up & hide */
.menu-title:hover .nav-text {
  transform: translateY(-75px);
  opacity: 0;
}

/* Next text */
.next-text {
  position: absolute;
  top: 90px;
  transition: all 0.5s ease;
  opacity: 0;
  text-transform: uppercase;
}

/* Hover → move into view */
.menu-title:hover .next-text {
  transform: translateY(-75px);
  opacity: 1;
}

/* accent balkje */
.side-menu a::before,
.theme-toggle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.side-menu a:hover::before,
.theme-toggle:hover::before {
  transform: scaleY(1);
}

.side-menu a:hover,
.theme-toggle:hover {
  background: var(--hover);
  color: #ede3d1;
}

.side-menu .close-btn span{font-size: 50px;}

/* Close button */


.close-btn {
  position: absolute;
      top: 23px;
    right: 67px;
    font-size: 34px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--white);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 900;
}

.overlay.show {
  display: block;
}

main {
  padding: 20px;
}

/* Animaties */
@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* kleine delay per item */
.side-menu.open a:nth-child(2) {
  animation-delay: 0.1s;
}
.side-menu.open a:nth-child(3) {
  animation-delay: 0.2s;
}
.side-menu.open a:nth-child(4) {
  animation-delay: 0.3s;
}
.side-menu.open a:nth-child(5) {
  animation-delay: 0.4s;
}
.side-menu.open .theme-toggle {
  animation-delay: 0.5s;
}

/* Hide submenu by default */
.submenu {
  display: none;
    padding: 10px 0 5px 0px;
  animation: fadeIn .3s ease;
}
.menu-item.has-sub:hover .submenu {
  display: block;
}

.submenu a {
    display: inline-block;
    margin-right: 50px;
    color: white;
    font-size: 24px;
    text-decoration: none;
    font-weight: 200;
}


.submenu a:hover {
  text-decoration: underline;
}

/* Small fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}



@media (max-width: 1600px) {
  .side-menu {width: 900px;}
  .side-menu .menu-item .menu-title span, .side-menu a, .theme-toggle {font-size: 25px;font-weight: 700;}
  .menu-item .menu-title {height: 63px;width: 185px;}
  .submenu a {font-size: 20px; font-weight: 400;}
}
@media (max-width: 1399.98px) { 
.side-menu {width: 740px;}
.menu-item .menu-title {height: 55px;}
.submenu a {font-size: 18px;font-weight: 400;margin-right: 15px;}
.side-menu .menu-item .menu-title span, .side-menu a, .theme-toggle {font-size: 22px;font-weight: 700;}
.side-menu .close-btn span{font-size: 36px;}
.navbar .logo {height: 50px;}
.navbar .sub-logo {height: 50px;}
}
@media(max-width: 576.98px) {
  header .close-btn {  right: 25px;}
}


