/* ═══════════════════════════════════════════════════════════════
   HP-2026 Global v1 — 2026-2027 Global UI/UX Modernization
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. "Dynamic Island" Cyber-Glass Navigation ─────────────── */

.site-header {
    position: fixed !important;
    left: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    top: 0;
    width: 100%;
    z-index: 1000;
}

.site-header.hp26-island {
    top: 15px;
    width: calc(100% - 30px);
    margin: 0 auto;
    border-radius: 40px;
    background: rgba(10, 10, 10, 0.35) !important;
    backdrop-filter: blur(40px) saturate(2);
    -webkit-backdrop-filter: blur(40px) saturate(2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Holographic Edge for the pill */
.site-header.hp26-island::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.6), transparent);
    pointer-events: none;
    border-radius: 50%;
}

/* Override `.header-bg` in island mode to avoid double backgrounds */
.site-header.hp26-island .header-bg {
    opacity: 0 !important;
}

/* Fluid Link Indicators for `.desktop-nav` */
.desktop-nav {
    position: relative;
}

.hp26-nav-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
}

.desktop-nav:hover .hp26-nav-indicator {
    opacity: 1;
}

.desktop-nav__link {
    position: relative;
    z-index: 1;
}

/* ── 2. Massive 3D Extruded Footer Logo ─────────────────────── */

.site-footer {
    position: relative;
    overflow: hidden;
    background: #050505; /* Deep void */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1; /* Keeps content above background */
}

/* The physical space */
.hp26-footer-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 15vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
    text-shadow: 
        1px 1px 0 rgba(255,255,255,0.01),
        2px 2px 0 rgba(255,255,255,0.01),
        3px 3px 0 rgba(255,255,255,0.01),
        4px 4px 0 rgba(255,255,255,0.01),
        5px 5px 0 rgba(255,255,255,0.01),
        6px 6px 15px rgba(0,0,0,0.8);
    transition: transform 0.1s linear;
}

/* ─── 4. Magnetic Footer Interactivity ───────────────────────── */

.footer-links a,
.footer-social-link {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease;
    transform-origin: center center;
}

.footer-links a:hover,
.footer-social-link:hover {
    color: #fff;
}
