/* ============================================
   SHOCO MARKETING — Fullscreen Overlay Menu
   Sage Marketing style — for WordPress/Elementor
   ============================================ */

/* ── Overlay Container ── */
#shoco-fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  pointer-events: none;
  visibility: hidden;
  direction: rtl;
}

#shoco-fullscreen-menu.open {
  pointer-events: all;
  visibility: visible;
}

/* ── Background ── */
#shoco-fullscreen-menu .shoco-menu-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #001d37;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

#shoco-fullscreen-menu.open .shoco-menu-bg {
  transform: scaleY(1);
}

/* ── Close Button (X) ── */
#shoco-fullscreen-menu .shoco-menu-close {
  position: absolute;
  top: 20px;
  left: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
  background: none;
  border: none;
  padding: 0;
}

#shoco-fullscreen-menu.open .shoco-menu-close {
  opacity: 1;
  transition: opacity 0.3s ease 0.5s;
}

#shoco-fullscreen-menu .shoco-menu-close span {
  display: block;
  width: 30px;
  height: 2.5px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 2px;
  transition: background 0.3s ease;
}

#shoco-fullscreen-menu .shoco-menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

#shoco-fullscreen-menu .shoco-menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#shoco-fullscreen-menu .shoco-menu-close:hover span {
  background: #e0626e;
}

/* ── Content Grid ── */
#shoco-fullscreen-menu .shoco-menu-content {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  padding: 60px 60px 70px;
  opacity: 0;
  transition: opacity 0.3s ease 0s;
}

#shoco-fullscreen-menu.open .shoco-menu-content {
  opacity: 1;
  transition: opacity 0.4s ease 0.35s;
}

/* ── Right Column — Branding (RTL: visually on the right) ── */
#shoco-fullscreen-menu .shoco-menu-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid #ffffff14;
}

#shoco-fullscreen-menu .shoco-menu-brand-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#shoco-fullscreen-menu .shoco-menu-brand-logo:hover {
  opacity: 1;
}

/* ── Left Column — Nav Links (RTL: visually on the left) ── */
#shoco-fullscreen-menu .shoco-menu-nav-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 80px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#shoco-fullscreen-menu .shoco-menu-nav-col::-webkit-scrollbar {
  display: none;
}

#shoco-fullscreen-menu .shoco-menu-welcome {
  font-family: 'Assistant', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ffffff4d;
  margin-bottom: 16px;
}

#shoco-fullscreen-menu .shoco-menu-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#shoco-fullscreen-menu .shoco-menu-nav li {
  overflow: hidden;
}

#shoco-fullscreen-menu .shoco-menu-nav li a {
  display: inline-block;
  font-family: 'Assistant', sans-serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.3;
  padding: 3px 0;
  transform: translateY(110%);
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1),
              color 0.3s ease;
}

#shoco-fullscreen-menu.open .shoco-menu-nav li a {
  transform: translateY(0);
}

/* Staggered animation */
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(1) a { transition-delay: 0.30s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(2) a { transition-delay: 0.36s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(3) a { transition-delay: 0.42s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(4) a { transition-delay: 0.48s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(5) a { transition-delay: 0.54s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(6) a { transition-delay: 0.60s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(7) a { transition-delay: 0.66s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(8) a { transition-delay: 0.72s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(9) a { transition-delay: 0.78s; }
#shoco-fullscreen-menu.open .shoco-menu-nav li:nth-child(10) a { transition-delay: 0.84s; }

/* Reset delay on close */
#shoco-fullscreen-menu:not(.open) .shoco-menu-nav li a {
  transition-delay: 0s !important;
}

/* Hover */
#shoco-fullscreen-menu .shoco-menu-nav li a:hover {
  color: #e0626e;
}

/* ── Footer ── */
#shoco-fullscreen-menu .shoco-menu-footer {
  position: absolute;
  bottom: 30px;
  left: 60px;
  right: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0s;
  direction: rtl;
}

#shoco-fullscreen-menu.open .shoco-menu-footer {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease 0.7s;
}

#shoco-fullscreen-menu .shoco-menu-footer-tagline {
  font-family: 'Assistant', sans-serif;
  font-size: 15px;
  color: #ffffff66;
}

#shoco-fullscreen-menu .shoco-menu-footer-social {
  display: flex;
  gap: 18px;
}

#shoco-fullscreen-menu .shoco-menu-footer-social a {
  color: #ffffff73;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s ease;
}

#shoco-fullscreen-menu .shoco-menu-footer-social a:hover {
  color: #e0626e;
}

#shoco-fullscreen-menu .shoco-menu-footer-social a svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ── Hide Elementor default popup menu ── */
.dialog-widget.dialog-lightbox-widget.elementor-popup-modal {
  display: none !important;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  #shoco-fullscreen-menu .shoco-menu-content {
    grid-template-columns: 1fr;
    padding: 70px 24px 60px;
  }

  #shoco-fullscreen-menu .shoco-menu-brand-col {
    display: none;
  }

  #shoco-fullscreen-menu .shoco-menu-nav-col {
    padding-right: 0;
    text-align: center;
  }

  #shoco-fullscreen-menu .shoco-menu-welcome {
    text-align: center;
  }

  #shoco-fullscreen-menu .shoco-menu-nav li a {
    font-size: clamp(22px, 5.5vw, 32px);
  }

  #shoco-fullscreen-menu .shoco-menu-close {
    left: 20px;
    top: 16px;
  }

  #shoco-fullscreen-menu .shoco-menu-footer {
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
