/*
 * BREAKPOINT SYSTEM:
 * Mobile:     0-1023px   (includes tablets, hamburger menu)
 * Desktop-SM: 1024-1199px (full menu, 1100px container)
 * Desktop-MD: 1200-1399px (1300px container)
 * Desktop-LG: 1400px+     (1600px container)
 *
 * Navigation toggles at: 1024px
 * See variables.css for centralized breakpoint values
 */

html,
body {
  overflow-x: hidden;
  background: #001c38;
  width: 100%;
  position: relative;
  scrollbar-gutter: auto;
}
/* =====================================================
   2-LAYER NAVIGATION SYSTEM
   Top Bar: Logo | Partners | Demo Button
   Nav Bar: Menu Items with hover dropdowns
   Mobile: Fullscreen overlay with tap-to-expand
   ===================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1020;
  background: #001c38;
}

.site-topbar {
  padding: 16px 0;
  border-bottom: 1px solid rgba(149, 217, 252, 0.1);
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-topbar__logo {
  flex-shrink: 0;
  user-select: none;
}

.site-topbar__logo .site-logo--desktop {
  width: 220px;
  height: auto;
  display: block;
}

.site-topbar__logo .site-logo--mobile {
  width: 40px;
  height: auto;
  display: none;
}

.site-topbar__partners {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  user-select: none;
}

.site-topbar__partners img {
  width: 280px;
  height: auto;
}

.site-topbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Nav-scoped compact button overrides */
.site-topbar__actions .button-green,
.site-topbar__actions .button-blue {
  padding: 8px 16px;
  font-size: 14px;
  height: 40px;
  white-space: nowrap;
  letter-spacing: 1.25px;
}

.site-topbar__actions .button-green img,
.site-topbar__actions .button-green svg,
.site-topbar__actions .button-blue img,
.site-topbar__actions .button-blue svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  user-select: none;
}

/* Hamburger - hidden on desktop */
.site-topbar__toggler {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  padding: 4px 8px;
  min-width: 52px;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

@media (hover: hover) {
  .site-topbar__toggler:hover {
    background: rgba(149, 217, 252, 0.1);
  }
}

.site-topbar__toggler:active {
  background: rgba(149, 217, 252, 0.1);
}

.site-topbar__toggler-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28204, 229, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.site-topbar__toggler-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-inverted-high, #cce5fff2);
  line-height: 1;
}

/* Hamburger X state when menu open */
.site-topbar__toggler.is-active .site-topbar__toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28204, 229, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M7 23l16-16'/%3e%3c/svg%3e");
}

/* ----- NAV BAR (Desktop) ----- */
.desktop-nav {
  padding: 12px 0;
}

.desktop-nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 25px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Align first menu item with logo/content by removing left padding */
.desktop-nav-menu .desktop-nav-item:first-child .desktop-nav-link {
  padding-left: 0;
}

.desktop-nav-item {
  position: relative;
  list-style: none;
}

.desktop-nav-link {
  color: var(--Text-Light-Blue, rgba(149, 217, 252, 0.87));
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.desktop-nav-link:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dropdown toggle buttons - keep hover feedback but no pointer cursor (dropdown opens on hover, not click) */
button.desktop-nav-link.dropdown-toggle {
  cursor: default;
  background: none;
  border: none;
}

/* Dropdown arrow icon */
.desktop-nav-link .siu-icon {
  font-size: 10px;
  width: 10px;
  height: 4px;
  transition: transform 0.25s ease;
  margin-left: 2px;
}

/* Arrow flip and color change on hover for dropdown items */
.desktop-nav-item.dropdown:hover .desktop-nav-link .siu-icon {
  transform: rotate(180deg);
  filter: brightness(0) invert(1); /* Makes the icon white */
}

/* ----- DROPDOWN MENUS (Desktop - hover) ----- */
.desktop-nav-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 8px;
  display: flex;
  padding: 12px 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-radius: 12px;
  border: 1px solid rgba(149, 217, 252, 0.2);
  background: #001c38;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s;
  z-index: 1021;
  list-style: none;
  min-width: 200px;
}

/* Hover bridge to prevent menu from closing when moving mouse through the gap */
.desktop-nav-dropdown::before {
  content: "";
  position: absolute;
  top: -8px; /* Cover the 8px margin-top gap */
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
}

