:root {
  --navbar-height: 80px;
}

.navbar-custom {
  background: linear-gradient(89deg, #1f5046 0%, #4fa692 100%);
  border-bottom: 4px solid #fcf7ea;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  text-align: center;
  font-family: Voltaire;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.nav-link:hover {
  color: #ffffff !important;
}

/* Mobile Hamburger Menu */
.mobile-hamburger {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
}

.mobile-hamburger span {
  display: block;
  width: 25px;
  height: 25px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.mobile-hamburger:hover span {
  background-color: #fcf7ea;
}

.mobile-hamburger:focus {
  outline: none;
}

.mobile-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* Dynamische viewport hoogte voor mobiel */
  background: radial-gradient(136.89% 136.89% at 0% 0%,
      #f6ead4 0%,
      #cb8469 45.19%,
      #6b4b54 100%);
  z-index: 999;
  transform: translateX(100%);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-menu-overlay::before {
  content: "";
  position: absolute;
  top: 0;
  left: -20%;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, #f9dab8 50%, #f3c189 50%);
  pointer-events: none;
  clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 10% 100%);
}

.mobile-menu-overlay.show {
  animation: bounceInRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translatex(0);
}

.mobile-menu-overlay.hide {
  animation: bounceOutRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes bounceInRight {
  0% {
    transform: translateX(100%);
  }

  80% {
    transform: translateX(-1%);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes bounceOutRight {
  0% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-1%);
  }

  100% {
    transform: translateX(100%);
  }
}

.mobile-menu-content {
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  padding: 100px 20px 40px;
}

.mobile-menu-inner {
  width: 100%;
  max-width: min(500px, 100vw - 40px);
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vh, 20px);
  margin: 0 auto;
}

.mobile-nav-link {
  color: #fff;
  text-decoration: none;
  font-family: Voltaire, sans-serif;
  font-size: clamp(22px, 4vh, 28px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  padding: clamp(4px, 1vh, 8px) 0;
  transform: translateX(100%);
}

.mobile-nav-link.animate-in {
  animation: bounceInRight 0.7s cubic-bezier(0.68, -0.1, 0.265, 1.2) forwards;
}

.mobile-nav-link.animate-out {
  animation: bounceOutRight 1.2s cubic-bezier(0.68, -0.1, 0.265, 1.2);
}

.mobile-nav-link:hover {
  color: #fcf7ea;
  transform: scale(1.05);
}

.mobile-menu-divider,
.mobile-menu-logo,
.mobile-menu-social {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
}

.mobile-menu-divider {
  margin: clamp(8px, 2vh, 15px) 0;
}

.mobile-menu-logo {
  margin: clamp(8px, 2vh, 15px) 0;
}

.mobile-menu-logo img {
  max-width: clamp(140px, 20vw, 176px);
  width: 100%;
}

.mobile-menu-icons {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 10px 0;
  font-size: 24px;
}

.menu-icon {
  opacity: 0.8;
}

.mobile-menu-social {
  display: flex;
  gap: 20px;
  margin-top: clamp(10px, 2vh, 20px);
}

.social-icon_menu {
  width: clamp(32px, 5vw, 40px);
  height: clamp(32px, 5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(16px, 2.5vw, 20px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: #fcf7ea;
  transform: scale(1.1);
}

@media (max-width: 991.98px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block !important;
  }

  .navbar-custom {
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
    z-index: 1001;
  }
}

@media (max-height: 700px) {
  .mobile-menu-content {
    padding: 80px 20px 30px;
  }

  .mobile-menu-inner {
    gap: clamp(8px, 1.5vh, 15px);
  }

  .mobile-nav-link {
    font-size: clamp(20px, 3.5vh, 26px);
    padding: clamp(3px, 0.8vh, 6px) 0;
  }

  .mobile-menu-logo img {
    max-width: clamp(120px, 18vw, 150px);
  }

  .mobile-menu-divider,
  .mobile-menu-logo {
    margin: clamp(5px, 1.5vh, 10px) 0;
  }
}

@media (max-height: 600px) {
  .mobile-menu-content {
    padding: 70px 15px 25px;
  }

  .mobile-menu-inner {
    gap: clamp(6px, 1vh, 12px);
  }

  .mobile-nav-link {
    font-size: clamp(18px, 3vh, 24px);
    padding: clamp(2px, 0.6vh, 5px) 0;
  }

  .mobile-menu-logo img {
    max-width: clamp(100px, 15vw, 130px);
  }

  .social-icon_menu {
    width: clamp(28px, 4vw, 35px);
    height: clamp(28px, 4vw, 35px);
    font-size: clamp(14px, 2vw, 18px);
  }
}

@media (min-width: 992px) {
  .mobile-menu {
    display: none !important;
  }

  .mobile-hamburger {
    display: none !important;
  }
}

/* City Dropdown Menu */
.city-dropdown-wrapper {
  position: static;
}

.city-dropdown-wrapper .city-dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #f6ead4;
  border-radius: 0;
  padding: 30px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-height: none;
  overflow: visible;
  margin-top: var(--navbar-height, 80px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.city-dropdown-wrapper .city-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.city-dropdown-wrapper .city-dropdown-content {
  gap: 20px;
}

.city-dropdown-wrapper .city-dropdown-item {
  padding: 20px 50px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.50);
  transition: all 0.3s ease;
  min-width: 120px;
}

.city-dropdown-wrapper .city-dropdown-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.city-dropdown-wrapper .city-thumb {
  aspect-ratio: 1/1;
  width: 160px;
  margin-bottom: 10px;
  border: 5px solid white;
  box-shadow: 7px 8px 24px 0 rgba(0, 0, 0, 0.15);
}

.city-dropdown-wrapper .city-name {
  color: #1f5046;
  font-family: Voltaire;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 45px;
  margin-top: 30px;
}

.city-dropdown-wrapper .city-dropdown-cta {
  padding: 20px 50px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.50);
  transition: all 0.3s ease;
  min-width: 120px;
}

.city-dropdown-wrapper .city-dropdown-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.city-dropdown-wrapper .cta-title {
  color: #1f5046;
  font-family: Voltaire, sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 45px;
  margin-bottom: 25px;
}


/* City Dropdown Responsive - Kleinere laptops */
@media (max-width: 1400px) {
  .city-dropdown-wrapper .city-dropdown-menu {
    padding: 25px 30px;
  }

  .city-dropdown-wrapper .city-dropdown-content {
    gap: 15px;
  }

  .city-dropdown-wrapper .city-dropdown-item,
  .city-dropdown-wrapper .city-dropdown-cta {
    padding: 15px 30px;
  }

  .city-dropdown-wrapper .city-thumb {
    width: 120px;
  }

  .city-dropdown-wrapper .city-name {
    font-size: 28px;
    line-height: 36px;
    margin-top: 20px;
  }

  .city-dropdown-wrapper .cta-title {
    font-size: 24px;
  }

  .city-dropdown-wrapper .cta-button {
    font-size: 16px;
    padding: 10px 24px;
    margin-top: 15px;
  }
}

@media (max-width: 1200px) {
  .city-dropdown-wrapper .city-dropdown-menu {
    padding: 20px 25px;
  }

  .city-dropdown-wrapper .city-dropdown-content {
    gap: 12px;
  }

  .city-dropdown-wrapper .city-dropdown-item,
  .city-dropdown-wrapper .city-dropdown-cta {
    padding: 12px 20px;
  }

  .city-dropdown-wrapper .city-thumb {
    width: 100px;
    border-width: 4px;
  }

  .city-dropdown-wrapper .city-name {
    font-size: 22px;
    line-height: 28px;
    margin-top: 15px;
  }

  .city-dropdown-wrapper .cta-title {
    font-size: 20px;
  }

  .city-dropdown-wrapper .cta-button {
    font-size: 14px;
    padding: 8px 20px;
    margin-top: 12px;
  }
}

/* Verberg dropdown op mobiel (onder 992px) */
@media (max-width: 991px) {
  .city-dropdown-wrapper .city-dropdown-menu {
    display: none;
  }
}