@charset "UTF-8";
/* ========================================
   UNIVERSAL MEGA MENU - For all dropdowns (pages)
   Same style as Tinyhäuser but for Elementor pages
   ======================================== */
/* Hide standard Elementor dropdowns when megamenu is being used (desktop only) */
@media (min-width: 1025px) {
  .menu-item-has-children > .sub-menu,
  .menu-item-has-children > .elementor-nav-menu--dropdown {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}
.ehc-mega-menu-universal {
  position: fixed;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  max-height: 0;
  overflow: hidden;
}

.ehc-mega-menu-universal.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 600px;
}

.ehc-mega-menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Left side - Menu items list */
.ehc-mega-menu-items-wrapper {
  padding-right: 20px;
}

.ehc-mega-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ehc-mega-menu-item {
  margin-bottom: 12px;
  transition: all 0.2s ease;
}

.ehc-mega-menu-item a {
  display: block;
  padding: 12px 20px;
  font-size: 16px;
  color: #16163f;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  font-weight: 500;
}

.ehc-mega-menu-item:hover a,
.ehc-mega-menu-item.active a {
  background-color: #f5f5f5;
  border-left-color: #f9b233;
  color: #f9b233;
  padding-left: 25px;
}

/* Right side - Featured image */
.ehc-mega-menu-image-section {
  position: sticky;
  top: 20px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #f5f5f5;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ehc-mega-menu-featured-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
  transition: opacity 0.3s ease;
}

/* Responsive */
@media (max-width: 1024px) {
  .ehc-mega-menu-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ehc-mega-menu-image-section {
    max-height: 250px;
  }
  .ehc-mega-menu-featured-image {
    max-height: 250px;
  }
}
@media (max-width: 768px) {
  .ehc-mega-menu-universal.active {
    max-height: 500px;
    overflow-y: auto;
  }
  .ehc-mega-menu-container {
    padding: 20px 15px;
  }
  .ehc-mega-menu-item a {
    font-size: 14px;
    padding: 10px 15px;
  }
  .ehc-mega-menu-image-section {
    display: none;
  }
}