/* Show dropdown on hover */
.desktop-nav-item.dropdown:hover .desktop-nav-dropdown {
  opacity: 1;
  visibility: visible;
}

.desktop-nav-dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.desktop-nav-dropdown li a {
  display: block;
  padding: 8px 0;
  color: rgba(149, 217, 252, 0.87);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: color 0.15s ease;
}

.desktop-nav-dropdown li a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ----- MOBILE MENU OVERLAY ----- */
.mobile-nav {
  position: fixed;
  top: 73px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #001c38;
  z-index: 1019;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s;
  display: flex;
  flex-direction: column;
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 16px 0;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  color: rgba(149, 217, 252, 0.87);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Dropdown toggle: label left, arrow right */
button.mobile-nav-link.dropdown-toggle {
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  justify-content: space-between;
}

/* Right-pointing chevron arrow */
.mobile-nav-link .siu-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0;
  transition: transform 0.25s ease;
  filter: none;
}

.mobile-nav-link .siu-icon::before {
  content: '' !important;
  font-family: inherit;
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  margin-left: -2px;
}

.mobile-nav-item.dropdown.is-open .mobile-nav-link .siu-icon {
  transform: rotate(90deg);
  filter: none;
}

/* Dropdown content */
.mobile-nav-dropdown {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.15);
}

.mobile-nav-item.dropdown.is-open .mobile-nav-dropdown {
  max-height: 700px;
}

.mobile-nav-dropdown li a {
  display: block;
  padding: 12px 24px 12px 40px;
  color: rgba(149, 217, 252, 0.87);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.15s ease;
}

