/* General Styles */
body {
  margin: 0;
  background-color: #0096c7; /* Adjust to match your page background */
  font-family: 'Plus Jakarta Sans'; /* Updated font */
}
body.menu-open {
  overflow: hidden;
}

/* Menu Bar Container */
#menu-bar-container {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #0096c7; /* Blue menu background color */
  z-index: 1000;
  display: flex;
  justify-content: space-between; /* Align hamburger and logo horizontally */
  align-items: center;
  height: 80px; /* Increased height for a larger menu */
  padding: 0 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  overflow: visible; /* Allows logo to extend outside */
  transition: transform 0.3s ease-in-out; /* Smooth slide effect */
}

/* Centered Logo */
#menu-logo {
  position: absolute; /* Keeps the logo floating */
  top: 20px; /* Fixed placement for the logo */
  left: 50%; /* Centers the logo horizontally */
  transform: translateX(-50%); /* Ensures perfect horizontal centering */
  z-index: 1001; /* Keeps it above other elements */
  transition: opacity 0.3s ease-in-out; /* Smooth fade effect only */
  font-family: 'Plus Jakarta Sans', sans-serif; /* Optional, for text inside logo */
}


#menu-logo img {
  height: 90px; /* Logo size */
  width: auto;
  display: block;
}
/* Doneer Button */
#menu-bar-button-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto; /* Push the button to the right */
}

#menu-bar-button-container .button-56 {
  align-items: center;
  background-color: #F7F7F8;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: 'Plus Jakarta Sans', sans-serif; /* Updated font */
  font-size: 16px; /* Increased font size */
  font-weight: 700; /* Bold font */
  height: 40px; /* Slightly taller height */
  justify-content: center;
  line-height: 18px;
  padding: 0 16px; /* Increased padding for larger button */
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

#menu-bar-button-container .button-56 i {
  margin-left: 8px; /* Increased spacing between text and icon */
  color: red; /* Red heart */
  font-size: 16px; /* Adjusted icon size */
}

#menu-bar-button-container .button-56:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 40px; /* Match button height */
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(4px, 4px); /* Adjust shadow for slightly larger button */
  transition: transform 0.2s ease-out;
  z-index: -1;
}

#menu-bar-button-container .button-56:hover:after {
  transform: translate(0, 0);
}

#menu-bar-button-container .button-56:active {
  background-color: #F7F7F8;
  outline: 0;
}

#menu-bar-button-container .button-56:hover {
  outline: 0;
}

/* Hamburger Menu */
#menu-btn-container {
  position: relative;
  z-index: 1001;
  display: flex;
  justify-content: flex-start; /* Aligns hamburger to the left */
  align-items: center;
}

/* Hamburger Menu */
#menu-btn {
  width: 39px;
  overflow: hidden;
}

#menu-checkbox {
  display: none;
}

#menu-label {
  position: relative;
  display: block;
  height: 29px;
  cursor: pointer;
}

#menu-label:before,
#menu-label:after,
#menu-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #F7F7F8; /* Match button background color */
  transition: background-color 0.3s ease;
}

#menu-label:before,
#menu-label:after {
  content: "";
  transition: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55) left;
}

#menu-label:before {
  top: 0;
}

#menu-label:after {
  top: 12px;
}

#menu-bar {
  top: 24px;
}

#menu-bar:before {
  content: "MENU";
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  color: #F7F7F8; /* Default text color matching button text */
  font-size: 12px;
 
  font-weight: bold;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease, color 0.3s ease;
}

/* Show "MENU" Text When Checked */
#menu-checkbox:checked + #menu-label #menu-bar:before {
  opacity: 1;
}

/* Hide Bars When Checked */
#menu-checkbox:checked + #menu-label:before {
  left: -39px;
}

#menu-checkbox:checked + #menu-label:after {
  left: 39px;
}

