/* FlowingMenu Styles - Vanilla JS Version */
.menu-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 102, 0, 0.02) 100%);
  border-radius: 16px;
}

.menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 8px;
  gap: 4px;
}

.menu__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 2px solid rgba(255, 102, 0, 0.2);
  border-radius: 12px;
  margin: 6px 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 102, 0, 0.05) 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 
              0 1px 3px rgba(0, 0, 0, 0.1),
              inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.menu__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 102, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.menu__item:hover {
  border-color: rgba(255, 102, 0, 0.6);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 102, 0, 0.1) 100%);
  box-shadow: 0 4px 16px rgba(255, 102, 0, 0.2), 
              0 2px 8px rgba(0, 0, 0, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateX(6px) translateY(-2px);
}

.menu__item:hover::before {
  left: 100%;
}

.menu__item:hover .menu__item-link {
  opacity: 0;
}

.menu__item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  position: relative;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 4vh;
  letter-spacing: 1px;
  z-index: 2;
  transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
  opacity: 1;
  padding: 0 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.menu__item-icon {
  font-size: 3.5vh;
  color: #ff6600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.3s ease,
              filter 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(255, 102, 0, 0.3));
  position: relative;
}

.menu__item-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 102, 0, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu__item:hover .menu__item-icon {
  transform: scale(1.15) rotate(5deg);
  color: #ff8c00;
  filter: drop-shadow(0 4px 8px rgba(255, 102, 0, 0.5));
}

.menu__item:hover .menu__item-icon::after {
  opacity: 1;
}

.menu__item-link:hover {
  color: #060010;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.menu__item-link:focus:not(:focus-visible) {
  color: #fff;
}

.marquee {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135deg, #ff6600 0%, #ff8c00 100%);
  transform: translate3d(0, 101%, 0);
}

.marquee__inner-wrap {
  height: 100%;
  width: 300%;
  display: flex;
  transform: translateX(0);
}

.marquee__inner {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  width: 300%;
  will-change: transform;
  animation: marquee 12s linear infinite;
}

.marquee span {
  color: #fff;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 4vh;
  line-height: 1.2;
  padding: 1vh 1vw 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.marquee__img {
  width: 200px;
  height: 7vh;
  margin: 2em 2vw;
  padding: 1em 0;
  border-radius: 50px;
  background-size: cover;
  background-position: 50% 50%;
  display: none; /* Hide images, we'll use icons instead */
}

.marquee__icon {
  font-size: 5vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 2vw;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu__item {
    margin: 3px 0;
    border-width: 1.5px;
  }
  
  .menu__item-link {
    font-size: 3vh;
    padding: 0 15px;
    gap: 10px;
  }
  
  .menu__item-icon {
    font-size: 2.8vh;
  }
  
  .marquee span {
    font-size: 3vh;
  }
  
  .marquee__img {
    width: 150px;
    height: 5vh;
  }
  
  .marquee__icon {
    font-size: 4vh;
    margin: 0 1.5vw;
  }
  
  .marquee span {
    font-size: 3vh;
  }
}

