/* -------------------- Mobile Bottom Dock (New) -------------------- */
.mobile-dock {
    display: none;
    /* Hidden on desktop */
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Faint border */
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    /* Adjusted padding */
    border-radius: 24px;
    /* Pill shape */
    gap: 8px;
    /* Gap between items */
    width: fit-content;
    min-width: 280px;
    /* Minimum width */
    max-width: 90vw;
    justify-content: space-between;
}

.dock-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    /* Touch target size */
    height: 44px;
    border-radius: 50%;
    /* Circle links */
    color: var(--text-tertiary);
    /* Muted default */
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.dock-item svg {
    width: 22px;
    height: 22px;
    opacity: 0.7;
    transition: all 0.2s ease;
}

/* Active / Hover States */
.dock-item:hover,
.dock-item:active,
.dock-item.active {
    /* Class we can toggle nicely with JS later if desired */
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.dock-item:hover svg {
    opacity: 1;
}

/* Primary Action Item (Contact) */
.dock-item--primary {
    background: #ffffff;
    color: #000000;
}

.dock-item--primary:hover,
.dock-item--primary:active {
    background: #e0e0e0;
    color: #000;
}

.dock-item--primary svg {
    opacity: 1;
    stroke-width: 2.5px;
    /* Slightly bolder */
}


/* Media Query to Show on Mobile */
@media (max-width: 768px) {
    .mobile-dock {
        display: flex;
        /* Activate flexbox on mobile */
    }

    /* Add padding to footer/body so content isn't covered by dock */
    body {
        padding-bottom: 80px;
    }
}