/* Hover Effects */
#menu-label:hover:before,
#menu-label:hover:after,
#menu-label:hover #menu-bar {
  background-color: #F7F7F8; /* Match button hover background color */
}

#menu-label:hover #menu-bar:before {
  color: #F7F7F8 !important; /* Ensure hover text color is applied */
  opacity: 1; /* Ensure visibility */
  transition: color 0.3s ease; /* Smooth transition */
}


/* Animation Effects */
#menu-checkbox:checked + #menu-label #menu-bar:before {
  animation: moveUpThenDown 0.8s ease 0.2s forwards,
    shakeWhileMovingUp 0.8s ease 0.2s forwards,
    shakeWhileMovingDown 0.2s ease 0.8s forwards;
}

@keyframes moveUpThenDown {
  0% {
    top: 0;
  }
  50% {
    top: -27px;
  }
  100% {
    top: -14px;
  }
}

@keyframes shakeWhileMovingUp {
  0% {
    transform: rotateZ(0);
  }
  25% {
    transform: rotateZ(-10deg);
  }
  50% {
    transform: rotateZ(0deg);
  }
  75% {
    transform: rotateZ(10deg);
  }
  100% {
    transform: rotateZ(0);
  }
}

@keyframes shakeWhileMovingDown {
  0% {
    transform: rotateZ(0);
  }
  80% {
    transform: rotateZ(3deg);
  }
  90% {
    transform: rotateZ(-3deg);
  }
  100% {
    transform: rotateZ(0);
  }
}

/* Update for Full-Screen Menu Flexbox Layout */
#full-screen-menu {
  position: fixed;
  top: 70px; /* Start from 70px top */
  left: 0;
  width: 100%;
  height: calc(100% - 70px); /* Adjust height to exclude the 70px top */
  background-color: #F7F7F8;;
  display: flex;
  flex-direction: column;
  z-index: 999;
  transform: translateX(-100%); /* Initially off-screen */
  transition: transform 0.5s ease; /* Smooth sliding effect */
}

#full-screen-menu.open {
  transform: translateX(0); /* Slide into view */
}

/* Full-Screen Menu Items */
#full-screen-menu > ul {
  list-style-type: none;
  padding: 0;
  margin: 50px 0 0 0px; /* Adjust margin for positioning lower and closer to the left */
  text-align: left; /* Align menu items to the left */
  display: block; /* Prevent stretching from flex properties */
}

/* Aligning Menu Items */
#full-screen-menu ul li {
  margin: 0; /* Remove extra spacing */
  padding: 4px 0; /* Add consistent vertical padding for spacing */
  width: auto; /* Prevent items from stretching */
}

/* Menu Links */
#full-screen-menu ul li a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Plus Jakarta Sans', sans-serif; /* Keep font consistent */
  display: inline-block; /* Prevent block stretching */
  transition: color 0.3s ease;
}

#full-screen-menu ul li a:hover {
  color: #0096c7; /* Blue highlight on hover */
}


/* Social Media Section (Div 2) */
#full-screen-contact {
  margin-top: auto; /* Push the section as far down as possible */
  margin-bottom: 15px; /* Adjust spacing above the bottom */
  display: flex;
  flex-direction: column; /* Keep title and links stacked */
  align-items: flex-start; /* Align content to the left */
  padding: 20px; /* Add padding for internal spacing */
}

/* Social Media Links Section */
#full-screen-contact-links {
  display: flex;
  flex-direction: row; /* Align links horizontally */
  gap: 20px; /* Space between the links */
  margin-top: 10px; /* Slight spacing below the title */
}

/* Social Media Title */
#full-screen-contact-title {
  font-size: 16px;
  font-weight: 500;
  color: #333; /* Slightly darker text for contrast */
  margin-bottom: 10px; /* Add spacing below the title */
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Individual Social Links */
/* Social Media Links Section */
#full-screen-contact-links {
  display: flex;
  flex-direction: row; /* Align links horizontally */
  gap: 10px; /* Adjusted spacing for compact layout */
  margin-top: 10px;
}

