/* =========================================================
   LU1YY Sticky Header – Frontend Styles
   ========================================================= */

/* ── Header wrapper ─────────────────────────────────────── */
.she-header {
    --she-bg-default: rgba(0,0,0,0.7);
    --she-bg-scrolled: rgba(0,0,0,0.95);
    --she-ham-color:   #ffffff;
    --she-mob-bg:      #111111;

    position: fixed !important;
    top:    0 !important;
    left:   0 !important;
    right:  0 !important;
    width:  100% !important;
    z-index: 99999 !important;
    margin:  0 !important;
    padding: 0 !important;
    background: var(--she-bg-default);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.35s ease, box-shadow 0.35s ease;
    box-shadow: none;
    box-sizing: border-box;
}

.she-header.she-scrolled {
    background: var(--she-bg-scrolled);
    box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

/* Editor: in-flow so the widget is editable */
.elementor-editor-active .she-header {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
}

/* ── Inner bar ──────────────────────────────────────────── */
.she-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding-left:  40px;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

/* ── Logo ───────────────────────────────────────────────── */
.she-logo { flex-shrink: 0; line-height: 0; }

.she-logo a {
    display: inline-block;
    line-height: 0;
    text-decoration: none;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.she-logo img {
    width: 160px;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.she-logo a:hover img { opacity: 0.85; }

/* ── Desktop nav ────────────────────────────────────────── */
.she-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none !important;
    margin:  0 !important;
    padding: 0 !important;
}

.she-nav li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.she-nav a {
    position: relative;
    display: inline-block;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.25s ease;
    padding: 0 0 3px 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.she-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.she-nav a:hover::after,
.she-nav a.she-active::after { width: 100%; }

/* ── Hamburger — DIV, not button, so themes can't style it ─ */
.she-hamburger {
    display: none;          /* hidden by default; JS shows via .she-mobile-mode */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width:  40px;
    height: 40px;
    flex-shrink: 0;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;

    /* Guarantee no inherited styles from anywhere */
    background:    none !important;
    border:        none !important;
    border-radius: 0    !important;
    box-shadow:    none !important;
    outline:       none !important;
    padding:       4px  !important;
    margin:        0    !important;
    text-decoration: none !important;
}

/* Neutral focus ring (accessible, not browser-default ugly) */
.she-hamburger:focus-visible {
    outline: 2px solid var(--she-ham-color, #fff) !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* Three lines */
.she-hamburger span {
    display: block;
    width:  24px;
    height: 2px;
    background: var(--she-ham-color, #ffffff);
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.2s ease;
    transform-origin: center;
    flex-shrink: 0;
    margin: 0; padding: 0;
    /* No theme pseudo-elements on spans */
}

.she-hamburger span::before,
.she-hamburger span::after { display: none !important; content: none !important; }

/* X state */
.she-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px)  rotate(45deg);  }
.she-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.she-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu panel ──────────────────────────────────── */
.she-mobile-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    width: 100%;
    background: var(--she-mob-bg, #111);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 99998;
}

.she-mobile-menu.she-open { max-height: 600px; }

.she-mobile-menu ul {
    list-style: none !important;
    margin:  0 !important;
    padding: 12px 0 20px !important;
}

.she-mobile-menu li { margin: 0 !important; padding: 0 !important; }

.she-mobile-menu a {
    display: block;
    padding: 14px 40px !important;
    color: #ffffff;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s ease, padding-left 0.2s ease;
    background: none;
}

.she-mobile-menu a:hover {
    background:   rgba(255,255,255,0.07) !important;
    padding-left: 52px !important;
}

.she-mobile-menu li:last-child a { border-bottom: none; }

/* ── Responsive — JS adds/removes .she-mobile-mode ─────── */
.she-header .she-nav         { display: flex; }
.she-header .she-hamburger   { display: none; }
.she-header .she-mobile-menu { display: none; }

.she-header.she-mobile-mode .she-nav         { display: none !important; }
.she-header.she-mobile-mode .she-hamburger   { display: flex !important; }
.she-header.she-mobile-mode .she-mobile-menu { display: block; }

/* ── Active link ────────────────────────────────────────── */
.she-header .she-nav a.she-active::after,
.she-header .she-nav li.she-current > a::after { width: 100% !important; }

.she-header .she-mobile-menu a.she-active,
.she-header .she-mobile-menu li.she-current > a { padding-left: 52px !important; }
