/* 
   SlapIA - Header Styles
   Extracted from style.css
*/

/* 
   The "Aurora" Background Effect 
   Fixed position glowing orbs that sit behind content
*/
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.aurora-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: drift 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-blue);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--accent-cyan);
    top: 40%;
    left: 40%;
    opacity: 0.2;
    filter: blur(100px);
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 50px);
    }
}

/* The Floating Dock Navbar */
.dock-nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 24px;
    border-radius: 100px;
    /* Pill shape */
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.dock-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dock-link:hover,
.dock-link.active {
    color: var(--text-primary);
}

.dock-brand {
    font-weight: 700;
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 12px;
    border-right: 1px solid var(--glass-border);
    text-decoration: none;
    white-space: nowrap;
    /* Prevent line break on small screens */
}

.dock-brand:hover {
    color: white;
    text-decoration: none;
}

/* 2. Liquid Navbar Pill */
.dock-links-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 100px;
    border: 1px solid var(--glass-border);
}

.nav-liquid-pill {
    position: absolute;
    height: calc(100% - 12px);
    top: 6px;
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 100px;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    box-shadow:
        0 0 20px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.dock-link {
    position: relative;
    z-index: 1;
    padding: 8px 20px;
    color: var(--text-secondary);
    transition: color 0.2s;
    border-radius: 100px;
}

.dock-link.active {
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* =========================================
   Mobile Menu (extracted from header.php)
   ========================================= */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.hamburger span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    max-width: 85%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    padding: 100px 30px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 14px 20px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-link.active {
    background: linear-gradient(135deg, var(--accent-purple), #7000ff);
}

.mobile-menu-link i {
    width: 24px;
    text-align: center;
    font-size: 1rem;
}

.mobile-contact-btn {
    margin-top: auto;
    text-align: center;
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }

    .dock-nav .d-none.d-md-flex {
        display: none !important;
    }

    .dock-nav .btn-apple {
        display: none;
    }
}