/* Individual Social Links */
#full-screen-contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F7F7F8;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px; /* Match font size of button-56 */
  font-weight: 700;
  height: 32px; /* Match button height */
  line-height: 16px;
  padding: 0 12px; /* Match button padding */
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

/* Social Media Icons */
#full-screen-contact-links a i {
  font-size: 16px; /* Icon size */
  color: #0096c7; /* Icon color to match design */
  margin-right: 6px; /* Spacing between icon and text */
}

/* Hover and Active Effects */
#full-screen-contact-links a:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 32px;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(4px, 4px);
  transition: transform 0.2s ease-out;
  z-index: -1;
}

#full-screen-contact-links a:hover:after {
  transform: translate(0, 0);
}

#full-screen-contact-links a:active {
  background-color: #F7F7F8;
  outline: 0;
}

#full-screen-contact-links a:hover {
  outline: 0;
}



#full-screen-buttons {
  flex: 0 0 15%; /* Third division occupies 25% of viewport height */
  display: flex;
  justify-content: center;
  align-items: center; /* Center items vertically */
  gap: 20px;
  background: url('https://ccm.ahis.dev/wp-content/uploads/2024/12/Achtergrond.webp') no-repeat center center;
  background-size: 120%; /* Set background height to 50px, auto adjusts the width */
  background-repeat: repeat-x; /* Repeat horizontally to fill the width if needed */
}

/* Full-Screen Menu Items */
#full-screen-menu > ul {
  list-style-type: none;
  padding: 0;
  margin: 50px 0 0 0; /* Adjust margin for positioning lower */
  text-align: left; /* Align menu items to the left */
  display: block; /* Prevent stretching from flex properties */
  width: 100%; /* Ensure it spans full width */
}

/* Menu Items with Dividers */
#full-screen-menu ul li {
  position: relative; /* For the chevron icon positioning */
  margin: 0; /* Ensure no extra spacing */
  padding: 15px 20px; /* Adjust padding for consistent spacing */
  width: 100%; /* Ensure full width */
  border-bottom: 1px solid #ccc; /* Add bottom border to the last item */
  cursor: pointer; /* Make the entire item clickable */
}

/* Remove Top Border from Non-First Items */
#full-screen-menu ul li:not(:first-child) {
  border-top: none;
}

/* Menu Links */
#full-screen-menu ul li a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif; /* Keep font consistent */
  display: flex; /* Flex layout for alignment */
  justify-content: space-between; /* Push text and icon apart */
  align-items: center; /* Center items vertically */
  width: 100%; /* Ensure the link spans the full width */
  height: 100%; /* Make the link fill the entire menu item */
  transition: color 0.3s ease;
}

/* Chevron Icon */
#full-screen-menu ul li a:after {
  content: "\f054"; /* Unicode for Font Awesome 'chevron-right' */
  font-family: "Font Awesome 5 Free"; /* Use Font Awesome */
  font-weight: 900; /* Ensure the icon is bold */
  color: #999; /* Light gray for the arrow */
  font-size: 16px; /* Slightly smaller arrow */
  margin-left: auto; /* Push to the right edge */
  margin-right: 10px; /* Slight spacing to the left of the edge */
  transition: color 0.3s ease; /* Smooth hover effect */
}

/* Hover Effect for Menu Links */
#full-screen-menu ul li a:hover {
  color: #005f8a; /* Blue highlight on hover */
}

#full-screen-menu ul li a:hover:after {
  color: #005f8a; /* Change chevron color on hover */
}


/* Hide mobile menu on larger screens */
@media (min-width: 768px) {
    #menu-bar-container {
        display: none; /* Hides the mobile menu on screens 768px and larger */
    }

    #full-screen-menu {
        display: none !important; /* Ensure fullscreen menu is hidden as well */
    }
}