/*
 *
 * Adaptive
 * Copyright (c) 2025 Adaptive Technology S.L.
 * https://adaptivetech.es
 * adaptive-zoom-hero.css created on Tue Oct 21 2025
 * Developer: Sergio Pascual
 *
 */

.zoom-hero .row-bg,
#home .row-bg {
  position: relative;
  overflow: hidden;
}

.zoom-hero .row-bg .zoom-layer,
#home .row-bg .zoom-layer {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .zoom-hero .row-bg .zoom-layer,
  #home .row-bg .zoom-layer {
    transition: none !important;
  }
}

/* Modificaciones de CSS generales para los estilos */
.menu__option__border__item {
    background-size: cover;
    padding: 200px 20px 30px 20px;
    border-radius: 20px;
    z-index: 1;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.menu__option__border__item a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.menu__option__border__item:hover::before {
    top: -10px;
}

.menu__option__border__item div{
    transition: all 0.3s ease;
    top: 0;
    position: relative;
}
.menu__option__border__item:hover div{
    top: -10px;
}

.menu__option__border__item::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #662d91;
    top: 0;
    left: 0;
    border-radius: 20px;
    z-index: -2;
    transition: all 0.3s ease;
}

.menu__option__border__item::before {
  content: '';
  position: absolute;
  width: 100%;
  height: calc(100% - 8px);
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 20px;
  background-size: cover;
  transition: all 0.3s ease;
}

.overlay-gradient-bottom {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top, rgb(0 0 0 / 69%) 0%, rgba(0, 0, 0, 0) 60%);
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 8px);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.menu__option__border__item:hover .overlay-gradient-bottom {
    top: -10px;
}

.menu__option__border__item.hotmelt::before {
  background-image: url('/wp-content/uploads/2025/10/FOTO63-64.webp')
}

.menu__option__border__item.chemical-comodities::before {
  background-image: url('/wp-content/uploads/2025/10/FOTO3.webp')
}

.menu__option__border__item.project-support::before {
  background-image: url('/wp-content/uploads/2025/10/FOTO4.webp')
}

.nectar-list-item,
.nectar-list-item li {
    font-size: 1.1rem;
}

#menu-item-464 a span,
#menu-item-1174 a span{
  color: white !important;
}

@media (max-width: 768px) {
  .menu__option__border__item {
      padding: 70px 20px 30px 20px;
      margin-bottom: 15px !important;
  }
  .menu__option__border__item p {
    color: white !important;
    line-height: 1.7rem !important;
  }
  body #header-outer #top .slide-out-widget-area-toggle[data-custom-color="true"] a:before {
    background-color: #672d91 !important;
  }
  .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:before,
  .slide-out-widget-area-toggle.mobile-icon .lines-button.x2 .lines:after,
  .slide-out-widget-area-toggle.mobile-icon .lines-button:after,
  body.mobile.material[data-header-color=light] #header-outer .slide-out-widget-area-toggle a .close-line{
    background-color: #ffffff !important;
  }
  .menu-item-object-wpml_ls_menu_item span {
    display: flex !important;
  }
}