.mobile-nav-dropdown li a:hover,
.mobile-nav-dropdown li a:active {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* CTA buttons at bottom */
.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  margin-top: auto;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.mobile-nav.is-open .mobile-nav-buttons {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-buttons .button-blue,
.mobile-nav-buttons .button-green {
  width: 100%;
  justify-content: center;
}

/* ----- RESPONSIVE ----- */

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .site-topbar__toggler {
    display: none !important;
  }
  .mobile-nav {
    display: none !important;
  }
}

/* Tablet/Mobile: 0-1023px */
@media (max-width: 1023px) {
  .site-topbar {
    padding: 12px 0;
  }

  .site-topbar__inner {
    padding: 0;
  }

  .site-topbar__logo .site-logo--desktop {
    display: none;
  }

  .site-topbar__logo .site-logo--mobile {
    display: block;
  }

  .site-topbar__partners {
    display: none;
  }

  .site-topbar__actions {
    gap: 12px;
  }

  .site-topbar__actions .button-green,
  .site-topbar__actions .button-blue {
    display: none;
  }

  .site-topbar__toggler {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide desktop nav bar on mobile */
  .desktop-nav {
    display: none;
  }

  /* Adjust mobile menu top position */
  .mobile-nav {
    top: 61px;
  }

  /* Body scroll lock when menu open */
  body.site-menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }
}

/* Small mobile adjustments */
@media (max-width: 400px) {
  .site-topbar__actions .button-green {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Shared buttons */
.button-green {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  background: var(--brand-green, #00dd8d);
  color: #002b57;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.button-green img,
.button-green svg,
.button-blue img,
.button-blue svg {
  user-select: none;
  pointer-events: none;
}

.button-green:hover {
  background: #00c97f;
  box-shadow: 0 4px 20px rgba(0, 221, 141, 0.3);
}

.button-blue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 8px;
  background: #2A5580;
  color: rgba(204, 229, 255, 0.95);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.button-blue:hover {
  background: #325f8f;
  box-shadow: 0 4px 20px rgba(42, 85, 128, 0.3);
}

.desktop-nav-item.dropdown {
  position: relative;
}

.is-homepage .site-footer {
  padding-top: 60px !important;
}

@media (max-width: 1023px) {
  .is-homepage .site-footer {
    padding-top: 40px !important;
  }
}

.site-footer {
  background: #001c38;
  color: var(--Text-Light-Blue, rgba(149, 217, 252, 0.87));
  padding: 60px 0;
}

@media (max-width: 1023px) {
  .site-footer {
    padding: 40px 0;
  }
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding-left: 0;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
  width: auto;
  height: auto;
  margin-left: -21px;
}

.footer-logo a {
  display: block;
}

.footer-logo img,
.footer-logo svg {
  width: auto;
  height: auto;
}
.footer-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  margin-top: 40px;
}

.footer-copyright {
  margin: 0;
  color: var(--Text-Light-Blue, rgba(149, 217, 252, 0.87));
}

@media (max-width: 1023px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 24px;
    padding-left: 6px;
  }
}
@media (max-width: 1023px) {
  .bottom_footer_details {
    display: flex;
    justify-content: center;
  }
}

/* Update footer links color */
.site-footer-link {
  color: var(--Text-Light-Blue, rgba(149, 217, 252, 0.87));
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-footer-link:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Footer info styles */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 0;
}

.info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-row .emoji {
  width: 24px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.info-row .text {
  flex: 1;
  min-width: 180px;
  text-align: left;
  color: var(--Text-Light-Blue, rgba(149, 217, 252, 0.87));
}
.info-row a:hover {
  color: white;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 24px;
}

@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-col {
    display: none;
  }
}

.footer-col--google {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

/* Google Reviews Emblem (shared partial) */
.google-emblem {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.google-emblem__logo {
  flex-shrink: 0;
}

.google-emblem__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-emblem__stars {
  display: flex;
  gap: 3px;
}

.google-emblem__score {
  color: #e8f4ff;
  font-size: 14px;
  font-weight: 600;
}

.google-emblem__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(204, 229, 255, 0.6);
  font-size: 13px;
  font-weight: 600;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.google-emblem__cta svg {
  transition: transform 0.2s ease;
}

.google-emblem:hover .google-emblem__cta {
  color: var(--brand-green, #00dd8d);
}

.google-emblem:hover .google-emblem__cta svg {
  transform: translateX(3px);
}

/* Phone number styling */
.phone-number {
  display: inline;
}


@media (max-width: 1023px) {
  .phone-number {
    display: none;
  }

  .phone-link {
    display: inline;
  }
}

/* Special styling for address row */
.address-row {
  align-items: flex-start;
}

.address-row .text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  font-style: normal;
}

.address-row .text,
.address-row .text span {
  color: rgba(149, 217, 252, 0.87) !important;
}

.address-row .text span {
  display: block;
  text-align: left;
  width: 100%;
}

/* Mobile styles - legacy utility classes */
.large-only {
  display: block;
}
.small-only {
  display: none;
}

@media (max-width: 1023px) {
  .large-only {
    display: none !important;
  }
  .small-only {
    display: block;
  }
}

/* Mobile footer styles */
@media (max-width: 1023px) {
  .footer-content {
    padding: 0;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
    width: auto;
    margin: auto;
    max-width: 300px;
    transform: none;
  }

  .footer-main {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
    gap: 16px;
  }

  .footer-logo {
    justify-content: flex-start;
    margin-left: -12px;
  }

  .footer-info {
    align-items: flex-start;
    padding-left: 6px;
    gap: 6px;
  }

  .info-row {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }

  .info-row .emoji {
    width: 24px;
    text-align: right;
  }

  .info-row .text {
    min-width: 180px;
    text-align: left;
    margin-left: 0;
  }

  .address-row {
    align-items: flex-start;
  }

  .address-row .text {
    align-items: flex-start;
  }

  .site-footer .container-fluid {
    align-items: center;
  }

  .site-footer-logo {
    margin-left: 10px;
  }

  .site-nav {
    margin-left: 0px;
  }

  .site-nav .container {
    padding-top: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    justify-content: space-between;
    transform: none;
    flex-wrap: wrap;
  }

  .navbar-collapse {
    position: fixed;
    top: 85px;
    left: 0;
    background: #001c38;
    width: 100%;
    z-index: 1021;
  }

  .desktop-nav-link {
    font-size: 18px;
  }

  .desktop-nav-item.dropdown {
    padding: 0.5rem 1rem;
    position: relative;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .desktop-nav-link.show,
  .desktop-nav-link.dropdown-toggle.show {
    background: none !important; /* Override any Bootstrap background */
    background-image: none !important;
    background-color: transparent !important;
  }
  /* Add padding to the body to account for the fixed navbar */
  .site-body {
    padding-top: 72px; /* Adjust this value based on your navbar height */
  }

  .desktop-nav-dropdown {
    margin-top: 1.4rem !important;
  }
}

/* Hide CookieConfirm floating icon - users can access settings via /cookieverklaring/ */
#cc-icon {
  display: none !important;
}
